.gallery {
    display: flex;
    justify-content: start;
}

.gthumbnails img {
    width: 75px;
	height: 50px;
    margin: 0 5px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    /*border: 2px solid #06A3DA;*/
    border-radius: 4px;
}

.gthumbnails img:hover {
    transform: scale(0.8) rotate(-10deg);
    transition: .3s;
    shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.gmodal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    justify-content: center;
}

.gmodal-content {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: block;
    margin-top:50px;
    display: flex;
    flex-direction: column;
    border: 10px solid #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.gmodal-content img {
    max-width: 100%;
    max-height: 100%;
}

.gmodal-close {
    color: white;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 35px;
    cursor: pointer;
}

.gmodal-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.gprev, .gnext {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
}

.gprev:hover, .gnext:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
