/* Styles already defined for mobile devices, typically max-width: 576px */
:root {
  scroll-behavior: smooth;
}

p{margin-top: 0.5rem !important;
margin-bottom: 0 !important;
}

body {
  font-family: "Roboto", sans-serif !important;
  font-optical-sizing: auto;
  color: #444444;
  background-color: #000;
  padding-top: 30px;
  width: 100%;
  font-size: 0.875rem;
  height: 100vh;
  background: url(../img/hero-bg.jpg) top center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.img-fluid{
  width: 100% !important;
  max-width: 250px !important;

  text-align: center;
}

.img-fluid500{
  width: 100% !important;
  max-width: 600px !important;
}
.overlay{
  background-color: rgba(147, 39, 60, 0.873);;
  width: 100%;
  border-radius: 20px;
  padding: 15px;
  align-self: self-end;
  text-align: center;
}

.overlay h1{
  color: #FFF;
  font-size: 6rem;
  margin-bottom: 0;
}

.overlay h2{
  color: #FFF;
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 0;
  font-weight:300;
}

.overlay h3{
  color: #FFF;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight:300;
  margin-bottom: -20px;
  margin-top: -20px;
}

.overlay h4{
  color: #FFF;
  font-size: 0.8rem;
  font-weight: 400;
}

.redeemCode {
  font-size: 1rem;
  padding: 0.5rem 3rem;
  font-weight: 400;
  border-radius: 1rem;
  background-color: rgb(61, 11, 23,0.8);
  color: rgb(2225, 255, 255);
  text-decoration: none;
  text-transform: uppercase;
  margin: 0 1rem;
  border: 0;
}

.btn-custom-large {
  font-size: 2rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 0.7rem;
  background-color: rgb(255,255,255);
  color: rgb(227, 57, 89);
  text-decoration: none;
  text-transform: uppercase;
  margin: 20px 0;
  border: 0;
}

.modal{
  font-family: sans-serif;
}

.modal .modal-dialog {
  max-width: 90%;
  margin: 1.75rem auto;
}

.link{ cursor: pointer;}

.terms-float{
  background-color: transparent;
  border: none;
  color: #FFFFFF;
}

@keyframes breath {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.30); /* Scale up slightly */
  }
}

.btn-breath {
  animation: breath 3s infinite; /* 3s duration, infinite repetition */
}

/* Small Devices (Tablets, 576px and up) */
@media (min-width: 576px) {
  body {
    padding-top: 80px; /* Adjusted for medium screens */
    font-size: 1rem; /* Increase font size slightly */
    background-position: center center;
    background-size: cover 100%; /* Maintain aspect ratio, height 100% */
  }

  .overlay {
    border-radius: 30px;
    padding: 20px;
  }

  .overlay h1 {
    font-size: 3rem;
  }

  .overlay h2 {
    font-size: 2rem;
  }

  .overlay h3 {
    font-size: 1.75rem;
  }

  .btn-custom-large {
    font-size: 2rem;
    padding: 0.75rem 1.5rem;
    border-radius: 1.5rem;
  }

  .modal .modal-dialog {
    max-width: 80%;
  }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) {
  body {
    padding-top: 20px; /* Original padding for larger screens */
    font-size: 1rem; /* Standard font size */
    background-position: center center;
    background-size: cover 100%; /* Cover height, auto width */
  }

  .overlay {
    border-radius: 35px;
    padding: 25px;
  }

  .overlay h1 {
    font-size: 8rem;
    font-weight: 600;
  }

  .overlay h2 {
    font-size: 2.5rem;
    font-weight: 300;
  }

  .overlay h3 {
    font-size: 2rem;
    font-weight: 300;
  }

  .overlay h4{
    font-size: 0.8rem;
    text-transform: uppercase;
  }

  .btn-custom-large {
    font-size: 2.5rem;
    padding: 1rem 2rem;
    border-radius: 1.75rem;
  }

  .modal .modal-dialog {
    max-width: 70%;
  }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) {
  body {
    padding-top: 30px; /* Consistent with larger screens */
    font-size: 1.125rem; /* Slightly larger font size */
    background-position: center center;
  }

  .overlay {
    border-radius: 40px;
    padding: 30px;
  }

  .overlay h1 {
    font-size: 5rem;
  }

  .overlay h2 {
    font-size: 2rem;
  }

  .overlay h3 {
    font-size: 2.5rem;
  }

  .overlay h4{
    font-size: 0.8rem;
    text-transform: uppercase;
  }

  .btn-custom-large {
    font-size: 2rem;
    padding: 1.25rem 2.5rem;
    border-radius: 2rem;
  }

  .modal .modal-dialog {
    max-width: 60%;
  }
}

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
  body {
    font-size: 1.25rem; /* Slightly larger for very large screens */
    background-position: center center;
  }

  .overlay {
    padding: 40px;
    width: 80%;
  }

  .overlay h1 {
    font-size: 8rem;
  }

  .overlay h2 {
    font-size: 2.5rem;
  }

  .overlay h3 {
    font-size: 3rem;
    font-weight: 400;
  }

  .overlay h4{
    font-size: 0.8rem;
    text-transform: uppercase;
  }

  .btn-custom-large {
    font-size: 3rem;
    padding: 0rem 1rem;
    border-radius: 0.8rem;
  }

  .modal .modal-dialog {
    max-width: 50%;
  }

  .count-box img{
    cursor: pointer;
    transition: all 0.5s ease-out;
  }

  .count-box img:hover {
    transform: scale(120%);
  }
}