body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-color: white;
    color: black;
}

#content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

/* HEADER */

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #e6e6e6;
    border: 1px solid #888;
    padding: 12px 20px;
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #888;
    width: 70px;
    height: 50px;
    flex-shrink: 0;
}

.logo {
    width: 30px;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

nav a {
    text-decoration: underline;
    color: blue;
    font-family: "Poppins", sans-serif;
}

nav a:hover {
    color: darkblue;
}

/* HOME PAGE */

.home-page {
    margin-top: 25px;
}

/* CLASS SECTION */

.classes-section {
    border: 1px solid #888;
    padding: 30px;
    margin-top: 25px;
    background-color: white;
    box-sizing: border-box;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.class-box {
    border: 1px solid #888;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background-color: white;
    cursor: pointer;
}

.class-box:hover {
    background-color: #e6e6e6;
}

/* ADD + REMOVE CLASS BUTTONS */

.add-button-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.add-btn,
.remove-btn {
    border: 1px solid #888;
    background-color: white;
    color: black;
    padding: 6px 12px;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
}

.add-btn:hover,
.remove-btn:hover {
    background-color: #e6e6e6;
}

/* NOTES SECTION */

.notes-section {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.notes-container {
    width: 60%;
    border: 1px solid #888;
    padding: 30px 35px;
    background-color: #d9d9d9;
    box-sizing: border-box;
}

.notes-container h2 {
    margin-top: 0;
    margin-bottom: 28px;
    font-family: "Patrick Hand", cursive;
    font-size: 40px;
    color: black;
}

/* NOTE ROWS */

.note-row {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 18px;
    margin-bottom: 24px;
    align-items: start;
}

.note-row p {
    margin: 0;
    line-height: 1.6;
}

.circle {
    width: 16px;
    height: 16px;
    border: 1px solid #888;
    border-radius: 50%;
    margin-top: 6px;
    background-color: white;
    box-sizing: border-box;
}

.empty-row {
    align-items: start;
}

/* NOTE INPUT */

#noteInput {
    width: 100%;
    min-height: 100px;
    border: 1px solid #888;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    padding: 10px;
    resize: none;
    background-color: white;
    color: black;
    box-sizing: border-box;
}

/* PUBLISH + REMOVE NOTE BUTTONS */

.publish-button-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
    padding-right: 6px;
}

.publish-btn,
.remove-note-btn {
    border: 1px solid #888;
    background-color: blue;
    color: white !important;
    padding: 6px 12px;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
}

.publish-btn:hover,
.remove-note-btn:hover {
    background-color: #0033cc;
    color: white !important;
}

/* FOOTER */

footer {
    margin-top: 50px;
    border: 1px solid #888;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 15px;
    background-color: white;
    box-sizing: border-box;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo-img {
    width: 30px;
    height: auto;
}

.footer-text {
    font-weight: bold;
    color: black;
    white-space: nowrap;
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-links a {
    color: blue;
    text-decoration: underline;
}

.social-links a:hover {
    color: darkblue;
}

/* RESPONSIVE */

@media screen and (max-width: 900px) {
    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .notes-container {
        width: 80%;
    }

    footer {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .social-links {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 600px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    nav {
        width: 100%;
        justify-content: space-between;
        gap: 15px;
        flex-wrap: wrap;
    }

    .classes-grid {
        grid-template-columns: 1fr;
    }

    .notes-container {
        width: 100%;
        padding: 25px 20px;
    }

    .footer-logo {
        gap: 10px;
        flex-wrap: wrap;
    }
}