/*********************************************************************/
/************        MAIN CSS        *********************************/
/*********************************************************************/

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: black;
}

section{
    margin-top: 0px;
    width: 100vw;
    height: 100vh;
    padding-top: 150px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 80px;
}

.title h1{
    font-size: 1rem;
    font-weight: 600;
    padding: 8px;
    text-align: left;
    text-transform: uppercase;
    width: 100%;
    color: white;
    position: relative;
}

.title h1::after{
    content: '';
    width: 0;
    height: 3px;
    background-color: rgb(255, 0, 51);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}


/*********************************************************************/
/************        VIDEO BACKGROUND      ***************************/
/*********************************************************************/

#backgroundVideo {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    position: fixed;
    left: 0;
    top: 0;
    z-index: -3;
}

#overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(19, 125, 160));
    z-index: -2;
}

/*********************************************************************/
/************        HEADER CSS        *********************************/
/*********************************************************************/

header{
    position: fixed;
    width: 100%;
    height: auto;
    padding: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}

#logo img{
    width: 80px;
}


/*********************************************************************/
/************       NAV             *********************************/
/*********************************************************************/

nav {
	display: none;
}

nav ul li{
    display: inline;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: #ffffffe9;     
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background-color: rgb(255, 0, 51);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after{
    width: 100%;
}

nav.active {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0px; 
    right: 0px;
    width: 100vw;
    height: 100vh;
    background-color: #29323c;
    z-index: 1000;
}

nav.active ul li{
    display: block;
}


/*********************************************************************/
/************       TOGGLE             *********************************/
/*********************************************************************/

#toggle_btn{
	display: inline-block;
	cursor: pointer;
    border-radius: 50%;
    z-index: 50000;
}

#bar1, #bar2, #bar3{
  width: 35px;
  height: 5px;
  background-color: rgb(255, 255, 255);
  margin: 6px 0;
  transition: 0.4s;
}

.active #bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.active #bar2 {opacity: 0;}

.active #bar3 {
  transform: translate(0, -11px) rotate(45deg);
}


/*********************************************************************/
/************       HOME             *********************************/
/*********************************************************************/


#home{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

}


/*********************************************************************/
/************       CENTRE             ********************************/
/*********************************************************************/

#centre{

}

/*********************************************************************/
/************       ENGINS             ********************************/
/*********************************************************************/

#engins{

}

/*********************************************************************/
/************       AMICALE           ********************************/
/*********************************************************************/

#amicale{

}


/*********************************************************************/
/************       CONTACT             ********************************/
/*********************************************************************/

#contact{
    display: flex;
    flex-direction: column;
}

#contact_content{
    display: ;
    justify-content: center;
    align-items: center;
    color: white;
    height: 100%;

}

/*********************************************************************/
/************       AGENTS         ********************************/
/*********************************************************************/

#agents{

}





/*********************************************************************/
/************       FOOTER           *********************************/
/*********************************************************************/

footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    bottom: 0;
    right: 0px;
    width: 100%;
    padding: 40px;
    overflow: hidden;
}

#social a
{  
  text-decoration: none;
  margin-right: 10px;
  border-width:0;
  filter: invert(1);
  transform: scale(0.5);
}

#social img{
    width: 30px;
}

#social img:hover
{
  background-color: transparent;
  transform: scale(2) translateY(-15px);
  transition: 0.7s;

}

#copyright{
    font-size: 0.8rem;
}

#copyright a{
    text-decoration: none;
    font-color: rgb(255, 0, 0); 
}





/*********************************************************************/
/************       MEDIA QUERY  TABLETTE          *******************/
/*********************************************************************/


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

    #toggle_btn{
        display: block;

    }

    nav{
        display: none;

    }

}


/*********************************************************************/
/************       MEDIA QUERY  DESKTOP          *******************/
/*********************************************************************/

@media only screen and (min-width: 1200px) 
{
    #toggle_btn{
        display: none;
    }

    nav{
        display: flex;
    }
}