/* *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

*:focus{
    outline: none;
}


/* body{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ff7a2d;
    font-family: 'roboto', sans-serif;
} */

/* .gallery{
    width: 80%;
    height: 90vh;
    max-width: 1600px;
    max-height: 800px;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}

.gallery-image{
    width: 30%;
    height: calc(50% - 20px);
    min-width: 300px;
    min-height: 200px;
    margin: 10px;
    overflow: hidden;
} */
.image{
    width: 800px;
}
.image:hover{
    cursor: pointer;
    /* width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s; */
}


/* .popup.image1{
    justify-content: center;
    align-items:center;
    z-index: 5;
} */
/* popup */

.popup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 70%;
    max-width: 1600px;
    height: 70vh;
    max-height: 800px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    overflow: hidden;
    transition: 1s;
    opacity: 0;
}

.image1{
    cursor: pointer;

}




/* @media only screen and (max-width : 1400px) {
    .popup{
        height: 600px;
        width: 950px;
    }
} */
 

@media only screen and (min-width : 375px) {
    .popup{
        height: 350px;
        width: 350px;
    }
    .arrow-btn{
        height: 30px;
        width:60px;
        size: 4px;
        margin-left: 25px;
        /* margin-top: 2px; */
    }

}


@media only screen and (min-width : 592px) {
    .popup{
        height: 550px;
        width: 850px;
    }
}

@media only screen and (max-width : 600px) {
    .popup{
        height: 450px;
        width: 400px;
    }
}


/* @media only screen and (max-width : 1920px) {
    .popup{
        height: 500px;
        width: 850px;
    }
} */


.popup.active{
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.popup.active .close-btn,
.popup.active .image-name,
.popup.active .index,
.popup.active .large-image,
.popup.active .arrow-btn{
    opacity: 1;
    transition: opacity .5s;
    transition-delay: 1s;
}

.top-bar{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    /* background: #000;
    color: #fff; */
    text-align: center;
    line-height: 50px;
    font-weight: 300;
}

/* .image-name{
    opacity: 0;
} */

/* .imageph:hover{
    cursor: pointer;
    display: block;
} */

.close-btn{
    opacity: 0;
    position: absolute;
    top: 15px;
    right: 20px;
    width: 20px;
    height: 20px;
    size: 20px;
    /* border-radius: 50%; */
    /* background: white; */
    cursor: pointer;
}

.arrow-btn{
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    border-radius: 50%;
    border: none;
    background: none;
    cursor: pointer;
}

.left-arrow{
    left: 10px;
}

.right-arrow{
    right: 10px;
    transform: translateY(-50%) rotate(180deg);
}

.arrow-btn:hover{
    background: rgba(0, 0, 0, 0.5);
}

.index{
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 80px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0;
}

.large-image{
    margin-top: 5%;
    width: 80%;
    height: 80%;
    object-fit: contain;
    opacity: 0;
}

