﻿:root {
    --font-stack: "Poppins", sans-serif;
    --font-heading-stack: 'Poppins', cursive;

    --text-color: hsl(240, 20%, 95%);
    --text-color-light: hsl(0, 0%, 100%);
    --background-color: hsl(240, 30%, 25%);
    --accent-color: hsl(205, 80%, 50%);
    --accent-color-light: hsl(206, 100%, 70%);
}

body {
    display: flex;
    flex-direction: column;

    margin: 0;
    padding: 0;
    min-height: 100vh;

    font-family: var(--font-stack);
    background: rgb(9, 9, 121);
    background: linear-gradient(160deg,
    hsl(240, 30%, 25%) 0%,
    hsl(220, 50%, 35%) 100%);

    color: var(--text-color);
    font-size: 13pt;
    font-weight: 500;
}

footer {
    margin-top: auto;
}

p {
    line-height: 20pt;
}

a {
    color: var(--accent-color-light);
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading-stack);
    color: var(--text-color-light);
    font-weight: 800;
    margin: 0;
}

h1 {
    font-size: 3em;
    margin: 30px 0;
}

h2 {
    font-size: 2em;
    margin: 30px 0;
}

fieldset {
    border-radius: 5px;
    border: 1px solid var(--accent-color);
    margin: 30px 0;
}

input[type=text], input[type=url], input[type=datetime-local] {
    color: var(--background-color);
    background-color: var(--text-color);
    border: none;
    border-radius: 5px;
    font-family: var(--font-stack);
}

input[type=text], input[type=url] {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 10px;
    font-size: 14pt;
}

select {
    box-sizing: border-box;
    padding: 3px 6px;
    font-size: 13pt;
    color: var(--background-color);
    background-color: var(--text-color);
    border: none;
    border-radius: 5px;
    font-family: var(--font-stack);
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;

    color: #ffd633;
}

.logo__image {
    max-width: 64px;
    max-height: 64px;
    margin-right: 10px;
}

.logo__text {
    text-decoration: none;
    font-size: 2em;
    font-weight: 700;
}

.navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 25px 0 50px;
    gap: 50px;
}

.navigation-item {
    font-size: 1.5em;
    color: var(--text-color-light);
    font-weight: 700;
}

.content {
    margin: 0 20px;
    width: 100%;
}

.content-wrapper {
    display: flex;
}

.side-content {
    margin-left: 50px;
    min-width: 250px;
    max-width: 350px;
}

.section {
    margin: 30px 0;
}

@media only screen and (min-width: 1100px) {
    .content {
        max-width: 1060px;
        margin: 0 auto;
    }
}

.button {
    display: block;
    color: var(--text-color-light);
    background-color: var(--accent-color);
    cursor: pointer;
    font-weight: 600;
    font-size: 14pt;
    border-radius: 5px;
    padding: 10px 20px;

    transition: background-color 200ms;
}

.button:hover {
    background-color: var(--accent-color-light);
}

.button--racetime {
    background-color: #1da674;
}

.button--racetime:hover {
    background-color: #18cb8a;
}

.label {
    color: var(--text-color-light);
    font-weight: 600;
}

.hash-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    gap: 10px;
    padding: 10px;
}

.hash-icons--small {
}

.hash-icons--small img {
    max-width: 40px;
    max-height: 40px;
}

.hash-icons--xs {
    gap: 3px;
}

.hash-icons--xs img {
    max-width: 35px;
    max-height: 35px;
}

.hash-icon {

}

.play-options {
    display: grid;
    grid-template-columns: minmax(min-content, 250px) auto;
    align-items: start;
    grid-gap: 20px 40px;
}

.recent-seeds {

}

.recent-seeds__item {
    white-space: nowrap;

    margin-bottom: 10px;
    border-radius: 5px;
    background-color: hsla(210, 50%, 10%, 50%);
    padding: 5px;

    transition: background-color 250ms;
}

.recent-seeds__item:hover {
    background-color: hsla(210, 50%, 10%, 70%);
}

.announcement-item {
    margin: 20px 0 35px;
}

.announcement-item h3 {
    margin: 0 0 10px;
    font-size: 1.35em;
}

.racetime-notice {
    border: 1px solid #1da674;
    background-color: #212328;
    color: #ddd8dd;
    font-size: 0.8em;

    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 4px 6px;
    border-radius: 3px;
}

.racetime-notice__logo {
    max-height: 32px;
    max-width: 32px;
}

.racetime-notice__message {
    text-align: center;
    flex-grow: 1;
}

.footer {
    margin-top: 100px;
    margin-bottom: 20px;

    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.social-link {
    color: #ffd633;
}

.social-link__icon {
    color: var(--text-color-light);
}

.rules-table {
    border-collapse: collapse;
    color: white;
    padding: 0;
    margin: 0;
}

.rules-table th {
    text-align: left;
}

.rules-table th, .rules-table td {
    padding: 5px;
    margin: 0;
    border: 1px solid #ffd633;
    background: var(--background-color);
}

.youtube-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 60px 0;
}

.youtube-player {
    border-radius: 10px;
    border: none;
    box-shadow: rgba(0, 0, 0, 66%) 0 0 40px;
}

.discord-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 15px;

    border: 1px solid mediumpurple;
    border-radius: 5px;
    background-color: #212328;

    transition: color, background-color 250ms;
}

.discord-box:hover {
    color: white;
    background-color: hsl(223, 10%, 18%);
}
