:root {
    --background-color: #f9f7f7; /* Light Grayish White */
    --container-background-color: #ffffff; /* White */
    --box-shadow-color: rgba(0, 0, 0, 0.1);
    --input-border-color: #dbe2ef; /* Light Blue Gray */
    --button-background-color: #3f72af; /* Deep Blue */
    --button-text-color: #ffffff; /* White */
    --button-hover-background-color: #112d4e; /* Dark Blue */
    --error-color: #ff6347; /* Tomato */
    --error-background-color: #ffe4e1; /* Misty Rose */
    --header-background-color: #3f72af; /* Deep Blue */
    --header-opacity: 1;
    --link-color: #112d4e; /* Dark Blue */
    --link-visited-color: #3f72af; /* Deep Blue */
    --link-visited-purple: #8A2BE2; /* Purple */
    --admin-color: #dbe2ef; /* Light Blue Gray */
    --body-background-color: #f9f7f7; /* Light Grayish White */
    --body-text-color: #112d4e; /* Dark Blue */
    --input-text-color: #112d4e; /* Dark Blue */
    --error-text-color: #ffffff; /* White */
}

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

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

@font-face {
    font-family: 'Royal Wedding';
    src: url('../fonts/RoyalWedding-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Bodoni';
    src: url('../fonts/Bodoni-06-Medium.ttf') format('truetype');
}


body {
    /* font-family: 'EB Garamond', serif; */
    font-family: 'Bodoni';
    background-color: var(--body-background-color);
    color: var(--body-text-color);
    text-align: center;
}

header {
    background-color: var(--header-background-color);
    opacity: var(--header-opacity);
    padding: 20px;
    text-align: center;
    font-size: 2em;
    color: var(--button-text-color);
}

a {
    color: var(--link-visited-color); /* Light blue for unvisited */
    text-decoration: none;
}

a:visited {
    color: var(--link-visited-purple); /* Purple for visited */
}

button {
    background-color: var(--button-background-color);
    color: var(--button-text-color);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
}

button:hover {
    background-color: var(--button-hover-background-color);
}

input, textarea {
    border: 1px solid var(--input-border-color);
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    color: var(--input-text-color);
}

.error {
    color: var(--error-color);
    background-color: var(--error-background-color);
    padding: 10px;
    border: 1px solid var(--error-color);
    margin-bottom: 20px;
    color: var(--error-text-color);
}

.container {
    background-color: var(--container-background-color);
    box-shadow: 0 4px 8px var(--box-shadow-color);
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 10px;
}

h1 {
    text-align: center;
    font-size: 2.5em;
}
.spaced + .spaced {
    margin-top: 20px;
}

.content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    min-height: 100vh;
}

.text-content {
    max-width: 600px;
    text-align: center;
}

.ring-column {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
}

.ring-column:first-child {
    left: 20px;
}

.ring-column:last-child {
    right: 20px;
}

.ring {
    width: 200px;
}

.schedule {
    text-align: left;
    margin: 20px 0;
}

.schedule-item {
    display: flex;
    margin-bottom: 5px;
    align-items: baseline;
}

.time {
    font-weight: bold;
    min-width: 80px;
    flex-shrink: 0;
    margin-right: 20px;
}

.description {
    flex: 1;
}

/* Add this media query for mobile responsiveness */
@media (max-width: 768px) {
    .content {
        flex-direction: column; /* Stack the elements vertically */
    }

    .ring-column {
        display: none; /* Hide ring columns on mobile to save space */
    }
    
    .ring {
        width: 150px; /* Reduce the size of the ring images on mobile */
        margin-bottom: 10px; /* Add spacing between the ring and text */
    }

    .text-content {
        max-width: 90%; /* Allow the text to fill most of the screen width */
    }
    
    .schedule-item {
        flex-direction: column;
        margin-bottom: 15px;
    }
    
    .time {
        margin-bottom: 5px;
        margin-right: 0;
    }
}