/* Variables */
:root {
    --main-color: #218ce6;
    --alt-color: #90c6f3;
    --white: #fffff0;
    --black: #171717;
}

/* Fonts */
@font-face {
    font-family: "Fraktion";
    src: url("../fonts/PPFraktionMono-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Fraktion";
    src: url("../fonts/PPFraktionMono-RegularItalic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
}

/* Global */
html {
    min-height: 100%;
    box-sizing: content-box;
}

body {
    color: var(--white);
    background: var(--black);
    background: linear-gradient(15deg, rgba(6, 9, 14, 1) 0%, rgba(41, 49, 68, 1) 80%, rgba(27, 37, 62, 1) 100%);
    background-attachment: fixed;
    font-size: 16px;
    font-family: "Fraktion", monospace;
    line-height: 1.5;
}

.wrapper {
    padding: 2em;
}

.hidden {
    display: none;
}

iframe {
    width: 100%;
    height: 400px;
}

/* Button Styling */

.buttons {
    z-index: 999;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.25);
    padding: 16px;
    display: flex;
    flex-direction: row;
    gap: 16px;
}

button {
    background: var(--alt-color);
    font-size: 16px;
    text-transform: uppercase;
    color: #333;
    padding: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
}

button:hover {
    outline: 3px solid var(--white);
}

/* Typography */
h1,
h2,
h3 {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

h2 {
    font-size: 1.25em;
}

h3 {
    font-size: 1em;
}

p,
ul {
    margin: 0 0 2em;
    padding: 0;
    list-style: none;
}

a {
    color: var(--alt-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    margin-bottom: 3em;
}

header img {
    max-width: 350px;
}

/* Main Grid */
.grid {
    display: block;
    grid-template-columns: 1fr;
}

section {
    padding-bottom: 10em;
}

/* Typewriter Effect */
.typewriter {
    font-family: "Fraktion", sans-serif;
    line-height: 2;
    font-size: 1.25em;
    padding-bottom: 0;
}

.cursor {
    margin: 0;
    display: inline-block;
    width: 30px;
    border-bottom: 4px solid rgba(144, 198, 243, 0.75);
}

/* Speech Bubbles */
.bubble,
.exampleBubble {
    position: fixed;
    background-color: var(--main-color);
    max-width: 500px;
    padding: 28px;
    border-radius: 28px;
    display: inline-block;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    cursor: move;
    font-family: "Poppins", sans-serif;
}

.exampleBubble {
    margin-top: 1em;
    position: static;
}

.bubble:hover,
.exampleBubble:hover {
    outline: 3px solid var(--alt-color);
}

.bubble b {
    font-size: 1.25em;
    font-weight: 800;
    text-transform: uppercase;
}

/* Section Specific */
#warning h2 {
    margin: 0 0 1em;
}