@font-face {
    font-family: "Riffic-Bold";
    src: url("assets/fonts/Riffic-Bold.woff");
}

@font-face {
    font-family: "ubuntu";
    src: url(assets/fonts/Ubuntu-Medium.woff);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "ubuntu";
    src: url(assets/fonts/Ubuntu-Bold.woff);
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "ubuntu";
    src: url(assets/fonts/Ubuntu-MediumItalic.woff);
    font-weight: normal;
    font-style: italic;
}

@keyframes darken-background {
    from {
        background-color: #00000000;
    }
    to {
        background-color: #1f1f1db6;
    }
}

@keyframes fade-in {
    from {
        opacity: 0%;
    }
    to {
        opacity: 100%;
    }
}

* {
    padding: 0;
    margin: 0;
}

:root {
    --color-one: #ec1d25;
    --color-two: #90dbdd;
    --color-three: #fef326;
    --color-four: #003563;
    --color-five: #ef7b16;
    --navbar-height: 5rem;
    --section-padding: 2rem;
    --font-one: "Riffic-Bold", "icons", "Comic Sans MS", "Comic Sans", cursive;
    --font-two: "ubuntu", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-two);
    font-size: 1.3rem;
    cursor: url("assets/svgs/cursor/cursor.svg") 0 0, pointer;
}

header {
    position: sticky;
    top: 0;
    z-index: 1;
}

nav {
    background-color: var(--color-one);
    height: var(--navbar-height);
    font-family: var(--font-one);
}

a,
button {
    cursor: url("assets/svgs/cursor/cursor-point.svg") 0 0, pointer;
}

button,
.button {
    font-family: var(--font-one);
    text-decoration: none;
    background-color: var(--color-one);
    font-size: 2rem;
    color: white;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    border: none;
}

button:hover,
.button:hover {
    box-shadow: 3px 3px 0 #101a20;
    color: var(--color-three);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-one);
}

h1 {
    font-size: 3.5rem;
    padding-bottom: 1rem;
}

h2 {
    font-size: 3rem;
    padding-bottom: 0.75rem;
}

h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

footer {
    background-color: var(--color-one);
    color: white;
    padding: 1rem;
}

.comic-info {
    list-style: none;
    margin-bottom: 1.5rem;
}

.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.button-blue {
    background-color: var(--color-four);
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.two-columns > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.darken-background {
    animation: darken-background 0.5s forwards;
}

.fade-in {
    animation: fade-in 2s forwards;
}

.glide {
    padding-top: 1.5rem;
    position: relative;
}

.glide__arrows {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    justify-content: space-between;
    flex-direction: row;
}

.glide__bullets {
    gap: 1.5rem;
    flex-direction: row;
}

.glide__bullets button {
    background-color: #677075;
    border-radius: 100%;
    padding: 0;
    height: 1.5rem;
    width: 1.5rem;
}

.glide__bullet--active {
    background-color: white !important;
}

.green-audio-player .slider .gap-progress .pin,
.green-audio-player .slider .gap-progress {
    background-color: var(--color-one) !important;
}

.green-audio-player .volume .volume__button.open path {
    fill: var(--color-one) !important;
}

.green-audio-player .slider:hover,
.green-audio-player .play-pause-btn:hover,
.green-audio-player .volume__button:hover {
    cursor: url("assets/svgs/cursor/cursor-point.svg") 0 0, pointer !important;
}

#navbar-content {
    display: flex;
    align-items: center;
    height: var(--navbar-height);
    position: relative;
    justify-content: end;
}

#navbar-logo {
    position: absolute;
    top: 0;
    left: 0;
}

#navbar-content ul {
    list-style: none;
    color: white;
}

#navbar-content a {
    text-decoration: none;
    color: white;
    padding-left: 1rem;
}

#navbar-content a:hover {
    color: var(--color-three);
}

#welcome {
    padding-top: calc(var(--section-padding) * -1);
    padding-bottom: calc(var(--section-padding) * -1);
    background-color: var(--color-two);
}

#welcome .container > .center {
    position: relative;
}

#welcome video {
    width: 100%;
}

#welcome-text {
    position: absolute;
    left: 0;
    top: 0;
    color: white;
    height: 100%;
    width: 100%;
    text-align: center;
}

#welcome-text p {
    opacity: 0;
    font-weight: bold;
    font-size: 1.5rem;
}

#welcome-text div {
    padding-left: 10%;
    padding-right: 10%;
}

#comics {
    background-color: var(--color-one);
    color: white;
}

#comics .two-columns {
    margin-top: 1.2rem;
    margin-bottom: 2rem;
    grid-template-columns: 1fr 4fr;
}

#characters {
    background-color: var(--color-four);
    color: white;
}

#characters .two-columns {
    grid-template-columns: 1.4fr 4fr;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
}

#characters .two-columns div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#listening-sample {
    background-color: var(--color-five);
}

#audio-listening-sample {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

#game {
    background-color: var(--color-two);
}

#game-canvas {
    margin-top: 2rem;
    border-top: 6px solid #585e5e;
    border-bottom: 6px solid #585e5e;
    cursor: none;
}
