html, body {
    margin: 0;
    font-family: "Radio Canada Big", sans-serif; 
}

iframe {
    border: none;
}

video{
    width: 720px;
}

.intro-video{
    width: 100%;
}

#map {
    position: fixed;
    top: 10px;
    left: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 5px;
    z-index: 1000;
}

#loading-screen{
    position: fixed; 
    width: 100vw; 
    height: 100vh; 
    gap: 30px;
    background-color: white;
    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loading-screen-text{
    font-size: 2rem;
    font-style: normal;
    text-align: center;
}

#button-a {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    bottom: 50%;
    right: 50px; 
    font-size: 1em;
    color: black;
    border: 1px solid black;
    background-color: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s, color 0.3s;
}

#button-a:hover {
    background-color: black;
    color: white;
}

#button-a:hover svg{
    stroke: white;
    opacity: 1;
}

@keyframes out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


.fadeOut {
    animation: out 1s ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    animation: in 1s ease-in-out;
    animation-fill-mode: forwards;
}

img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}

button {
    font-family: "Radio Canada Big", sans-serif;
}

#debug {
    visibility: hidden;
}










/*! MENU */

#menu {
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(3px);
    position: fixed;
    width: 90vw;
    left: 5vw;
    top: 40px;

    display: flex;
    justify-content: space-around;
    align-items: stretch;

    border: 1px solid black;
}

.guez-text-1{
    z-index: 10000;
    background-color: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(1200px);

    position: fixed;
    width: 100%;
    box-sizing: border-box;
    height: 100vh;

    display: flex;
    justify-content: center;

    filter: invert();
}

.guez-text-2{
    z-index: 10000;
    background-color: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(1200px);

    position: fixed;
    width: 100%;
    box-sizing: border-box;
    height: 100vh;

    display: flex;
    justify-content: center;

    filter: invert();
}

.guez-text-2 img{
    width: 80%;
    min-width: 1000px;
}

.menu-button {
    z-index: inherit;
    color: black;
    font-size: 1em;
    padding: 8px;
    border: none;
    background-color: transparent;
    backdrop-filter: blur(5px);
    transition: background-color 0.3s, color 0.3s;
}

.menu-button:hover {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
}

.x{
    border: 1px solid black;
    border-top: 0;
    border-bottom: 0;
    padding: 10px;
}

#btn-center {
    z-index: 10;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;

    border: 1px solid black;
}








/*! CANVAS */

h1 {
    font-size: 4rem;
    text-transform: lowercase;
    margin: 0;
    line-height: 4rem;
    font-weight: 700;
}

h2{
    font-size: 52px;
    font-weight: 700;
    margin: 0;
}

.intro-h2{
    font-size: 1.5rem;
    margin: 19px 0;
}

p{
    font-size: 1rem;
    margin: 0;
}

.video {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
}

.video-title {
    font-size: 1.3em;
    font-weight: 500;
}

.video-duration {
    border: 1px solid black;
    padding: 20px;
    box-sizing: border-box;
    background-color: white;
    max-width: 720px;
    font-size: 1.2em;
    margin: 0;
}

.canvas, canvas{
    width: 7289px;
    height: 4571px;
    position: absolute;
    border: 1px solid black;
    z-index: -10;
    background-color: rgb(255, 255, 255);
    overflow: hidden;
}

.lines-expo{
    left: 5134px;
    top: 2050px;

    position: absolute;
    z-index: -5;
}

.lines-intro{
    left: 1150px;
    top: 1850px;

    position: absolute;
    z-index: -5;
}

.lines-boris{
    left: 3300px;
    top: 810px;

    position: absolute;
    z-index: -5;
}

.lines-judith{
    left: 610px;
    top: 750px;

    position: absolute;
    z-index: -5;
}

.element, .section-titre, .credits{
    position: absolute;
    user-select: none;
}

.section-titre{
    transition: transform 0.3s ease-out;
    transition: background-color 0.3s ease;
}

.section-titre:hover{
    transform: scale(1.1);
    background-color: black;
    
}

.section-titre:hover h2{
    color: white;
}

.labbe-0{
    left: 4704px;
    top: 865px;

    background-color: #92F2F9;
}

.guez-0{
    left: 1330px;
    top: 1000px;

    background-color: #F992D3;
}

.visite-0{
    left: 4970px;
    top: 2940px;

    background-color: #92F9B1;
}

.container{
    width: 1300px;
    height: 545px;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 2fr;
    position: absolute;
    left: 2500px;
    top: 2475px;
    user-select: none;
}

.intro-header {
    display: flex;
    flex-direction: column;
    height: fit-content;
    border: 1px solid black;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(3px);
    box-sizing: border-box;
}

.intro-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px; 
}

.intro-meaning{
    left: 670px;
    top: 2430px;
}

.intro-errer{
    left: 3000px;
    top: 3300px;
}

.visite-video{
    left: 4746px;
    top: 2725px;
}

.phal-video{
    left: 2950px;
    top: 1600px;
}

.boris-video{
    left: 4500px;
    top: 670px;
}

.boris-bio{
    left: 2450px;
    top: 350px;
}

.inspirations-title{
    position: absolute;
    left: 5290px;
    top: 1930px;
    z-index: 1000;
    transition: transform 0.5s ease-out;
}

.inspirations-content{
    left: 4498px;
    top: 1532px;
}

.inspirations-title:hover {
    transform: scale(1.1);
}

.mostra-venise{
    left: 5950px;
    top: 3080px;
}

.guez-intro{
    left: 480px;
    top: 800px;
}

.guez-intro2{
    left: 620px;
    top: 1090px;
    z-index: 1000;
    transition: transform 0.5s ease-out;
}

.guez-intro2:hover, .guez-commissariat:hover, .guez-parcours:hover, .credits:hover {
    transform: scale(1.1);
}

.guez-commissariat{
    left: 250px;
    top: 710px;
    transition: transform 0.5s ease-out;
}


.guez-parcours{
    left: 370px;
    top: 1330px;
    transition: transform 0.5s ease-out;
}

.annexe-0{
    left: 1250px;
    top: 3850px;

    background-color: #000000;
}

.annexe-0 h2{
    color: white;
}

.annexe-0:hover{
    background-color: white;
}

.annexe-0:hover h2{
    color: rgb(0, 0, 0);
}

.annexe-content{
    display: none;
    z-index: -3;
    left: 400px;
    top: 3650px;
}

.credits{
    z-index: 1001;
    left: 901px;
    top: 3657px;
}