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

html {
  height: 100%;
}

p {
  font-size: 18px;
}

input,
button {
  cursor: pointer;
  font-size: 16px;
}

body,
input,
button {
  font-family: "Inter", sans-serif;
  background-color: #f4f4f4;
  line-height: 1.5;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header,
main,
footer {
  padding: 1rem;
}

header {
  display: flex;
  align-items: center;
  padding-bottom: 0;
}

.about h2 {
  margin-bottom: 10px;
}

.about p,
.claim p {
  margin: 10px 0;
}

.logo {
  width: 50px;
  height: 50px;
  align-self: center;
}

.claim {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.claim p {
  font-weight: 500;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 20px auto;
}

.input-group {
  display: flex;
  align-items: center;
  border: 2px solid #4b5563;
  background-color: #f3f4f6;
  border-radius: 32px;
  overflow: hidden;
}

.prefix {
  padding: 18px;
  display: flex;
  border-right: 2px dashed #4b5563;
  background-color: #e5e7eb;
  font-weight: 700;
}

.input {
  flex: 1;
  border: none;
  background-color: #f3f4f6;
  padding: 18px;
  width: 100%;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #2c2c30;
  color: white;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
}

footer {
  margin-top: auto;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  padding-top: 40px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.modal-content p {
  text-align: center;
  font-size: x-large;
  font-weight: 500;
}

#confirmClaim {
  margin: 0 auto;
  margin-top: 15px;
}

#emailEntry {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#emailInput {
  border-radius: 32px;
  max-width: 300px;
  margin-top: 15px;
}

#submitEmail {
  margin-top: 15px;
}

#emailInput::placeholder {
  text-align: center;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #aaaaaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
}

.button:disabled {
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
}

@media (min-width: 0px) {
  header {
    display: flex;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 36rem;
  }
  head main {
    display: flex;
  }
  .about,
  .claim {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
  }

  .about {
    flex-direction: column;
    flex: 1;
    text-align: center;
  }

  .about h2 {
    text-align: center;
  }

  .claim {
    flex: 1;
    align-items: center;
    justify-content: center;
  }

  .form {
    max-width: none;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .input-group,
  .button {
    width: auto;
    max-width: 400px;
  }

  main {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 0;
  }
}

.toast-message {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #323232;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  z-index: 1050;
  text-align: center;
  font-size: 16px;
}

.error-message {
  color: black;
  font-size: 14px;
  margin-top: 5px;
}
