@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=Unbounded:wght@200;300;400;500;600;700;800;900&display=swap');

/*************************************************general*******************************************/

*{
    padding: 0px;
    margin: 0px;
}

body{
    background-size: 100% auto;
    background-color: #EFEFEF;
    width: 100%;
}
#parallax-bg{
    background-image: url(img/background/background.png);
    position: absolute;
    z-index: -1;
}
a{
    text-decoration: none;
}

/*************************************************homepage*******************************************/


/******************header*************/

#home-header{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(7,1fr);
    text-align: center;
    color: white;
}

#home-header-background{
    z-index: 1;
    grid-column: 1/4;
    grid-row: 1/8;
    height: 700px;
    background-image:url(img/background/homepage.png) ;
    background-repeat: no-repeat;
    background-position: top;
    background-size: auto 700px;
    width : var(--s) ;
    clip-path : polygon(0% 0%, 100% 0%, 100% 100%, 50% 90%, 0% 100%) ;
}

#home-header-title{
    z-index: 2;
    grid-column: 1/4;
    grid-row: 2/4;
    font-family: 'Unbounded', sans-serif;
    font-size: 70px;
    font-weight: 700;
    padding-top: 100px;
}

#home-header-text{
    z-index: 2;
    grid-column: 1/4;
    grid-row: 3/5;  
    font-family: 'Unbounded', sans-serif; 
    font-size: 30px;
    font-weight: 400;
    align-self: end;
}
#home-grid-navigation{
    z-index: 2;
    grid-column: 1/4;
    grid-row: 5/7;   
    align-self: end;
}
#home-grid-navigation a{
    color: white;
    font-family: 'Lato', sans-serif;
    background-color: rgba(214, 214, 214, 0.288) ;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 7px 10px;
    border-radius: 10px;
    line-height: 50px;
    white-space: nowrap;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.26);
    &:hover {
        background-color: rgba(255, 255, 255, 0.39) ;
        box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.26);
        transition: 200ms;
      }
}
#home-language-en {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, transparent 50% );
    transition: background 200ms ease-in-out;
    word-spacing: 15px; 
    &:hover {
      background-position: -36px;
    }
  }

#home-language-fr{
    background: linear-gradient(to left, transparent 50%, rgba(255, 255, 255, 0.3) 50% );
    transition: background 200ms ease-in-out;
    word-spacing: 15px; 
    &:hover {
      background-position: +36px;
    }
}


/******************contant*************/

#home-contant{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-top: 20px;
}
#home-contant-description{
    grid-column: 1/4;
    grid-row: 1/2;
}
#home-contant-specialty{
    grid-column: 1/4;
    grid-row: 2/3;
}
#home-contant-vision{
    grid-column: 1/4;
    grid-row: 3/4;
}
#home-contant-description, #home-contant-specialty, #home-contant-vision{
    background-color: rgba(255, 255, 255, 0.623) ;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.26);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    margin-bottom: 20px;
}
.home-text-title{
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}
.home-text-text{
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
}
.home-contant-specialty-link{
    color: #965a68;
    text-decoration: underline;
    transition: 300ms;
    &:hover {
        background-color: #965a68;
        color: white;
      }
}

/******************clients*************/

#home-clients{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-top: 20px;
}
#home-clients p{
    grid-column: 2/3;
    grid-row: 1/2;
    place-self: center;
    background-color: rgba(255, 255, 255, 0.623) ;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    margin-bottom: 20px;
    width: 200px;
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 500;
    border-radius: 10px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.26);
    text-align: center;
}
#home-clients-img{
    grid-column: 1/4;
    grid-row: 2/3;
    padding-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    overflow: hidden;
    margin: 0px 5%;
}

#home-clients-img img{
    place-self: center;
}
#home-img-client-cosmogroup{
    max-height: 120px;
    grid-row: 1/2;
}
#home-img-client-cpnv{
    max-height: 80px;
    grid-row: 1/2;
}
#home-img-client-deeptech{
    max-height: 50px;
    grid-row: 2/3;
}
#home-img-client-sea{
    max-height: 120px;
    grid-row: 2/3;
}
#home-img-client-feline{
    max-height: 100px;
    grid-row: 3/4; 
}
#home-img-client-fruity{
    max-height: 100px;
    grid-row: 3/4;
}

