:root {
  --primary-bg: #9400d3;
  --disabled-bg: #a7a7a7;
  --header-color: #00c0f5;
  --link-color: #8a2be2;
  --voucher-code: #9400d3;
}

@font-face {
  font-family: "Lato";
  src: local("Lato"), local("Lato"),
    url("../fonts/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Lato", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url("../img/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow-y: auto;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-color: rgba(0, 0, 0, 0.1); */
  z-index: -1;
}

code {
  color: black;
  font-size: 1.25rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-bg);
}

a {
  color: var(--link-color);
}

a:active {
  /* background-color: var(--primary-bg) !important; */
}

i {
  color: #4a4a4a;
}

input[type="input"],
input[type="submit"],
button {
  background-color: var(--primary-bg) !important;
  color: white !important;
  border: none !important;
  border-radius: 25px !important;
  padding: 10px 25px !important;
  transition: all 0.3s ease !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}

input[type="input"]:disabled,
input[type="submit"]:disabled,
button:disabled {
  background-color: var(--disabled-bg) !important;
  opacity: 0.7 !important;
}

.hide {
  display: none !important;
}

.header {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 1rem;
}

.logo {
  height: 100px;
  width: 100px;
  object-fit: contain;
}

.form-container {
  background-color: rgb(250, 250, 250);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  width: clamp(
    20rem,
    80vw,
    60rem
  ); /* Responsive width between 320px and 960px */
  margin: 0 auto;
}

.footer {
  margin-top: auto;
  background-color: var(--primary-bg);
  color: white;
  padding: 1rem;
  text-align: center;
}

.bg-gray {
  background-color: #f5f5f5;
}

.btn-primary {
  background-color: var(--primary-bg) !important;
  border: none !important;
}

@media only screen and (max-width: 769px) {
  .logo {
    height: 80px;
    width: 80px;
  }
  h1 {
    font-size: 1.5rem;
  }
}
