@import url('http://fonts.googleapis.com/css?family=Open+Sans');

@font-face {
    font-family: 'Andrew Andreas Plain';
    src: url('../fonts/andrew-andreas-plain.woff');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Andrew Andreas Plain', Arial, Helvetica, sans-serif;
}

body {
    background: #111827;
    color: white;
}

:root {
    --accent-color-primary: #22d3ee;
    --accent-color-secondary: #f472b6;

    --background-color-base: #111827;
    --background-color-base-alt: #0b0f18;

    --border-color-base: #172238;
    --border-color-base-alt: #1c2d4c;
    --border-radius-base: 0.5rem;

    --close-button-mask: url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2216%22 height%3D%2216%22 fill%3D%22currentColor%22 class%3D%22bi bi-x%22 viewBox%3D%220 0 16 16%22%3E%3Cpath d%3D%22M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708%22%2F%3E%3C%2Fsvg%3E");

    --alert-success-background-color: #A8EAC0;
    --alert-success-text-color: #00531f;
    --alert-danger-background-color: #fee7ef;
    --alert-danger-text-color: #c20e4d;
    --alert-info-background-color: #d7ebf1;
    --alert-info-text-color: #0b3c67;

    --form-control-background-color: var(--background-color-base);
    --form-control-border-color: var(--border-color-base);
    --form-control-hover-background-color: var(--background-color-base);
    --form-control-hover-border-color: var(--border-color-base-alt);
    --form-control-focus-border-color: var(--accent-color-primary);
    --form-control-label-text-color: var(--text-color-base);
    --form-control-text-color: var(--text-color-base);

    --tag-background-color: #1e293b;

    --text-color-base: white;
    --text-color-muted: #b0b0b0;
}

[hidden] {
    display: none !important;
}

/****************\
| Report Summary |
\****************/

.report-summary {
    display: block;
    margin: 0 0 1rem 0;
    padding: 1.5rem;
    background: var(--background-color-base);
    border-radius: 0.5rem;
}
.report-summary__gif {
    display: flex;
    align-items: flex-start;
    border-top: 1px solid var(--border-color-base-alt);
    padding: 1rem 0;
    margin-top: 1rem;
    gap: 2rem;
}
.report-summary__gif > img {
    width: 25%;
}
.report-summary__gif > aside {
    flex-grow: 1;
}

.report-summary button {
    display: inline-block;
    background: black;
    border: none;
    border-radius: 0.5rem;
    color: white;
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
    cursor: pointer;
}
.report-summary button:hover {
    background: #111;
}
.report-summary button small {
    color: var(--accent-color-secondary);
}

/******\
| HTMX |
\******/

.htmx-request {
    opacity: 0.5;
    pointer-events: none;
}

/********\
| Header |
\********/

header {
    height: 5rem;
    padding: 0 1rem;
    margin: 0 auto;
    max-width: 1024px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0f172a;
}

.header__logo {
    font-size: 2rem;
    font-weight: bold;
    color: #22d3ee;
}

.header__logo img {
    height: 3rem;
}

.header nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.header nav a {
    color: white;
    text-decoration: none;
}

/*******\
| Alert |
\*******/

.alert-container {
    padding: 1rem 1rem;
    margin: 0 auto;
    max-width: 1024px;
}
.alert-container a[href] {
    color: white;
}

.alert {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1rem 1rem 1rem 4rem;
    margin: 1rem 0;
    border-radius: var(--border-radius-base);
    min-height: 4rem;
    align-items: start;
    justify-content: center;
}
.alert:first-child {
    margin-top: 0;
}
.alert:last-child {
    margin-bottom: 0;
}
.alert > .bi {
    display: block;
    position: absolute;
    font-size: 1.75rem;
    left: 1.3rem;
    top: 50%;
    transform: translate(0, -50%);
}
.alert p {
    margin: 0;
}
.alert p + p {
    margin-top: 0.5rem;
}
@keyframes alert-fade-in {
    0% { opacity: 0 }
    100% { opacity: 1 }
}
.alert--fade-in {
    animation: alert-fade-in 0.25s forwards;
}
.alert--success {
    background-color: var(--alert-success-background-color);
    color: var(--alert-success-text-color);
}
.alert--danger {
    background-color: var(--alert-danger-background-color);
    color: var(--alert-danger-text-color);
}
.alert--danger a[href] {
    color: var(--alert-danger-text-color);
}
.alert--info {
    background-color: var(--alert-info-background-color);
    color: var(--alert-info-text-color);
}
.alert--info a[href] {
    color: var(--alert-info-text-color);
}


