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

body {
  width: 100vw;
  height: 100vh;
  background-color: #14210a;
  display: flex;
  align-items: center;
  justify-content: center;
}


@media (orientation: portrait) {
  .container {
    width: 60vmin;
    height: 90vmin;
    border-radius: 3vmin;
    padding: 4vmin;
    background-color: #fefae0cd;
  }

  h2 {
    font-size: 5vmin;
  }

  .input {
    height: 15vmin;
    font-size: 4vmin;
    margin: 2vmin 0vmin;
  }

  .dropdowns {
    height: 15vmin;
    margin: 7.5vmin 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .from,
  .to {
    width: 40%;
    height: 100%;
    font-size: 3.5vmin;
  }

  i {
    margin-top: 2vmin;
    font-size: 4vmin;
  }

  .msg {
    width: 100%;
    height: 10vmin;
    margin: 0 0 7vmin;
    border-radius: 1vmin;
    font-size: 5.5vmin;
    line-height: 10vmin;
    text-align: center;
    background-color: #e2f1dd;
  }

  button {
    width: 100%;
    height: 7.5vmin;
    border: none;
    border-radius: 1.5vmin;
    font-size: 3.25vmin;
    background-color: #d09654;
    cursor: pointer;
    outline: none;
  }
}


@media (orientation: landscape) {
  .container {
    width: 40vmin;
    height: 55vmin;
    border-radius: 3vmin;
    padding: 2.5vmin;
    background-color: #fefae0cd;
  }

  h2 {
    font-size: 3.5vmin;
  }

  .input {
    height: 10vmin;
    font-size: 2.5vmin;
    margin: 2vmin 0vmin;
  }

  .dropdowns {
    height: 10vmin;
    margin: 5vmin 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .from,
  .to {
    width: 40%;
    height: 100%;
    font-size: 2.5vmin;
  }

  i {
    margin-top: 2.25vmin;
    font-size: 3vmin;
  }

  .msg {
    width: 100%;
    height: 5vmin;
    margin: 3vmin 0 0;
    border-radius: 1vmin;
    font-size: 3.5vmin;
    line-height: 5vmin;
    text-align: center;
    background-color: #e2f1dd;
  }

  button {
    width: 100%;
    height: 5vmin;
    margin: 3vmin 0;
    border: none;
    border-radius: 1.5vmin;
    font-size: 2.25vmin;
    background-color: #d09654;
    cursor: pointer;
  }
}


.input input {
  width: 100%;
  height: 80%;
  padding: 1vmin;
  border: none;
  outline: none;
  border-radius: 1vmin;
  font-size: 5vmin;
  background-color: #ffffff90;
}

.drop {
  height: 50%;
  margin-top: 0.5vmin;
  border: 0.25vmin solid #adb5bdd8;
  border-radius: 1vmin;
  background-color: #e0eedb;
  display: flex;
  align-items: center;
  /* gap: 1vmin; */
  justify-content: space-around;
}

img {
  width: 25%;
  padding-left: 0.05vmin;
}

select {
  width: 65%;
  height: 60%;
  margin-right: 0.25vmin;
  font-size: 2vmin;
  border: none;
  border-radius: 5%;
  outline: none;
  background-color: #f1faee;
  cursor: pointer;
}

.btn {
  box-shadow: 0.25vmin 0.25vmin 0.5vmin #463d15;
}

.btn:hover {
  background-color: #d0a06a;
}

.btn:active {
  box-shadow: 0.25vmin 0.25vmin 0.5vmin #958d65;
}