@media (prefers-color-scheme: dark) {:root {color-scheme: dark;}} :root {color-scheme: dark;}


:root {
    --boxborder: rgba(255, 255, 255, 0.815);
    --artistboxcolor: rgb(43, 43, 43);
    --xtraboxcolor: #3d3d3d;
    --backgroundcolor: rgb(0, 0, 0);
}

h1 {
    font-weight: bolder;
    font-size: 36pt;
}

@font-face {
    font-family: 'alarm'; /* Name of the font-family */
    src: url('/fonts/alarm.ttf') format('truetype'); /* Path to the font file */
    font-weight: normal;
    font-style: normal;
}



body {
    background-color: var(--backgroundcolor); 
    color: white;
    margin: 0; /* Remove default margin */
    min-height: 100vh; /* Ensure the body takes up at least full viewport height */
    display: flex; /* Use flexbox on the body */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    overflow: auto; /* Allow scrolling if content overflows */
    justify-content: center;
    font-family:sans-serif;
}


.logo {
    max-width: 100%; /* Make sure the logo is responsive */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 1.5rem;
}

.buttongrid {
    width: 100%;
}

.flyer {
    height: 95vh;
}

.container {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: flex-start; /* Ensure items start at the top */
    align-items: center; /* Center items horizontally in the container */
    width: 100%; /* Ensure container takes full width */
    max-height: 95vh; /* Limit container height to prevent overflow */
    overflow: auto; /* Allow scrolling within the container */
}

ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: auto;
    max-width: 800px;
    list-style: none;
    justify-content: center;
}

strong {
    font-size: 20pt;
}

a {
    color: white;
    text-decoration: none;
}

.homepagelink {
    font-family: monospace;
    font-size: 9pt;
}

.genre {
    font-size: 9pt;
    font-style: italic;
    text-align: left;
    position: absolute; /* Position it absolutely within its container */
    bottom: .2rem; /* Distance from the bottom edge */
    left: .4rem; /* Distance from the left edge */
    /* Add any additional styles if needed */
}

/* Styling for each list item */
li {
    position: relative;
    box-sizing: border-box;
    width: calc(50% - 20px); /* Ensure the list item width is consistent */
    margin: 5px;
    padding: 5px;
    padding-top: 5px;
    border: 2px solid var(--boxborder);
    background-color: var(--artistboxcolor);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
    font-weight: normal;
}

/* Style the anchor tag to cover the whole list item */
li a {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.addressbox-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
}

.addressbox {
    flex: 1 1 30%; /* Adjust the flex basis to ensure consistent sizing */
    display: flex;
    flex-direction: row; /* Ensure row direction for both mobile and desktop views */
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 2px solid var(--boxborder);
    background-color: var(--xtraboxcolor);
    border-radius: 8px;
    text-align: left; /* Align text to the left */
    width: calc(100% - 20px); /* Adjust width for mobile view to account for margin */
    max-width: 250px; /* Limit max-width to ensure responsiveness */
}

.socialbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.socialbox {

    flex-direction: column; /* Ensure row direction for both mobile and desktop views */
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 2px solid var(--boxborder);
    background-color: #2b2b2b;
    border-radius: 8px;
    text-align: left; /* Align text to the left */
    width: calc(100% - 20px); /* Adjust width for mobile view to account for margin */
    max-width: 300px; /* Limit max-width to ensure responsiveness */
    font-weight: bold;
    margin: auto;
    margin-bottom: 10px;
}

.bottombox {
    display: flex;
    flex-direction: row; /* Ensure row direction for both mobile and desktop views */
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 2px solid var(--boxborder);
    background-color: var(--xtraboxcolor);
    border-radius: 8px;
    text-align: left; /* Align text to the left */
    max-width: 200px;
    flex: 1 1 30%;  /* Adjust width for mobile view to account for margin */
    height: 2rem;
}

.buttonlink {
    display: flex;
    flex-direction: row; /* Ensure text and emoji are in a row */
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.addresstext {
    margin-left: 10px; /* Space between emoji and text */
}

.addressemoji {
    font-size: 20pt;
}

.eventdatetext {
    font-size: 1.5rem;
}

.eventtext {
    text-align: center;
}

.set-time-box {
    font-family: alarm;
    position: absolute; /* Position it relative to the list item */
    top: 0; /* Adjust as needed for spacing */
    left: 0; /* Adjust as needed for spacing */
    background-color: #000000; /* Background color for the set time box */
    margin: 0;
    padding: 0; /* Padding inside the set time box */
    padding-left: .3rem;
    padding-right: .3rem;
    border-right: 2px solid #464646;
    border-bottom: 2px solid #464646;
    border-radius: 4px; /* Slightly rounded corners for the set time box */
    font-size: 1.2em; /* Adjust font size if needed */
    color: rgb(255, 105, 105); /* Text color for the set time box */
    min-width: 3rem;
}

.artistemoji {
    position: absolute; /* Position it relative to the list item */
    top: 50%; /* Move down 50% of the parent's height */
    right: 0;
    transform: translate(0%, -55%);
    font-size: 2rem;
    width: 20%;
}

.footer {
    margin-top: 12px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


@media (max-width: 430px) {
    strong {
        font-size: 16pt;
    }
    .logo-container {
        width: 100%;
    }
    li {
        /* Adjust list item width for mobile view */
        width: 100%;
        box-sizing: border-box;
        margin: 0;

    }

    ul {
        width: 90%; /* Consistent width for mobile view */
        max-width: none; /* Remove max-width restriction for mobile view */
        margin: auto;
        padding: 0;
        box-sizing: border-box;
        gap: 10px;
    }

    .container {
        margin-top: 3vh;
        width: 95vw; /* Ensure container width fits within the viewport */
        max-height: none; /* Remove max-height restriction for mobile view */
        text-align: center;
        align-items: start; /* Align items at the start for smaller screens */
        max-width: 100vw;

    }

    .addressbox-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 90%;
        margin: auto;
        margin-bottom: 10px;
    }

    .addressbox {
        flex: 1 1 calc(50% - 10px); /* Ensure each addressbox takes up 50% of the container width minus the gap */
        max-width: 100%; /* Ensure the width adjusts responsively */
        box-sizing: border-box;
    }

    .addressbox:nth-of-type(3) {
        flex: 1 1 10%; /* Ensure the third addressbox takes the full width */
    }
    .genre {
        font-size: 8pt;
        text-align: center;
        position: relative; /* Position it absolutely within its container */
        bottom: 0; /* Distance from the bottom edge */
        left: 0; /* Distance from the left edge */
        /* Add any additional styles if needed */
    }

    .footer {
        flex-direction: column;
        margin-bottom: 10vh;
        align-items: center;

        
    }
    .bottombox {
        width: 200px;
    }
    .socials-container {
        max-width: none;
        width: 90vw;
    }
    .socialbox {
        max-width: none;
    }
    .buttonlink {
        display: flex;
        flex-direction: row; /* Keep them in a row */
        align-items: center;
        justify-content: space-between; /* Ensure even spacing */
        width: 100%;
    }

    .addressemoji {
        flex: 1 1 45%; /* Each takes up 50% of the width */
        text-align: center;
        margin-left: 10px;
    }
    .addresstext {
        flex: 1 1 55%; /* Each takes up 50% of the width */
        text-align: left;
        margin-left: 0px;
    }

}

@media (max-width: 430px) {
    .addressbox {
        flex: 1 1 100%; /* Ensure each addressbox takes up 100% of the container width */
    }
}




