.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    z-index: 3;
}

.popup-content {
    text-align: center;
    position: absolute;
    transition: background-image 0.3s ease-in-out; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; 
    height: 80%;
    background-size: contain;
    object-fit: cover;
    background-repeat: no-repeat;
    background-position: center;
    animation: fadeInAnimation 0.3s ease-in-out forwards;
}


.popup .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
    transition: .3s ease-in;
}

.popup .close-btn svg{
  width: 40px;
  height:40px;
}
.popup .close-btn:hover{
  background: #FCD406;
}
.popup .close-btn svg:hover path,.popup .prev:hover path,
.popup .next svg:hover path {
  fill: #000;
}
.popup .prev,
.popup .next {
    cursor: pointer;
    user-select: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    outline:2px solid #FCD406;
    background: #000;
}
.popup .prev svg:hover,
.popup .next svg:hover{
  background: #FCD406;
  outline: none;
}

.popup .prev svg, .popup .next svg {
  width: 50px;
  height: 50px;
  color: #FCD406;
  transition: .3s ease-in;
}
.popup .prev {
    left: 20px;
}
.popup .next {
    right: 20px;
}
@media (max-width:767px) {
  .popup .prev {
    left: -10%;
}
.popup .close-btn{
  right:10px;
}
.popup .next {
    right: -10%;
}

.popup .prev svg, .popup .next svg {
  width: 40px;
  height: 40px;
}
.popup .close-btn svg{
  width: 30px;
  height:30px;
}
}