/* Container styling */
.containers {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

/* Main image styling */
.main-image {
    width: 100%;
    height: 40%;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Heading styling */
h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #016DB5;
    text-align: center;
}

/* Content styling */
.content {
    font-size: 1.1em;
    line-height: 1.6;
    color: #016DB5;
    margin-bottom: 30px;
    text-align: justify;
}

/* Related images section */
.related-section {
    margin-top: 30px;
}

.related-section h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

/* Related images */
.related-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

/* Image hover effect */
.related-grid img:hover {
    transform: scale(1.05);
}

/* Back button */
.back-button {
    display: inline-block;
    margin-top: 20px;
    color: white;
    background-color: #016DB5;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.back-button:hover {
    background-color: #014a8d;
    color: white;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 10px;
}

.related-grid img {
    width: 100%;
    height: 80%;
    /* height: auto; */
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.related-grid img:hover {
    transform: scale(1.05);
}