:root {
    --gray-100: hsl(0, 0%, 100%);
    --gray-90: hsl(0, 0%, 90%);
    --gray-80: hsl(0, 0%, 80%);
    --gray-70: hsl(0, 0%, 70%);
    --gray-60: hsl(0, 0%, 60%);
    --gray-20: hsl(0, 0%, 20%);
    --gray-10: hsl(0, 0%, 10%);

    --accent-light: hsl(200, 20%, 50%);
    --accent-dark: hsl(215, 15%, 10%);
    --accent-darker: hsl(215, 15%, 5%);
}
::-webkit-scrollbar {
    width: 5px;
    height: 10px
}
::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 2px;
}
::-webkit-scrollbar-track {
    background: #333;
}


@font-face {
    font-family: 'aptos';
    src: url('../fonts/aptos.ttf');
}
@font-face {
    font-family: 'Lexend-Black';
    src: url('../fonts/Lexend-Black.ttf');
}
@font-face {
    font-family: 'Lexend-Bold';
    src: url('../fonts/Lexend-Bold.ttf');
}
@font-face {
    font-family: 'Lexend-ExtraBold';
    src: url('../fonts/Lexend-ExtraBold.ttf');
}
@font-face {
    font-family: 'Lexend-ExtraLight';
    src: url('../fonts/Lexend-ExtraLight.ttf');
}
@font-face {
    font-family: 'Lexend-Light';
    src: url('../fonts/Lexend-Light.ttf');
}
@font-face {
    font-family: 'Lexend-Medium';
    src: url('../fonts/Lexend-Medium.ttf');
}
@font-face {
    font-family: 'Lexend-Regular';
    src: url('../fonts/Lexend-Regular.ttf');
}
@font-face {
    font-family: 'Lexend-SemiBold';
    src: url('../fonts/Lexend-SemiBold.ttf');
}
@font-face {
    font-family: 'Lexend-Thin';
    src: url('../fonts/Lexend-Thin.ttf');
}

html, body {
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    font-family: 'Lexend-ExtraLight';
    color: var(--gray-90);
    background-color: var(--gray-10);
}
body {
    display: flex;
    flex-direction: column;
}


a {
    color: var(--accent-light);
}
h1 {
    font-size: 48px;
    line-height: 52px;
    font-family: 'Lexend-ExtraLight';
    font-weight: initial;
    margin: 24px 0px
}
h1 .bold {
    font-family: 'Lexend-Bold';
}
h2 {
    font-weight: initial;
    font-family: 'Lexend-ExtraLight';
    margin: 16px 0px;
}
input[type="button"] {
    background-color: var(--gray-100);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}
input[type="button"]:hover {
    padding: 10px 20px;
    box-shadow: 2px 4px 5px var(--join-button-shadow-colour);
}

.error {
    color: firebrick;
    overflow: hidden;
    height: 34px;
    line-height: 34px;
    transition: height 0.5s;
    text-align: center;
    font-family: 'Lexend-Regular';
    font-size: 14px;

    transition: height 0.5s;
}
.green {
    color: greenyellow;
}
.hide {
    height: 0px;
}

