body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #ecf0f1;
    width: 90%;
    margin: 0 auto;
    background: #cda711;
    background-repeat: no-repeat;
}

.gallery {
    /* margin-top, margin-bottom: 5% ; */
    padding-top:5%;
    padding-bottom:5%;
    text-align: center;
    background: #987c0c;
}

.thumbnails {
    margin-bottom: 10px;
}

.thumbnails img {
    width: 200px;
    margin-right: 5px;
    cursor: pointer;
}

.fullsize-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn,
.next-btn
{
    color: #fff;
    font-size: 25px;
    position: absolute;
    top: 86%;
  
    /* transform: translateY(-50%); */
    cursor: pointer;
   
    /* Ensure buttons are above the fullsize image */
}

.next-btn{
    margin-right: 25%;
}
.prev-btn{
    margin-left: 25%;
}


.next-img-btn,
.prev-img-btn {
    color: #fff089;
    font-size: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 6;
    /* Ensure buttons are above the fullsize image */
}

.close-btn {
    right: 20px;
    background-color: rgba(248, 127, 127, 0.5);
    /* Semi-transparent black background */
     padding: 5px 10px; 
     top: 5;
    /* Add some padding for better visibility */
}



.prev-btn {
    left: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
  
}


.next-btn
 {
    right: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
   
}


.prev-img-btn {
    left: 20px;
    background-color: rgba(67, 153, 67, 0.5);
    padding: 5px 10px;
  
}

.next-img-btn {
    right: 20px;
    background-color: rgba(67, 153, 67, 0.5);
    padding: 5px 10px;
   
}


.breadcrumbs {
    color: #ecf0f1;
    background: #9d0505;
    padding: 5px;
}

footer {
    position: fixed;
    bottom: 10px;
}

.ribbon {
    font-size: 30px !important;
    width: 50%;
    position: relative;
    background: #C40000;
    color: #c4c705;
    text-align: center;
    padding: .5em 1.5em;
    margin: 2em auto 3em;
}

.ribbon:before,
.ribbon:after {
    content: "";
    position: absolute;
    display: block;
    bottom: -1em;
    border: 1.5em solid #730303;
    z-index: -1;
}

.ribbon:before {
    left: -2em;
    border-right-width: 1.5em;
    border-left-color: transparent;
}

.ribbon:after {
    right: -2em;
    border-left-width: 1.5em;
    border-right-color: transparent;
}

.ribbon .ribbon-content:before,
.ribbon .ribbon-content:after {
    content: "";
    position: absolute;
    display: block;
    border-style: solid;
    border-color: #850b0b transparent transparent transparent;
    bottom: -1em;
}

.ribbon .ribbon-content:before {
    left: 0;
    border-width: 1em 0 0 1em;
}

.ribbon .ribbon-content:after {
    right: 0;
    border-width: 1em 1em 0 0;
}

.non-semantic-protector {
    position: relative;
    z-index: 1;
}

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

.row {
    padding-top: 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.article {
    margin-top: 20px;
}

.article img {
    max-width: 200px;
    /* Limit maximum width to 200px */
    height: auto;
    /* Maintain aspect ratio */
    margin: 5px;
    /* Add margin between images */
}