/* Import Roboto font from Google */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

/* Color Variables */
:root {
    --primary-color: #138bff;
    --secondary-color: #004fa6;
    --background-color: #000000;
    --text-color: #ffffff;
}

/* Size Variables */
:root {
    --small-size: 12px;
    --medium-size: 16px;
    --large-size: 24px;
}

/* Radius Variables */
:root {
    --small-radius: 4px;
    --medium-radius: 8px;
    --large-radius: 12px;
}

/* Font Variable */
:root {
    --font-family-roboto: "Roboto", sans-serif;
}

/* Global Styles */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family-roboto, sans-serif);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color);
    margin: 0 0 16px 0;
}

h1 {
    font-size: 3em;
    font-weight: 700;
    margin: 0.2rem;
    text-align: center;
}

h2 {
    font-size: 1.75em;
    font-weight: 500;
    margin: 0 !important;
}

h3 {
    font-size: 1.5em;
    font-weight: 400;
}

h4 {
    font-size: 1.25em;
    font-weight: 700;
}

h5 {
    font-size: 1em;
    font-weight: 500;
}

h6 {
    font-size: 0.875em;
    font-weight: 400;
}

p {
    margin: 0.5rem;
}

/* Button Styles */
button {
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--medium-radius);
    color: var(--text-color);
    cursor: pointer;
    font-size: var(--medium-size);
    padding: 10px 20px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--secondary-color);
}

.i-btn {
    background-color: gray;
    border: none;
    border-radius: 50%;
    color: var(--text-color);
    cursor: pointer;
    font-size: var(--medium-size);
    padding: 5px;
    transition: background-color 0.3s;
    transition: transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.i-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Flexbox Utilities */
.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

#name {
    color: var(--primary-color);
}

.columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
}

.card {
    border-radius: var(--large-radius);
    margin: 0.5rem;
    margin-top: -0.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family-roboto);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

h2 {
    color: var(--primary-color);
    font-size: var(--large-size);
    margin: 0;
    padding: 0.5rem;
    text-align: center;
    padding-top: 0;
    margin-bottom: 1rem;
}

button {
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--medium-radius);
    color: var(--background-color);
    cursor: pointer;
    font-size: var(--medium-size);
    padding: 10px 20px;
    display: none;
    justify-content: center !important;
    align-items: center !important;
    width: clamp(200px, 70%, 500px);
    transition: transform 0.3s, background-color 0.3s, color 0.3s !important;
}

button:hover {
    background-color: rgba(18, 250, 99, 0.5);
    color: white;
    transform: scale(1.05);
}

/* Loader Element */
@-webkit-keyframes scaling-dots {
    0%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40%,
    60% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes scaling-dots {
    0%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40%,
    60% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.scaling-dots {
    display: grid;
    height: 15px;
    grid-gap: 10px;
    grid-template-columns: repeat(5, 10px);
}

.scaling-dots div {
    -webkit-animation: scaling-dots 1s infinite ease backwards;
    animation: scaling-dots 1s infinite ease backwards;
    background: white;
    border-radius: 100%;
    height: 15px;
    width: 15px;
}

.scaling-dots div:nth-child(1) {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.scaling-dots div:nth-child(2) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.scaling-dots div:nth-child(3) {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.scaling-dots div:nth-child(4) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.scaling-dots div:nth-child(5) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

a:hover {
    text-decoration: underline;
}

.columns {
    width: calc(100% - 2rem);
    justify-content: center;
    align-items: center;
    display: flex;
}

.video {
    background-color: var(--primary-color);
    border-radius: var(--large-radius);
    padding: 1rem;
    width: 100%;
    max-width: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    border: 2px solid var(--primary-color);
    gap: 0.5rem;
}

.video-2 {
    background-color: var(--background-color);
}

.video h3 {
    color: var(--text-color);
    font-size: var(--large-size);
    margin: 0;
    text-align: center;
    font-weight: bold;
}

.video p {
    color: var(--text-color);
    font-size: var(--medium-size);
    margin: 0;
    text-align: center;
}

.video a {
    background-color: var(--background-color);
    border-radius: var(--medium-radius);
    color: var(--text-color);
    cursor: pointer;
    font-size: var(--medium-size);
    padding: 10px 20px;
    transition: background-color 0.3s;
    margin-top: 10px;
    text-align: center;
    width: 80%;
    text-decoration: none !important;
}

.video-2 a {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.video a:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.video a.button--loading {
    background-color: var(--secondary-color);
    color: var(--text-color);
    cursor: not-allowed;
    pointer-events: none;
    transition: none;
    transform: none;
}

.video-2 a.button--loading {
    background-color: var(--secondary-color);
    color: var(--text-color);
    cursor: not-allowed;
    pointer-events: none;
    transition: none;
    transform: none;
}
