/* General body styles */
body {
    font-family: Verdana, Geneva, Tahoma, Arial, Helvetica, sans-serif
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Container styles */
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    
}

/* Navigation styles */
nav {
    background: #007bff;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

nav a {
    color: #fff;
    padding: 14px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

nav a:hover {
    background: #0056b3;
}

/* Heading styles */
h1 {
    text-align: center;
    color: #007bff;
    background-color: lightblue;
   
}
/*
h2 {
    margin-bottom: 20px;
}

/* Form styles */
form {
    text-align: center;
    margin: 20px 0;
}
input[type="file"] {
    padding: 10px;
}
input[type="submit"] {
    background: #007bff;
    color: #fff;
    border: 0;
    padding: 10px 20px;
    cursor: pointer;
}
input[type="submit"]:hover {
    background: #0056b3;
}
/* Grid styles */
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.grid-item {
    margin: 10px;
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Star rating styles */
.stars {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    
}

.stars input[type="radio"] {
    display: none;
}

.stars label {
    font-size: 2em;
    color: #ddd;
    cursor: pointer;
}

.stars input[type="radio"]:checked ~ label {
    color: #ffc107;
}
.stars label:hover,
.stars label:hover ~ label {
    color: #ffc107;
}

/* Modal styles */
#fullImageModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

#fullImageModal .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

#fullImageModal span {
    position: absolute;
    top: 20px;
    right: 45px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.pagination a {
    margin: 0 5px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #000;
    border-radius: 5px;
}

.pagination a.active {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

/* Responsive styles */
@media screen and (max-width: 600px) {
    .navbar a {
        float: none;
        display: block;
        text-align: left;
    }

    #fullImageModal .modal-content {
        width: 100%;
    }
}
.left-ad, .right-ad, .bottom-ad {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.left-ad {
    width: 200px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
}

.right-ad {
    width: 200px;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
}

.bottom-ad {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
}

.content {
    margin: 0 220px 40px;
    flex: 1;
    text-align: center;
    font-size: 24px;
    padding: 20px;
    box-sizing: border-box;
}