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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #f5f5f5;
    background-color: #121212;
}

.container {
    /* max-width: 1440px; */
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    color: #ffffff;
    margin-bottom: 10px;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: #121212;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

@media (min-width: 768px) {
    .gallery-container {
        flex-direction: row;
    }
    
    .slideshow-container {
        flex: 4;
    }
    
    .comments-section {
        flex: 2;
    }
}

.slideshow-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#image-display {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

#image-display img {
    max-width: 100%;
    max-height: 620px;
    display: block;
    margin: 0 auto;
}

.no-images {
    padding: 40px;
    text-align: center;
    color: #666;
}

.slideshow-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slideshow-controls button {
    padding: 8px 16px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slideshow-controls button:hover {
    background-color: #2980b9;
}

.slideshow-controls button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#image-counter {
    font-weight: bold;
}

.comments-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comments-section h2 {
    color: #ffffff;
    border-bottom: 1px solid #121212;
    padding-bottom: 10px;
}

#comments-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background-color: #121212;
    border-radius: 4px;
}

.comment {
    padding: 10px;
    background-color: #121212;
    border-left: 3px solid #3498db;
    margin-bottom: 10px;
    border-radius: 0 4px 4px 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.comment-name {
    font-weight: bold;
}

.comment-timestamp {
    font-size: 0.8em;
    color: #777;
}

.comment-body {
    margin-bottom: 5px;
}

.comment-claim {
    font-weight: bold;
    color: #e74c3c;
}

.comment-form {
    background-color: #121212;
    padding: 15px;
    border-radius: 4px;
}

.comment-form h3 {
    margin-bottom: 15px;
    color: #ffffff;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

#submit-comment {
    padding: 10px 15px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

#submit-comment:hover {
    background-color: #219653;
}

footer {
    margin-top: 30px;
    text-align: center;
    color: #777;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}
