.hero-section {
  width: 100%;
  height: 47vw;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.next-button, .prev-button {
    position: absolute;
    width: 3vw;
    height: 3vw;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    border-radius: 1000px;
    font-size: 1vw;
    z-index: 3;
    opacity: 0.5;
}

.next-button {
  right: 5vw;
}

.prev-button {
  left: 5vw;
}

.hero-background{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(var(--secondaryColorRgb), 0.15), rgba(var(--secondaryColorRgb), 0.15)), url("/images/heroSection/hero-image-background.webp");
  box-shadow: inset 0 0 5vw 5vw #00000060;
  background-position: 50% 90%;
  background-size: cover;
  filter: brightness(1.2);
}

.hero-background1{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(var(--secondaryColorRgb), 0.15), rgba(var(--secondaryColorRgb), 0.15)), url("/images/heroSection/hero-image-background1.webp");
  box-shadow: inset 0 0 5vw 5vw #00000060;
  background-position: 50% 90%;
  background-size: cover;
  filter: brightness(1.2);
}

.hero-info-container{
  width: 35%;
  height: max-content;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  position: absolute;
  left: 53vw;
  top: 30vw;
}

.hero-info-title {
  color: var(--tertiaryHeadingColor);
  font-family: var(--headingFont);
  font-weight: 900;
  font-size: 3.8vw;  
  text-shadow: 0 0 1vw #00000080;
  margin: 0;
  margin-bottom: 1vw;
  align-self: flex-end;
}

.hero-info-paragraph {
  color: var(--primaryColor);
  font-family: var(--headingFont);
  font-weight: 700;
  font-size: var(--subheadingFontSize);
  text-shadow: 0 0 0.5vw #000000;
  width: 80%;
  margin: 0;
}

.hero-info-subtitle {
  color: var(--primaryColor);
  font-family: var(--headingFont);
  font-weight: 600;
  font-size: var(--paragraphFontSize);
  text-shadow: 0 0 1vw 0 #00000080;
  margin: 0;
  margin-bottom: 1vw;
  display: none;
  align-self: flex-end;
}

.hero-span-title{
  color: var(--quinticColor);
}

.hero-action-container{
  width: max-content;
  height: max-content;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  height: auto;
}

.hero-action-button{
  border: 0;
  width: 12vw;
  height: max-content;
  background-color: var(--quinticColorTheme);
  color: var(--tertiaryHeadingColor);
  font-family: var(--headingFont);
  font-size: var(--subheadingFontSize);
  font-weight: 900;
  border-radius: 0.2vw;
  padding: 1vw 1.4vw;
  outline: none;
  margin-left: 2vw;
  margin-top: 10px;
}

@keyframes fadeInBackground{
  0% {background-color: #000000ff;}
  5% {background-color: #000000ce;}
  10% {background-color: #00000033;}
  15% {background-color: #00000060;}
  20% {background-color: #00000000;}
  100% {background-color: #00000000;}
}

@media(max-width: 672px){
  .hero-section {
    height: 130vw;
  }
  
  .next-button, .prev-button{
    position: absolute;
    width: 10vw;
    height: 10vw;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    border-radius: 1000px;
    font-size: 3vw;
    z-index: 3;
    opacity: 0.5;
  }
  
  .next-button{
      right: 10vw;
  } 
  
  .prev-button{
      left: 10vw;
  }
  
  .hero-background{
    background: linear-gradient(to right, rgba(var(--secondaryColorRgb), 0.15), rgba(var(--secondaryColorRgb), 0.15)), url("/images/heroSection/hero-image-background-mobile.webp");
    box-shadow: inset 0 0 10vw 10vw #00000060;
    background-position: center;
    background-size: cover;
  }
  
  .hero-background1{
    background: linear-gradient(to right, rgba(var(--secondaryColorRgb), 0.15), rgba(var(--secondaryColorRgb), 0.15)), url("/images/heroSection/hero-image-background-mobile1.webp");
    box-shadow: inset 0 0 10vw 10vw #00000060;
    background-position: center;
    background-size: cover;
  }
  
  .hero-info-container{
    width: 100%;
    box-sizing: border-box;
    padding: 0 5vw;
    top: 87vw;
    left: 0;
  }
  
  .hero-info-title {
    width: 100%;
    font-size: var(--superheadingFontSize);
    text-shadow: 0 0 4vw #000000f0;
    margin-bottom: 0;
    text-align: center;
  }
  
  .hero-info-paragraph {
    width: 100%;
    font-size: var(--subheadingFontSize);
    text-shadow: 0 0 2vw #000000;
    text-align: center;
  }
  
  .hero-info-subtitle {
    width: 100%;
    font-size: var(--paragraphFontSize);
    text-shadow: 0 0 4vw 0 #000000f0;
    margin-bottom: 0;
    text-align: center;
  }
  
  .hero-action-container{
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    flex-direction: column;
  }
  
  .hero-action-button{
    font-size: var(--subheadingFontSize);
    border-radius: 0.4vw;
    padding: 3vw 3.8vw;
    margin-right: 0vw;
    margin-top: 4vw;
    width: 34vw;
  }



}