body{
  background-color: black;
}

.cedarville-cursive-regular {
  font-family: "Cedarville Cursive", cursive;
  font-weight: 400;
  font-style: normal;
}

h1{
  color: white;
  position: fixed;
  margin-top: -260px;
  margin-left: 40px;
  font-family: "Cedarville Cursive";
  font-size: 40px;
}

.h2{
  color: white;
  text-align: center;
  margin-left: 1200px;
  margin-top: -230px;
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: lighter;
  font-size: 20px;
  text-decoration: underline;
}


.about{
  text-align: left;
  text-decoration: none;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 200PX;
  position: fixed;
  font-weight: lighter;
  margin-left: 40px;
  font-size: 20px;

}

H4{
  color: white;
  margin-top: 200PX;
margin-left: 1260PX;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: lighter;
  font-size: 20PX;
  position: fixed;
}



.screen .popup-image{
  position: fixed;
  top: 0; left: 0;
  background: rgb(0, 0, 0,.7);
  height: 100%;
  width: 100%;
  z-index: 100;
  display: none;

}

.screen .popup-image span{
  position: absolute;
  top: 0; right: 20px;
  font-size: 60px;
  font-weight: 20;
  color: white;
  cursor: pointer;
  z-index: 100;
  display: block;
}

.screen .popup-image img{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  width: 500px;
  object-fit: cover;
}

@media (max-width: 768px){
  .screen .popup-image img{
    width: 95%;
  }
}

.container{
    display: grid;
    grid-template-columns: repeat(50,1vh);
    grid-template-rows: (5);
    column-gap: 200px;
    row-gap: 100px;
    justify-content: center;
    margin-left:  5170px;
    margin-top: 280px;

}

.card {
    width: 187px;
    height: 262px;
    perspective: 1000px;
    cursor: pointer;
  }
  
  .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
  }

  .card img{
    width: 500px;
  }


  
  .card:hover .card-inner {
    transform: rotateY(180deg);
  }

  .card-front src{

  }
  
  .card-front,
  .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
  }
  
  .card-front {

    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;

  }
  
  .card-back {
    color: red;
    transform: rotateY(180deg);
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
  }

  .popup-image .prev,
.popup-image .next {
  font-size: 60px;
  color: white;
  cursor: pointer;
  z-index: 101;
  user-select: none;
  padding: 10px;
}

.popup-controls {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 60px;
  z-index: 101;
}


.popup-controls .next {
  font-size: 40px;
  left: 80%;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease;
}


.popup-controls .prev {
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease;
}

.popup-controls .prev:hover,
.popup-controls .next:hover {
  transform: scale(1.2);
}

.popup-image .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 60px;
  color: white;
  cursor: pointer;
  z-index: 101;
}

