 @import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto+Slab&display=swap');

 p,h1,h2,h3,h4,h5.h6, span, a {
     font-family: "Noto Sans", sans-serif;
    }
    
    body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
}

a { text-decoration: none;}
header {
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.info-content {
padding: 2.5em;
}

.logo img {
    max-width: 100px;
}

.info-link a {
    text-decoration: none;
    color: #000000;
}

main {
    padding: 20px;
    display: flex;
    justify-content: center; /* Center the grid horizontally */
}
.grid-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}
.grid-item {
    margin: 10px;
    width: 25vw;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; /* Add position relative to create stacking context */
    background-size: cover;
    background-position: center;
    height: 50vh; /* You can adjust this height as needed */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0;
    transition: opacity 3s ease;
    z-index: 1;
}

.title {
    text-decoration: none;
    color: black;
    font-size: 2em;
    opacity: 0; /* Initially hide the title */
    transition: opacity 3s ease; /* Add a smooth transition effect */
    z-index: 2; /* Ensure the title is above the overlay */
    font-family: "Noto Sans", sans-serif;
}

.grid-item:hover .title {
    opacity: 1;
}

.grid-item:hover .overlay {
    opacity: 0.9;
}

/* For smaller screens */
@media (max-width: 768px) { /* Adjust the breakpoint as needed */

    .grid-item {
        width: 100%;
    }
    
}
