html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', Arial, sans-serif; /* Sleek modern font */
  color: #333;
}

body {
  background-image: url('../images/cfb-background.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
}

main {
  display: flex;
  justify-content: center;  /* horizontal center */
  align-items: center;      /* vertical center */
  min-height: 100vh;        /* fill viewport height */
}

.user-sign-up {
  /* background-image:
    url("https://unsplash.com/photos/C2PCa6DhlYE/download?ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzU2MDk3NzgzfA&force=true");
  background-repeat: repeat;
  background-color: #1e6e3f;
  background-blend-mode: soft-light;
  background-size: 25%; */
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.8);
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 90vh;
  max-width: 600px;
  aspect-ratio: 1 / 1.5;
  /* Ensures child elements stack vertically */
  /* justify-content: space-between; */
  /* Ensures spacing between elements */
  /* Adjust if necessary */
}

.endzone {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image:
    url("https://unsplash.com/photos/C2PCa6DhlYE/download?ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzU2MDk3NzgzfA&force=true");
  background-repeat: repeat;
  width: 100%;
  height: 8.33%;
  background-color: #5e1011;
  background-blend-mode: color-dodge;
  background-size: 25%;
  padding: 20 20 20 20;
}

#top-endzone{
  /* border-bottom: 5px solid #f3efdf; */
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
}

#bottom-endzone{
  /* border-top: 5px solid #f3efdf; */
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
}

label {
  text-align: left;
  font-weight: bold;
  font-size: 1.75vw;
  color: #ffffff;
  font-family: 'Universidad', sans-serif;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px 15px;
  font-size: 1.75vw;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  box-sizing: border-box;
  /* Ensures padding/border included in width */
  transition: border-color 0.3s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  border-color: #5e1011;
  box-shadow: 0 0 5px #5e1011;
}

.button {
  background-image:
    url("https://unsplash.com/photos/C2PCa6DhlYE/download?ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzU2MDk3NzgzfA&force=true");
  background-repeat: repeat;
  background-color: #5e1011;
  background-blend-mode: color-dodge;
  background-size: 25%;
  border: none;
  color: white;
  display: flex;              /* enables flexbox */
  justify-content: center;    /* horizontal centering */
  align-items: center;        /* vertical centering */
  
  padding: 0;         
  font-size: clamp(16px, 3vh, 80px);
  font-family: 'Universidad', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  color: #f3efdf;
  /* Full-width buttons for a modern look */
}

.button:hover {
  background-color: hsl(359, 71%, 30%);
}

.button:active {
  transform: translateY(0);
  box-shadow: none;
}

.text-box {
  width: 80%;
  margin: 0 auto;
  /* Center the box */
  font-family: 'Universidad', sans-serif;
  color: #f3efdf;
  font-size: clamp(16px, 4vh, 80px);
  /* Start with a big value */
  white-space: nowrap;
  /* Keep text on one line */
  overflow: hidden;
}

.input-container{
  text-align: start;
  margin-left: 8%;
  margin-right: 8%;
  padding: 2%;
}

.field {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-around;
  position: relative;
  gap: 1rem;
  background-color: rgb(0, 65, 0);
  background-image: repeating-linear-gradient(
    to bottom,               /* lines go across horizontally */
    white 0,
    white .3%,               /* line thickness */
    transparent .3%,
    transparent 9.98%         /* distance between lines */
  ),
  url("https://unsplash.com/photos/C2PCa6DhlYE/download?ixid=M3wxMjA3fDB8MXxhbGx8fHx8fHx8fHwxNzU2MDk3NzgzfA&force=true");
  ;
  background-repeat: repeat;
  background-size: 25%;
}

@font-face {
  font-family: 'Universidad';
  src: url('Universidad.ttf') format('truetype');
}
