@font-face {
    font-family: "Arcane";
    src:
        url(./fonts/Arcane.otf);
}

@font-face {
    font-family: "Valorant";
    src:
        url(./fonts/Valorant.ttf);
}

@font-face {
    font-family: "Bates";
    src:
        url(./fonts/Bates.ttf);
}

@font-face {
    font-family: "Heading";
    src:
        url(./fonts/Heading.ttf);
}

@font-face {
    font-family: "Akira";
    src:
        url(./fonts/Akira.otf);
}

@font-face {
    font-family: "Newake";
    src:
        url(./fonts/Newake.otf);
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


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

html body {
    width: 100%;
    padding: 0px;
    margin: 0px;
    scroll-behavior: smooth;
    position: relative;
}

/* header */
header {
    width: 100%;
    height: 3em;

    position: absolute;
    z-index: 10;

    /* background-color: #000;
    opacity: 0.69; */
    background-color: transparent;
    backdrop-filter: blur(100px);
}

ul {
    width: 30%;
    padding: 1em 0 1em 5em;

    list-style: none;
    color: #fff;

    display: flex;
    justify-content: space-between;
}

li>a {
    color: #fff;
    text-decoration: none;
    font-family: 'Arcane';
}

li>span {
    color: #262B61;
    font-family: 'Arcane';
}

/* Main */
main {
    width: 100%;
    background-image: url(./medias/gallery/background.webp);
    background-size: cover;
    display: flow-root;
    position: relative;
}

/* Section */

section {
    aspect-ratio: 3/7;

    width: 90%;
    height: auto;
    margin: 100px auto;
    padding: 5px;

    border-radius: 5rem;
    background: rgba(12, 12, 12, 0.5);
    backdrop-filter: blur(32.5px);

    display: grid;
    grid-template: 1fr 1fr 1fr 1fr 1fr 1fr 1fr / 1fr 1fr 1fr;
}

section>div {
    width: 100%;
    /* height: 100%; */
    /* margin: auto; */
}

div:nth-of-type(1) {
    grid-area: 1/1/2/2;
    margin: 5%;
    width: 90%;
    height: 90%;
}

div:nth-of-type(2) {
    grid-area: 1/2/2/4;
    margin: 2.5%;
    width: 95%;
    height: 90%;
}

div:nth-of-type(3) {
    grid-area: 2/1/4/3;
    margin: 2.5%;
    width: 95%;
    height: 95%;
}

div:nth-of-type(4) {
    grid-area: 2/3/3/4;
    margin: 5%;
    width: 90%;
    height: 90%;
}

div:nth-of-type(5) {
    grid-area: 3/3/5/4;
    margin: 5%;
    width: 90%;
    height: 95%;

}

div:nth-of-type(6) {
    grid-area: 4/1/6/2;
    margin: 5%;
    width: 90%;
    height: 95%;

}

div:nth-of-type(7) {
    grid-area: 4/2/5/3;
    margin: 5%;
    width: 90%;
    height: 90%;

}

div:nth-of-type(8) {
    grid-area: 5/2/6/4;
    margin: 2.5%;
    width: 95%;
    height: 90%;
}

div:nth-of-type(9) {
    grid-area: 6/1/7/3;
    margin: 2.5%;
    width: 95%;
    height: 90%;
}

div:nth-of-type(10) {
    grid-area: 6/3/7/4;
    margin: 5%;
    width: 90%;
    height: 90%;
}

div:nth-of-type(11) {
    grid-area: 7/1/8/2;
    margin: 5%;
    width: 90%;
    height: 90%;
}

div:nth-of-type(12) {
    grid-area: 7/2/8/4;
    margin: 2.5%;
    width: 95%;
    height: 90%;
}

/* Spoiler  */
div.spoiler_alert {
    position: absolute;
    top: 0%;
    left: 50%;
    translate: -50%;
    background-color: rgba(12, 12, 12, 0.3);
    backdrop-filter: blur(100px);
    z-index: 1000;
    aspect-ratio: 3/7;

    width: 90%;
    height: auto;
    margin: 100px auto;
    padding: 5px;

    border-radius: 5rem;

    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spoiler_alert>button{
    width: 200px;
    height: 75px;
    border-radius: 25px;
    font-family: 'Arcane';
    font-size: 2em;
    background-color: #2c2c2c;
    color: #fff;
    border: none;
    transition: ease-in-out 0.5s;
}

.spoiler_alert>button:hover{
    box-shadow:0 0 5px #fff;
}

.spoiler_alert.hidden {
    opacity: 0;
}

.video-background {
    position: relative;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}


/* Footer */

footer {
    background-image: url(./medias/background_3.webp);
    background-size: cover;
    z-index: 10;
    position: relative;
    width: 100%;
    height: 40vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

footer>img {
    width: 10em;
}

footer>p {
    color: #7c7c7c;
    font-family: 'Montserrat';
}

footer>div {
    display: flex;
    justify-content: space-between;
    width: 40%;
}

footer>div>button {
    padding: 10px;
    width: 40%;
    border-radius: 10px;
    margin-top: 20px;
    background-color: rgb(99, 99, 99);
}