/*
 * You can just delete everything here or keep whatever you like, it's just a
 * quick baseline!
 */
:root {
    --color-foreground: hsl(0, 0%, 7%);
    --color-background: hsl(210, 60%, 96%);
    --color-accent: hsl(210, 60%, 48%);
    --color-links: hsl(213, 100%, 52%);
    --color-links-hover: hsl(213, 100%, 43%);
    --color-border: #DCDFDD;
    --color-table: rgba(213, 213, 213, 0.49);
    --color-table-bg: hsl(209.27, 59.42%, 86.47%);
    --padding-table: 12px 15px;
    --font-body: -apple-system, "Segoe UI", Helvetica Neue, Helvetica, Roboto,
    Arial, sans-serif, system-ui, "Apple Color Emoji", "Segoe UI Emoji";
}

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

:-moz-focusring {
    outline: auto;
}

:focus {
    outline: var(--color-links) solid 2px;
    outline-offset: 2px;
}

html,
body {
    padding: 0;
    margin: 0;
    background-color: var(--color-background);
    color: var(--color-foreground);
}

body {
    font-family: var(--font-body);
    line-height: 1.5;
}

a {
    color: var(--color-links);
    text-decoration: none;
}

a:hover {
    color: var(--color-links-hover);
    text-decoration: underline;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    background-color: var(--color-border);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

input:where([type="text"]),
input:where([type="search"]) {
    display: block;
    border: 1px solid var(--color-border);
    width: 100%;
    font: inherit;
    line-height: 1;
    height: calc(1ch + 1.5em);
    padding-right: 0.5em;
    padding-left: 0.5em;
    background-color: hsl(0 0% 100% / 20%);
    color: var(--color-foreground);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.container {
    --gutter: 16px;
    width: 1024px;
    max-width: calc(100% - var(--gutter) * 2);
    margin-right: auto;
    margin-left: auto;
}

/*
 * You probably want to just delete this file; it's just for the demo pages.
 */
.remix-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: calc(100vh - env(safe-area-inset-bottom));
}

.remix-app > * {
    width: 100%;
}

.remix-app__header {
    padding-top: 1rem;
    padding-bottom: 1rem;
    /*border-bottom: 1px solid var(--color-border);*/
}

.remix-app__header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remix-app__header-home-link {
    width: 106px;
    height: 30px;
    color: var(--color-foreground);
}

.remix-app__header-nav ul {
    list-style: none;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1.5em;
}

.remix-app__header-nav li {
    font-weight: bold;
}

.remix-app__main {
    flex: 1 1 100%;
}

.remix-app__footer {
    padding-top: 1rem;
    padding-bottom: 1rem;
    /*border-top: 1px solid var(--color-border);*/
}

.remix-app__footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.remix__page {
    --gap: 1rem;
    --space: 2rem;
    display: grid;
    grid-auto-rows: min-content;
    gap: var(--gap);
    padding-top: var(--space);
    padding-bottom: var(--space);
}

@media print, screen and (min-width: 640px) {
    .remix__page {
        --gap: 2rem;
        grid-auto-rows: unset;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .remix__page {
        --gap: 4rem;
    }
}

.remix__page > main > :first-child {
    margin-top: 0;
}

.remix__page > main > :last-child {
    margin-bottom: 0;
}

.remix__page > aside {
    margin: 0;
    padding: 1.5ch 2ch;
    border: solid 1px var(--color-border);
    border-radius: 0.5rem;
}

.remix__page > aside > :first-child {
    margin-top: 0;
}

.remix__page > aside > :last-child {
    margin-bottom: 0;
}

.remix__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid white;
    border-radius: 24px;
    background-color: white;
}

.title {
    gap: 1rem;
    padding: 1rem;
    border-radius: 24px;
    background-color: white;
}

.imageSection {
    gap: 1rem;
    border-radius: 24px;
    background-color: white;
    margin: 0;
    padding: 0;
    width: 100%;
}

.imageSection img {
    border-radius: 24px;
}


.section {
    gap: 1rem;
    /*padding: 1rem;*/
    border-radius: 24px;
    background-color: white;
}

.section img {
    border-top-right-radius: 24px;
    border-top-left-radius: 24px;
}

.section .content {
    padding: 1rem;
    padding-top: 0px;
}

.sectionForTable {
    gap: 1rem;
    border-radius: 24px;
    background-color: white;
    overflow: hidden; /* So the table doesn't overlap the div */
    overflow-x: auto; /* On smaller screens without this you cannot view the category th */
}

.sectionForTable table thead {
    background-color: var(--color-table-bg);
}

.sectionForTable table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
}

.sectionForTable .thLeft, .sectionForTable .thCenter {
    border-right: 1px solid var(--color-table);
    border-bottom: 1px solid var(--color-table);
    padding: var(--padding-table);
}

.sectionForTable .thRight {
    border-bottom: 1px solid var(--color-table);
    padding: var(--padding-table);
}

.sectionForTable table tr:last-child th {
    border-bottom: 0px;
}

button:hover {
    cursor: pointer;
}

.clickable:hover {
    cursor: pointer;
}

a {
    text-decoration: none;
}

.remix__form > * {
    margin-top: 0;
    margin-bottom: 0;
}

.idButton {
    background-color: var(--color-background);
    color: var(--color-accent);
    border-radius: 20px;
    height: 40px;
    border: none;
    font-size: 1rem;
}

.accent {
    color: var(--color-accent);
}

.accentOrange {
    color: hsl(20, 100%, 70%)
}


/* ripped from w3schools because im lazy lmaooooo gotem */

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: var(--color-background);
    color: var(--color-accent);
    border-radius: 20px;
    text-align: center; /* Centered text */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}
