@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;1,200&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    list-style: none;
    text-decoration: none;
}

:root {

    --segundaria: rgb(255, 251, 0);
    --primaria: rgb(36 14 82);;
    --adicional: rgb(255, 255, 255);

}

body {
    color: var(--adicional);
    background: var(--primaria);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    box-shadow: 0 0.1rem 0.5rem rgb(0, 89, 255);
    width: 100%;
    background: var(--primaria);
    position: fixed;
}

.navbar .logo {
    color: var(--segundaria);
    font-size: 1.7rem;
    font-weight: 600;
}


.logo span {
    color: var(--adicional);
}

.navbar ul {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.navbar ul li a {
    color: var(--adicional);
    font-size: 17px;
    font-weight: 500;
    transition: all 0.5s;

}

.navbar ul li a:hover {
    color: var(--segundaria);

}

.menu {
    cursor: pointer;
    display: none;

}

.menu .bar {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: var(--adicional);
    margin: 5px auto;
    transition: all 0.3s;
}

.menu .bar:nth-child(1),
.menu .bar:nth-child(3) {
    background: var(--segundaria);
}

.home {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;


}

.home-text {
    max-width: 37rem;
}

.home-text .text-h4 {
    font-size: 1.5rem;
    color: var(--segundaria);
    margin-bottom: 1rem;
}

.home-text .text-h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.home-text p {
    margin-bottom: 4rem;
}

.home-btn {
    padding: 15px 45px;
    background: var(--segundaria);
    color: var(--primaria);
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.5s;
}

.home-btn:hover {
    color: var(--white);
    background: #140129;
    box-shadow: 0px -10px 100px rgb(17, 0, 255);
}

.home-img img {
    width: 90%;
    border-radius: 25px;
    margin-left: 1.5rem;
}

.redes {
    justify-content: center;
    justify-content: space-around;
    display: flex;
    margin: 1.5rem;
    padding: 10px;
    z-index: 1;

}

.redes-button {
    border: solid 1px green;
    align-items: center;
    display: flex;
    padding: 5px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--adicional);
    transition: all 0.9s;
}

.redes-button:hover {
    background-color: #62f78f57;
}

.cv {
    margin-top: 10%;
    margin-left: 25%;
    position: absolute;
}

.text-h1-cv {
    align-content: center;
}



.container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
.midias{
    display: -webkit-inline-box;
}
  
@media (max-width:785px) {
    .navbar {
        padding: 18px 20px;
        position: absolute;
    }

    .menu {
        display: block;
    }

    .menu.ativo .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu.ativo .bar:nth-child(2) {
        opacity: 0;
    }

    .menu.ativo .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        width: 100%;
        height: 100%;
        flex-direction: column;
        background: var(--primaria);
        gap: -10px;
        transition: 0.3s;
    }

    .nav-menu.ativo {
        right: 0;

    }

    .nav-item {
        margin: 16px 0;
    }

    /*main*/
    .home {
        padding: 100px 2% 5px;
        flex-direction: column;
        text-align: center;
        height: auto;
        gap: 5rem;
    }

    .home .text-h4 {
        font-size: 20px;
    }

    .home .text-h1 {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    .home p {
        font-size: 20px;
    }

    .home-img {
        display: none;
    }

    .redes {
        display: block;
    }

    .redes-button {
        margin-bottom: 10px;
        justify-content: center;
        padding: 10px;
    }

    .cv {
        margin-top: 30%;
        margin-left: 4px;
        margin-right: 4px;
    }
    .home-sobre {
        flex-direction: column; /* Mantém a direção dos elementos em coluna na versão móvel */
    }

    .home-img-sobre {
        order: -1; /* Define a ordem da imagem para aparecer antes do texto na versão móvel */
    }
   
   
}