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

.main {
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0px 60px 0px;
}

.gallery {
    display: grid;
    width: 90%;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}

.gallery__item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease-in-out;
}

.gallery__item img:hover {
    transform: scale(1.1);
}

@media (max-width: 950px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/*Image modal*/

.modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.733);
    margin-top: -1px;
    animation: zoom 0.3s ease-in-out;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
.modal img {
    height: 100%;
    object-fit: cover;
}
.closeBtn {
    color: rgba(255, 255, 255, 0.87);
    font-size: 25px;
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.closeBtn:hover {
    color: rgb(255, 255, 255);
}
.wrapper {padding-block-start: calc(var(--section-padding) + 80px);}


/*VIDEO*/

  
  .kontener {
    background: var(--bg-oxford-blue-2);
    height: 450px;
    width: 1000px;
    display: flex;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
  }
  
  .kontener .video-list {
    position: relative;
    width: 20%;
    padding: 10px;
    padding-right: 0;
    overflow: auto;
  }
  
  .kontener .video-list video {
    width: 100%;
    height: 105px;
    object-fit: cover;
    padding: 10px;
    cursor: pointer;
  }
  
  .kontener .video-list video.active,
  .kontener .video-list video:hover {
    background: #1d1d1d;
    box-shadow: 0 0 0 4px #333 inset;
  }
  
  .kontener .main-video {
    width: 80%;
    padding: 10px;
  }
  
  .kontener .main-video video {
    width: 100%;
    height: 100%;
    padding: 10px;
    outline: none;
    background: #1d1d1d;
    box-shadow: 0 0 0 4px #333 inset;
  }