
.top-bar{
    position: relative;
}

.top-bar img{
    width: 100%;
    height: auto;
    /* max-width: 600px;  */
    max-height: 600px;
    display: block;
    /* margin-left: auto;
    margin-right: auto; */
    display: block;
}

.text-overlay {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* Set text color */
    font-size: 70px; /* Set text size */
    z-index: 1; /* Ensure the text is on top of the image */
    /* Add any other text styles as desired */
    text-align: center;
    font-weight: bold;
}

.row{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    padding-top: 5%;
}

.show_case{
    text-align: center; /* Horizontally center-align content */
    display: flex; /* Use flexbox for vertical centering */
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Vertically center-align content */
    align-items: center; /* Horizontally center-align content */
    /* padding: 15px; */
    margin: 30px;
}

.custom-image-continaer{
    position: relative;
    height: 350px;
    width: 350px;
    cursor: pointer;
    overflow: hidden;
}

.custom-image-continaer:hover .display{
    visibility: visible;
}

.custom-image-continaer img{
    height: 350px;
    width: 350px;
    transition: 0.5s ease;
}

.custom-image-continaer:hover img{
    transform: scale(1.1);
}


.display{
    position: absolute;
    top: 0; 
    right: 0; 
    bottom: 0; 
    left: 0;
    background-color: rgba(1, 18, 22, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    visibility: hidden;
    color: white;
    font-size: 100%;
}


.display a{
    color: white;
    text-decoration: none;
}

.text-description{
    height: 150px;
    width: 350px;
    text-align: left;  
}

.text-description h2{
    padding-top: 15px;
    font-size: 20px;
}

.text-description small{
    font-size: 10px;
    font-style: italic; 
    color: rgba(55, 55, 55, 0.7);
}



@media screen and (max-width: 960px) { 
    .centered-text{
        font-size: 4rem;
    }
    .row{
        display: grid;
        grid-template-columns: 1fr;
    }
}

.project-title{
    color: black;
    transition: color 0.3s, background-color 0.3s;
    text-decoration: none;
}

.project-title:hover{
    color: #1e7b8e; /* Text color on hover */
    background-color: transparent;
    text-decoration: none;
}
a{
    text-decoration: none;
}


@media screen and (max-width: 280px) {
    p.centered-text{
        font-size: 2.5rem;
    }

    p.row{
        width: 280px;
    }

    .custom-image-continaer img{
        padding: 25px;
        width: 280px;
    }

    .text-description{
        width: 280px;
        padding: 10px;
    }
}

@media screen and (max-width: 1024px){
    .show_case{
        margin: 10px;
        width: 40%; /* Set the desired width */
        max-width: 300px; /* Set a maximum width if needed */
        margin: auto; /* Center horizontally */
        height: auto;
        margin-bottom: 50px;
    }
    .custom-image-continaer img{
        width: 100%;
    }

    div.text-description{
        padding: 10px;
    }

}   

