@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    font-family: "Poppins", sans-serif;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

html {
    min-height: 100%;
    position: relative;
    height: 100%;
}

body {
    margin: 0;
    height: 100vh;
    width: 100vw;
    max-width: 100%;
    background: url("../assets/img/background.jpg");
    background-size: cover;
    background-position-y: center;
}

#bgdark{
    position: absolute;
    z-index: -2;
    width: 100vw;
    height: 100%;
    background: linear-gradient(rgba(30, 30, 30, 0.4), rgba(15, 15, 15, 0.8), rgba(7, 7, 7, 1));
    opacity: 1;
    transition: opacity 0.35s;
}

#bglight{
    position: absolute;
    z-index: -2;
    width: 100vw;
    height: 100%;
    background: linear-gradient(rgba(15, 15, 15, 0.6), rgba(225, 225, 225, 0.2));
    opacity: 0;
    transition: opacity 0.35s;
}

main{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    max-width: 100%;
}

.spirales{
    position: fixed;
    z-index: -1;
    left: 50vw;
    transform: translateX(-50%);
    top: 0;
    height: 100vh;
    animation: ani 20s linear infinite;
    transition: all 0.5s;
}

.spirales > img{
    margin: 0;
    padding: 0;
    height: 100vh;
    opacity: 0;
}

.spirales.dark{
    background: url("../assets/img/spirales_blanches.png") repeat-y;
    background-size: contain;
    background-repeat: repeat-y;
}

.spirales.light{
    background: url("../assets/img/spirales_noires.png") repeat-y;
    background-size: contain;
    background-repeat: repeat-y;
}

#spiralesfinished{
    height: 100vh;
    width: 100vw;
    max-width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background-image: url("../assets/img/spirales_finished.png");
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: all 0.35s;
}

h1{
    margin: 0;
    margin-bottom: 30px;
    width: fit-content;
    height: fit-content;
    color: white;
    border: solid 2px white;
    padding: 3px 15px 3px 15px;
    border-radius: 15px;
    font-weight: normal;
    font-size: 20px;
    transition: all 0.5s;
    margin-top: 8vh;
    margin-bottom: 5vh;
}

h1.dark{
    background-color: rgba(21, 21, 21, 0.2);
}

h1.light{
    background-color: rgba(255, 255, 255, 0.2); 
}

.timer{
    display: flex;
    flex-direction: column;
}

.timer > div {
    text-align: center;
}

p{
    color: white;
    margin: 0;
}

.numbers{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 7vh;
}

.number{
    font-weight: 600;
    font-size: 120px;
    width: 160px;
    transition: all 0.35s;
    margin-top: -50px;
    margin-bottom: -60px;
}

.number.dark.finish, .libelle.dark.finish, .libelles>p.dark.finish{
    color: #696969;
}

.number.light.finish, .libelle.light.finish, .libelles>p.light.finish{
    color: #ABABAB;
}

.sep1 > img{
    transform: rotate(-45deg);
}

.sep3 > img{
    transform: rotate(45deg);
}

.libelles{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 48px;
    margin-top: -30px;
    margin-bottom: 50px;
}

.libelles > p{
    width: 100%;
}

.libelle{
    display: none;
}

#liens{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#liensdecouvrir{
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 690px;
    justify-content: space-between;
    height: 0;
    overflow: hidden;
    transition: all 0.35s;
}

#liensdecouvrir > a.dark{
    background-color: #151515;
    height: 65px;
    width: 100%;
    border-radius: 10px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    transition: background-color 0.35s;
}

#liensdecouvrir > a.light{
    background-color: #FFFFFF;
    height: 65px;
    width: 100%;
    border-radius: 10px;
    color: black;
    position: relative;
    overflow: hidden;
    transition: background-color 0.35s;
}

#liensdecouvrir > a:hover > .linkhover{
    opacity: 1;
}

#liensdecouvrir > a:hover > .linkcontenu{
    color: #FFFFFF;
}

.linkhover{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    opacity: 0;
    transition: all 0.35s;
}

