@font-face {
    font-family: "Trovical";
    src: url("assets/Trovical.otf");
}

html {
    width: 100vw;
    overflow-x: hidden;
    justify-content: center;
}

body {
    display: flex;
    flex-direction: column;
    background-color: rgb(27, 27, 27);
    background-image: url('assets/background.jpg');
    background-size: cover;
    background-position: top;
    background-clip: border-box;
    background-repeat: no-repeat;
    font-family: Arial, Helvetica, sans-serif;
    color: aliceblue;
    width: 100vw;
    padding: 0;
    margin: 0;
    height: fit-content;
    min-height: 100vh;
    align-items: center;
    overflow-x: hidden;
    overflow-y: scroll;
}

header {
    display: flex;
    width: 70%;
    margin-top: 10px;
    height: 40px;
    background-color: rgba(54, 54, 54, 0.5);
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    backdrop-filter: blur(3px);
    border: solid 2px rgb(68, 68, 68);
    box-shadow: 0 0 20px rgb(0, 0, 0);
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 25px;
}

nav form input {
    display: none;
}

nav form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-weight: 1000;
    gap: 10px;
    overflow-x: scroll;
}

nav form label {
    width: auto;
    height: fit-content;
    background-color: rgba(75, 75, 75, 0);
    padding: 5px 10px;
    border-radius: 999px;
    transition: all 0.2s;
}

nav form label:after {
    content: '';
    display: block;
    width: 100%;
    left: 0;
    bottom: 0;
    height: 2px;
    box-sizing: content-box;
    background-color: aliceblue;
    border-radius: 15px;
    transform: scaleX(0);
    transition: all 0.2s ease-out;
}

nav form label:hover:after {
    transform: scaleX(1);
}

nav form input[type="radio"]:checked+label {
    transform: scaleX(1);
    background-color: rgba(75, 75, 75, 0.5);
}

nav form input[type="radio"]:checked+label:after {
    transform: scaleX(0);
}

main {
    display: flex;
    width: 100vw;
    margin-top: 40px;
    flex-direction: column;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
}

.page {
    display: none;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page_header {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    white-space: nowrap;
    width: fit-content;
    max-width: 70%;
    background-color: rgba(54, 54, 54, 0.5);
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    backdrop-filter: blur(3px);
    border: solid 2px rgb(68, 68, 68);
    box-shadow: 0 0 20px rgb(0, 0, 0);
    justify-content: center;
    align-items: center;
}

.page_header form {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}

.videoframe {
    display: none;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 80%;
    z-index: 100;
    background-color: rgba(54, 54, 54, 0.5);
    padding: 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: solid 2px rgb(68, 68, 68);
    box-shadow: 0 0 20px rgb(0, 0, 0);
    backdrop-filter: blur(0);
}

.videoframe .frame {
    width: 100%;
    border-radius: 0.5rem;
    background-color: rgba(54, 54, 54, 0.5);
}



.gallery {
    display: flex;
    flex-wrap: wrap;
    max-width: 90%;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.gallery button {
    padding: 10px;
    background-color: rgba(54, 54, 54, 0.5);
    backdrop-filter: blur(3px);
    border: solid 2px rgb(68, 68, 68);
    box-shadow: 0 0 20px rgb(0, 0, 0);
    border-radius: 10px;
    color: white;
    font-weight: 1000;
}

.blurbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    z-index: 4;
}

@media (max-width: 1300px) {
    header {
        flex-direction: column;
        height: fit-content;
        border-radius: 25px;
    }

    header form {
        flex-wrap: wrap;
    }

    .gallery {
        flex-direction: column;
    }

    .videoframe button {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 600px) {
    #returnbutton {
        display: none;
    }

    .videoframe .frame {
        width: 100%;
    }
}