html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
  
  
#header-section{
    height: 1300px;
    margin: 0;
    padding: 0;
    color: white;
}


#hi-top{
    position: relative;
    z-index: 3;
}

#hi-bottom{
    position : relative;
    top: -100px;
    left: 0px;
}


#hi-section{
    display: inline-block;
    vertical-align: top;
}

#logo-section{
    width: 150px;
}

#hi-logo-img{
    object-fit: cover;
}


#hi-menu-con{
    display: inline-block;
    width: 100px;
    height: 30px;
    z-index: 3;
}


#hi-menu,#hi-hide-menu{
    display: inline-block;
    width: 80px;
    height: 30px;
    color: white;
}

#hi-hide-menu{
    width: 90px;
}

.hi-menu-bar{
    display: inline-block;
    position:absolute;
    width: 20px;
    height: 2px;
    background-color: white;
}

#hi-dis-menu,#hi-hide-menu{
    cursor: pointer;
}


#hi-hide-menu,#hi-menu{
    display: none;
}


.menu-label{
    left: 25px;
}

#hi-menu-bar1{
    top: 0px;
}

#hi-menu-bar2{
    top: 8px;
}

#hi-menu-bar3{
    top: 15px;
}

#hi-logo-con{
    width: 100%;
    min-width: 150px;
    max-width: 200px;
}


#hi-links{
    display: inline-block;
    width: 500px;
    height: 40px;
    right: 35px;
}

#hi-links-box{
    display: flex;
    justify-content: center;
    align-items: center;
}

.link-container{
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-weight: normal;
    font-weight: 500;
}

.link{
    white-space: nowrap;
}

.link:hover{
    color : orangered;
}


#hhi-frame{
    top: 40%;
}

h1{
    color: white;
    font-size: 40px;
    font-weight: bolder;
}



#hi-services{
    display: inline-block;
    width: 200px;
    height: 40px;
    cursor : pointer;
    background-color: orangered;
    color: white;
    animation: buttonAnimation 1s;
    bottom: 60%;
}

#hi-sc-link{
    background-color: white;
    color: black;
}

#hi-sc-link-icon{
    display: inline-block;
    width: 30px;
    right: 2px;
}

#bg-image{
    object-fit: cover;
    filter: brightness(40%);
    display: block;  
}
.kn-more{
    width: fit-content;
    background-color: brown;
    color: white;
    cursor: pointer;
    text-align: nowrap;
    padding: 15px;
    flex-wrap: nowrap;
}

.forward-icon{
    width: 25px;
}
.kn-more:hover{
    background-color: rgb(202, 54, 54);
}


#rekks{
    gap: 10px; 
    width: fit-content;
}
@keyframes buttonAnimation {
    
    from {
        bottom: -10px;
        opacity: 0;
    }
    to{
        opacity: 1;
        bottom: 60%;
    }
}

#hi-tip-bottom{
    animation: hhibAnimation 1s;
}


@keyframes hhibAnimation {
    
    from {
        position: relative;
        bottom: -20px;
        opacity: 0;
    }
    to{
        position: relative;
        bottom: 0px;
        opacity: 1;
    }
}


#hi-title{
    animation: sglAnimation 1s;
}

@keyframes sglAnimation {
    
    from {
        position: relative;
        left: -75px;
        opacity: 0;
    }
    to{
        position: relative;
        left: 0px;
        opacity: 1;
    }
}



@media screen and (min-width:0px) and (max-width : 768px){

    #hi-top{
        height: 90px;
    }

    #hi-links,#hi-links-box,.link{
        display: inline-block;
        width: 100%;
        height: 100%;
    }

    #hi-links{
        display: inline-block;
        background-color: whitesmoke;
        width: 100%;
        height: 0px;
        position: absolute;
        top: 90px;
        transform: translateY(0%);
        left: -1px;
        z-index: 2;
        background-color: white;
    }


    #rekks{
        flex-direction: column;   /* on passe en colonne */
        align-items: stretch;
    }

    #rekks a {
        justify-content: center;  /* centre le contenu à l’intérieur */
        padding: 10px;
    }

    #hhi-frame-bot-content{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #hi-menu{
        display: inline-block;
    }

    #hhi-frame{
        text-align: center;
    }
    .link{
        position : relative;
    }

    .link-icon,.link-ti{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .link-icon{
        width: 25px;
        left: 10px;
        margin: 0px;
    }

    .link-ti {
        left: 45px;
        color: black;
    }

    .link-container{
        height: 50px;
        margin:0px;
        padding: 0px;
        border-top : 1px solid black;
        color : black;
    }
    
    #hi-links-box{
        display: none;
    }
    #hi-links-box :nth-child(1){
        margin-top: 0px;
    }
}




@media screen and (min-width : 0px) and (max-width : 360px){

    h1{
        font-size: 15px;
        text-align: center;
    }

    .link{
        font-size: 15px;
    }
}

@media screen and (max-width:899px){
    #hi-back-img{
        width: 100%;
        height: auto;
    }
}


@media screen and (min-width:900px){
    #hi-back-img{
        width: 100%;
        height: 500px;
        object-fit: cover;
    }
}
