/* File: styles.css */

/* Reset margin and padding for the body */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #000000;
    color: #ffffff;
    font-family: Open Sans, sans-serif;
    overflow: hidden;
}


/* QR Code container and styling */
/* Default (for desktop and larger screens) */
#qr-code-container {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
}
#qr-code {
    width: 150px;
    height: 150px;
}
/* Mobile-specific styles */
@media only screen and (max-width: 768px) {
    #qr-code-container {
        position: absolute;
        top: 0;
        left: 0;
        padding: 10px;
    }
    #qr-code {
        width: 50px;
        height: 50px;
    }
}



/* Ensure the content container takes up the full height minus the height of the queue bar */
#content-container,.content-container {
    /*flex: 1;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h2,.yellow {
    color: #fdbd13;
}
h2{margin-top:0;}

/* Styles for the queue bar at the top */
#upcoming-cities {
    color: #fdbd13;
    padding: 5px;
    width: 100%;
    text-align: center;
    font-size: 18px;
}

/* Ensure the image scales properly while maintaining aspect ratio */
#image-container {
    height: calc(100vh - 40px); /* Full height minus the 40px banner */
    display: flex;
    justify-content: center;
    align-items: center;
    /*overflow: hidden; !* Hide any overflow *!*/
}

#image-container img {
    max-width: 100%;
    max-height: 100vh;
    /*transition: opacity 5s ease-in-out;*/
    height: 100%; /* Make the image fill the full height of the container */
    width: auto;  /* Maintain the aspect ratio by adjusting the width */
    object-fit: contain;
}

#image-container img.active {
    opacity: 1;
}

/* Upcoming cities list styling */
#upcoming-cities ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

#upcoming-cities li {
    margin: 0;
    white-space: nowrap;
}

#info-box {
    margin-top: 0;
    padding-top: 2px;
}

#info-box > div {
    float: left;
    padding-right: 10px
}

/* form */
#cityForm-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    width: 100%;
    margin: auto;
    color: #000;
}

#extra_information, #notification{
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    width: 100%;
    margin: auto;

}
#extra_information>ul {
    margin:0;
    padding:0;
    list-style-type: none;
}

label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #555555;
}
.optional{
    font-size: 12px;
    font-weight: 300;
    color: #555555;
}
input[type="number"]{
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="text"],
input[type="email"],
    #extra{
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button[type="submit"] {
    width: 100%;
    background-color: #000000;
    color: #fdbd13;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

button[type="submit"]:hover {
    background-color: #fdbd13;
    color: #000000;
}
.weathericon{
    width:40px;
    margin-top:-10px;
}

#countdown {
    font-size: 16px;
    color: white;
    background: rgba(0, 0, 0, 0.9);
    line-height: 1.3em;
    padding: 10px 15px;
    margin: 5px 10px;
    position: relative;
    border-radius: 5px;
    transition: opacity 0.5s ease-in;
    text-align: center;
    margin-top: 10px;
}

/* Greying out the form */
.disabled-form {
    opacity: 0.2;
    pointer-events: none;
}

.disabled {
    opacity: 0.2;
}

/* Basic styles for the image gallery */

.gallery-container {
    width: 100vw;
    height: 100vh;
    gap: 0; /* No gaps between images */
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: flex-start;
}

.thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire thumbnail space */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail img:hover {
    transform: scale(1.05); /* Add a slight zoom effect on hover */
}

/* Full image view */
.full-view {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.full-view img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid white;
}

#close-full-view {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

#close-full-view:hover {
    color: red;
}

