@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mingzat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mingzat&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Satisfy&family=Teko:wght@300..700&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    font-family: "Montserrat", serif;
    font-weight: bold;
}

body {
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: block;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    min-height: 100vh;
}

header {
    background-color: rgba(154, 171, 137, 0.8);
    padding: 0.5rem;
    text-align: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

h1 {
    font-size: 2rem;
    color: #354A26;
    margin: 0;
}

h2 {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-size: 2.5rem;
    color: #3f3f3f;
    margin: 0;
    display: inline-block;
}

h3 {
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-size: 1.2rem;
    color: #3f3f3f;
    margin: 0;
    display: inline-block;
}

p, a {
    color: #333;
    text-decoration: none;
    line-height: 1.4;
}

i {
    color: #333;
    text-decoration: none;
    margin-top: 0.1rem;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

#suit {
    display: inline-block;
    line-height: 1 !important;
    margin-bottom: 1rem;
}

#paper {
    background-color: rgb(255, 255, 255);
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    max-width: 750px;
    width: 90%;
    margin: 0 auto;
    margin-top: 1rem;
    height: auto;
    overflow: visible;
}

hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 20px 0;
    width: 70%;
    margin: auto;
}

#schedulemap {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 10px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
}

ul {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
    list-style: none;
}

li {
    display: block;
    margin: 0;
    padding: 0;
    margin-bottom: 0.5rem;
}

#q {
    display: block;
    font-size: 1.2rem;
}

#toast {
    list-style: none;
}

button {
    background-color: #9AAB89;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #717e64;
}

#toast {
    text-decoration: none;
}

body section section i#center {
    display: block;
    text-align: center !important;
}

.form-popup {
    display: none;
    position: fixed;
    z-index: 9;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.form-content {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    font-size: 0.75rem;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.25rem;
    cursor: pointer;
}

#map {
    display: none;
    transition: opacity 0.5s ease-in-out;
}

#highlight {
    font-weight: 800;
}

#map.show {
    display: block;
    opacity: 1;
    width: 100%;
}

#pin {
    color: rgb(201, 15, 15);
}

#divider {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    max-width: 20rem;
    display: block;
}

@media (max-width: 200px) {
    #timeline {
        width: 100%;
    }

    .timeline-item.left {
        flex-direction: row-reverse;
        text-align: left;
        justify-content: flex-end;
    }

    .timeline-item.right {
        flex-direction: row;
        text-align: right;
        justify-content: flex-start;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        margin: 0 1rem;
        color: #354A26;
    }

    .timeline-content {
        max-width: 110px;
        padding: 0;
    }

    .timeline-item:before {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media only screen and (max-width: 600px) {
    #schedule {
        padding: 0.5rem;
    }
}