* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root {
    --color-primary: #094507;
    --color-success: #004534;
    --color-warning: #f7c94b;
    --color-danger: #670e10;
    --color-danger-variant: rgba(247, 88, 66, 0.4);
    --color-white: #ffffff;
    --color-light: rgba(255, 255, 255, 0.7);
    --color-black: #000000;
    --color-bg: #262626;
    --color-bg1: #383838;
    --color-bg2: #fab23d;
    --color-bg3: #ffc812;
    --color-bg4: #CBB26A;

    --container-width-lg: 80%;
    --container-width-md: 90%;
    --container-width-sm: 94%;

    --transition: all 400ms ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--color-white);
    background-color: var(--color-bg);
}

.container {
    width: var(--container-width-lg);
    margin: 0 auto;
}

section {
    padding: 10rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

h1, h2, h3, h4, h5 {
    line-height: 1.2;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

a {
    color: var(--color-white);
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.btn {
    flex: 1 1 auto;
    padding: 20px 30px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
}

.btn:hover {
    background-position: right center;
  }

.btn-primary {
    color: #000000;
    background-image: linear-gradient(to right, #be9e45 50%, #333333 100%);
}

.btn-discord {
    color: #000000;
    background-image: linear-gradient(to right, #be9e45 50%, #333333 100%);
    position: relative;
    top: 35px;
}

/* ==================== LOGIN FORM ==================== */

/* =============== BASE =============== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}


/* ==================== POPUP ==================== */
.popup {
    z-index: 12;
    background-color: #ffffff;
    color: #000;
    width: 650px;
    padding: 30px 40px;
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    border-radius: 8px;
    display: none;
}

.popup button {
    display: block;
    margin: 0 0 20px auto;
    background-color: transparent;
    font-size: 30px;
    color: #c5c5c5;
    border: none;
    outline: none;
    cursor: pointer;
}

.popup p {
    font-size: 20px;
    text-align: center;
    margin: 20px 0;
}
.popup h2 {
    text-align: center;
}

.popup a {
    display: block;
    width: 150px;
    position: relative;
    margin: auto;
    text-align: center;
    background-color: var(--color-bg1);
    color: #ffffff;
    text-decoration: none;
    padding: 5px 0;
}

/* ==================== NAVBAR ==================== */
nav {
    background: transparent;
    width: 100vw;
    height: 5rem;
    position: fixed;
    top: 0;
    z-index: 11;
}

.window-scroll {
    background: var(--color-bg2);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.nav__container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav button {
    display: none;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.nav__menu a {
    font-size: 1rem;
    transition: var(--transition);
}

.nav__menu a:hover {
    color: #be9e45;
}

.logolink {
    font-family: 'Noto Serif Display', serif;
    font-size: 70px;
    background: -webkit-linear-gradient(#be9e45, #333333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==================== HEADER ==================== */
header {
    position: relative;
    top: 5rem;
    overflow: hidden;
    height: 75vh;
    margin-bottom: 5rem;
    size: 256px;
}

.header__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
    height: 100%;
}

.header__left p {
    margin: 1rem 0 2.4rem;
}

/* ==================== DISCORD ==================== */
.discord__container{
    position: relative;
    size: 256px;
    display: grid;
    grid-template-columns: 2.5fr 2fr;
    align-items: center;
    gap: 5rem;
    height: 100%;
}

.fa-brands {
    font-size: 100px;
    color: var(--color-bg2);
}

.discord__right-image {
    width: 300px;
    height: 300px;
    display: block;
    object-fit: cover;
    position: relative;
    left: 1650px;
    bottom: 260px;
}

/* ==================== MEDI QUERIES (TABLETS) ==================== */
@media screen and (max-width: 1024px) {
    .container {
        width: var(--container-width-md);
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    /* ==================== NAVBAR ==================== */
    nav button {
        display: inline-block;
        background: transparent;
        font-size: 1.8rem;
        color: var(--color-white);
        cursor: pointer;
    }

    nav button#close-menu-btn {
        display: none;
    }

    .nav__menu {
        position: fixed;
        top: 5rem;
        right: 5%;
        height: fit-content;
        width: 18rem;
        flex-direction: column;
        gap: 0;
    }
}