html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  /* overflow: hidden; */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
}

:root {
  --main-width: 110rem;
}

/* Hide Scroll Bar */
body::-webkit-scrollbar {
  display: none;
}

body {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  overflow-y: scroll; /* Prevent margin collapse of child elements */
}

.first-salmon {
  text-decoration: underline;
  background-color: var(--bg-color-secondary);
  cursor: pointer;
  font-size: 40px;
}

/* Img box */
.hero-1 .img-box,
.hero-2 .img-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  position: absolute;
  width: 30rem;
  gap: 1.4rem;
  padding-top: 1.4rem;
  padding-left: 1.4rem;
}

.img--hero {
  width: 6rem;
  height: 6rem;
  cursor: pointer;
}

.img-text {
  font-size: 2.4rem;
  font-weight: 700;
  cursor: pointer;
}

.logo-and-name {
  display: flex;
  align-items: center;
  gap: 20px; /* Adjust the gap between logo and text as needed */
}

.calend {
  display: flex;
  align-items: center;
  text-decoration: none; /* Removes underline from anchor link */
}

.img-text {
  color: white; /* Ensure the font color is white or use the class already defining this color */
}

/* Alertbox */
.alert {
  height: 10rem;
  width: 50rem;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 20%);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure this is higher than the navbar's z-index */
}

.alert.hidden {
  display: none;
}

.alert-red {
  background-image: linear-gradient(90deg, #b21b20, #ba3236);
}

.alert-green {
  background-image: linear-gradient(90deg, #0ca678, #24af86);
}

.alert-text {
  font-size: 2.8rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Form */
/* .hero-1,
.hero-2 {
  background-color: #0a0a0a;
  color: #fff;
} */

.center-salmon-img {
  display: flex;
  align-items: center; /* Align vertically */
  justify-content: center; /* Align horizontally */
  position: relative;
  width: 100%; /* Adjust based on your design */
}

.hero-form {
  height: 0%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  width: 690px;
  z-index: 1;
}

/* .salmon-background {
  position: absolute;
  left: 259px;
  width: 65%;
  top: 324px; 
} */

.salmon-background {
  background-image: url('./img/background-salmon.webp');
  background-size: contain; /* Changes from 'cover' to 'contain' to ensure the entire image is visible */
  background-position: center; /* Centers the background image */
  background-attachment: scroll; /* Changes from 'fixed' to 'scroll' if needed to move with the content */
  background-repeat: no-repeat; /* Keeps the background image from repeating */
}
.hero--header {
  font-weight: 700;
  margin-bottom: 3.4rem;
}

.hero--header-1 {
  font-size: 6.8rem;
}

.hero--header-2 {
  font-size: 4.8rem;
}

/* .hero-2 .hero--header {
  font-size: 5.4rem;
} */

.hero--info {
  margin-top: -2.4rem;
  font-size: 2.2rem;
  font-weight: 500;
  opacity: 0.7;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-flexbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.8rem;
  margin-bottom: 3.4rem;
}

.form-input {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #fff;
  color: #fff;
  /* padding-bottom: 1rem; */
  font-size: 2.5rem;
  font-family: inherit;
  outline: none;
}

.formtwo {
  width: 20rem;
}

.formone {
  width: 30rem;
}

.form-input::placeholder {
  color: #fff;
  opacity: 0.7;
}

.form-input:focus {
  box-shadow: 0 0 0 0;
  outline: none;
}

.form-btn {
  color: #000;
  text-decoration: none;
  background-color: var(--bg-color-secondary);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.8rem;
  font-weight: 600;
  width: 20rem;
  margin: 0 auto;
  transition: opacity 0.2s linear;
  cursor: pointer;
  border: 0;
}

.form-btn:hover {
  opacity: 0.7;
}

.hidden {
  display: none;
}

@media (max-width: 62.5em) {
  .alert {
    width: 30rem;
  }
}

@media (max-width: 60em) {
  .alert {
    width: 35rem;
    transform: translate(-50%, 100%);
  }
}

@media (max-width: 26em) {
  .alert {
    transform: translate(-50%, 100%);
    height: 8rem;
  }
}

/* SPINNER */
.spinner-btn {
  text-decoration: none;
  height: 5rem;
  border-radius: 8px;
  font-size: 1.8rem;
  font-weight: 600;
  width: 27rem;
  margin: 0 auto;
  transition: opacity 0.2s linear;
  cursor: pointer;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #afacac;
  color: #737373;
  cursor: not-allowed;
}

.spinner {
  display: inline-block;
  border: 4px solid #fff;
  border-top: 4px solid #b21b20;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  animation: spin 0.5s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none;
}
