/*=======================

SETTING

========================*/

:root {
    --gris: #96B9AC;
    --fluo: #C8FD8C;
    --noir: #262626;


    --blanc: #fff;
    --footer: #F5F5F5;
  }
  
*{
    margin: 0;
    padding: 0;
}

body{
    font-family: Carmen-light;
    flex-direction: column;

    background-color: var(--gris);
    transition: all 1s cubic-bezier(0.2, .84, .5, 1);
}

.animBody{
    animation: Body 1s;
    background-color: var(--noir);
}

body, header, #loader, main, .logo article, .textContainer article, footer, footer section, footer article, footer div, footer ul{
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes Body {
    0% {
        background-color: var(--gris);
        }
    25% {
        background-color: var(--gris);
    }
    100% {
        background-color: var(--noir);
    }
  }


/*=======================

FONT

========================*/


@font-face {
    font-family: Carmen-demi;
    src: url(/iStyle_landing/font/CarmenSans-SemiBold.woff);
    src: url(/iStyle_landing/font/CarmenSans-SemiBold.woff2);
  }

@font-face {
    font-family: Carmen-med;
    src: url(/iStyle_landing/font/CarmenSans-Medium.woff);
    src: url(/iStyle_landing/font/CarmenSans-Medium.woff2);
  }

@font-face {
    font-family: Carmen-light;
    src: url(/iStyle_landing/font/CarmenSans-Light.woff);
    src: url(/iStyle_landing/font/CarmenSans-Light.woff2);
  }

p, h1, h2, h4 {
    color: var(--gris);
}

a{
    color: var(--noir);
}

h1{
    font-size: 48px;
    color: var(--noir);
}

h1, h4{
    width: 60vw;
    max-width: 825px;
}

h4{
    font-weight: 200;
    opacity: 0.6;
    font-size: 16px;

    color: var(--noir);
}

h5{
    font-size: 12px;
    font-weight: 200;
    padding: 10px 12px;
    margin-bottom: 30px;

    color: var(--blanc);
    border: solid 0.5px var(--blanc);
    border-radius: 8px;
}

a {
    text-decoration: none;
}


/*=======================

MAIN

========================*/


main{
    width: 100vw;
    flex-direction: column;
    margin-top: 8vw;
    margin-bottom: 8vw;
}

/*------- LOGO -------*/

.logo{
    width: calc(100vw - 60px);
    max-width: calc(1920px - 60px);
    margin-top: 60px;
}

.logo svg{
    fill: var(--noir);
}

/*------- TEXT -------*/

.textContainer{
    height: auto;
    text-align: center;
    overflow: hidden;
}

.textContainer article {
    flex-direction: column;
    margin-top: 0px;
    animation: Animtext 2s;
}

@keyframes Animtext {
    0% {
        margin-top: -50px;
    }

    60% {
        margin-top: 0px;
    }
  }


.textContainer article a{
    margin-top: 50px;

    font-size: 16px;
    padding: 14px 220px 14px 14px;
    border: solid 0.6px var(--noir);
    border-radius: 50px;
    transition: all 0.3s ease-out;
}

.textContainer article a:hover {
    transition: all 0.3s ease-out;
    padding: 14px 200px 14px 14px;
    opacity: 0.5;
}

/*=======================

FOOTER

========================*/


footer{
    width: calc(100vw - 60px);
    max-width: calc(1920px - 60px);
    padding: 90px 0 50px 0;
    border-radius: 8px;
    margin-top: 25px;
    background-color: var(--footer);
    margin-bottom: 30px;
}

footer section {
    width: 100%;
    flex-direction: column;
}

footer section article{
    width: 85%;
    max-width: 1100px;
    justify-content: space-between;
}

.logoFooter{
    height: 35px;
}

.insta{
    height: 35px;
}

footer p{
    color: var(--noir);
    margin-right: 20px;
}

.trait{
    width: 85%;
    max-width: 1100px;
    height: 1px;
    background-color: var(--gris);

    margin-top: 40px;
    margin-bottom: 40px;
}

footer ul{
    width: 100%;
    list-style-type: none;
    flex-wrap: wrap;
    margin-top: 50px;
}

footer ul li{
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--gris);

    margin: 5px 5px;
    padding: 8px 12px;
    border: solid 0.6px var(--gris);
    border-radius: 50px;
}

li:nth-child(3), li:nth-child(6), li:nth-child(9) {
    border-radius: 8px;
  }

  li:nth-child(2), li:nth-child(5), li:nth-child(8) {
    border-radius: 0px;
  }




/*=======================

RESPONSIVE

========================*/


@media only screen and (max-width: 740px) {
    
    h1{
        font-size: 30px;
    }

    h4{
        font-size: 14px;
    }

    h1, h4{
        width: 70vw;
        max-width: 930px;
    }

    h5{
        font-size: 10px;
    }


/*=======================

MAIN

========================*/
    .textContainer article a{
        font-size: 13px;
        padding: 14px 190px 14px 14px;
    }

    .textContainer article a:hover {
        padding: 14px 170px 14px 14px;
    }

    .textContainer{
        margin-top: 80px;
    }

    @keyframes Animtext {
        0% {
            margin-top: -100px;
        }
    
        60% {
            margin-top: 0px;
        }
      }


/*=======================

FOOTER

========================*/


    footer section article{
        justify-content: center;
    }   

    footer{
        padding: 50px 0 50px 0;
    }

    .logoFooter{
        height: 35px;
    }

    .insta{
        margin-left: 25px;
    }
    
    footer p{
        display: none;
    }  
    
    .trait{
        margin-bottom: 20px;
    }

  }