 main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    min-height: 100vh;
}

.container-home {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 60px 30px;
    gap: 40px;
    background-image: url(../imagens/background-home.webp);
    background-image: image-set(url(../imagens/background-home.webp) type("image/webp"), url(../imagens/background-home.png) type("image/png"));
    background-repeat: no-repeat;
    background-size: 1200px;
    background-position: 0 center;
    min-height: 650px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-image {
    flex: 1;
    animation: fadeIn 1s ease-out;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-image img {
    max-height: 350px;
    height: auto;
    max-width: 100%;
    padding-left: 90px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px); 
    }
    100% {
        transform: translateY(0);
    }
}

.home-content {
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
    flex: 1;
}

.home-content h2 {
    font-family: "Caveat", cursive;
    color: #4c8989;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 200;
    letter-spacing: -2.5px;
    margin-bottom: 0px;
    animation: slideInRight 0.8s ease-out 0.2s backwards;
    padding-right: 20px;
}


.home-content h3 {
    font-family: "Bree Serif", cursive;
    color: #4c8989;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-top: 5px;
    margin-bottom: 5px;
    animation: slideInRight 0.8s ease-out 0.4s backwards;
}

.home-content p {
    font-family: "Noto Serif", serif;
    font-weight: 600;
    font-size: 1.1rem;
    max-width: 500px;
    line-height: 1.6;
    color: #4c4e52;
    animation: slideInRight 0.8s ease-out 0.6s backwards;
}

.home-links {
    display: flex;
    list-style-type: none;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 20px 20px;
    animation: slideInRight 0.8s ease-out 0.8s backwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px); 
    }
    to {
        opacity: 1;
        transform: translateX(0); 
    }
}

.home-links li:not(#botao-rosa) {
    padding-top: 10px;
}

.home-links li:not(#botao-rosa) svg {
    transition: fill 0.3s ease, transform 0.2s ease;
}

.home-links li:not(#botao-rosa) svg:hover {
    fill: #4c8989;
    transform: translateY(-3px);
} 

@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    .navbar {
        position: absolute;
        top: 90px;
        right: 0;
        background: white;
        flex-direction: column;
        width: 100%;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-200%);
        transition: 0.3s;
    }

    .navbar.active {
        transform: translateY(0);
    }

    .container-home {
        min-height: auto;
        padding: 30px 20px 20px;
        background-size: cover;
        background-position: center;
    }

    .home-content {
        align-items: center;
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 0;
        max-width: 100%;
    }

    .home-content p {
        max-width: 80%;
        font-size: 1.1rem;
        padding: 0 10px;
        margin-bottom: 15px;
        margin-top: 30px;
    }

    .home-content h2 {
        font-size: 3.5rem;
        padding: 0;
    }

    .home-content h3 {
        font-size: 1.3rem;
    }

    .home-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .home-image {
        display: none;
    }

    .logo img {
        height: 60px;
    }
}