/* ================ header ==================== */

header .container .header-top{
    display: none;
}

/* ================ details ==================== */
#details{
    position: relative;
    overflow: hidden;
}
#details img{
    height: auto;
    width: 100%;
    object-fit: cover;
    transition: all 0.2s ease-in-out;
}
#details img:hover{
    filter: brightness(0.8);
}
#details .project-title h1{
    font-size: var(--h1-font-size);
    font-weight: var(--font-medium);
    color: var(--title-color);
}
#details .det{
    padding-left: 20px;
    padding-right: 20px;
}
#details .short-desc{
    font-size: var(--normal-font-size);
    font-weight: 100;
    color: var(--text-color);
    margin-top: 20px;
}
#details .info{
    color: var(--text-color);
    font-weight: var(--font-medium);
    font-size: var(--normal-font-size);
}
#details .info ul li{
    display: flex;
    padding: 10px 0px;
}
#details .info ul li>div{
    min-width: 150px;
    display: flex;
    margin-left: 5px;
    justify-content: space-between;
    word-wrap: anywhere;
}
#details .description{
    font-size: var(--normal-font-size);
text-align: justify;
/* padding: 10px 89px 10px 10px; */
/* width: 90%; */
color: var(--text-color-light);
}

.location-link a{
    padding:5px 10px;
    border: 2px solid black;
    width: 100%;
    border-radius: 50px;
    color: black;
    transition: all 0.3s ease;
}
.location-link a:hover{
    background:black;
    color: white;
}
.location-link a::after{
    content: 'Maps';
    margin-left: 20px;
}
/* ================ Gallery ==================== */
.gallery{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 1.5rem;
}
.gallery .g-img{
    height: 400px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 2px 3px 5px rgba(0, 0, 0,0.15);
    position: relative;
}
.gallery .g-img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 0.4s ease-in-out;
}
.gallery .g-img::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 5px;
    transform: scale(0.7);
    opacity: 0;
    background: linear-gradient(var(--first-color),var(--red));

    transition: all 0.5s ease-in-out;
}
.gallery .g-img:hover::after{
    transform: scale(1);
    opacity: 0.3;
}
.gallery .g-img:hover img{
    filter: blur(2px);
}
.gallery .g-img a{
    padding: 20px 25px;
    position: absolute;
    /* top: 50%; */
    left: 50%;
    transform: translate(-50%);
    background:var(--container-color);
    border-radius: 50%;
    /* z-index: 1; */
    opacity: 0;
    bottom: 0;
    font-size: var(--h3-font-size);
    color: var(--title-color);
    transition: all 700ms ease-in-out;
}
.gallery .g-img:hover a{
    z-index: 1;
    opacity: 1;
    bottom: 45%;
}
.gallery .g-img:hover a:hover{
    background: var(--first-color-alt);
    color: var(--white);
}


/* ===============media quries================= */

@media screen and (max-width:500px){
    #details .info ul li>div{
        min-width: 100px;
    }
    .gallery{
        grid-template-columns: repeat(1,1fr);
    }
   
      
}
@media screen and (max-width:700px){
 
    .gallery{
        grid-template-columns: repeat(2,1fr);
    }
}
@media screen and (max-width:775px){
 
    #details .container .row .col .det{
        margin-top: 15px;  
        padding:0 10px;

  }
}