@font-face {
    font-family: 'More-Sugar';
    src: url('../fonts/more-sugar.regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Lazy Dog';
    src: url('../fonts/lazy_dog.ttf') format('truetype');
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    height: 100%;
    font-family: 'Fredoka One', sans-serif;
    background: linear-gradient(135deg, #C4E2E7, #A2CAD8);
    background-size: cover;
    color: #4f2f2f;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

br {
    content: " ";
    display: block;
    margin-bottom: initial;
}

.cookie-border-left,
.cookie-border-right {
    position: fixed;
    top: 0;
    width: 130px;
    height: 100%;
    background: url('../images/cookie-stack.png') repeat-y center/contain;
    z-index: 1;
    opacity: 0.8;
}

.cookie-border-left {
    left: 0;
}

.cookie-border-right {
    right: 0;
}

.logo {
    display: inline-block;
    max-width: 500px;
    margin-bottom: 10px;
}

.logo:hover {
    transform: scale(1.2);
}

.content-container {
    width: calc(100% - 300px);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

button {
    font-family: 'Lazy Dog';
    background-color: #cfb886;
    border-radius: 10px;
    border: none;
    padding: 15px 25px;
    font-size: x-large;
    font-weight: bold;
    color: #442119;
    text-decoration: none;
    display: inline-block;
    width: 250px;
    text-align: center;
    cursor: pointer;
    transition-duration: 0.4s;
}

button:hover {
    background-color: #ffffff;
}

.table-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

h1 {
    font-family: 'Lazy Dog';
    font-size: 3.5em;
    color: #83583c;
    margin-bottom: 1em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h2 {
    font-family: 'More-Sugar';
    font-size: 2em;
    color: #83583c;
    margin-bottom: 0.5em;
}

p {
    font-family: 'Fredoka One', sans-serif;
    font-size: 1em;
    color: #4f2f2f;
    line-height: 1.6;
}

h3 {
    font-family: 'More-Sugar';
    font-size: smaller;
    color: #c6926c;
}

section {
    background-color: #ffffff;
    border: 1px solid #cfb886;
    border-radius: 15px;
    padding: 2em 3em;
    margin: 3em 0;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.numbered-list {
    counter-reset: list-counter;
    list-style: none;
    padding-left: 0;
    width: 50%;
    margin: 0 auto;
}

.numbered-list li {
    counter-increment: list-counter;
    margin-bottom: 1.5em;
    position: relative;
    padding-left: 4em;
    text-align: left;
}

.numbered-list li::before {
    content: counter(list-counter);
    background-color: #cfb886;
    border-radius: 50%;
    display: inline-block;
    height: 2em;
    width: 2em;
    line-height: 2em;
    text-align: center;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: 0;
    color: #ffffff;
}

.numbered-list li p {
    font-family: 'Playpen Sans';
    color: #c6926c;
    margin-top: 0.5em;
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 2em 0;
}

.left-column,
.right-column {
    text-align: left;
}

.requirements-section {
    background-color: #ffffff;
    border: 2px solid #cfb886;
    border-radius: 15px;
    padding: 2em;
    margin: 2em auto;
    max-width: 800px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.requirements-section h1 {
    font-family: 'Lazy Dog';
    font-size: 3em;
    color: #83583c;
    margin-bottom: 1.5em;
}

.requirements-list {
    list-style-type: disc;
    padding: 0;
    margin: 0 auto;
    font-family: 'Playpen Sans';
    font-size: 1.2em;
    color: #4f2f2f;
    text-align: left;
    max-width: 600px;
}

.requirements-list li {
    margin-bottom: 1em;
    line-height: 1.6;
    padding-left: 1.5em;
    text-indent: -1.5em;
}

.requirements-list li a {
    color: #83583c;
    text-decoration: underline;
    font-weight: bold;
}

.requirements-list li a:hover {
    color: #cfb886;
}

.bowl-image {
    width: 150px;
    margin: 2em 0;
}

.directions-list {
    counter-reset: steps;
    list-style: none;
    padding: 0;
}

.directions-list li {
    position: relative;
    padding-left: 3em;
    margin-bottom: 1.5em;
    font-family: 'Playpen Sans';
    color: #c6926c;
}

.directions-list li:before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2em;
    height: 2em;
    background: #cfb886;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

#resources {
    background: linear-gradient(135deg, #ffffff, #ffffff);
    padding: 3em;
}

.resources-grid img {
    max-width: 100%;
    border-radius: 10px;
}

.notification-section {
    background: linear-gradient(135deg, #ffffff, #ffffff);
    border: 1px solid #cfb886;
    border-radius: 30px;
    padding: 20px;
    margin: 20px auto;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.notify-form input[type="email"] {
    width: 80%;
    max-width: 500px;
    padding: 15px;
    font-size: 1em;
    border: 2px solid #cfb886;
    border-radius: 10px;
    outline: none;
    margin-bottom: 15px;
}

.notify-form .share-button {
    background: #ff7043;
    color: #ffffff;
    font-family: 'Lazy Dog', sans-serif;
    font-size: 1.2em;
    padding: 10px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.notify-form .share-button:hover {
    background: #e64a19;
    transform: scale(1.05);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

.feedback-message {
    margin-top: 1em;
    font-size: 1em;
    font-family: 'Playpen Sans';
    color: #4f2f2f;
    display: none;
}

.feedback-message.success {
    color: green;
}

.feedback-message.error {
    color: red;
}

.secondary-header {
    position: relative;
    text-align: center;
    margin-top: 60px;
}

.subtagline {
    font-size: 1.2em;
    color: #d2b48c;
    margin-bottom: 5px;
}

.hackclub {
    font-size: 1em;
    color: #4f2f2f;
}

.hackclub-logo {
    position: fixed;
    top: 0px;
    left: 200px;
    z-index: 10;
    width: 80px;
    height: auto;
}

.hackclub-logo img {
    width: 300%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.hackclub-logo img:hover {
    transform: scale(1.1);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-button {
    font-family: 'Lazy Dog';
    border-radius: 10px;
    padding: 15px 25px;
    font-size: medium;
    font-weight: bold;
    color: #ffffff;
    background-color: #d2b48c;
    text-decoration: none;
    display: inline-block;
    width: 250px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.4s ease, transform 0.3s ease;
}

.social-button:hover {
    transform: scale(1.05);
}

footer {
    font-family: 'Fredoka One', sans-serif;
    font-size: 0.9em;
    width: 90vw;
    color: #4f2f2f;
    background-color: #ffffff;
    padding: 15px 20px;
    text-align: center;
    border-top: 2px solid #cfb886;
    margin-top: 30px;
    position: fixed;
    z-index: 999;
    border-radius: 20px 20px 0 0;
    bottom: 0;
}

.faq-container {
    max-width: 1000px;
    margin: 50px auto;
    background: #FDF3E3;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 3px dotted #cfb886;
}

.faq-header {
    text-align: center;
    margin-bottom: 20px;
}

.faq-header h1 {
    font-size: 3em;
    color: #83583c;
    padding: 10px 20px;
    display: inline-block;
}

.faq-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed;
}

.faq-table th {
    font-size: 1.8em;
    color: #4f2f2f;
    padding: 15px;
    text-align: center;
    background: #fce5cd;
    border-bottom: 2px dotted #cfb886;
}

.faq-table th:first-child {
    border-top-left-radius: 20px;
}

.faq-table th:last-child {
    border-top-right-radius: 20px;
}

.faq-table td {
    font-size: 1.5em;
    color: #4f2f2f;
    padding: 15px;
    text-align: center;
    position: relative;
    word-wrap: break-word;
    background: #fef6e4;
}

.faq-table td:first-child {
    border-right: 2px dotted #cfb886;
}

.faq-table td::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #cfb886;
    transform: translateY(50%);
}

.faq-table tr:last-child td::after {
    content: none;
}

.faq-table img {
    max-width: 100%;
    border-radius: 10px;
}

#fallbackShare {
    margin-top: 10px;
}

#copyMessage {
    transition: opacity 0.3s ease-in-out;
}

.other-questions {
    text-align: center;
    font-size: 1.5em;
    margin-top: 20px;
    background: #fce5cd;
    padding: 10px;
    border-radius: 10px;
}

@media (max-width: 768px) {

    .cookie-border-left,
    .cookie-border-right {
        display: none;
    }

    .secondary-header {
        margin-top: 20px;
        padding: 0 10px;
    }

    .logo {
        max-width: 200px;
        width: 100%;
        height: auto;
        margin: 0 auto 10px;
    }

    .subtagline {
        font-size: 0.9em;
    }

    .hackclub {
        font-size: 0.8em;
    }

    .hackclub-logo {
        top: 0px;
        left: 0px;
        width: 36px;
    }

    .content-container {
        width: 100%;
        padding: 0 15px;
    }

    .resources-grid {
        display: block;
        padding: 0;
    }

    .left-column,
    .right-column {
        margin-bottom: 20px;
    }

    .numbered-list {
        counter-reset: list-counter;
        list-style: none;
        padding-left: 0;
        width: 90%;
        margin: 0 auto;
    }

    .numbered-list li {
        counter-increment: list-counter;
        margin-bottom: 1.5em;
        position: relative;
        padding-left: 3em;
        text-align: left;
    }

    .numbered-list h2 {
        font-size: 1.5em;
        margin-bottom: 0.5em;
    }

    .numbered-list p {
        font-size: 1em;
        margin-top: 0.5em;
        line-height: 1.5;
    }

    .numbered-list li::before {
        content: counter(list-counter);
        background-color: #cfb886;
        border-radius: 50%;
        display: inline-block;
        height: 2em;
        width: 2em;
        line-height: 2em;
        text-align: center;
        font-size: 1.5em;
        position: absolute;
        left: 0px;
        transform: translate(-40%);
        top: 0;
        color: #ffffff;
    }

    .directions-list li {
        padding-left: 2.5em;
    }

    .directions-list li::before {
        left: 0;
    }

    button,
    .cta-button {
        width: 100%;
        font-size: 1.2em;
        padding: 10px;
        margin-bottom: 10px;
    }

    .notify-form input[type="email"] {
        width: 90%;
    }

    .notify-form .share-button {
        width: 90%;
    }

    section {
        padding: 1.5em 1em;
    }

    h1,
    h2 {
        font-size: 2em;
    }

    p {
        font-size: 1em;
    }

    .faq-container {
        width: 90%;
        padding: 20px;
    }
}

@media (max-width: 1339px) and (min-width: 770px) {
    .hackclub-logo {
        top: 0px;
        left: 180px;
        width: 50px;
    }
}

@media (max-width: 1230px) {

    body.faq-page .cookie-border-left,
    body.faq-page .cookie-border-right {
        display: none;
    }
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #555;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}