* {
  box-sizing: border-box;
}

:root {
  --medium-blue: #ADD8E6; /*Light Blue*/
  --dark-blue: #102E4A; /*Prussian Blue*/
  --accent-blue: #70ABCB; /*Air Superiority Blue*/
  --grey: #555; /*Davys Grey*/
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--medium-blue);
}

#titleDiv {
  width: 100%;
  text-align: center;
  opacity: 0.9;
}

#title {
  font-size: 3em;
  font-family: "Comfortaa", monospace;
  color: var(--dark-blue);
  padding-bottom: 10px;
  padding-top: 35px;
}

#subtitle {
  font-family: "Comfortaa", monospace;
  color: var(--dark-blue);
  /*margin-bottom: 15px;*/
  margin-bottom: -25px;
  margin-top: 0;
}

.hidden {
  display: none !important;
}

.clear {
  opacity: 0;
}

.homeBtn {
  border-radius: 30px;
  position: fixed;
  bottom: 5px;
  left: 5px;
}

#infoBtn {
  background: var(--grey);
  border: none;
  outline: none;
  width: 25px;
  height: 25px;
  text-align: center;
  position: fixed;
  top: 20px;
  left: 20px;
  border-radius: 25px;
  color: #FFF;
  opacity: 0.8;
  z-index: 4;
  font-size: 1em;
  font-family: serif;
  padding: 0;
}

#infoBtn.white {
  background: #FFF;
  color: #555;
}

/*=============== summary ===============*/

#summary {
  background: var(--grey);
  opacity: .6;
  border-radius: 30px;
  margin: 0 auto;
  padding: 10px;
  padding-top: 30px;
  display: flex;
  align-content: center;
  box-shadow: 0 0 10px 0px #444;
}

.summaryDiv {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  text-align: center;
  color: #FFF;
  font-family: sans-serif;
  overflow: hidden;
  /*white-space: nowrap;*/
}

.summaryDiv img {
  width: 80px;
  height: 80px;
  display: block;
  margin: auto;
}

.summaryHolder {
  display: inline-flex;
  flex-direction: row;
  justify-content: space-around;
  margin: 0;
  padding: 0;
  /*border: solid;*/
}

.shortDate {
  opacity: 1;
}

#explanation {
  position: relative;
  text-align: center;
  color: #FFF;
  font-family: "Comfortaa", monospace;
  top: 50px;
  opacity: 0.8;
  z-index: 1;
}

/*=============== day summary ===============*/

.days-holder {
  margin: 50px 5%;
  padding: 0;
  width: 90%;
  display: inline-flex;
  justify-content: space-evenly;
  align-content: center;
}

.day-summary {
  width: 200px;
  height: 300px;
  background: var(--grey);
  opacity: .6;
  border-radius: 25px;
  margin: 0;
  color: #FFF;
  padding-bottom: 10px;
  padding-top: 14px;
  font-size: 1.5em;
  font-family: sans-serif;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: flex-end;
  overflow: hidden;
  box-shadow: 0 0 10px 0px #444;
}

img.weatherImg {
  height: 64px;
  width: 64px;
  margin: 0 auto;
  margin-bottom: auto;
}

.dataText {
  /*white-space: nowrap;*/
  /*border: solid;*/
  margin: .5em 0;
}

.date {
  font-size: .8em;
  opacity: 1;
}

.low, .high {
  font-weight: bold;
}

.low {
  color: #00F;
}

.high {
  color: #F00;
}

.condition {
  /*margin-bottom: auto;*/
  font-size: .7em;
}

.temp {
  white-space: nowrap;
}

img[src*='raindrop-icon'] {
  height: 25px;
  position: relative;
  top: 3px;
}

/*=============== zip input ===============*/

#zipCornerDiv {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;
}

#zipCorner {
  width: 150px;
  height: 30px;
  border-radius: 5px;
  border: 2px solid var(--accent-blue);
  text-align: center;
  z-index: 2;
  display: inline;
  font-size: 15px;
}

#zipCorner:focus {
  outline: 2px solid white;
}

#zipCorner.red {
  color: red;
}

#zipCorner.green {
  color: green;
}

#zipCornerText {
  display: inline;
  font-family: sans-serif;
  color: var(--dark-blue);
  font-size: 15px;
}

/*=============== instruction window ===============*/

#instructionWindow {
  position: absolute;
  width: 70%;
  min-height: 40%;
  max-height: 80%;
  left: 15%;
  top: 10%;
  background: #EEE;
  border-radius: 20px;
  z-index: 4;
  /*box-shadow: 0px 0px 5px #555;*/
}

#divider {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  background: #000;
  opacity: 0.2;
}

.instruction {
  font-size: 1em;
  color: #FFF;
  font-family: "Comfortaa", monospace;
  z-index: 4;
  display: block;
  margin: 5px;
  text-align: center;
  display: inline-block;
  position: absolute;
}

#zipInstruct {
  top: 8px;
  right: 200px;
  left: 40px;
  text-align: right;
}

#placeInstruct {
  top: 114px;
  left: 0;
  right: 0;
}

/*=============== responsive styles ===============*/

@media (min-width: 701px) {
  #summary {
    height: 240px;
    width: 70%;
    flex-direction: row;
    justify-content: center;
  }

  .summaryHolder {
    width: 33%;
  }

  .days-holder {
    flex-direction: row;
  }

  .day-summary {
    width: 25%;
  }
}

@media (max-width: 700px) {
  #summary {
    height: 550px;
    width: 80%;
    flex-direction: column;
    justify-content: space-around;
  }

  .summaryHolder {
    width: 100%;
  }

  .days-holder {
    flex-direction: column;
  }

  .day-summary {
    margin: 10px auto;
    width: 300px;
  }

  #days-holder1 {
    margin-bottom: 0;
  }

  #days-holder2 {
    margin-top: 0;
  }
}