html{
    overflow-y: scroll;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: rgb(20, 20, 20);
    background-position-y: 0px;
    background-position-x: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* HEADER */
header {
    position: absolute;
    background-color: rgb(20, 20, 20);
    width: 100%;
    height: 75px;
    top: 0;
    left: 0;
    color: #e3e3e3;
    padding: 0 2rem 0 1rem;
    position: fixed;
    z-index: 10;
    transform: translateY(-75px);

    visibility: hidden;
}

nav {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Russo One', sans-serif;
    font-size: xx-large;
    font-display:inherit;
    text-transform: uppercase;
    color: rgba(255,255,255);
}

.logo img{
    display: block;
    width: 40px;
    border: 1px solid #e3e3e3;
}

.toggle {
    display: none;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding-left: 2rem;
}

.menu li{
    margin-left: 20px;
}

.menu li a {
    font-size: 25px;
    color: #e3e3e3;
    text-decoration: none;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.5s;
}
/* HEADER-END*/


/* CARROUSEL */
.carrousel{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 50%);
    overflow: hidden;  
    border-radius: 5px;
}

.carrousel-container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.image{
    height: 100%;
    margin: 0;
    padding: 0;
    display: inline-block;
    background-size: cover;
}

.carrousel-btn{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    display: flex;
    align-items: center;
}

.carrousel-btn > p{
    position: absolute;
    font-weight: 700;
    color: rgb(20, 20, 20);
    cursor: pointer;
    margin: 0;
    padding: 0;
    user-select: none;
}

.carrousel-btn > p > span{
    font-size: 60px !important;
    transition: font-size 0.2s ease-out;
}

#left{
    left: 0;
    transform: scale(1);
    opacity: 0.6;
    transition: opacity 0.2s ease-out,
    transform 0.2s ease-out;
}

#right{
    right: 0;
    transform: scale(1);
    opacity: 0.6;
    transition: opacity 0.2s ease-out,
    transform 0.2s ease-out;
}

#left:hover{
    opacity: 0.75;
    transform: scale(1.2);
}

#right:hover{
    opacity: 0.75;
    transform: scale(1.2);
}
/* CARROUSEL-END*/

/* GENERAL */
main{
    visibility: hidden;
}

/*main > :nth-child(2n){
    background-image: url("medias/background.jpg");
}*/

.about_me{
    color: rgba(255,255,255);
    flex-direction: column;
    width: 100%;
    padding: 0 12.5%;
}

.about_me > h1{
    font-family: 'Russo One', sans-serif;
    font-size: xx-large;
    font-display:inherit;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}

.about_me > p {
    font-family: 'Roboto Slab', serif;
    text-transform: none;
    width: 100%;
    margin-bottom: 15px;
}

.about_me > div {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.about_me > div > button {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255,255,255);
    font-family: 'Russo One', sans-serif;
    font-display:inherit;
    text-transform: uppercase;
    color: rgba(255,255,255);
    cursor: pointer;
    background-color: rgba(0,0,0,0);
    display: inline-block;
    background: linear-gradient(to right, #fff 0%, #fff 50%, #ffffff00 50%, #ffffff00 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-color 0.75s,background-position 0.25s ease-in,color 0.25s;
}

.about_me > div > button:hover{
    background-position:0 0;
    color:  rgb(20, 20, 20);
}

.about_me > div > button:nth-child(1){
    margin-right: 10px;
}

.about_me > div > button:nth-child(2){
    margin-left: 10px;
}
/* GENERAL-END */


/* MAIN */
a{
    text-decoration: none;
    color: lightskyblue;
}

.section{
    width: 100% !important;
}

img, video{
    display: block;
}

.background{
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;

    visibility: hidden;
}

.background :is(video, img){
    object-fit: cover;
    object-position: center top;
    width: 100%;
    height: 100vh !important;
}

.canva{
    object-position: center -500px !important;
}

.filter {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

    visibility: hidden;
}

.infos {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
    padding: calc(7.5% + 75px) 7.5% 7.5% 7.5%;
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: space-between;
}

.phone .displayer{
    display: flex;
}

.phone .btn{
    display: none;
}

.tablet .displayer{
    display: none;
}

.tablet .btn{
    display: block;
}

.top {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.desc {
    width: 100%;
    max-width: 1000px;
}

.desc h2{
    font-family: 'Russo One', sans-serif;
    font-size: 4rem;
    color:  rgb(255, 255, 255);
    font-display:inherit;
    text-transform: uppercase;
    margin-bottom: 20px;

    transform: translateX(-150px);
    visibility: hidden;
}

.desc p{
    font-family: 'Roboto Slab', serif;
    color:  rgb(255, 255, 255);
    font-size: 1.25rem;
    font-display:inherit;
    margin-left: 5px;

    transform: translateX(-150px);
    visibility: hidden;
}

.displayer {
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    margin-left: 100px;

    transform: translateX(150%);
    visibility: hidden;
}

.displayer :is(video, img, .ytb-embed) {
    height: 100%;
    transform: translateX(-10px);
    box-shadow: 20px 20px 0px 1px rgb(0 0 0 / 50%);
}

.ytb-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0 !important;
    background-color: black;
}

.ytb-embed > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px 5px 0 0;
}

