@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.cdnfonts.com/css/times-new-roman');

* {
  padding: 0;
  margin: 0;
}

body {
  color: white;
  overflow: hidden;
  font-family: 'Orbitron', sans-serif;
}

.top-container {
  height: 100vh;
  background-color: rgb(255, 0, 0);
}

.bottom-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
}

#form {
  width: 600px;
  height: 40vh;
  margin: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
}

#form h1 {
  font-style: italic;
  text-shadow: 1px 1px darkgray;
}

#form input {
  width: 300px;
  padding: 14px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  border: 1px solid lightgray;
  font-family: inherit;
  outline: none;
  box-shadow: 2px 2px 5px gray;
}

#form button {
  padding: 14px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  border: 1px solid lightgray;
  background-color: whitesmoke;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 2px 3px 5px gray;
  transition: 0.3s ease-out;
}

#form button:hover {
  color: white;
  background-color: red;
  border: 1px solid red;
  transform: scale(1.1);
}

.errors {
  width: 400px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  border-radius: 5px;
  padding: 12px;
  color: red;
  background-color: #ffe6e6;
  border: 1px solid red;
}

.success {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  color: black;
  font-family: 'Times New Roman', sans-serif;

}

#download-btn {
  width: fit-content;
  color: black;
  padding: 12px;
  color: white;
  background-color: red;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 2px 2px 5px gray;
  font-style: normal;
  cursor: pointer;
  letter-spacing: 1px;
  font-family: inherit;
  border: 1px solid red;
  transition: 0.3s ease-out;
}

#download-btn:hover {
  color: black;
  background-color: white;
  border: 1px solid lightgray;
  transform: scale(1.1);
}

@media(max-width:768px) {
  .bottom-container {
    width: 90%;
    margin: auto;
  }

  #form,
  .success {
    text-align: center;
    width: 100%;
  }
}

@media(max-width:480px) {
  #form input {
    width: 50%;
  }
}
