/* General */
* {
  font-family: Poppins, Arial;
  color: white;

  padding: 0;
  margin: 0;
  border: none;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;

  background-image: url(assets/neom-background-Original.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  align-items: center;
  justify-content: center;
}

/* Hide the up and down arrows in number input */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Style to remove outline on focus (optional) */
input:focus {
  outline: none;
}

/* Header logo */

.header-logo {
  position: absolute;
  left: 2%;
  top: 2%;
  width: 130px;
  object-fit: contain;

  background-color: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 2em;
}

.form-title-container {
  display: flex;
  width: 30%;
  height: auto;

  font-size: 3em;
  font-weight: 500;

  align-items: flex-start;
  justify-content: left;
}
.form-title {
  color: inherit;
}

/* Form-container & form */

.form {
  display: flex;
  flex-direction: column;

  width: 30%;
  height: auto;
  padding: 2rem;
  gap: 1.5vh;

  /* white: rgba(255, 255, 255, 0.455)
   gray: rgba(128, 128, 128, 0.571)
   black: rgba(0, 0, 0, 0.556);
*/
  background-color: rgba(0, 0, 0, 0.556);
  color: white;
  border-radius: 2rem;
}

.form-element-label {
  display: flex;
  flex-direction: column;
  width: 100%;

  align-items: center;
}

.element-title {
  font-size: 2em;
  align-self: self-start;
  margin-left: 10%;
}

.error-msg {
  font-size: 1.2em;
  align-self: self-start;
  margin-left: 9.3%;
  background-color: red;
  width: 80%;

  padding: 1px 0px 2px 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.element-input {
  width: 81%;

  padding: 0.2em 0.2em 0.2em 0.4em;
  font-size: 1.2em;
  border-radius: 0.5em;

  background-color: #454a4d;
  text-decoration: none;
}

.element-input::placeholder {
  opacity: 0.7;
  color: white;
  font-weight: 300;
}

.element-input:hover {
  background-color: #697074;
}

.invalid {
  border: solid 1px red;
}

.country-info-container {
  display: flex;

  align-items: center;
  justify-content: space-between;
}

#country-input,
#zipcode-input {
  flex: 1;
}

.submit-button {
  width: 40%;
  height: auto;
  padding: 0.5em;
  align-self: center;
  border-radius: 1em;

  background-color: #454a4d;
  font-size: 1.5em;

  cursor: pointer;
}

.submit-button:hover {
  background-color: #697074;
}
