* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'oswald', sans-serif;
}

.container {
    height: 100vh;
    width: 100vw;
}

.principal {
    display: inline-block;
    width: 60%;
    padding-left:136px;
    margin-top:20%;
}

.secundaria {
    display: inline-block;
    background-color:rgba(93,93,125,0.16);
    height: 100vh;
    width: 40%;
    position: absolute;
}

.menu{
    display: flex;
    justify-content:center;
    align-items: center;
    gap: 41px;
    margin: 25px 50px 50px 50px;
    float: left;
    cursor: pointer;
    font-size: 20px;
    
}

.manu,.active {
    opacity: 0.5;
}

img {
    position: relative;
    top: 25%;
    right: 150px;
}

h1 {
    font-weight: 400;
    font-size: 70px;
    line-height: 80px;
    color: #5d5d7d;
    width: 368px;
}

p {
    font-weight: 400;
    font-size: 28px;
    line-height: 48px;
    opacity: 0.5;
    margin: 15px 0 ;
    width: 540px;
}



.menu a {
    text-decoration: none;
    font-size: 28px;
    line-height: 41px;
    color: #5d5d7d;
    margin-right: 41px;
    position: relative; /* necessário para o ::after */
    transition: color 0.3s ease;
}

/* efeito sublime */
.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; /* distância do texto */
    width: 0;
    height: 3px;
    background: #9499EA; /* cor do underline */
    transition: width 0.3s ease;
}

.menu a:hover {
    color: #9499EA; /* muda cor do texto */
}

.menu a:hover::after {
    width: 100%; /* animação do sublime */
}

/* item ativo (sublinhado fixo) */
.menu a.active::after {
    width: 100%;
}



button {
    margin-top: 20px;
    width: 269px;
    height: 62px;
    background: #9499EA;
    border-radius: 30px;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 1px 6px 6px rgba(95,95,126,0.16);
}

button:hover {
    background: #7b81e3;
    box-shadow: 1px 6px 6px rgba(95,95,126,0.30);
    transition: 0.3s;
    transform: translateY(-2px);
}

.pulsar {
    animation: pulsar 1.5s infinite;
}

@keyframes pulsar {
    1% {
        box-shadow: 0 0 0 0 rgba(148,153,234, 0.7);
    }
    75% {
        box-shadow: 0 0 0 10px rgba(148,153,234, 0);
    }
    105% {
        box-shadow: 0 0 0 0 rgba(148,153,234, 0);
    }
}

#img-vibrando {
    animation: vibrar 0.5s both infinite;
}

@keyframes vibrar {
    0% {
        transform: rotate(1deg);
    }
    75% {
        transform: rotate(2deg);
    }
    105% {
        transform: rotate(-2deg);
    }
}

#whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 50px;
    color: #9499EA;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: vibrar 0.5s both infinite;
}

#whatsapp:hover {
    transform: scale(1.1);
    color: #7b81e3;
}

@keyframes vibrar {
    0% {
        transform: rotate(1deg);
    }
    75% {
        transform: rotate(2deg);
    }
    105% {
        transform: rotate(-2deg);
    }
}

.vibrar {
    animation: vibrar 0.5s both infinite;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #f1f1f1;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 14px;
    color: #5d5d7d;
    opacity: 0.5;
}

@media screen and (max-width:900px) {
    .principal {
        width: 100%;
        height: 50%;
        padding: 0;
        margin: 0;

    }

    .secundaria {
        display: block;
        height: auto;
        width: 100%;
        position: static;
        padding: 40px;
    }

    .img-section {
        position: static;
        max-width:90%;
    }

    .menu {
        display: none;
    }

    h1 {
        font-size: 36px;
        line-height: 52px;
        width: auto;
        margin: 58px 50px 0 50px;
        text-align: center;
    }

    p {
        margin: 15px 40px;
        width: auto;
        text-align: center;
        font-size: 14px;
        line-height: 24px;
    }

    .pulsar {
        width: 186px;
        height: 51px;
        font-size: 16px;
        line-height: 24px;
        margin: 0 auto;
        display: block;
    }
    
}
