@font-face {
    font-family: "Epilogue-M";
    src: url("../fonts/Epilogue-Medium.ttf");
}
@font-face {
    font-family: "Epilogue-R";
    src: url("../fonts/Epilogue-Regular.ttf");
}
@font-face {
    font-family: "Calson-I";
    src: url("../fonts/LibreCaslonText-Italic.ttf");
}
@font-face {
    font-family: "Calson-R";
    src: url("../fonts/LibreCaslonText-Regular.ttf");
}

*, ::after, ::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F5F5F5;
    color: #000;
    font-family: "Epilogue-R";
}
body.visible {
    overflow: hidden;
}


.container {
    padding: 16px;
    position: relative;
    height: 100vh;
}

#Nom {
    position: absolute;
    font-family: "Epilogue-R";
    width: 50vw;
}

#Nom div {
    width: 275px;
    height: 28px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

#Nom div:hover > p {
    transform: translateY(-35px)!important;
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);
}

#Nom div p {
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);
}

#Nom a.visible {
    color: #fff;
    z-index: 10;

}
#Nom a:visited.visible {
    color: #fff;
    z-index: 10;

}

#Nom a {
    color: #000;
    text-decoration: none;
    z-index: 10;
}
#Nom a:visited {
    color: #000;
    text-decoration: none;
    z-index: 10;
}


/*-------------*/
/* Bouton Menu */
/*-------------*/
#Menu {
    position: absolute;
    top: 21px;
    right: 16px;
    height: 22px;
    width: 55px;
    padding: 5px;
    overflow: hidden;
    cursor: pointer;
    z-index: 10;
}

#Menu.visible {
    color: #ffffff;
}

#Menu p:first-child {
    font-family: "Epilogue-R";
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);
}

#Menu p:last-child {
    font-family: "Calson-I";
    font-size: 0.85em;
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);
}

#Menu:hover > p {
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);
}
/*-------------*/
/* Bouton Menu */
/*-------------*/



/*-------------*/
/*     Menu    */
/*-------------*/
#menu-items {
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    position: absolute;
    width: 100vw;
    height: 100vh;
    margin-left: -16px;
    margin-top: -16px;

    background-color: #00000084;
    backdrop-filter: blur(20px); /* Floutage de l'arrière-plan du bouton */
    -webkit-backdrop-filter: blur(20px); /* Pour Safari */

    transition: opacity 0.5s cubic-bezier(.37,.93,.74,1.03);
    z-index: -1;
}

#menu-items.visible {
    opacity: 1;
    z-index: 1;
}

#menu-items .item {
    margin-left: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 240px;
    height: 50px;
    margin-bottom: 10px;
}

#menu-items .item:hover > a.visible {
    transform: translateY(-55px);
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);
}

#menu-items .item a {
    font-size: 3em;
    transform: translateY(50px);
}
#menu-items .item a.visible {
    transform: translateY(0px);
    transition: all 2.5s cubic-bezier(.37,.93,.74,1.03);
}

#menu-items .item a:first-child {
    font-family: "Epilogue-R";
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);
}

#menu-items .item a:last-child {
    font-family: "Calson-I";
    font-size: 2.7em;
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);
}

#menu-items a {
    color: #ffffff;
    text-decoration: none;
}
/*-------------*/
/*     Menu    */
/*-------------*/
img {
    z-index: 9999999999;
}

div.h2-container {
    display: flex;
    height: 90vh;
    align-items: center;
    flex: 1;
}


p.Calson {
    font-family: "Calson-I";
    opacity: 0.7;
    font-size: 0.9em;
}



#first {
    display: flex;
    justify-content: center;
    flex: 1;
}


/*
.video-container {
    position: relative; 
    width: 640px;
    height: 360px;
    display: flex;
    justify-content: center;
}
  
.play-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    width: 640px;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer; 
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px); 
    background-color: #00000035;
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);

}

.play-overlay:hover > #button p {
    transform: translateY(-24px);
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);

}

#button {
    width: 50px;
    height: 19px;
    text-align: center;
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);
    overflow: hidden;
}


#button:last-child {
    font-family: "Calson-I";
}
  
.play-button {
    color: #ffffff;
    background-color: #00000000;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 5px;
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);
}

  
.video-container.playing .play-overlay {
    display: none;
}
  
video::-webkit-media-controls-start-playback-button {
    display: none; 
}
*/

.video-container {
    position: relative;
    width: 640px;
    height: 360px;
    display: flex;
    justify-content: center;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    width: 640px;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer; 
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px); 
    background-color: #00000035;
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);

}

.play-overlay:hover > #button p {
    transform: translateY(-24px);
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);

}

#button {
    width: 50px;
    height: 19px;
    text-align: center;
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);
    overflow: hidden;
}


#button:last-child {
    font-family: "Calson-I";
}
  
.play-button {
    color: #ffffff;
    background-color: #00000000;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 5px;
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);
}





