* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
}

#trip {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8em auto;
  padding: 3em 2em;
  width: 69%;
  background-color: #f3f3f3;
  border-radius: 5px;
}

.myCol {
  height: auto;
  width: 50%;
}

.col2 {
  background-color: #e9e9e9;
  border-radius: 10px;
  padding: 1em;
}

#country_div,
#city_div {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: 70px;
  width: 90%;
}

#daily_div,
#night_div,
#daily_gen,
#night_gen {
  font-size: 14px;
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  font-weight: 600;
}

#daily,
#overnight,
#daily_g,
#overnight_g {
  width: 100px;
  height: 40px;
  border: 1px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 600;
  background-color: black;
  color: white;
  border-radius: 4px;
}

#daily,
#daily_g {
  background: #ef223f;
  border: none;
}

#daily_night,
#general {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.curr {
  display: flex;
  width: 150px;
  justify-content: space-evenly;
  align-items: center;
  margin: 0 auto;
}

.currency {
  font-size: 16px;
  font-weight: 600;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#country,
#city_input {
  height: 30px;
  border-radius: 5px;
  border: none;
  padding-left: 8px;
}

#country:focus,
#city_input:focus {
  outline: 1px solid #ef223f;
}

#dates {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
}

#dates p {
  font-size: 14px;
}

#start,
#end {
  width: 100%;
  border: none;
  height: 30px;
  padding-left: 8px;
  color: #ef223f;
  font-size: 14px;
}

#start:focus,
#end:focus {
  outline: 1px solid #ef223f;
}

.dates {
  height: 60px;
  width: 42%;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.valut {
  font-size: 12px;
}

.valut a {
  text-decoration: none;
}

._q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 160px;
  margin-top: 10px;
  margin-bottom: 5px;
}

#q {
  color: #ef223f;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  font-weight: 700;
}

._q #quantity {
  font-size: 15px;
}

.title {
  font-weight: 900;
}
@media (min-width: 993px) and (max-width: 1200px) {
  .title {
    font-size: 14px;
  }
  #daily_div > p,
  #night_div > p,
  .currency,
  #daily_gen > p,
  #night_gen > p {
    font-size: 13px;
  }

  .valut {
    font-size: 11px;
  }
  #overnight,
  #daily,
  #daily_g,
  #overnight_g {
    width: 90px;
    height: 35px;
    font-size: 20px;
  }
  #q {
    font-size: 20px;
  }
  #dates p {
    font-size: 13px;
  }
  #start,
  #end {
    width: 100%;
    font-size: 12px;
  }
  .curr {
    width: 130px;
  }
  ._q #quantity {
    font-size: 13px;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .title {
    font-size: 14px;
  }
  #daily_div > p,
  #night_div > p,
  .currency,
  #daily_gen > p,
  #night_gen > p {
    font-size: 13px;
  }

  .valut {
    font-size: 11px;
  }
  #overnight,
  #daily,
  #daily_g,
  #overnight_g {
    width: 90px;
    height: 35px;
    font-size: 20px;
  }
  #q {
    font-size: 20px;
  }
  #dates p {
    font-size: 12px;
  }
  #start,
  #end {
    width: 100%W;
    font-size: 11px;
  }
  .curr {
    width: 130px;
  }
  ._q #quantity {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .title {
    font-size: 13px;
  }
  #daily_div > p,
  #night_div > p,
  .currency,
  #daily_gen > p,
  #night_gen > p {
    font-size: 9px;
  }

  .valut {
    font-size: 9px;
  }
  #overnight,
  #daily,
  #daily_g,
  #overnight_g {
    width: 60px;
    height: 30px;
    font-size: 14px;
  }
  #q {
    font-size: 18px;
  }
  #dates p {
    font-size: 9px;
  }
  #start,
  #end {
    width: 100%;
    font-size: 7px;
  }
  .curr {
    width: 95px;
    display: flex;
    justify-content: space-evenly;
  }
  ._q #quantity {
    font-size: 12px;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .title {
    font-size: 13px;
  }
  #daily_div > p,
  #night_div > p,
  .currency,
  #daily_gen > p,
  #night_gen > p {
    font-size: 9px;
  }

  .valut {
    font-size: 9px;
  }
  #overnight,
  #daily,
  #daily_g,
  #overnight_g {
    width: 60px;
    height: 30px;
    font-size: 14px;
  }
  #q {
    font-size: 18px;
  }
  #dates p {
    font-size: 9px;
  }
  #start,
  #end {
    width: 100%;
    font-size: 7px;
  }
  .curr {
    width: 95px;
    display: flex;
    justify-content: space-evenly;
  }
  ._q #quantity {
    font-size: 12px;
  }
}

@media screen and (max-width: 500px) {
  #trip {
    display: block;
    padding-right: 0;
  }

  .myCol {
    width: 100%;
  }

  .col2 {
    padding: 10px;
    margin-top: 30px;
    width: 90%;
  }

  #daily_night,
  #general {
    margin-top: 10px !important;
    margin-bottom: 20px !important;
  }
}
