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

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block-start: 0;
    margin-block-end: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #CDE6B6;
}

h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

img,
picture {
    max-width: 100%;
    display: block;
}

.page-wrapper {
    max-width: 1200px;
    padding: 2rem 1rem;
}

.page {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 400px;
    gap: 2rem;
}

.calendar-section {
    display: flex;
    justify-content: center;
}

.calendar {
    width: 100%;
    max-width: 900px;
}

area {
    cursor: pointer;
}

.info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
}

h1,
h2 {
    font-weight: 400;
    text-align: center;
}

h1 {
    font-family: Italianno, serif;
    font-size: 5rem;
}

h2 {
    font-family: Inter, serif;
    font-size: 2.5rem;
}

.subtext {
    font-size: 1.8rem;
}

.description {
    margin-top: 3rem;
    text-align: center;
    font-size: 1.3rem;
    max-width: 300px;
}

.modal {
    border: none;
    border-radius: 20px;
    padding: 0;
    max-width: 420px;
    width: 90%;
    background: #e1f5dd;
    animation: modal-scale-in 0.25s ease-out;
}

@keyframes modal-scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal::backdrop {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    padding: 2.2rem 2.2rem;
    text-align: center;
    font-family: Inter, serif;
    color: #2f3a2e;
}

.modal__content h2 {
    font-family: Italianno, serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.modal__content p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0;
}

.modal__close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    border: none;
    background: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.modal__close:hover {
    color: #000;
    transform: scale(1.1);
}



@media (max-width: 970px) {
    .page {
        grid-template-columns: 1fr;
    }
}