* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:root {
    font-size: 10px;
}

body {
    /* background-color: rgb(249, 179, 179); */
    background-image: url("images/concrete-1646788_640.jpg");
    background-size: 100%;
}

.galleryContainer {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.galleryContainer__title {
    padding: 10px;
    margin: 10px auto;
    background-color: white;
    border: 1px solid black;
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-items: center;
}

.gallery__picture {
    position: relative;
    width: 300px;
    height: 300px;
    cursor: pointer;
    border: 3px solid #6B8BAC;
    -webkit-box-shadow: 0 0 2px 4px black;
    box-shadow: 0 0 2px 4px black;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.gallery__picture:hover {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.gallery__picture img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 90%;

    border-radius: 10px;
}

.unvisible {
    display: none;
}

/* ------------------------------------------------------ */
.lightBox {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    border-radius: 10px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.2);
    width: 90%;
    height: 80%;
}

.lightBox.active {
    display: block;
}

.lightBox__arrow {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 100%;
    width: 50%;
    padding: 0 80px;
    border: none;
    border-radius: 5px;
    background-color: transparent;
    font-size: 5rem;
    color: brown;
    cursor: pointer;
}

.lightBox__arrow--right {
    right: 0px;
    text-align: right;
}

.lightBox__arrow--left {
    left: 0px;
    text-align: left;
}

.lightBox img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

.lightBox__close {
    position: absolute;
    display: block;
    top: -30px;
    right: -30px;
    height: 40px;
    width: 40px;
    border: 2px solid brown;
    border-radius: 50%;
    background-color: transparent;
    font-size: 2rem;
    color: brown;
    cursor: pointer;
}

.lightBox__info {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 20px;
    border: 2px solid white;
    padding: 10px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 2rem;
    color: white;
}

@media(min-width:680px) {
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media(min-width:1024px) {
    body {
        background-image: url("images/concrete-1646788_1920.jpg");
        background-size: 100%;

    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(min-width:1366px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}