a {
  text-decoration: none;
  color: inherit;
}

.flavors {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgb(184, 247, 184);
  width: 100%;
}

.flavorBanner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 45px;
}
.flavorBanner img {
  width: clamp(32px, calc(32px + (28 * ((100vw - 300px) / 250))), 60px);
  margin-left: 20px;
}
.flavorBanner h1 {
  color: #A50cf8;
  -webkit-text-stroke: 1px black; /* Outline width and color */
  font-weight: bold;
  font-size: clamp(32px, calc(32px + (28 * ((100vw - 300px) / 250))), 60px);
  margin-left: 15px;
  white-space: nowrap;
  position: relative;
  display: inline-block;
}

.flavorContainer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 1150px;
  padding-top: clamp(15px, calc(15px + (35 * ((100vw - 300px) / 250))), 50px);
  padding-bottom: clamp(15px, calc(15px + (35 * ((100vw - 300px) / 250))), 50px);
}

.flavorsMenuContainer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flavorsMenu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 30px;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: 0;
}
.flavorsMenu img {
  width: 100%;
}
.flavorsMenu p {
  display: inline-block;
  text-align: left;
  align-self: flex-start;
  width: 100%;
  font-size: clamp(12px, calc(12px + (12 * ((100vw - 300px) / 250))), 24px);
}

.flavorName {
  color: #1bfc54;
  font-size: clamp(24px, calc(24px + (26 * ((100vw - 300px) / 250))), 50px);
  font-weight: bold;
  margin-left: clamp(15px, calc(15px + (5 * ((100vw - 300px) / 250))), 20px);
  margin-right: 10px;
  margin-top: 10px;
  transition: 0.5s;
  margin-bottom: 0px;
  text-align: left;
  align-self: flex-start;
  margin-left: clamp(10px, calc(10px + (10 * ((100vw - 300px) / 250))), 20px);
  -webkit-text-stroke: 1px black; /* Outline width and color */
}
.flavorsMenu h1:hover {
  cursor: pointer;
  color: #A50cf8;
}
.flavorsMenu p {
  margin: 0;
  margin-left: clamp(15px, calc(15px + (5 * ((100vw - 300px) / 250))), 20px);
  font-size: clamp(15px, calc(15px + (9 * ((100vw - 300px) / 250))), 24px);
  overflow: hidden;
  box-sizing: border-box;
  padding-right: 20px;
}
.flavorsMenu ul {
  font-weight: normal;
  font-size: clamp(12px, calc(12px + (12 * ((100vw - 300px) / 250))), 24px);
  margin-bottom: clamp(10px, calc(10px + (10 * ((100vw - 300px) / 250))), 20px);
  margin-top: 10PX;
  padding-right: 20px;
  padding-left: clamp(25px, calc(25px + (15 * ((100vw - 300px) / 250))), 40px);

}
.flavorsMenu h2 {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 0;
  margin-top: 0;
}

.flavorsMenuContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.flavorsMenuEllipse {
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(130px, calc(130px + (100 * ((100vw - 300px) / 250))), 230px);
  height: clamp(32px, calc(32px + (18 * ((100vw - 300px) / 250))), 50px);
  background-color: #A50cf8;
  border-radius: 25px; /* Create rounded corners */
  font-weight: bold;
  color: black;
  cursor: pointer; /* Change the cursor to a pointer when hovered */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow around the ellipse button */
  transition: 0.5s;
  letter-spacing: 1px;
  gap: clamp(3px, calc(3px + (7 * ((100vw - 380px) / 170))), 10px);
  margin-bottom: 20px;
  margin-top: clamp(10px, calc(10px + (10 * ((100vw - 300px) / 250))), 20px);
}
.flavorsMenuEllipse h1 {
  font-size: clamp(12px, calc(12px + (4 * ((100vw - 300px) / 170))), 16px);
  color: #1bfc54;
  -webkit-text-stroke: 1px black; /* Outline width and color */
  white-space: nowrap;
  margin: 0;
  line-height: 1; /* Normalize line height */
  padding-left: 5px
}
.flavorsMenuEllipse:hover {
  background-color: #1bfc54;
}
.flavorsMenuEllipse:hover h1 {
  color: #A50cf8;
}
.flavorsMenuEllipse:hover .rightArrowDefault1 {
  opacity: 0;
  display: none;
}
.flavorsMenuEllipse:hover .rightArrowHover1 {
  opacity: 1;
  display: inline-block;
}

.flavorsMenuEllipse .rightArrowDefault1 {
  width: clamp(15px, calc(15px + (15 * ((100vw - 300px) / 250))), 30px) !important;
  height:  clamp(15px, calc(15px + (6 * ((100vw - 300px) / 250))), 30px);
  display: inline-block;
  transition: opacity 0.3s ease-in-out;
}

.flavorsMenuEllipse .rightArrowHover1 {
  width: clamp(15px, calc(15px + (15 * ((100vw - 300px) / 250))), 30px) !important;
  height:  clamp(15px, calc(15px + (6 * ((100vw - 300px) / 250))), 30px);
  display: none;
  transition: opacity 0.3s ease-in-out;
}

.arrozConLeche, .PBCC, .bananaCream, .berryChantilly, .carrotCake, .CCCS,
.chocolateCoveredAlmond, .chocolateCoveredStrawberry, .chocolateHazelnut, .chocolateLovers,
.coconutCream, .cookiesAndCream, .lemonDrop, .peanutButter, .pinaColada, 
.pistachioCardamon, .redVelvet, .smores, .tiramisu, .turtle  {
  background-color: #e8bdff;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.arrozConLeche:hover, .babyRuth:hover, .bananaCream:hover, .berryChantilly:hover, 
.carrotCake:hover, .CCCS:hover, .chocolateCoveredAlmond:hover, .chocolateCoveredStrawberry:hover, 
.chocolateHazelnut:hover, .chocolateLovers:hover, .coconutCream:hover, .cookiesAndCream:hover,
.lemonDrop:hover, .payday:hover, .pinaColada:hover, .pistachioCardamon:hover, 
.redVelvet:hover, .smores:hover, .turtle:hover, .twix:hover, .tiramisu:hover {
  cursor: pointer;
}


@media screen and (max-width: 1200px) {

  .flavorContainer {
    width: 95vw;
  }
  .backToTop {
    width: 100%;
  }
}

@media screen and (max-width: 1120px) {
  .flavorsMenu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 2.5vw;
    }
}

@media screen and (max-width: 760px) {

  .modalContent {
    justify-content: flex-start;
    height: auto;
  }

  .galleryContainer {
    flex-direction: column-reverse;
    justify-content: flex-start;
  }

  .mainImageDisplay {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0;
    height: 50%;
    max-width: 100%; /* Good safeguard */
    max-height: 100%; /* Good safeguard */
  }

  .thumbnailsContainer {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    flex: 0;
  }
}

@media screen and (max-width: 374px) {
    .flavorsMenuEllipse .rightArrowDefault1 {
    display: none;
  }

    .flavorsMenuEllipse .rightArrowHover1 {
    display: none;
  }
}
