/* The grid: Four equal columns that floats next to each other */
.column {
    float: left;
    /*width: 25%;*/
    padding: 10px;
}

/* Style the images inside the grid */
.column img {
    /*opacity: 0.8;*/
    cursor: pointer;
}

.column img:hover {
    opacity: 1;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* The expanding image container */
.container {
    position: relative;
}

/* Expanding image text */
#imgtext {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 20px;
}

/* Closable button inside the expanded image */
.closebtn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

.big-image {
    width: inherit;
    position: absolute;
    top: 420px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.prev, .next {
     cursor: pointer;
     position: absolute;
     top: 50%;
     padding: 16px;
     margin-top: -22px;
     color: white;
     background: rgba(212, 84, 40, 0.65);
     border-radius: 50%;
     font-weight: bold;
     font-size: 18px;
     transition: 0.6s ease;
     user-select: none;
     text-decoration: none;
 }

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    background: var(--flame);
}
