.section1{
  background-image: url("https://cdn.glitch.global/449459a3-e84d-4ba6-971d-d6471b301fea/Screenshot%202024-07-14%20at%206.40.16%E2%80%AFPM.png?v=1721000574992");
}

/*Image Carousel Landscape*/
.imageCarousel{
  display: grid;
  height: fit-content;
  width: 90vw;
  margin: 2% 5%;
  padding: 2%;
  border-radius: 24px;
  border: 2px solid var(--primary);
  grid-template: 1fr / 3fr 5fr;
  grid-template-areas: "lefty righty";
  background: white;
  grid-gap: 5vw;
  cursor: pointer;
}
.carouselImage{
  grid-area: righty;
  height: 100%;
  aspect-ratio: 5/3;
  background-image: url("https://cdn.glitch.global/449459a3-e84d-4ba6-971d-d6471b301fea/VPECI1.avif?v=1722405901456");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center; 
  border-radius: 24px;
  border: 1px solid var(--primary);
  color: white;
}
.carouselNextButton{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  font-size: 1.75vw;
  transition: 0.17s;
  border: 2px solid var(--primary);
  border-radius: 24px;
  color: white;
  background: #121212;
  padding: 1.5vw 5vw;
}
.carouselText{
  grid-area: lefty;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: space-between;
  width: 100%;
  height: 100%;
  color: #121212;
}
.carouselTitle{
  display: inline;
  font-size: 3.5vw;
  font-weight: 750;
  text-wrap: wrap;
}
.carouselDescription{
  font-family: "Source Sans 3", system-ui, sans-serif;
  margin: 10px 0px;
  font-size: 2vw;
  line-height: 3.25vw;
}

/* Portrait device optimization */
@media (orientation: portrait){
  /*Carousel Optimization*/
  .imageCarousel{
    display: flex;
    flex-direction: column;
    width: 90%;
    padding: 0px;
    background: white;
    border: 1px solid var(--primary);
    border-radius: 24px;
    margin: 10% 5%;
  }
  .carouselText{
    align-items: center;
    text-align: center;
    padding: 0% 5% 5% 5%;
  }
  .carouselTitle{
    display: block;
    font-size: 6vw;
    margin: 0px;
  }
  .carouselDescription{
    font-size: 12px;
    line-height: 4vh;
    margin: 5vw 0px;
  }
  .carouselNextButton{
    font-size: 12px;
  }
}