/*************\
| Home - Hero |
\*************/

.home__hero {
    text-align: center;
    padding: 90px 20px;
    background:
    linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.7)), url("/assets/images/site/home-hero.png") center/cover;
}

.home__hero h1 {
    font-size: 55px;
    margin-bottom: 15px;
}

.home__hero p {
    color: #cbd5e1;
    font-size: 20px;
}


.home__search-box {
    margin: 35px auto;
    max-width: 650px;
    display: flex;
}

.home__search-box input {
    flex: 1;
    padding: 18px;
    border-radius: 30px 0 0 30px;
    border: none;
    font-size: 16px;
}

.home__search-box button {
    padding: 0 30px;
    border: none;
    background: #22d3ee;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.home__search-box button:hover {
    box-shadow: 0 0 0 0.125rem white;
}


.home__upload-button {
    padding: 15px 35px;
    border-radius: 30px;
    border: none;
    background: var(--accent-color-secondary, #f472b6);
    color: white;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.2s;
}
.home__upload-button:hover {
    box-shadow: 0 0 0 0.125rem white;
}

/********\
| Upload |
\********/

.upload-section {
    padding: 2.5rem 3rem;
    margin: 0 auto;
    max-width: 1024px;
    background: linear-gradient(45deg, rgb(230, 70, 182) 0%, rgb(97, 87, 255) 100%);
    border-radius: 0.5rem;
    color: white;

    --form-control-label-text-color: #333;
    --form-control-text-color: #333;
    --form-control-border-color: white;
    --form-control-hover-border-color: white;
    --form-control-background-color: white;
    --form-control-hover-background-color: white;
}
.upload-section > h1 {
    text-align: center;
    margin: 0 0 2rem 0;
}
.upload-section > form > h2 {
    text-align: center;
    margin: 3rem 0 1rem 0;
}
.upload-section > form > p {
    text-align: center;
    margin: 1rem 0;
}
.upload-section .tags {
    padding: 0 0 1rem 0;
    --tag-background-color: var(--accent-color-secondary);
}

.upload-section__image-preview {
    max-width: 100%;
    max-height: 50vh;
    border-radius: var(--border-radius-base);
    display: block;
    margin: 1rem auto;
    object-fit: contain;
}

.upload-section__columns {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1rem;
}
.upload-gif-card {
    background-color: rgba(236, 236, 236, 0.1);
    border-radius: 0.25rem;
    overflow: hidden;
    text-align: center;
    width: 100%;
}
.upload-gif-card input[type="file"] {
    text-align: center;
    text-align-last: center;
    width: 100%;
    padding: 0.25rem 0.25rem 0.375rem 0.25rem;
    margin: 0;
    font-size: 0.875rem;
}
.upload-gif-card input[type="file"]::file-selector-button {
    display: none;
}
.upload-gif-card label {
    display: block;
    text-align: center;
    cursor: pointer;
    padding: 1rem 0 0 0;
}
.upload-gif-card label * {
    pointer-events: none;
}
.upload-gif-card .bi {
    font-size: 4rem;
}
.upload-gif-card h2 {
    padding: 1.5rem 1rem 0 1rem;
    font-size: 1.25rem;
    margin: 0;
}
.upload-gif-card p {
    padding: 0.5rem 1rem;
}
.upload-gif-card__button {
    display: block;
    background-color: rgba(236, 236, 236, 0.1);
    padding: 0.5rem;
    margin: 0.5rem 0 0 0;
    text-align: center;
    font-weight: bold;
}
.upload-gif-card ul {
    list-style: none;
    padding: 0 1rem 1rem 1rem;
}
.upload-gif-card li {
    padding: 0;
    margin: 0.375rem 0 0 0;
}
.upload-gif-card li:first-child {
    margin-top: 0;
}
.upload-gif-card a[href] {
    color: white;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.upload__submit {
    display: block;
    padding: 1rem 2.25rem;
    border-radius: 2rem;
    border: none;
    background: var(--background-color-base-alt);
    color: white;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.2s;
    width: 10rem;
    margin: 2rem auto 0 auto;
    transition: box-shadow 0.2s;
}
.upload__submit:hover {
    box-shadow: 0 0 0 0.125rem white;
}

/******\
| Tags |
\******/

.popular-tags {
    padding: 2rem 1rem;
    margin: 0 auto;
    max-width: 1024px;
}
.popular-tags h1 {
    text-align: center;
}
.popular-tags .tags {
    padding-top: 1rem;
}

.tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 2rem 1rem;
    margin: 0 auto;
    max-width: 1024px;
}

.tags a[href],
.tags .tag {
    display: inline-flex;
    background: var(--tag-background-color, #1e293b);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 1.75rem;
    text-decoration: none;
    align-items: center;
}
.tags a[href] .bi-x,
.tags .tag .bi-x {
    background: transparent;
    border: none;
    color: currentColor;
    padding: 0;
    margin-left: 0.5rem;
    margin-right: -0.5rem;
    margin-top: -0.125rem;
    font-size: 1.125rem;
    height: 1rem;
    cursor: pointer;
    position: relative;
}
.tags a[href] .bi-x::after,
.tags .tag .bi-x::after {
    content: '';
    position: absolute;
    left: 0;
    top: -0.75rem;
    bottom: -1rem;
    right: -0.825rem;
}

.tags__add-combo-button {
    display: flex;
    align-items: stretch;
    background: white;
    color: #1e293b;
    padding: 0;
    border-radius: 1.75rem;
    overflow: hidden;
}
.tags__add-combo-button input {
    background: transparent;
    border: none;
    color: #1e293b;
    padding: 0.75rem 1.5rem;
    width: 15rem;
    max-width: 100%;
    outline: none;
}
.tags__add-combo-button input::placeholder {
    color: var(--text-color-muted);
}
.tags__add-combo-button button {
    background: transparent;
    border: none;
    color: #1e293b;
    padding: 0;
    font-size: 2rem;
    min-width: 2.5rem;
    text-align: center;
    cursor: pointer;
}

/**********\
| GIF Grid |
\**********/

.trending {
    padding: 2.5rem 1rem;
    margin: 0 auto;
    max-width: 1024px;
}
.trending h1 {
    margin-bottom: 1.5rem;
}
.trending h2 {
    margin-bottom: 1.5rem;
}

.explore {
    background: var(--background-color-base-alt);
}
.explore__content {
    padding: 2.5rem 1rem;
    margin: 0 auto;
    max-width: 1024px;
}
.explore h1 {
    margin-bottom: 1.5rem;
}
.explore h1 strong {
    color: var(--text-color-muted);
}
.explore h2 {
    margin-bottom: 1.5rem;
}

.gif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    /* grid-auto-rows: 1px; */
    gap: 1.25rem;
    align-items: start;
}

.gif-card {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 1rem;
    background: #1e293b;
    height: 280px;
}

.gif-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.gif-card:hover img {
    transform: scale(1.08);
}

/****************\
| Search Results |
\****************/

.search-results {
    padding: 1rem 1rem;
    margin: 0 auto;
    max-width: 1024px;
}
.search-results h1 {
    margin-bottom: 1rem;
}

/*************\
| GIF Details |
\*************/

.gif-search {
    display: flex;
    padding: 1rem 1rem;
    margin: 0 auto;
    max-width: 1024px;
}
.gif-search input {
    flex: 1;
    padding: 18px;
    border-radius: 30px 0 0 30px;
    border: none;
    font-size: 16px;
    width: 100%;
}

.gif-search button {
    padding: 0 30px;
    border: none;
    background: #22d3ee;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
}
.gif-search button:hover {
    box-shadow: 0 0 0 0.125rem white;
}

.gif-detail {
    background: var(--background-color-base-alt);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 40px 8%;
    gap: 2rem;
}
@media screen and (max-width: 800px) {
    .gif-detail {
        flex-direction: column;
    }
}

.gif-preview {
    position: relative;
    width: min(var(--native-width, 0px), 70vw);
    height: min(var(--native-height, 0px), 80vw);
    overflow: hidden;
}
@keyframes gif-preview-spinner-rotation {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.gif-preview > .gif-preview__spinner {
    --color-1: #fff;
    --color-2: var(--accent-color-primary);
    --size: 1px;

    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(48 * var(--size));
    height: calc(48 * var(--size));
    border-radius: 50%;
    display: inline-block;
    border-top: calc(4 * var(--size)) solid var(--color-1);
    border-right: calc(4 * var(--size)) solid transparent;
    box-sizing: border-box;
    animation: gif-preview-spinner-rotation 1s linear infinite;
    z-index: 1;
}
.gif-preview > .gif-preview__spinner::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: calc(48 * var(--size));
    height: calc(48 * var(--size));
    border-radius: 50%;
    border-bottom: calc(4 * var(--size)) solid var(--color-2);
    border-left: calc(4 * var(--size)) solid transparent;
}
.gif-preview > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-grow: 1;
    transition: .3s;
    border-radius: 1rem;
    overflow: hidden;
    z-index: 2;
    text-indent: -9999px;
}

