body {
    font-family: Eurostile-demi;
    text-align: center;
}

h1 {
  margin: auto;
    text-align: center;
    font-size: 90px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: white;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 100vw;
    gap: 30px;
    justify-content: center; /* Centers the grid columns within the container */
    justify-items: center;
}

.grid-container-2 {
    display: grid;
    grid-template-columns: repeat(4, 200px); /* Three columns at 100px each */
    gap: 30px; /* Spacing between the columns */
    /* Calculate total width: (3 * 100px) + (2 * 10px) */
    width: calc(4 * 200px + 2 * 10px);
    margin: auto; /* Centers the container itself */
    margin-top: 15px;
    margin-bottom: 30px;
    justify-content: center; /* Centers the grid columns within the container */
    justify-items: center;
}

/* Grid Item Styling */
.grid-item {
    color: black;
    font-size: 20px;
    text-align: center;
}

@font-face {
    font-family: Eurostile-demi;
    src: url("../assets/fonts/Eurostile-Demi\ Demi.otf") format("opentype");
  }

.container {
    position: relative;
    width: 50%;
}

.image {
    /* aspect-ratio: 0.8; */
    display: block;
    width: 100%;
}

.container:hover .p1 {
  color: rgb(255,151,255);
}

a{
    color: black;
    text-decoration: none;
}

.active{
    color: rgb(255,151,255);
}

.card {
    position: absolute;
    left: 25vw;
    width: 50vw;
    height: 50vh;
    transition: 1s ease-in-out;
    display: flex;
    flex-direction: column;
  }
  
  .card span {
    font-weight: bold;
    color: black;
    text-align: left;
    display: block;
    font-size: 1.5em;
  }
  
  .card .info {
    font-size: large;
    color: black;
    display: block;
    text-align: left;
    font-size: 1 em;
  }
  
  .card .img {
    width: 4.8em;
    height: 4.8em;
    background: black;
    border-radius: 15px;
    margin: auto;
  }
  
  .card a {
    color: black;
    transition: .4s ease-in-out;
  }
  
  .card a:hover {
    color: rgb(255,151,255);
  }

.card li{
  color: black;
  text-align: left;
}

.container:hover{
  transition: .1s ease-in-out;
  transform: scale(1.1)
}

.card p{
  font-size: large;
  color: black;
  display: block;
  text-align: left;
  font-size: 1 em;
}

.rose:hover {
  color: rgb(255,151,255);
}

ul {
  padding-left: 10px;
}

/* Responsive: Mobile Layout */
@media (max-width: 767px) {
  .grid-container {
      display: flex;
      flex-direction: column;
      max-width: 100vw;
      overflow-x: auto;
      margin: 0 auto;
      align-items: center; /* Centers items horizontally */
  }

  .grid-container-2 {
      display: grid;
      grid-template-columns: repeat(4, 80px); /* Three columns at 100px each */
      gap: 10px; /* Spacing between the columns */
      /* Calculate total width: (3 * 100px) + (2 * 10px) */
      width: calc(4 * 80px + 2 * 10px);
      margin: 0 auto; /* Centers the container itself */
      align-items: center; /* Centers items horizontally */
  }

  .grid-item {
      min-width: 100%;
      font-size: 4vw;
      margin-bottom: 3vw;
  }
  .card {
    position: absolute;
    top: auto;
    left: auto;
    width: auto;
    height: 50vh;
    transition: 1s ease-in-out;
    display: flex;
    line-height: 1.2;
    flex-direction: column;
  }

  ul {
    padding-right: 10px;
  }

  h1  {
    font-size: 22vw;
  }
}