/* =========================
   Base
========================= */

body {
    font-family: 'Dancing Script', cursive;
    font-weight: 300;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #3a3a3a;
}

/* =========================
   Header / Navigation
========================= */

header {
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 20px;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-title a:hover {
    text-decoration: none;
}

.fancy {
    color: #f7cac9;
    font-size: 1.2em;
}

nav ul.menu {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    max-width: 700px;
}

nav ul.menu li {
    position: relative;
}

nav ul.menu li a {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9em;
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
}

nav ul.menu li a:hover {
    background-color: #a2d5c6;
    border-radius: 3px;
    transition: background-color 0.3s;
}

nav ul.menu li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 50%;
    background-color: #a2d5c6;
    transform: translateY(-50%);
}

.menu-icon {
    display: none;
    cursor: pointer;
}

/* =========================
   Lesson Section
========================= */

.lesson-details {
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
}

/* h2 & h3 underline */

.lesson-details h2 {
    border-bottom: 2px solid #a2d5c6;
    padding-bottom: 10px;
    margin: 0 0 25px;
    font-size: 1.1em;
    font-family: 'Dancing Script', cursive;
    text-align: left;
}

.lesson-details h3 {
    border-bottom: 2px solid #a2d5c6;
    padding-bottom: 8px;
    margin: 40px 0 20px;
    font-size: 1em;
    font-family: 'Dancing Script', cursive;
    text-align: left;
}

/* Text */

.lesson-details p {
    font-family: 'Merriweather', serif;
    font-size: 0.95em;
    margin: 0 15px 15px;
    text-align: left;
}

/* =========================
   Lesson Boxes
========================= */

.lesson-types {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.lesson-type-box {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lesson-type-box h4 {
    font-family: 'Merriweather', serif;
    font-size: 1em;
    margin-bottom: 10px;
}

.lesson-type-box p {
    font-family: 'Merriweather', serif;
    font-size: 0.9em;
    margin-bottom: 10px;
}

/* =========================
   Contact Button
========================= */

.contact-button {
    font-size: 0.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    padding: 10px;
    background-color: #a2d5c6;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    text-align: center;
}

.contact-button a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.contact-button a:hover {
    text-decoration: none;
}

/* =========================
   Footer
========================= */

footer {
    text-align: center;
    padding: 20px 0;
    background-color: #000;
    color: #fff;
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #a2d5c6;
}

/* =========================
   Back to Top
========================= */

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #a2d5c6;
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

.back-to-top:hover {
    background-color: #7bb49f;
    transform: scale(1.1);
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {
    nav ul.menu {
        display: none;
    }

    .menu-icon {
        display: block;
        color: #fff;
        font-size: 22px;
        margin-bottom: 10px;
    }

    nav ul.menu.show {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav ul.menu li {
        margin: 10px 0;
    }

    nav ul.menu li::after {
        content: none;
    }

    .lesson-details {
        padding: 15px;
    }

    .lesson-details h3 {
        margin-top: 30px;
    }
}
