:root {
    --gbs-red: #c92c61;
    --accent-pink: #c92eaf;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #1F2937;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: var(--gbs-red);
    min-height: 100vh;
}

a {
    color: var(--gbs-red);
}

h1,
h2,
h3 {
    font-family: 'Figtree', sans-serif;
}

h3 {
    font-size: 22px;
}

.icon.red {
    filter: invert(21%) sepia(64%) saturate(3469%) hue-rotate(323deg) brightness(91%) contrast(83%);
}

.icon.white {
    filter: brightness(0%) invert();
}

.caption {
    margin-top: -30px;
    margin-bottom: 30px;
    color: grey;
    font-style: italic;
    text-align: center;
}

.credit {
    color: grey;
    font-style: italic;
}

.header {
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    row-gap: 5px;
    padding: 10px max(1vw, 10px);
    z-index: 10;
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.25);
}

.header h1 {
    margin: 0;
    margin-right: 20px;
}

.header ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 18px;
    list-style-type: none;
    margin: 0;
    padding: 0px;
}

.header a {
    text-decoration: none;
}

.footer {
    background-image: linear-gradient(var(--gbs-red), var(--accent-pink));
    color: whitesmoke;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: 60px;
    position: relative;
    z-index: 10;
    padding: 0px max(1vw, 10px);
    margin-bottom: auto;
    flex: 1;
}

.footer p:nth-child(2) {
    margin-top: 0px;
    font-weight: bold;
    text-align: center;
}

.header .button {
    padding: 0px 10px;
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
}

.flex {
    display: flex;
    gap: 10px;
}

.hero {
    background-image: linear-gradient(var(--gbs-red), var(--accent-pink));
    color: white;
    font-size: 40px;
}

.hero h2 {
    margin-bottom: 10px;
}

.hero p:first-child {
    margin: 10px 0px;
    font-family: 'Figtree', sans-serif;
    font-weight: bold;
    font-size: 1.4em;
}

.hero p:last-child {
    margin: 0px;
    font-family: 'Figtree', sans-serif;
    font-weight: bold;
    font-size: 0.7em;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.hero .container div {
    flex: 1;
}

.hero .container .img {
    flex: 1;
}

.title {
    background-image: linear-gradient(var(--gbs-red), var(--accent-pink));
    padding: 20px 0px;
}

.title h2 {
    margin: 0;
    color: white;
    font-size: 40px;
}

.title h3 {
    margin: 0;
    color: white;
}

.content {
    background-color: white;
}

.tip {
    margin: 40px 0px;
}

.tip h3 {
    color: white;
}

.tip div:first-child {
    background-color: var(--gbs-red);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0px 10px;
}

.tip p {
    border: 2px dashed var(--gbs-red);
    border-top: none;
    padding: 16px 20px;
    margin: 0;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin: 40px 0px;
}

.gallery img {
    width: 250px;
    background-color: white;
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.25);
}

.gallery img.full {
    width: auto;
    max-width: 100%;
}

.grail {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 16px;
    justify-content: start;
    padding: 20px 0px;
}

@media (width <= 800px) {
    .grail {
        justify-content: space-evenly;
    }
}

.grail a {
    text-decoration: none;
}

.grail a p {
    color: #1F2937;
}

.grailbox {
    width: 240px;
    min-height: 360px;
    background-color: white;
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    position: relative;
    display: grid;
    grid-template-rows: 180px auto 1fr;
    padding-bottom: 8px;
    justify-content: start;
}

.grailbox>img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.grailbox h3 {
    margin: 10px 0px;
    padding: 0px 10px;
    color: var(--gbs-red);
}

.grailbox p {
    margin: 10px 0px;
    margin: 0;
    padding: 0px 10px;
}

.floatimg {
    width: 40%;
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.25);
    float: right;
    margin: 10px;
}

.gbvm {
    background-color: black;
    color: lightgrey;
    padding: 20px;
    font-family: monospace;
    font-size: 1.25em;
    white-space: pre-wrap;
    counter-reset: line;
}

.gbvm>span:before {
    counter-increment: line;
    content: counter(line);
    display: inline-block;
    margin-right: 0.5em;
    color: grey;
}

.gbvm .red {
    color: var(--gbs-red);
}

.gbvm .white {
    color: white;
}

.gbvm .blue {
    color: cyan;
}

.gbvm .green {
    color: limegreen;
}

.patreon {
    width: fit-content;
    border-radius: 999px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px;
    font-family: inherit;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    background-color: #ef4444;
    color: white;
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.25);
    border-style: none;
    margin: 16px 0px;
}

.patreon span {
    margin-right: 10px;
}

.tool {
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.25);
    padding: 16px;
    border-radius: 10px;
    background-color: whitesmoke;
}

.tool form {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 16px;
}

.tool input {
    font-family: inherit;
    font-size: inherit;
}

.tool input::file-selector-button,
.tool input[type="submit"] {
    border-radius: 999px;
    height: 2em;
    background-color: white;
    border: none;
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.25);
    font-family: inherit;
    font-size: inherit;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--gbs-red);
}

.tool .accent {
    color: var(--gbs-red);
    font-weight: bold;
} 