body {
    height: 100vh;
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: #000000;
}
.header {
    width: 100%;
}
.navv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 8rem 0 7rem;
}

.spinner-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;   /* slightly larger than the image */
  height: 40px;
}

.center-image {
  position: relative;
  z-index: 2;
  border-radius: 50%;
}

.spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-top: 2px solid  rgb(205, 237, 179); /* spinner color */
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  z-index: 1;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.project-background {
    height: fit-content;
    margin: 0;
    padding: 3rem 8rem 0 7rem;
    overflow: hidden;
}
.main-project-lay {
    background-color: #000000;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 1400px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: rgb(205, 237, 179);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.project-card .image-container {
    width: 100%;
    aspect-ratio: 3 / 1.5;
    overflow: hidden;
    border-radius: 20px;
}
.project-card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.project-card p {
    font-size: 0.6rem;
    padding-top: 0.5rem;
    text-align: center;
    white-space: nowrap;
}
.socials {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}
.socials a{
    text-decoration: none;
    color: rgb(205, 237, 179);
}
@media (max-width: 800px) {
   .project-card p {
        font-size: .3rem;
    }
    .project-grid {
        gap: .5rem;
    }
}

@media (max-width: 600px) {
    .navv {
        padding-right: 5rem;
        padding-left: 5rem;
    }

    .project-background {
        padding-right: 5rem;
        padding-left: 5rem;
    }
}


@media (max-width: 450px) {
    .navv {
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .project-background {
        padding-right: 2rem;
        padding-left: 2rem;
    }
    .project-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    }
}