body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #e2dee5;
    color: #333;
}

.header {
    margin: 0px auto;
    background-color: #231F20;
    padding: 20px 20px;
}

.header-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    justify-content: flex-start;
}

.logo {
    max-width: 100px;
    height: auto;
    justify-content: flex-start;
}

.title {
    font-size: 36px;
    font-family: "mrs-eaves-roman-small-caps", serif;
    font-weight: 400;
    font-style: normal;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    color: #FFF;
    background-color: #231F20;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-left: auto;
}

.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu li {
    display: inline-block;
    margin-left: 20px;
}

.menu li:first-child {
    margin-left: 0;
}

.menu li a {
    text-decoration: none;
    color: #FFF;
    font-size: 16px;
    transition: color 0.3s;
}

.menu li a:hover {
    color: #BBB;
}

.content {
    background-color: #FFF;
    padding: 20px;
    max-width: 1000px;
    margin: 20px auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 36px;
    margin: 0 0 10px 0;
    padding: 10px;
    background-color: #e7e7e7;
}

h2 {
    font-size: 24px;
    margin-bottom: 5px;
    padding: 10px;
    background-color: #e7e7e7;
}

h3 {
    font-size: 20px;
    margin-bottom: 5px;
    padding-left: 10px;
}

p {
    font-size: 18px;
    line-height: 1.6;
    padding-left: 20px;
}

a {
    color: #ff3e3e;
    text-decoration: underline;
}

a:hover {
    color: #aa1212;
}

.schedule {
    display: grid;
    grid-template-columns: auto auto;
}

.schedule .header-row {
    font-weight: bold;
    padding: 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #CCC;
}

.schedule .time, .schedule .activity {
    padding: 10px;
    border-bottom: 1px solid #CCC;
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    background-color: #e7e7e7;
    padding: 0 10px;
}

.age-group {
    font-size: 16px;
}

.dm {
    font-size: 20px;
    font-weight: bold;

}

.sessions {
    min-width: 150px;
    text-align: right;
    font-size: 16px;
    gap: 20px;
    font-weight: bold;
}

footer {
    background-color: #000;
    color: #FFF;
    text-align: center;
    padding: 50px 0;
    margin: 20px auto 0 auto;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: column;
    gap: 25px;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c2c2c, #666666, #4a4a4a, #888888, #333333);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: spin 2s linear infinite;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner::before {
    content: "20";
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    z-index: 1;
    padding-top: 8px;
}

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

.loading-spinner p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

@media screen and (min-width: 768px) {
    
    .menu {
        margin-bottom: auto;
    }
    
    .content {
        padding: px 10px 20px 10px;
    }
    
    .schedule {
        grid-template-columns: 1fr 3fr;
    }

    footer {
        margin: 100px auto 0 auto;
    }

    .footer-content {
        gap: 0;
        flex-direction: row;
        align-items: flex-start;
    }
}