.linkhover::before{
    content: "";
    position: absolute;
    width: 200%;
    height: 1000%;
    top: -50%;
    left: -50%;
    z-index: -1;
    background: linear-gradient(#D97C01, #D04900);
    transform: rotate(45deg);
}

.linkcontenu{
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.35s;
}

.visionner{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.reseaux{
    display: flex;
    gap: 10px;
}

.lienreseau{
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    text-decoration: none;
    width: 130px;
    height: 65px;
    border-radius: 10px;
    transition: all 0.35s;
}

.lienreseau.dark{
    background-color: #151515;
}

.lienreseau.light{
    background-color: #FFFFFF;
}

.uparrow.dark{
    position: absolute;
    z-index: -1;
    top: 5px;
    height: 10px;
    width: 10px;
    left: calc(50% - 6px);
    border-top: 2px solid rgba(171, 171, 171, 0.3);
    border-left: 2px solid rgba(171, 171, 171, 0.3);
    transform: rotate(45deg);
    transition: top 0.35s;
}

.downarrow.dark{
    position: absolute;
    z-index: -1;
    bottom: 5px;
    height: 10px;
    width: 10px;
    left: calc(50% - 6px);
    border-bottom: 2px solid rgba(171, 171, 171, 0.3);
    border-left: 2px solid rgba(171, 171, 171, 0.3);
    transform: rotate(-45deg);
    transition: bottom 0.35s;
}

.uparrow.light{
    position: absolute;
    z-index: -1;
    top: 5px;
    height: 10px;
    width: 10px;
    left: calc(50% - 6px);
    border-top: 2px solid rgba(30, 30, 30, 0.3);
    border-left: 2px solid rgba(30, 30, 30, 0.3);
    transform: rotate(45deg);
    transition: top 0.35s;
}

.downarrow.light{
    position: absolute;
    z-index: -1;
    bottom: 5px;
    height: 10px;
    width: 10px;
    left: calc(50% - 6px);
    border-bottom: 2px solid rgba(30, 30, 30, 0.3);
    border-left: 2px solid rgba(30, 30, 30, 0.3);
    transform: rotate(-45deg);
    transition: bottom 0.35s;
}

.lienreseau:hover > .uparrow{
    top: -5px;
}

.lienreseau:hover > .downarrow{
    bottom: -5px;
}
    
#x.dark{
    height: 30%;
    background-image: url("../assets/img/x_dark.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#insta.dark{
    height: 30%;
    background-image: url("../assets/img/insta_dark.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#discord.dark{
    height: 30%;
    background-image: url("../assets/img/discord_dark.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#yt.dark{
    height: 30%;
    background-image: url("../assets/img/yt_dark.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#site.dark{
    height: 30%;
    background-image: url("../assets/img/site_dark.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#x.light{
    height: 30%;
    background-image: url("../assets/img/x_light.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#insta.light{
    height: 30%;
    background-image: url("../assets/img/insta_light.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#discord.light{
    height: 30%;
    background-image: url("../assets/img/discord_light.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#yt.light{
    height: 30%;
    background-image: url("../assets/img/yt_light.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#site.light{
    height: 30%;
    background-image: url("../assets/img/site_light.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.boutons{
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.boutons > button{
    height: 40px;
    width: 40px;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.5s;
}

.boutons > button.dark{
    background-color: #151515;
}

.boutons > button.light{
    background-color: #FFFFFF;
}

.imgtheme.dark{
    transform: rotate(0deg);
    transition: transform 0.35s;
}

.boutons > button:hover > .imgtheme.dark{
    transform: rotate(-90deg);
}

#btntheme{
    position: relative;
}

.imgtheme.light{
    position: absolute;
    transform: rotate(0deg);
    transition: transform 0.35s;
}

.boutons > button:hover > .star{
    transform: rotate(-180deg);
}

.star{
    left: 25%;
    top: 30%;
}

.moon{
    right: 30%;
}

.btnpopup.dark{
    width: 15px;
    height: 15px;
    border: solid 3px white;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0);
    transition: all 0.35s;
}

.btnpopup.light{
    width: 15px;
    height: 15px;
    border: solid 3px black;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.35s;
}

.boutons > button:hover > .btnpopup.dark{
    background-color: rgba(255, 255, 255, 1);
}

.boutons > button:hover > .btnpopup.light{
    background-color: rgba(0, 0, 0, 1);
}

#popup.dark{
    width: 100vw;
    display: flex;
    background-color: #151515;
    position: fixed;
    bottom: 0;
    left: 0;
    border-radius: 20px 20px 0 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s;
    align-items: center;
    justify-content: space-between;
    transition: all 0.35s;
    overflow: hidden;
}

#popup.light{
    width: 100vw;
    display: flex;
    background-color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    border-radius: 20px 20px 0 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s;
    align-items: center;
    justify-content: space-between;
    transition: all 0.35s;
    overflow: hidden;
}

.popupside{
    display: flex;
    gap: 40px;
}

#cross{
    background-color: #15151500;
    border: none;
    padding: 0;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

#grid{
    border-top-left-radius: 20px;
}

.utiles{
    display: flex;
    flex-direction: column;
    justify-self: right;
    padding-top: 20px;
}

.utiles > p.dark{
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 10px;
    color: white;
}

.utiles > p.dark > a{
    font-weight: 200;
    font-size: 14px;
    color: white;
    transition: all 0.35s;
}

.utiles > p.dark > a:hover{
    color: #bbbbbb;
}

.utiles > a.dark{
    color: white;
    font-weight: 200;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.35s;
}

.utiles > a.dark:hover{
    color: #bbbbbb;
}

.utiles > a.light:hover{
    color: #bbbbbb;
}

.utiles > p.light{
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 10px;
    color: black;
}

.utiles > p.light > a{
    font-weight: 200;
    font-size: 14px;
    color: black;
    transition: all 0.35s;
}

.utiles > p.light > a:hover{
    color: #bbbbbb;
}

.utiles > a.light{
    color: black;
    font-weight: 200;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.35s;
}

#logo{
    max-width: 80%;
    margin-right: 100px;
}

#logoresp{
    display: none;
}

@keyframes ani{
	0%{background-position: 0 0;}
	100%{background-position: 0 100vh;}
}

@media screen and (max-width: 1410px) {
    #logo{
        width: 500px;
    }
}

@media screen and (max-width: 1340px) {
    #logo{
        width: 400px;
    }
}

@media screen and (max-width: 1200px) {
    #logo{
        display: none;
    }
}

@media screen and (max-height: 700px) {
    .libelles{
        margin-top: 0;
    }
}

@media screen and (max-width: 800px) {

    body{
        background: none;
    }

    #bgdark{
        background: linear-gradient(#1E1E1E, #070707);
        max-width: 100%;
    }

    #bglight{
        background: linear-gradient(#717171, #bbbbbb);
        max-width: 100%;
    }

    .number{
        font-size: 130px;
        width: auto;
    }

    .numbers{
        flex-direction: column;
        gap: 0;
        height: 80vh;
        justify-content: space-between;
    }

    .reseaux{
        flex-direction: column;
        margin-bottom: 40px;
        align-items: center;
    }

    main{
        height: auto;
    }

    h1{
        font-size: 15px;
    }

    #popup.dark, #popup.light{
        flex-direction: column-reverse;
    }

    .popupside{
        flex-direction: column-reverse;
    }

    #grid{
        width: 100vw;
        border-top-left-radius: 0;
    }

    #logoresp{
        display: block;
        height: 70px;
        width: 80px;
        object-fit: cover;
    }

    .libelles{
        display: none;
        flex-direction: column;
    }

    .libelle{
        display: block;
        font-size: 18px;
        font-weight: 200;
    }

    .utiles{
        padding-left: 20px;
    }

    .utiles > img{
        margin-top: 10px;
    }

    .utiles > p.dark, .utiles > p.light, .utiles > a.dark, .utiles > a.light, .utiles > p > a.dark, .utiles > p > a.light{
        font-size: 18px;
    }

    .utiles > a{
        width: fit-content;
    }

    .popupside{
        gap: 20px;
    }

    html{
        background-color: black;
    }

    #liensdecouvrir{
        flex-direction: column;
        width: auto;
        width: 90vw;
    }

    #liensdecouvrir > a:hover > .linkhover{
        opacity: 0;
    }

    #liensdecouvrir > a:hover > .linkcontenu{
        color: inherit;
    }

    .lienreseau{
        width: 90vw;
    }
}