@import "./Web_Color.css";

body{
    background: url(../Assets/Imges/BackgroundAttachments/background_attachment3.webp);
    background-repeat:round;
    /* background-size: cover; */
}

h1{
    color: var(--main-Color-bg-2);
    margin: 0 0 100PX 0;
    background-color: var(--main-Color-bg);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Gallery{
    width: 90%;
    margin: auto;
}

.Gallery p{
    background-color: var(--main-color-secondary-1);
    color: var(--main-color-secondary-3);
    padding: 10px;
    font-size: 24px;
    font-weight: bolder;
    font-style: italic;
    margin: 20px 0;
}


.innerGallery{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    grid-gap: 20px 30px;
    margin: 0px auto 50px auto;

}


.innerGallery>div{
    height: 280px;
}

.innerGallery>div img{
    width: 100%;
    height: 100%;
    border: 5px solid white;
    box-shadow: 3px 2px 5px 2px black;
    transition: .1s ease;
}

.innerGallery>div img:hover{
    transform: scale(1.15);
}


@media screen and (max-width:1366px){
    .innerGallery{
        grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    }

    .innerGallery>div{
        height: 200px;
    }
}

@media screen and (max-width:512px){
    .innerGallery{
        grid-template-columns: repeat(auto-fit,minmax(100px,1fr));
    }

    .innerGallery>div{
        height: 100px;
    }

    .innerGallery>div img{
        border: 2px solid white;
    }
    
}

.popup-img{
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(23, 59, 83, 0.486);
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
}

.popup-img span{
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 60px;
    font-weight: bolder;
    color: white;
    cursor: pointer;
    
}

.popup-img img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid white;
    border-radius: 5px;
    width: 750px;
    height: auto;
    object-fit: cover;
}

@media screen and (max-width:768px){
    .popup-img img{
        width: 95%;
    }
}