div.pres {
    display: flex;
    justify-content: space-evenly;
}

div.pres h2 {
    font-family: "Epilogue-M";
    font-size: 1em;
}

div.pres p {
    font-family: "Calson-R";
    margin-top: 16px;
    font-size: 0.9em;
    opacity: 0.8;
}

.space {
    word-spacing: 3px;
    line-height: 20px;
}

div.pres p i {
    font-size: 0.9em;
    opacity: 0.7;
    margin-right: 5px;
    line-height: 20px;
}

.txt {
    flex: 1;
    text-decoration: none;
}

.txt a {
    text-decoration: none;
    color: #000;
    opacity: 0.8;
    font-family: "Calson-I";
}



#antiML {
    margin-left: -16px;
    margin-top: 50px;
}

img.grande {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    margin-bottom: -4px;
}

div.double {
    display: flex;
    justify-content: space-between;
    width: 100vw;
}

div.double div.txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

div.double div p {
    font-family: "Calson-R";
    font-size: 0.9em;
    max-width: 50%;
    opacity: 0.8;
    padding-bottom: 16px;
}
div.double div p span {
    font-family: "Epilogue-M";
    font-size: 1.2em;
}

div.double img {
    width: 50vw;
    height: 100vh;
    object-fit: cover;
}

div.double div.hori {
    width: 50%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.double img.hori {
    width: 50%;
    object-fit: contain;
}

div.petite {
    height: 100%!important;
    display: flex;
    align-items: center;
}
img.petite {
    height: 100%!important;
}

div.double div.hori img.hori {
    width: 60%;
    object-fit: contain;
}

div.double div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

div.double div img {
    width: 100%;
}





#next {
    background-color: #000;
    color: #fff;
    width: 100vw;
    height: 100vh;
    margin-left: -16px;
    display: flex;
    align-items: center;
    padding: 24px;
    font-size: 0.8em;
}

#next img {
    width: 20vw;
    margin-bottom: 8px;
    transform: translate(-50%);
}

#next .next-item {
    flex: 1;
}

#next .next-item a {
    opacity: 1;
    text-decoration: none;
}

#next div.next-item div a {
    color: #fff;
    transition: all ease 0.3s;
    display: inline-block;
    transform: translate(-50%);
}
#next div.next-item div a h2 {
    font-family: "Epilogue-R";
}

#next div.next-item div a:hover {
    opacity: 0.6;
    transition: all ease 0.3s;
}



footer {
    background-color: black;
    padding-bottom: 10px;
    width: 100vw;
    margin-left: -16px;
}

footer ul {
    width: 50vw;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding-left: 24px;
}

footer ul li {
    display: flex;
    flex-direction: column;
    height: 15px;
    width: 150px;
    padding-left: 1px;
    overflow: hidden;
}

footer ul li:hover > a {
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);

}

footer ul li a:first-child {
    font-family: "Epilogue-R";
}

footer ul li a:last-child {
    font-family: "Calson-I";
}

footer ul li a{
    text-decoration: none;
    color: #fff;
    opacity: 0.7;
    font-size: 0.8em;
    margin-bottom: 5px;
    transition: all 0.5s cubic-bezier(.37,.93,.74,1.03);

}



@media (max-width: 768px){
    #Nom div {
        width: 50vw;
        height: 60px;
    }

    #Nom div:hover > p {
        transform: translateY(-70px)!important;
    }
    
    div.h2-container {
        display: block;
        height: 50vh;
        align-items: center;
        flex: 1;
        margin-top: 25vh;
    }

    #first {
        padding: 0;
        height: 200px;
        margin-top: 15px;
    }
    
    .video-container {
        position: relative; 
        width: 100vw;
        height: 250px;
        display: flex;
        justify-content: center;
    }

    .video-container iframe {
        width: 100%;
        height: 100%;
    }


    img.grande {
        height: 100%;
    }

    div.double {
        display: flex;
        justify-content: space-between;
        width: 100vw;
    }

    div.double div p {
        max-width: 80%;
    }
    
    div.double img {
        width: 50vw;
        height: 100%;
        object-fit: cover;
    }

    div.double div.hori {
        width: 50%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    div.pres {
        display: block;
    }

    div.pres .txt {
        margin-bottom: 50px;
    }

    #next {
        display: flex;
        flex-direction: column;
        padding-top: 33vh;
    }

    #next .next-item {
        flex: 0;
    }

    #next h2.next-item {
        margin-bottom: 10vh;
    }

    #next img {
        width: 50vw;
        margin-bottom: 8px;
        transform: translate(0%);
    }
    
    #next .next-item a {
        opacity: 1;
        text-decoration: none;
    }
    
    #next div.next-item div a {
        transform: translate(0%);
    }

    footer ul {
        width: 100vw;

    }

    #menu-items {
        padding-bottom: 70px;
    }
}