body{
    font-family: "Nunito Sans", sans-serif;
    margin: 0;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    background-color: #FFF5EB;
    color: #333333;
}

main{
    margin: 0 5%;
}

/* NAV ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
.menu__toggle{
    background-color: #333333;
    border: none;
    padding: 10px;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 100;
    border-radius: 8px;
    margin: 10px;
}
.menu__liste{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333333;
    margin: 0;
    z-index: 90;
    border-radius: 0 0 8px 0;

    transform: translateY(-100%);
    transition: transform .4s ease-in-out;
}
.menu--open .menu__liste{
    display: block;
    transform: translateX(0);
    overflow: hidden;
}
.menu__el{
    display: flex;
    list-style: none;
    font-size: 24px;
    margin: 80px 0;
}
.menu__el a{
    text-decoration: none;
    color: #D5D5D5;
}
.menu__el--active a{
    text-decoration: underline;
}
.menu__liste a:hover{
    text-decoration: underline;
    transition: all 0.2s ease-out;
}

/* HEADER ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
.header{
    margin: 0 5%;
}
.header__content{
    position: relative;
    width: 100%;
    margin-bottom: 80px;
}
.header__bg{
    width: 100%;
    height: 100%;
}
.header__title{
    font-size: 54px;
    font-weight: 900;
    line-height: 0.9;
    margin-top: 80px;
}
/* IMAGES ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
.img{
    border-radius: 8px;
}
.img--article{
    width: 100%;
}

/* LINK ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
.link{
    display: inline-block;
    text-decoration: none;
    align-items: center;
    font-size: 24px;
    font-weight: 700;    
}
.link:hover{
    text-decoration: underline;
}
.link--center{
    display: block;
    text-align: center;
    margin-top: 40px;    
}

/* SEGMENT ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
.img--article{
    width: 100%;
}
.segment__title{
    font-size: 54px;
    font-weight: 500;
    line-height: 0.9;
    margin-right: 40px;
}
.segment__credits{
    display: flex;
    flex-direction: column;
}

/* FOOTER ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
.footer{
    color: #D5D5D5;
    margin-top: 80px;
    background-color: #333333;
    padding: 40px;
}
.footer__subtitle{
    font-size: 36px;
}
.footer__social{
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer__social li a{
    display: inline-block;
    color: #E6E6E6;
    text-decoration: none;
    padding-left: 40px;
    line-height: 30px;
    margin-bottom: 10px;
    background-repeat: no-repeat;
    background-position: left center; 
    background-size: 24px auto;
}
.footer__social a:hover{
    text-decoration: underline;
}
.footer__el--github a{
    background-image: url('../assets/img/icon/GitHub-icon.webp');    
}
.footer__el--instagram a{
    background-image: url('../assets/img/icon/Instagram_Symbol_2.webp');
}
.footer__el--youtube a{
    background-image: url('../assets/img/icon/YouTube_Symbol_2.webp');   
}
.footer__el--bluesky a{
    background-image: url('../assets/img/icon/bluesky-icon.webp');   
}
.footer__el--facebook a{
    background-image: url('../assets/img/icon/facebook-icon.webp');   
}
.footer__el--linkedin a{
    background-image: url('../assets/img/icon/LinkedIn_Symbol_2.webp');   
}
.footer__el--mastodon a{
    background-image: url('../assets/img/icon/mastodon-icon.webp');   
}
.footer__el--threads a{
    background-image: url('../assets/img/icon/threads-icon.svg');   
}
.footer__el--x a{
    background-image: url('../assets/img/icon/xtwitter-icon.webp');   
}
.footer__el--web a{
    background-image: url('../assets/img/icon/globe.svg');   
}
.footer__credit{
    list-style: none;
    margin-left: 0;
    padding: 0;
}
.footer__copyright{
    display: flex;
    color: #E6E6E6;
    font-size: 11px;
    margin-top: 20px;
}
.footer__copyright, a, abbr{
    text-decoration: none;
    color: inherit;
}
.footer__copyright a:hover{
    text-decoration: underline;
}

@media screen and (min-width: 650px) {

    .menu__toggle{
        display: none;
    }

    .menu__liste{
        position: fixed;
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 0;
        height: 20px;
        padding: 20px 0;
        z-index: 100;
    }

    .menu__el{
        margin: 0 0 0 20px;
        font-size: 16px;
    }

    .header__title{
        font-size: 81px;
    }
}

@media screen and (min-width: 1000px) {

    body{
        font-size: 20px;
    }

    main{
        margin: 0 20%;
    }

    .menu__liste{
        justify-content: flex-start;
        top: 0;
        left: 0;
        width: 450px;
        height: 20px;
        padding: 20px 20px 20px 100px;
        z-index: 100;
    }

    .menu__el{
        font-size: 13px;
    }

    .link{
        font-size: 30px;
    }

    .header{
        margin: 0 3%;
    }

    .header__content{
        display: flex;
        flex-direction: row;  
        align-items: center;      
        margin-top: 240px;
    }
    
    .segment{
        display: flex;
        flex-direction: row;  
        align-items: center;      
    }

    .header__bg{
        width: 35%;
    }

    .header__title{
        font-size: 152px;
    }

    .img--article{
        width: 20%;
    }

    .footer{
        margin-top: 160px;
        padding: 80px;
    }
}