/******************footer*************/

footer{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 30px 1fr 1fr;
    height: 60px;
}
#footer-slide{
    grid-column: 1/4;
    grid-row: 2/3;
    height: 15px;
    background: linear-gradient(90deg, #f39200, #2d2e83);
}
#footer-to-top{
    grid-column: 2/3;
    grid-row: 1/4;
    background-image: url(img/picto/arrow.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: auto 70px;
    background-position-y: 10px;
    transition: 100ms;
    &:hover {
        background-position-y: 0px;
        transition: 100ms;
    }
}

/***************************************************************************************************
600px - 1200px
***************************************************************************************************/

@media screen and (min-width: 600px){

    #home-header-background{
        height: 700px;
        background-size: auto 900px;
        width : var(--s) ;
        clip-path : polygon(0% 0%, 100% 0%, 100% 100%, 50% 85%, 0% 100%) ;
    }
    #home-grid-navigation a{
        font-size: 18px;
        font-weight: 700;
    }
    #home-language-en {
        &:hover {
          background-position: -37px;
        }
      }

    #home-contant{
        grid-template-columns: 1fr 590px 1fr;
    }
    #home-contant-description{
        grid-column: 2/3;
        grid-row: 1/2;
    }
    #home-contant-specialty{
        grid-column: 2/3;
        grid-row: 2/3;
    }
    #home-contant-vision{
        grid-column: 2/3;
        grid-row: 3/4;
    }
    #home-contant-description, #home-contant-specialty, #home-contant-vision{
        border-radius: 20px;
    }
    .home-text-title{
        font-size: 24px;
    }
    .home-text-text{
        font-size: 16px;
    }

    #home-clients p{
        font-size: 24px;
        width: 250px;
    }
    #home-clients-img{
        grid-template-columns: repeat(3,1fr);
        margin: 0px auto;
        max-width: 800px;
    }
    #home-img-client-cosmogroup{
        grid-row: 1/2;
    }
    #home-img-client-cpnv{
        grid-row: 1/2;
    }
    #home-img-client-deeptech{
        grid-row: 1/2;
    }
    #home-img-client-sea{
        grid-row: 2/3;
    }
    #home-img-client-feline{
        grid-row: 2/3; 
    }
    #home-img-client-fruity{
        grid-row: 2/3;
    }
}

/***************************************************************************************************
1200px - 1920px
***************************************************************************************************/
@media screen and (min-width: 1200px){

    #home-header-background{
        height: 800px;
        background-size: auto 1300px;
        width : var(--s) ;
        clip-path : polygon(0% 0%, 100% 0%, 100% 100%, 50% 85%, 0% 100%) ;
    }
    #home-contant{
        grid-template-columns: 1fr repeat(2,450px) 1fr;
    }
    #home-contant-description{
        grid-column: 2/4;
        grid-row: 1/2;
    }
    #home-contant-specialty{
        grid-column: 2/3;
        grid-row: 2/4;
        margin-right: 10px;
    }
    #home-contant-vision{
        grid-column: 3/4;
        grid-row: 2/4;
        margin-left: 10px;
    }
    #home-header-text{
        font-size: 35px;
    }
    #home-header-title{
        font-size: 100px;
    }

    #home-clients-img{
        max-width: 100%;
    }
    #home-img-client-cosmogroup, #home-img-client-cpnv, #home-img-client-deeptech, #home-img-client-sea, #home-img-client-feline, #home-img-client-fruity{
        grid-row: 1/2;
        margin: 0px 10px;
    }  
    .home-text-title{
        font-size: 26px;
    }
    .home-text-text{
        font-size: 18px;
    }

    #home-clients p{
        font-size: 28px;
        width: 380px;
    }

    footer{
        grid-template-rows: 50px 1fr 1fr;
        height: 100px;
    }
    #footer-to-top{
        background-size: auto 100px;
    }
} 