body {
    margin: 0;
    padding: 0;
    /* Oswald Font */
    font-family: 'Oswald', sans-serif;
}

:root {
    --state-height: calc((100vh - 100px)/2 - 5vh);
}

#content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

@media (max-width: 768px) {
    #content {
        padding: 10px;
    }
}

/* Header */

#header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Input and textarea styling */
input[type="text"],
input[type="email"], 
input[type="tel"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px; /* Prevents mobile zoom */
    font-family: inherit;
}

textarea {
    resize: vertical;
}

/* Image popup modal styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.image-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.image-modal img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 800px;
    max-height: 600px;
}

.image-modal-header {
    background: #f5f5f5;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-modal-title {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    margin: 0;
}

.image-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.image-modal-close:hover {
    background-color: #e0e0e0;
    color: #333;
}

.image-modal-body {
    padding: 0;
    text-align: center;
}

/* Make images clickable */
.clickable-image {
    cursor: pointer;
    transition: opacity 0.2s;
}

.clickable-image:hover {
    opacity: 0.8;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .image-modal-content {
        width: 80%;
    }
    
    .image-modal img {
        max-width: 100%;
        max-height: 85vh;
    }
    
    .image-modal-header {
        padding: 12px 15px;
    }
    
    .image-modal-title {
        font-size: 14px;
    }
}