@font-face {
    font-family: 'ABCLaicaMono';
    src: url('fonts/ABCLaicaMono-Light.woff2') format('woff2'),
         url('fonts/ABCLaicaMono-Light.woff') format('woff'),
         url('fonts/ABCLaicaMono-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ABCLaicaMono';
    src: url('fonts/ABCLaicaMono-LightItalic.woff2') format('woff2'),
         url('fonts/ABCLaicaMono-LightItalic.woff') format('woff'),
         url('fonts/ABCLaicaMono-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'ABCLaicaMono', 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 2;
    padding: 90px 10px 140px 10px;
    background-color: #eee9c1;
    color: #414141;
    position: relative;
    font-weight: 300;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    min-height: 100vh;
    height: auto;
}

html {
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    height: 100%;
}

.container {
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
    min-height: 100%;
    height: auto;
}

.title {
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-top: 1em;
}

.italic {
    font-style: italic;
    letter-spacing: 0;
}


a {
    color: #414141;
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
    text-underline-offset: 5px;
    text-decoration-color: rgba(65, 65, 65, 0.4);
    transition: color 0.3s ease, text-underline-offset 0.3s ease, text-decoration-color 0.3s ease;
}

a:hover {
    color: #8ca8be;
    text-underline-offset: 7px;
    text-decoration-color: rgba(3, 141, 254, 0.784);
}

.divider {
    display: block;
    text-align: center;
    margin: 1.5em auto;
}

.text-block {
    opacity: 0;
    transition: opacity 2s ease-in;
    visibility: visible;
    min-height: 0;
}

.text-block.visible {
    opacity: 1;
}

.flower {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 3s ease-in-out, left 0.5s ease-out, top 0.5s ease-out;
}

.flower img {
    width: 100%;
    height: 100%;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #eee9c1;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #414141;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: normal;
    cursor: pointer;
    color: #414141;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #8ca8be;
}

.modal-content h3 {
    font-family: 'ABCLaicaMono', 'Courier New', Courier, monospace;
    font-weight: 300;
    font-style: italic;
    font-size: 16px;
    margin-bottom: 1em;
    text-align: center;
}

.modal-content p {
    margin-bottom: 1em;
    line-height: 1.8;
}

.modal-content strong {
    font-weight: 300;
    font-style: italic;
}

.taxi-list {
    margin-top: 1.5em;
}

.taxi-item {
    margin-bottom: 1.2em;
    padding-bottom: 1em;
    border-bottom: 1px solid rgba(65, 65, 65, 0.15);
}

.taxi-item:last-child {
    border-bottom: none;
}

.taxi-name {
    display: block;
    font-style: italic;
    font-size: 15px;
    margin-bottom: 0.3em;
    letter-spacing: 0.05em;
}

.taxi-number {
    display: block;
    font-size: 16px;
    margin-bottom: 0.3em;
    letter-spacing: 0.08em;
}

.taxi-note {
    display: block;
    font-size: 11px;
    font-style: italic;
    opacity: 0.6;
    margin-top: 0.3em;
    line-height: 1.4;
}
