@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4; /* Fundo diferente da Home */
    height: 120vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.desktop{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 10vh;
}

header {
    background-color: #02385ae3;
}

#index-body {
    font-family: Arial, sans-serif;
    background-image: url('/Aviao.webp');
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: 100%;
    height: 97vh;
    background-size: cover;
    background-position-x: center;
    margin: 0;

}

.menu-toggle {
    display: none;
    cursor: pointer;
}

#logo-desktop{
    width: 100px;
}

header {
    text-align: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a{
    color: #4B9EC0;
    text-decoration: none;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 10px;
    transition: background-color 0.3s;
    background: none;
    font-family: "Lato", sans-serif;
    text-transform: uppercase;

}


nav ul li a:hover{
    color: #ffff;
    background-color: #4B9EC0 !important;
}

.main-index{
    text-align: end;
    margin: 420px 163px 0px 0px;
}

/* Estilo específico da página Sobre Mim */
main.sobre {
    display: flex
;
    justify-content: center;
    padding: 0 15%;
    align-items: center;
}

.barra-lateral {
    width: 100px;
    background-color: #333;
    color: white;
    writing-mode: vertical-rl; /* Texto na vertical */
    text-align: center;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conteudo-central {
    line-height: 1.5;
    background: #B4BABA;
    border-radius: 10px;
    opacity: 0.6;
    height: 55vh;
    opacity: 0.9;
}

.conteudo-central h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
    color: #02385A;
}

.conteudo-central p {
    font-size: 18px;
    letter-spacing: 0.3px;
    padding: 0px 80px;
    color: #181818;

}


footer {
    padding-left: 80px;
    margin-bottom: 20px;
}

footer a {
    margin: 0 15px;
    color: white;
    font-size: 30px;
}

/* Estilo base reutilizado da página anterior */



.barra-lateral {
    width: 100px;
    background-color: #333;
    color: white;
    writing-mode: vertical-rl;
    text-align: center;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}



h1 {
    font-size: 64px;
    margin-bottom: 20px;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

.sub{
    color: #5A180A;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
}


/*Sobre*/
.body-todo{
    background-image: url('/caminhao.webp');
    background-position: center;
    background-size: cover;
    margin: 0;
}

.conteudo-central {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*Formação*/
.body-todo-formacao{
    background-image: url('/barco.webp');
    background-position: bottom;
    background-size: cover;
    margin: 0;
    height: 100vh;
}

.conteudo-central-formacao{
    padding: 0 20%;
}

.toggle-btn {
    height: 70px;
    background-color: #fff;
    opacity: 0.9;
    color: #02385a;
    padding: 10px 20px;
    border: 1.5px solid #02385a;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s;
    border-radius: 10px;
    text-transform: uppercase;
}
.toggle-content {
    display: none;
    background-color: unset;
    padding: 15px;
    margin-top: 5px;
    background-color: #02385a;
    border-radius: 10px;
}

.toggle-section {
    margin: 20px 0;
    background-color: unset !important;
    width: 100%;
}

.toggle-btn:hover {
    background-color: #02385a96;
    color: #ffffff;
}



ul li{
    color: #e0e0e0;
    list-style-type: none
}

/*footer*/

footer a:hover {
    color: #0077b5; /* LinkedIn */
}

footer a:nth-child(2):hover {
    color: #25D366; /* WhatsApp */
}

@media (max-width: 768px) {
    #index-body{
        height: 100vh;
    }

    #logo-desktop{
        display: none;
    }

    #logo-mobile{
        display: block;
        width: 100px;
    }
    
    .menu-flex{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    nav ul li a{
        padding: 15px 25px;
    }
    #index-body{
        align-items: center;
    }
    header ul{
        padding: 0;
    }
    .main-index{
        text-align: center;
        margin: 0;
    }
    footer{
        padding-left: 0px;
    }

    #nav-list {
        display: none;
        width: 100%;
        position: relative;
        top: 0;
        padding: 20px 0;
        text-align: center;
    }

    header{
        width: 100%;
    }

    nav ul li{
        margin: 20px 0px;
    }
    .menu-toggle {
        display: block;
        width: 100%;
    }
    #nav-list.active {
        display: flex;
        flex-direction: column;
    }
    .desktop{
        display: flex;
        justify-content: flex-end;
        flex-direction: column;
        align-items: flex-end;
        height:auto;
    }

    /*Sobre*/

    .body-todo{
        background-size: auto;
        height: auto;

    }

    .conteudo-central{
        height: auto;
    }

    .conteudo-central p{
        padding: 0px 35px;
    }

    main.sobre{
        padding: 10% 5% !important;
    }


    /*formação*/
    .conteudo-central-formacao{
        padding: 0 15%;
    }

}
