main{
    padding-left: 4%;
    padding-right: 4%;
    padding-top: 1%;
}

/*|| Featured Banner*/
.featured{
    height: 60vh;
}

.featured:hover{
    cursor: pointer;
}
.featured:hover .shadow-pop-tr{
    cursor: pointer;
    -webkit-animation: shadow-pop-tr 0.3s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
    animation: shadow-pop-tr 0.3s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}

.featured .image-container{
    height: 100%;
    background-image: url(../images/sixerr.jpeg);
    background-position: 0% 10%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);

}
.featured .featured-heading{
    color: white;
    

    font-size: 2.4rem;
    position: absolute;
    text-shadow: 2px 2px 3px black;
    left: 2%;
    padding:10px;

}

.featured #featured-text{
    position: absolute;

    bottom:0px;
    right:0;
    width: minmax(200px, 20%);
    border-radius: 25% 10%;
    padding-right: 20%;
}

h1.main-header{
    color:white;
    text-shadow: 2px 2px 3px black;
}

/*|| Projects */
.project{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: minmax(300px, auto);
    gap: 20px;
    margin-bottom: 10vh;

}

.project .thumbnail{
    padding:10%;
    color:white;
    background-color: black;

    background-position: 75% 10%;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: none;
    transition: transform 0.2s ease 0s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);

}

.project .thumbnail:hover{
    cursor: pointer;
    transform: translateY(-5px);
}

p.thumbnail-text{
    background-color: black;
    color: white;
    padding:2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project b.heading{
    font-weight: 700;
}

.project b.subtext{
    font-weight: 200;
}


/* || Project Detail Pages */
#blur-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
}

.project-details {
    display: none;
    position: fixed;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    padding-left: 5%;
    padding-right: 5%;
    background-color: #D9D9D9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    height:93vh;
    width: 85vw;
    overflow: auto;
}
h1.project-detail-heading{
    color:black
}
img{
    height: 30%;
    width: 30%;
}
.project-details .close{
    background-color: red;
    color:white;
    font-size: 1.2rem;
    border-radius: 100px;
    height: 30px;
    width: 30px;
    position: fixed;
    top:10px;
    right:20px;
}

.close:hover{
    cursor: pointer;
}

.project-details .link-container {
    display: flex;
}

.button-thumbnail{
    height:100%;
    width:20px;
    background-repeat: no-repeat;
    background-size: 100%;
}

a.project-link{
    color: black;
    background-color: white;
    height: 30px;
    width: 100px;
    padding:5px;
    border: 2px solid black;
    border-radius: 30px;
    background-color: white;
    display: flex;
    text-decoration: none; 
    font-size: .9rem;
    margin-left:5px;
}

.caption{
    position:absolute;
    color: white;
    background-color: rgba(0,0,0,.5);
    width: 100%;
    padding: 10px;
    bottom: 0px;
    font-size: .8rem;
    text-align: center;
    visibility: hidden;

}

/*|| Image Gallery*/
.gallery{
    height:63%;
    width:100%;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0%);
    background-color: black;
}

.gallery:hover .caption{
    visibility: hidden;
}

.gallery-image{
    display: none;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.hide{
    display: none;
}

/*Added to classlist of the image currently visible for a specific project*/
.gallery:hover .show-caption{
    visibility: visible;
}

.show{
    display: block;
}

.navigation {
    display: flex;
    justify-content: center;
    margin-top: 5px;


}
.dots{
    display: flex;
    
}
.dot{
    background-color: gray;
    margin: 5px;
    margin-top:8px;
    border: 2px black solid;
    height: 5px; 
    width: 5px;
    padding: 3px;
    border-radius: 100px;
}

.blue{
    background-color: blue;
}

.directional-button{
    color:white;
    background-color: gray;

    font-size: 1rem;
    font-weight: 300;
    border-radius: 100px;
}

.directional-button:hover{
    cursor: pointer;
    
}

a.inline-link{
    color:black ;
}

a.inline-link:hover{
    color:purple ;
}

  
/*|| Media Queries*/

@media (width <= 800px) {
    .project-details{
        padding: 0px;
    }
    .project-details p{
        padding-left: 5%;
        padding-right: 5%;
    }
    .project-details ul{
        padding-left: 10%;

    }
    .project-details .link-container{
        padding-left: 5%;

    }
    .project-details h1{
        padding-left: 5%;
    }

}

@media (width >= 1750px) {
    .caption{
        font-size: 1.1rem;
    }

}

@media (width <= 640px) {
    .project-details{
        width: 100vw;
    }
    .project-details .close{
        top:5px;
        right:5px;
    }

    .show-caption{
        visibility: visible;
    }



}



  