.gif-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.gif-actions a,
.gif-actions button {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: white;
    font-size: 1rem;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: bold;
    position: relative;
    cursor: pointer;
}
.gif-actions a .bi,
.gif-actions button .bi {
    width: 1.5rem;
    font-size: 1.5rem;
    margin-right: 1rem;
}
.gif-actions a:hover .bi,
.gif-actions button:hover .bi {
    transform: scale(1.125);
    transition: transform 0.2s;
}

.gif-actions__tooltip {
    position: absolute;
    padding: 0.5rem 1rem;
    right: calc(100% + 0.5rem);
    top: 50%;
    transform: translateY(-50%);
    border-radius: var(--border-radius-base);
    color: var(--text-color-base);
    background-color: var(--accent-color-secondary);
    z-index: 100;
}
.gif-actions__tooltip::after {
    content: '';
    background-color: var(--accent-color-secondary);
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 0.25rem);
    right: -0.25rem;
}

/********\
| Report |
\********/

.report-gif {
    background: var(--background-color-base-alt);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 40px 8%;
    gap: 2rem;
}
@media screen and (max-width: 800px) {
    .report-gif {
        flex-direction: column;
    }
}

.report-gif h1 {
    margin-bottom: 1.5rem;
}

.report-gif .gif-preview > img {
    max-width: 45vw;
}
@media screen and (max-width: 800px) {
    .report-gif .gif-preview > img {
        max-width: 70vw;
    }
}

