.logo{
    display: flex;
    max-width: 400px;
    max-height: 130px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    margin-bottom: 100px;
}
header{
    background-color: var(--secondary-color);
    padding: 60px ;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap-reverse;
}
.header_text{
    width: 550px;
    text-align: justify;
    line-height: 115%;
}
.foto{
    height: 400px;
    width: 600px;
    max-height: 80vw;
    max-width: 80vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 5px solid var(--text-color);
}
.foto img{
    height: 100%;
}
nav{
    margin-bottom: 50px;
    justify-content: center;
}
nav ul{
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 28px;
}
nav a{
    color: var(--text-color);
    text-align: center;
    text-decoration: none;
    position: relative;
    padding: 3px;
}
nav a:hover{
    color: var(--secondary-text-color);
}
nav a::after{
    content: '';
    height: 2px;
    width: 0%;
    background: var(--main-brand-color);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 200ms ease-in-out;
}
nav a:hover::after{
    width: 100%;
}
#toggle_button{
    display: none;
}
label[for="toggle_button"]{
    display: none;
}
label[for="toggle_button"] span{
    font-size: 40px;
}
@media(max-width: 800px){
    nav{
        position: absolute;
        top: 0;
        left: 0;
        background: var(--secondary-color);
        padding: 20px;
        border-radius: 0 0 25px 0;
    }
    nav ul{
        display: none;
        flex-direction: column;
        gap: 15px;
    }
    #toggle_button:checked ~ ul{
        display: flex;
    }
    label[for="toggle_button"]{
        display: block;
    }
    img.mdm_logo{
        background-color: var(--primary-color);
        width: 340px;
    }
    header{
        padding: 10px o;
    }
    .foto{
        height: 400px;
        width: 600px;
        max-height: 80vw;
        max-width: 80vw;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