.see_more{
    width: 200px;
    text-align: center;
    font-size: 0.9rem;
}

.btn{
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255,255,255);
    font-family: 'Russo One', sans-serif;
    font-display:inherit;
    text-transform: uppercase;
    color: rgba(255,255,255);
    cursor: pointer;
    background-color: rgba(0,0,0,0);
    display: inline-block;
    background: linear-gradient(to right, #fff 0%, #fff 50%, #ffffff00 50%, #ffffff00 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-color 0.75s,background-position 0.25s ease-in,color 0.25s;

    
    transform: translateY(50px);
    visibility: hidden;
}

.btn:hover{
    background-position:0 0;
    color:  rgb(20, 20, 20);
}

.null{
    cursor: grabbing !important;
}

/*FOOTER*/
footer{
    position: fixed;
    z-index: 1000;
    height: 50px;
    width: 100%;
    bottom: 0px;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 10px;
    background: linear-gradient(transparent, #0303036f) !important;
}

#contact{
    display: flex;
    flex-direction: row;
}

#contact img{
    width: 25px;
    height: 25px;
    margin: 0 2.5px;
    transform: translateY(50px);

    visibility: hidden;
}
/*FOOTER-END*/

@media all and (max-width: 1200px) {
    .phone .displayer{
        display: none;
    }

    .canva {
        object-position: center -100px !important;
    }
}

@media all and (max-width: 700px) {

    .toggle {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        position: relative;
        z-index: 20;
    }

    .ouvrir {
        display: block !important;
    }

    .fermer {
        display: none !important;
    }

    .open .ouvrir {
        display: none !important;
    }
    
    .open .fermer {
        display: block !important;
    }

    .menu {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(12, 12, 12, 1);
        flex-direction: column;
        padding: 15rem 5rem 20rem 5rem;
        justify-content: space-between;
        transform: translateX(-100%);
        align-items: flex-start;
        transition: transform 1s;
        z-index: 5;
    }

    .menu li a {
        font-size: 2rem;
    }

    .open .menu {
        transform: translateX(0);
    }

    .background :is(video, img){
        height: 100% !important;
    }

    .canva{
        object-position: center center !important;
    }

    .infos{
        align-items: start;
        padding: 95px 20px 100px 20px;
    }

    .phone .displayer{
        display: none;
    }
    
    .phone .btn{
        display: block;
    }

    .tablet .top{
        flex-direction: column;
        height: 100%;
    }
    
    .tablet .displayer{
        display: flex;
        align-items: end;
        margin: 0;
    }

    .tablet .displayer :is(video, img) {
        height: auto;
        width: 100%;
    }
    
    .tablet .btn{
        display: none;
    }
    
    .desc h2{
        font-size: 2rem;
    }
    
    .desc p{
        font-size: 0.75rem;
    }
}

@media all and (max-width: 510px) {
    .about_me{
        margin-bottom: 50px;
    }

    .about_me > h1 {
        text-align: left;
    }

    .about_me > p {
        margin-bottom: 30px;
    }

    .about_me > div {
        flex-direction: column;
    }

    .about_me > div > button:nth-child(1){
        margin-right: 0px;
        margin-bottom: 10px;
    }
    
    .about_me > div > button:nth-child(2){
        margin-left: 0px;
    }
}