.report-gif__form {
    width: 100%;
    max-width: calc(min(100vw, 1024px) / 2);
}
@media screen and (max-width: 800px) {
    .report-gif__form {
        max-width: 80rem;
    }
}

.report-gif__submit {
    display: block;
    padding: 1rem 2.25rem;
    border-radius: 2rem;
    border: none;
    background: black;
    color: white;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.2s;
    width: 10rem;
    margin: 2rem auto 0 auto;
    transition: box-shadow 0.2s;
}
.report-gif__submit:hover {
    box-shadow: 0 0 0 0.125rem white;
}

/******\
| Form |
\******/

.form .form-control + .form-control,
.form .form-control + .form-group,
.form .form-group + .form-control,
.form .form-group + .form-group {
    margin-top: 0.75rem;
}
.form .form-control + .button {
    margin-top: 0.75rem;
}
.form > p,
.form :not(.alert) > p {
    margin: 1rem 0;
}
.form > p:first-child,
.form :not(.alert) > p:first-child {
    margin-top: 0;
}
.form > p:last-child,
.form :not(.alert) > p:last-child {
    margin-bottom: 0;
}
.form__actions {
    margin-top: 0.75rem;
}

.form--loading {
    position: relative;
}
.form--loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1px);
    z-index: 100;
}
.form--loading::after {
    content: 'Please wait a few seconds...';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    text-align: center;
    z-index: 101;
}

/**************\
| Form Control |
\**************/

.form-control {
    display: flex;
    position: relative;
    flex-direction: column;
    background-color: var(--form-control-background-color);
    border: 0.125rem solid var(--form-control-border-color);
    border-radius: var(--border-radius-base);
    width: 100%;
    transition: background-color 0.5s;
}
.form-control--select {
    cursor: pointer;
}
.form-control:has(:disabled) {
    background-color: var(--background-color-base-alt) !important;
    border-color: transparent !important;
    color: var(--text-color-muted) !important;
    pointer-events: none !important;
}
.form-control:hover {
    background-color: var(--form-control-hover-background-color);
    border-color: var(--form-control-hover-border-color);
}
.form-control:focus-within {
    background-color: var(--form-control-background-color);
    border-color: var(--form-control-focus-border-color);
    transition: none;
}
.form-control label {
    display: block;
    padding: 0.5rem 0.75rem 0 0.75rem;
    font-size: 0.875rem;
    line-height: 1rem;
    color: var(--form-control-label-text-color);
    cursor: text;
}
.form-control.form-control--select label {
    cursor: pointer;
    padding-right: 2rem;
}
.form-control:has(input:disabled, select:disabled) label {
    color: var(--text-color-muted) !important;
}
.form-control label + input {
    border-radius: 0 0 var(--border-radius-base) var(--border-radius-base);
    padding: 0.25rem 0.75rem 0.5rem 0.75rem;
}
.form-control label + input[type="file"] {
    padding-top: 0;
    margin-top: 0.25rem;
}
.form-control.form-control--select label + input {
    padding-right: 2rem;
}
.form-control input,
.form-control select,
.form-control textarea {
    display: block;
    padding: 0.5rem 0.75rem;
    background-color: transparent;
    border: none;
    border-radius: var(--border-radius-base);
    color: var(--form-control-text-color);
    font-size: 1rem;
    min-width: 0;
    width: 100%;
    height: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.form-control select {
    cursor: pointer;
    background: transparent;
    padding-right: 2rem;
    padding-top: 1.75rem;
    margin-top: -1.5rem;
}
.form-control textarea {
    min-height: 10rem;
    resize: vertical;
}
.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
    outline: none;
}
.form-control:has(:disabled) input,
.form-control:has(:disabled) select,
.form-control:has(:disabled) textarea {
    color: var(--text-color-muted) !important;
}

