@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300&family=Roboto+Mono:wght@300;500&display=swap');

html
{
scroll-behavior: smooth;
}
.page-color
{
background-color: #e2e2e2;
}

.space{
    padding-top: 150px;
}
.front-title
{
text-align: center;
justify-content: center;
}
h1,h2,h4
{
font-family: 'Roboto Mono', monospace;
}
.h1-border
{
display: inline-block;
padding: 5px;
font-family: 'Roboto Mono', monospace;
background-color: lightblue;
}
h5
{
font-family: 'Nunito', sans-serif;
}
nav a
{
color: #26465f !important;
}
.web-container{
    display: flex;
    align-items: flex-start; /* Align items to the top */
    gap: 24px; /* Space between image and text */
    margin-bottom: 48px;
}
.web-photo-img{
    width: 60%;
}
.web-text-wrap{
    width: 40%;
    top: 50px;
    position: sticky;
}
.web-color-bgr
{
min-width: 400px;
width: 40vw;
height: auto;
background-color: #b95461;
}
.web-color-bgr2
{
min-width: 400px;
width: 40vw;
height: auto;
background-color: #dd5c50;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 250px;
    transition: transform 0.3s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 100%;
    padding: 10px;
    text-align: center;
}
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 50%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    padding: 12px;
    background-color: white;
    cursor: pointer;
    border: none;
}
.link-box
{
display: inline-block;
border: 1px solid black;
background-color: transparent;
text-align: center;
color: black;
padding: 8px 12px;
font-size: 12px;
text-decoration: none;
margin-top: 8px;
margin-bottom: 8px;
}
.link-box:hover
{
cursor: pointer;
color: black;
}
.title
{
text-align: center;
}
.image-slider-container {
    width: 100%;
    overflow-x: auto;  /* Enables horizontal scrolling */
    white-space: nowrap;
    padding: 24px 0;
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
}
.image-slider {
    display: flex;
    gap: 32px; /* Adds spacing between images */
}
.image-slider img {
    height: 250px; /* Adjust height as needed */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
}

footer p
{
color: #26465f !important;
}


@media (max-width: 992px) {
  .web-container {
    flex-direction: column;
    text-align: left;
    gap: 15px;
  }
  
  .web-photo-img {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .web-text-wrap {
    width: 100%;
    position: relative;
    top: 0;
  }
  
  .modal-content {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .space {
    padding-top: 80px;
  }
  
  .project-grid {
    grid-template-columns: 1fr;
  }
  
  .image-slider img {
    height: 200px;
  }
}