:root {
    --color-orange: #ffa93c;
    --color-blue: #0078d4;
    --color-pink: #f04ab1;
    --color-green: #c1f04a;
    --color-lightgray: #a2a7ab;
    --color-darkgray: #353b4a;
    --color-purple: #B04AF0;
    --color-red: #F04A4A;
    --color-cyan: #4AF0E0;
    --color-yellow: #FFE34A;

    --ff-body: 'Segoe UI', sans-serif;
    --ff-heading: 'Anton', Impact, sans-serif;
    --ff-thin: 'Segoe UI Thin', sans-serif;
    --ff-bold: 'Segoe UI Bold', sans-serif;
    --ff-semibold: 'Segoe UI Semibold', sans-serif;

    --fs-xl: 2.5rem; /* 40px */
    --fs-lg: 1.5rem; /* 24px */
    --fs-md: 1.25rem; /* 20px */
    --fs-sm: 1rem; /* 16px */
    --fs-xs: 0.875rem; /* 14px */
    --fs-xxs: 0.75rem; /* 12px */
}

@font-face {
    font-family: 'Segoie UI';
    src: url('../fonts/Segoe\ UI.woff2') format('woff2'),
            url('../fonts/Segoe\ UI.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Segoie UI Bold';
    src: url('../fonts/Segoe\ UI\ Bold.woff2') format('woff2'),
            url('../fonts/Segoe\ UI\ Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Segoie UI Semibold';
    src: url('../fonts/Segoe\ UI\ Semibold.woff2') format('woff2'),
            url('../fonts/Segoe\ UI\ Semibold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Segoie UI Semibold Italic';
    src: url('../fonts/Segoe\ UI\ Semibold\ Italic.woff2') format('woff2'),
            url('../fonts/Segoe\ UI\ Semibold\ Italic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Segoie UI Thin';
    src: url('../fonts/Segoe\ UI\ Thin.woff2') format('woff2'),
            url('../fonts/Segoe\ UI\ Thin.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
    font-family: var(--ff-body);
    color: black;
}
body {
    font-family: var(--ff-body);
    color: black;
    background-color: white;
    font-size: var(--fs-sm);
}
header {
    /* padding-inline: 1rem; */
}
main {
    padding-inline: 1rem;
    padding-bottom: 1rem;
}
footer {
    padding-inline: 1rem;
    background-color: black;
    color: white;
    text-align: center;
}

footer hr {
    margin-block: 2rem;
}
footer p {
    margin-bottom: 1rem;
}

h2 {
    font-family: var(--ff-heading);
    font-size: var(--fs-lg);
    /* margin-block: 1rem; */
}

.primary-header, .primary-header * {
    /* transition: 500ms; */
}

header.primary-header {
    --_bg: transparent;
    --_logo-color: var(--color-orange);
    --_nav-link-color: var(--color-orange);

    /* outline: solid 1px red; */
    height: 60px;
    background-color: var(--_bg);
    position: sticky;
    top: 0;
    z-index: 500;
}

header.primary-header a {
    color: var(--_nav-link-color);
    text-decoration: none;
}

header.primary-header.sticking {
  --_bg: var(--color-orange);
  --_logo-color: black;
  --_nav-link-color: black;
}

header.primary-header .cont {
    position: relative;
    /* outline: solid 1px blue; */
    text-align: center;
}

header.primary-header .cont .nav-menu {
    position: absolute;
    left: 1rem;
    top: 1rem;
}

header.primary-header .cont .nav-user {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

header.primary-header .cont .logo {
    display: inline-block;
    width: 100px;
    text-align: center;
    margin: 1rem auto 0 auto;
    font-size: var(--fs-lg);
    font-family: var(--ff-heading);
    letter-spacing: 0.2rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

header.primary-header.sticking .cont .logo {
    text-shadow: none;
}

.home main {
    padding-inline: 0;
}

.home .main-banner {
    background-image: url('/images/home-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 450px;
    /* outline: solid 1px green; */
    margin-top: -60px;
}

.home .main-banner a {
    text-align: center;
    display: block;
    text-decoration: none;
    padding-top: 8rem;
}

.home .main-banner a h4 {
    color: var(--color-blue);
    font-size: var(--fs-sm);
}

.home .main-banner a h2 {
    color: white;
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    margin-block: 1rem;
}

.home .main-banner .btn, .home .main-banner .btn:visited {
    display: inline-block;
    border: solid 1px var(--color-orange);
    color: var(--color-orange);
    padding: 1rem 2rem;
    cursor: pointer;
}

.home .main-banner .btn:hover {
    background-color: var(--color-orange);
    color: black;
}

.home main .description {
    font-size: var(--fs-md);
    font-family: 'Segoie UI Semibold';
    line-height: 2.5rem;
    padding-inline: 1rem;
    padding-block: 2rem;
}

.home main > section {
    margin-bottom: 2rem;
}

.home main > section .title {
    background-color: var(--color-orange);
    height: 220px;
    text-align: center;
    color: white;
}

.home main > section .content {
    margin-inline: 1rem;
    background-color: white;
    margin-top: -4rem;
    line-height: 1.5rem;
}

.home main > section .content h5 {
    font-size: var(--fs-md);
    font-weight: bold;
    margin-top: 1rem;
}
.home main > section .content h6 {
    font-size: var(--fs-sm);
    margin-bottom: 1rem;
}

.home main > section .content p {
    line-height: 1.75rem;
    margin-top: 0.5rem;
}

.home main > section .content.content-feeds {
    background-color: transparent;
}

.content-feeds {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.content-feeds img {
    width: calc(50% - 0.5rem);
    margin-bottom: 1em;
}

body {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

body h2 {
    display: block;
    text-align: center;
    margin-top: 2rem !important;
}

.home main > section .title-tournaments {
    background-color: var(--color-blue);
}

.home main > section .title-topstars {
    background-color: var(--color-purple);
}

.home main > section .title-feeds {
    background-color: var(--color-pink);
}

.home main > section .title .section-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.home main > section h4 {
    font-size: var(--fs-lg);
    padding-bottom: 1rem;
    display: block;
}

.home .featured-card {
    margin-bottom: 3rem;
}

.home .btn-join-tournament, .home .btn-join-tournament:visited {
    display: inline-block;
    background-color: var(--color-orange);
    color: black;
    padding: 1rem 2rem;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    text-decoration: none;
    font-family: var(--ff-bold);
    font-size: 1rem;
}

.home .btn-join-tournament:hover {
    border: solid 1px var(--color-orange);
    color: var(--color-orange);
}

.nav-menu .nav {
    display: none;
    background-color: white;
    color: black;
    position: absolute !important;
    left: -1rem !important;
    top: -1rem !important;
    width: 100vw;
    height: 100vh;
    text-align: left;
    z-index: 900;
    padding: 1rem;
}

.nav-menu .nav-bk {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.8);
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

.nav-menu .nav ul {
    margin-top: 2rem;
}

.nav-menu .nav a {
    display: block;
    font-size: var(--fs-lg);
    line-height: calc(var(--fs-lg) + 1.5rem);
    color: black;
}

.nav-user .nav {
    display: none;
    background-color: white;
    color: black;
    position: absolute !important;
    right: -1rem !important;
    top: -1rem !important;
    width: 100vw;
    height: 100vh;
    text-align: left;
    z-index: 900;
    padding: 1rem;
}

.nav-user .nav-bk {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.8);
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

.nav-user .nav ul {
    margin-top: 2rem;
}

.nav-user .nav a {
    display: block;
    font-size: var(--fs-lg);
    line-height: calc(var(--fs-lg) + 1.5rem);
    color: black;
}

.nav-user .nav .nav-user-close {
    display: block;
    text-align: right;
}

#login-form {
    margin-block: 1rem 2rem;
}

#login-form input {
    display: block;
    width: 100%;
    height: 2.5rem;
    margin-block: 0.5rem;
    padding-inline: 1rem;
}

#login-form .btn {
    border: solid 1px var(--color-orange);
    background: var(--color-orange);
    padding: 1rem;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    color: black;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1rem;
    margin-top: 0.5rem;
}

#login-form .message {
    font-family: var(--ff-bold);
    font-size: var(--fs-md);
    margin-bottom: 1rem !important;
}

#login-form .message.error {
    color: var(--color-red);
}

#login-form .message.success {
    color: var(--color-blue);
}

footer {
    padding: 1rem;
    padding-bottom: 80px;
}

.footer_nav {
    position: fixed;
    bottom: 0;
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    display: none;
}
.footer-icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-orange);
}
.footer_nav ul {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: auto;
    height: 100%;
}
.footer_nav ul li:nth-child(1) svg {
    color: var(--color-orange);
}
.footer_nav ul li:nth-child(2) svg {
    color: var(--color-blue);
}
.footer_nav ul li:nth-child(3) svg {
    color: var(--color-pink);
}
.footer_nav ul li:nth-child(4) svg {
    color: var(--color-green);
}
.footer_nav ul li:nth-child(5) svg {
    color: var(--color-purple);
}
.footer_nav ul li:nth-child(6) svg {
    color: var(--color-red);
}
.footer_nav ul li:nth-child(7) svg {
    color: var(--color-cyan);
}

.signup .steps label {
    display: block;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.signup .steps input[type="text"],
    .signup .steps input[type="email"],
    .signup .steps input[type="password"],
    .signup .steps input[type="date"],
    .signup .steps select {
    display: block;
    width: 100%;
    height: 2.5rem;
    margin-bottom: 1rem;
    padding-inline: 1rem;
}

.signup h2 {
    display: block;
    text-align: center;
    margin-top: 2rem !important;
}

.signup .steps h4 {
    text-align: center;
    font-size: var(--fs-md);
    margin-top: 2rem !important;
    /* padding-top: 3rem !important; */
}

.signup .alert_consent {
    font-size: var(--fs-xs);
    line-height: var(--fs-md);
    margin-bottom: 1rem;
}
.signup .btn, .signup .btn:visited {
    border: solid 1px var(--color-orange);
    background: var(--color-orange);
    padding: 1rem;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    color: black;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
    margin-top: 1em;
}

.tournament h2 {
    text-transform: capitalize;
    margin-bottom: 2rem;
}

.tournament p {
    margin-bottom: 0.5rem;
}

.tournament p.message {
    line-height: 1.5rem;
}

.tournament .info-cont {
    margin-top: 1rem;
}

.tournament .info-cont strong {
    font-weight: bold;
}

.tournament .events {
    list-style-type: disc;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.tournament .events li {
    display: list-item;
    margin-bottom: 1rem;
    line-height: 1.5rem;
}

.tournament .events a {
    color: black;
}

.tournament .description-cont {
    margin-top: 1rem;
    line-height: 1.5rem;
}

.home .tournament-description {
    display: inline;
}

.home .toggle-description {
    color: var(--color-orange);
    text-decoration: none;
}

.btn-cont {
    margin-top: 2rem;
}
 
@media (min-width: 430px) {

}

@media (min-width: 768px) {
    body {
        display: grid;
        grid-template-columns: 1fr 560px 1fr;
        background-color: var(--color-darkgray);
    }
    body > * {
        grid-column: 1 / -1;
    }
    header {
        grid-column: 2 / -2;
        background-color: white;
        margin-top: 2rem;
    }
    .home .main-banner {
        grid-column: 2 / -2;
        background-color: black;
        height: 600px;
    }
    main {
        grid-column: 2 / -2;
        background-color: white;
    }
    footer {
        grid-column: 2 / -2;
        /* background-color: white; */
        margin-bottom: 2rem;
    }

    .nav {
        width: 400px;
    }
    .nav .nav-menu-close {
        color: black;
    }

    .home .main-banner a {
        padding-top: 10rem;
    }
}

@media (min-width: 1024px) {
    
}

@media (min-width: 1180px) {
    
}

@media (min-width: 1200px) {

}

@media (min-width: 1440px) {

}

@media (min-width: 1920px) {
    
    
}