.form-control--small label {
    font-size: 0.625rem;
    padding: 0.35rem 0.65rem 0 0.65rem;
}
.form-control--small input {
    font-size: 0.875rem;
    padding: 0.35rem 0.65rem;
}

.form-control__select-arrow {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    pointer-events: none;
}

/************\
| Form Group |
\************/

.form-group {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
}
.form .form-group > .form-group,
.form .form-group > .form-control {
    margin: 0;
    flex: 1 0 0;
}


/**************\
| Label / Data |
\**************/

dl {
    padding: 0;
    margin: 0;
}
dl + dl {
    margin-top: 1rem;
}
dl dt {
    font-size: 1rem;
    color: var(--text-color-muted);
    margin-bottom: 0.25rem;
}
dl dd {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-color-base);
}
dl dd + dt {
    margin-top: 1rem;
}


.description-group {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.description-group > dl {
    margin: 0;
    flex-grow: 1;
}

/********\
| Dialog |
\********/

dialog {
    background: #111827;
    color: white;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;
    padding: 1.5rem;
    margin: 0;
    max-width: 80vw;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

dialog > h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    padding: 0 2rem 0 0;
}

dialog > p {
    margin: 1rem 0;
}
dialog > p:first-child {
    margin-top: 0;
}
dialog > p:last-child {
    margin-bottom: 0;
}

.dialog__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    mask: var(--close-button-mask);
    mask-size: 2.5rem;
    --webkit-mask: var(--close-button-mask);
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    overflow: hidden;
    text-indent: -9999px;
}

/*****************\
| Content Section |
\*****************/

.content-section {
    background: var(--background-color-base-alt);
}
.content-section__content {
    padding: 2.5rem 1rem;
    margin: 0 auto;
    max-width: 1024px;
}
.content-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.content-section h2 {
    margin: 2rem 0 1rem 0;
}
.content-section h3 {
    margin: 2rem 0 1rem 0;
}
.content-section p {
    margin: 1rem 0;
    line-height: 1.4rem;
}
.content-section p:first-child {
    margin-top: 0;
}
.content-section p:last-child {
    margin-bottom: 0;
}
.content-section ul,
.content-section ol {
    padding: 0 0 0 2.5rem;
    line-height: 1.4rem;
}
.content-section ul > li,
.content-section ol > li {
    margin: 0.25rem 0;
}
.content-section a[href] {
    color: var(--accent-color-primary);
}
.content-section a[href]:visited {
    color: var(--accent-color-primary);
}

table {
    border: 1px solid white;
    border-collapse: collapse;
    margin: 1rem 0;
}
table td {
    padding: 0.5rem 0.75rem;
    border: 1px solid white;
}

code {
    display: block;
    background: black;
    padding: 0.5rem;
    margin: 1rem 0;
    white-space: pre-wrap;
    overflow-x: auto;
}

/********\
| Footer |
\********/

footer {
    text-align: center;
    padding: 30px;
    color: #94a3b8;
}

footer a[href] {
    color: white;
}

/* Mobile */

@media(max-width:700px){
    
    .hero h1 {
        font-size: 35px;
    }
    
    nav a {
        display:none;
    }
    
    .search-box {
        flex-direction:column;
    }
    
    .search-box input,
    .search-box button {
        border-radius:30px;
        margin:5px;
        padding:15px;
    }
    
}