.page {
    width: calc(100% - 94px);
    height: calc(100% - 72px);
    padding: 36px 47px;
}
.page1 {
    flex: 0 0 auto;
    background-image: url('../imgs/ASTRONAUT_33.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column
}
.page1 .logoContainer {
    flex: 0 0 auto;
}
.page1 .logoContainer .logo {
    user-select: none;
}
.page1 .sloganContainer {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}
.page1 .sloganContainer .box {
    max-width: 820px;
    filter: drop-shadow(0px 0px 16px hsl(215deg 15% 10% / 50%));
}
.page1 .sloganContainer .box .buttons {
    margin: 30px 0px;
    display: flex;
    gap: 15px;
}
.page1 .sloganContainer .box .buttons a {
    color: var(--gray-90);
    cursor: pointer;
    transition: color 0.25s;
}
.page1 .sloganContainer .box .buttons a:hover {
    color: var(--accent-light);
}
.page1 .chevronContainer {
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page1 .chevronContainer a {
    cursor: pointer;
}
.page2 {
    flex: 0 0 500px;
    color: var(--gray-10);
    text-align: center;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    background-color: white;
}
.page2 p {
    max-width: 1100px;
    display: block;
}
.page3 {
    background-color: #13161a;
    height: auto;
    padding: 72px 94px;
    width: calc(100% - 188px);
    display: flex;
    justify-content: center;
}
.page3 .policyContainer {
    max-width: 900px;
}
.page4 {
    flex: 0 0 auto;
    background-image: url('../imgs/ASTRONAUT_50.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page4 .formContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: hsl(215deg 15% 10% / 70%);
    border-radius: 10px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    filter: drop-shadow(0px 0px 10px var(--gray-10));
    backdrop-filter: blur(10px);
}
.page4 .formContainer input[type="text"],
.page4 .formContainer input[type="email"],
.page4 .formContainer select{
    height: 30px;
    line-height: 30px;
    background: transparent;
    border: none;
    text-align: center;
    border: 1px solid var(--gray-70);
    border-radius: 8px;
    color: var(--gray-80);
}
select option {
    color: var(--gray-80);;
    background-color: #1b2126;
}
  
select:focus, input[type="text"]:focus, input[type="email"]:focus {
    outline: none;
    border-color: #555;
    box-shadow: 0 0 5px var(--accent-light);
}

.page5 {
    background: black;
    min-height: 200px;
    padding: 72px 94px;
    width: calc(100% - 188px);
}

.menu {
    position: fixed;
    top: -70px;
    width: 100%;
    height: auto;
    background-image: url('../imgs/logo.svg');
    background-repeat: no-repeat;
    background-position: 47px center;
    background-color: var(--accent-darker);
    backdrop-filter: blur(5px);
    text-align: center;
    box-shadow: 0 0 10px #000;
    cursor: pointer;
    transition: top .5s;
    padding: 15px 0px;
}
.menu img {
    transform: rotate(180deg);
}
.show {
    top: 0;
}

button {
    width: -moz-fit-content;
    width: fit-content;
    font-family: "aptos";
    border: none;
    border-radius: 21px;
    height: 42px;
    line-height: 42px;
    cursor: pointer;
    font-size: 14px;
    padding: 0px 20px;
    transition: background-color 0.5s;
}
.bannerContainer {
    width: 100%;
    position: fixed;
    bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bannerContainer .bannerBox {
    max-width: 500px;
    padding: 20px;
    border-radius: 10px;
    background-color: hsl(0, 0%, 20%);
    display: flex;
    flex-direction: column;
    filter: drop-shadow(2px 4px 6px black);
    margin-bottom: 20px;
}
.bannerContainer .bannerBox .bannerMessage {
    display: flex;
    font-size: 14px;
}
.bannerContainer .bannerBox .buttonContainer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
button.secondary {
    color: hsl(0, 0%, 90%);
    background-color: hsl(0, 0%, 20%);
}

.anim_slide_up {
    opacity: 0;
    transform: translateY(calc(100% + 20px));
    
    transition: opacity 0.5s, transform 0.5s;
}

.hub {
    margin: 0px;
    padding: 0px;
    width: 100%;
    background-color: hsl(0, 0%, 10%);
    color: hsl(0, 0%, 80%);
    font-family: "aptos";
    font-size: 14px;
    display: flex;
    flex-direction: column;
}
.hub header {
    flex: 0 0 90px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hub header .logoContainer {
    flex: 0 0 auto;
    margin-left: 23px;
}
.hub main {
    flex: 1 1 auto;
    display: flex;
    height: 100%;
}
.hub main section {
    background-color: hsl(0, 0%, 11%);
    flex: 1 1 auto;
    border-radius: 8px;
    box-shadow: 0px 0px 8px hsla(0, 0%, 0%, 0.25);
    display: flex;
    flex-direction: column;
    margin: 23px auto;
    max-width: 900px;
}
.hub main section .toolbar {
    padding: 0px 30px;
}
.hub main section main {
    background-color: hsl(0, 0%, 12%);
    border-radius: 8px;
    padding: 30px;
}

.changelog {
    display: flex;
    flex-direction: column;
    padding: 0px 30px 30px 30px;
}
.changelogContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.update {
    border-top: 1px solid var(--gray-20);
    padding: 1.2rem 0;
    display: flex;
    gap: 2rem;
}

.date {
    font-size: 0.85rem;
    color: var(--gray-60);
    min-width: 100px;
}

.content {
    flex: 1;
}

.title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 4px 0;
    color: var(--gray-80);
}

.item {
    font-size: 0.95rem;
    color: var(--gray-60);
}


@media (max-width: 768px) {
    .page1, .page4 {
        background-attachment: scroll;
    }
}

@media screen and (max-width: 530px) {
    h1 {
        font-size: 36px;
        line-height: 36px;
    }
    h2 {
        font-size: 16px;
    }
    .page1 .chevronContainer a img {
        width: 28px;
        height: auto;
    }
    .page2 {
        flex: 0 0 auto;
        font-size: 24px;
    }
    .page3 {
        padding: 36px 47px;
        width: calc(100% - 94px);
    }
    .page5 {
        padding: 36px 47px;
        width: calc(100% - 94px);
    }
    .menu {
        background-image: url('../imgs/icon.svg');
        background-size: 24px;
    }
    .menu img {
        width: 24px;
        height: auto;
    }
}

