html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

figcaption,
figure,
main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b,
strong {
  font-weight: inherit;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

audio,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details,
menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: "";
  clear: both;
  height: 0;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

html {
  font-size: 62.5%;
  font-family: "Poppins", sans-serif;
  color: #1d3557;
}

body,
p,
h1,
h2,
fieldset {
  margin: 0px;
  padding: 0px;
}

section {
  padding: 50px 0px;
}

ul {
  list-style: none;
}

img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.facts,
.results {
  background-color: #f6f6f6;
}

.form,
.timer {
  background-color: #afdddf;
}

h2 {
  padding-bottom: 25px;
  text-align: center;
}

button,
input[type="submit"] {
  background-color: #f6f6f6;
  border: none;
  padding: 10px 20px;
  border-radius: 15px;
  border: 2px #f6f6f6 solid;
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background-color: #1d3557;
  color: #f6f6f6;
  cursor: pointer;
  border: 2px solid #1d3557;
}

button:active,
input[type="submit"]:active {
  border: 2px #f6f6f6 solid;
}

body,
p {
  font-size: 2.2rem;
}

p,
li {
  line-height: 32px;
}

.flexContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  min-height: 300px;
  height: 100%;
}

.wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.results .wrapper {
  text-align: center;
}

.results .fa-question {
  padding-top: 20px;
}

.results .drinkingCups {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.results .dailyCup {
  margin: 0 10px;
  width: 50px;
  height: 50px;
  -webkit-transition: all 0.8s;
  transition: all 0.8s;
}

.results .drank {
  opacity: 0.5;
  -webkit-animation: bounce 0.5s;
          animation: bounce 0.5s;
}

.results .dailyCup:hover,
.results .dailyCup:focus {
  cursor: pointer;
}

.results img {
  -o-object-fit: contain;
     object-fit: contain;
}

.timer p {
  text-align: center;
}

.timer .timerButtons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  padding-top: 25px;
}

.timer .textAlert {
  background-color: rgba(29, 53, 87, 0.95);
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  display: none;
}

.timer .textAlert .alertBox {
  background-color: #a8dadcea;
  padding: 50px;
  border-radius: 25px;
  text-align: center;
}

.timer .textAlert h2 {
  padding: 0px;
}

.timer .textAlert .arrayImg {
  width: 300px;
  height: 300px;
  padding: 25px;
}

footer {
  padding: 15px 0px;
  text-align: center;
  background-color: #1d3557;
  color: #f6f6f6;
}

@media (max-width: 480px) {
  body,
  p {
    font-size: 1.8rem;
  }
  header {
    background-position: 65%;
  }
  .facts h2 {
    font-size: 3.5rem;
    line-height: 60px;
  }
  .form form {
    height: 100%;
  }
  .form .active label,
  .form .climate label {
    padding-left: 25px;
  }
  footer p {
    font-size: 1.4rem;
  }
}

header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  height: 100vh;
  background-color: #f6f6f6;
  color: #f6f6f6;
  z-index: 5;
}

header h1 {
  font-size: 8rem;
  color: #1d3557;
  text-align: center;
  position: relative;
  margin-top: 25px;
}

header .flyIn {
  display: inline-block;
  opacity: 1;
  -webkit-transition: all 1.5s;
  transition: all 1.5s;
  -webkit-transition-delay: 2.3s;
          transition-delay: 2.3s;
}

.contentHidden .flyIn,
.carousel.contentHidden,
.scrollDown.contentHidden {
  opacity: 0;
}

.contentHidden .flyIn:nth-child(1) {
  -webkit-transform: translate3d(-60px, 0, 0);
          transform: translate3d(-60px, 0, 0);
}

.contentHidden .flyIn:nth-child(2) {
  -webkit-transform: translate3d(0px, 0, 0);
          transform: translate3d(0px, 0, 0);
}

.contentHidden .flyIn:nth-child(3) {
  -webkit-transform: translate3d(60px, 0, 0);
          transform: translate3d(60px, 0, 0);
}

.cup {
  position: relative;
  width: 150px;
  height: 180px;
  border: 6px solid #f6f6f6;
  border-top: 2px solid transparent;
  border-radius: 15px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background: url(../assets/water.png);
  background-repeat: repeat-x;
  -webkit-animation: animate 2.3s linear;
          animation: animate 2.3s linear;
  -webkit-box-shadow: 0 0 0 6px #1d3557;
          box-shadow: 0 0 0 6px #1d3557;
  background-position-y: 20px;
  margin-top: 50px;
  -webkit-transition: all 0.8s;
  transition: all 0.8s;
}

.cup:before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  border: 6px solid #1d3557;
  right: -56px;
  top: 30px;
  border-top-right-radius: 35px;
  border-bottom-right-radius: 35px;
}

@-webkit-keyframes animate {
  0% {
    background-position: 0 150px;
    -webkit-transform: rotate(30deg);
            transform: rotate(30deg);
  }
  50% {
    background-position: 0 75px;
    -webkit-transform: rotate(30deg);
            transform: rotate(30deg);
  }
  80% {
    -webkit-transform: rotate(30deg);
            transform: rotate(30deg);
  }
}

@keyframes animate {
  0% {
    background-position: 0 150px;
    -webkit-transform: rotate(30deg);
            transform: rotate(30deg);
  }
  50% {
    background-position: 0 75px;
    -webkit-transform: rotate(30deg);
            transform: rotate(30deg);
  }
  80% {
    -webkit-transform: rotate(30deg);
            transform: rotate(30deg);
  }
}

.scrollDown {
  opacity: 0.8;
  font-size: 4rem;
  -webkit-animation: bounce 1.5s ease-in-out infinite;
          animation: bounce 1.5s ease-in-out infinite;
  -webkit-transition: 1.5s;
  transition: 1.5s;
  -webkit-transition-delay: 2.3s;
          transition-delay: 2.3s;
  color: #1d3557;
}

.scrollDown:hover,
.scrollDown:focus {
  opacity: 1;
  cursor: pointer;
  border-bottom: 2px solid #1d3557;
}

.carousel {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 2rem auto;
  overflow: hidden;
  width: 600px;
  height: 150px;
  position: relative;
  bottom: 0px;
  -webkit-transition: all 1.5s;
  transition: all 1.5s;
  -webkit-transition-delay: 2.3s;
          transition-delay: 2.3s;
}

.carousel i {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #1d3557;
  position: absolute;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  z-index: 10;
  -webkit-transition: opacity 0.25s;
  transition: opacity 0.25s;
}

.carousel .fa-arrow-right {
  right: 0px;
}

.carousel .fa-arrow-left {
  left: 0px;
}

.carousel .carouselFacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transform: translateX(600px);
          transform: translateX(600px);
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.carousel p {
  color: #1d3557;
  width: 600px;
  padding: 0px 75px;
  text-align: center;
  position: relative;
  top: 15px;
}

.carousel .factTracker {
  display: block;
}

@-webkit-keyframes bounce {
  0% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
}

@keyframes bounce {
  0% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
}

@media (max-width: 1200px) {
  header h1 {
    font-size: 6rem;
  }
}

@media (max-width: 900px) {
  header h1 {
    font-size: 5rem;
  }
  .flyIn:nth-child(3) {
    display: block;
  }
  .contentHidden .flyIn:nth-child(1) {
    -webkit-transform: translate3d(0px, -60px, 0);
            transform: translate3d(0px, -60px, 0);
  }
  .contentHidden .flyIn:nth-child(2) {
    -webkit-transform: translate3d(0px, -60px, 0);
            transform: translate3d(0px, -60px, 0);
  }
  .contentHidden .flyIn:nth-child(3) {
    -webkit-transform: translate3d(0px, 60px, 0);
            transform: translate3d(0px, 60px, 0);
  }
}

@media (max-width: 700px) {
  .carousel {
    width: 400px;
  }
  .carousel i {
    height: 30px;
    width: 30px;
  }
  .carousel p {
    font-size: 1.8rem;
    padding: 0 150px;
  }
}

@media (max-width: 520px) {
  header h1 {
    font-size: 4rem;
  }
  .flyIn:nth-child(1) {
    display: block;
  }
  .contentHidden .flyIn:nth-child(1) {
    -webkit-transform: translate3d(0, -60px, 0);
            transform: translate3d(0, -60px, 0);
  }
  .contentHidden .flyIn:nth-child(2) {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  .contentHidden .flyIn:nth-child(3) {
    -webkit-transform: translate3d(0, 60px, 0);
            transform: translate3d(0, 60px, 0);
  }
  .cup {
    width: 100px;
    height: 130px;
    background-position: -25px 20px;
  }
  .cup:before {
    width: 50px;
    height: 50px;
  }
  .carousel {
    width: 280px;
  }
  .carousel i {
    height: 25px;
    width: 25px;
  }
  .carousel p {
    font-size: 1.6rem;
    padding: 0 200px;
  }
  .scrollDown {
    font-size: 2.5rem;
  }
}

.form .flexContainer {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.form p {
  padding-bottom: 25px;
}

.form legend {
  border-bottom: solid 3px #1d3557;
  margin: 25px 0px;
  margin-left: 20px;
}

.form fieldset {
  border: none;
  margin: 25px 0px;
}

.form input:required {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.form .submitContainer {
  margin-top: 25px;
}

input[type="radio"] {
  opacity: 0;
}

.active label,
.climate label {
  position: relative;
  border: 2px solid #1d3557;
  border-radius: 5px;
  width: 250px;
  display: inline-block;
  background-color: #f6f6f6;
  font-size: 2rem;
  padding: 10px 0px;
}

.active label::before,
.climate label::before {
  content: "";
  height: 16px;
  width: 16px;
  border: 2px solid #1d3557;
  border-radius: 50%;
  margin: 0 20px;
  display: inline-block;
}

input[type="radio"]:checked + label {
  background-color: #1d3557;
  color: #f6f6f6;
}

input[type="radio"]:checked + label::before {
  border: 5px solid #f6f6f6;
  background-color: #1d3557;
}

input[type="radio"]:hover + label,
input[type="radio"]:focus + label {
  border: 2px solid #f6f6f6;
  background-color: #1d3557;
  color: #f6f6f6;
}

input[type="radio"]:hover + label::before,
input[type="radio"]:focus + label::before {
  border: 5px solid #f6f6f6;
}

.submitContainer {
  text-align: center;
}

@media (max-width: 940px) {
  .active label,
  .climate label {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .form .active,
  .form .climate,
  .form .submitContainer {
    width: 100%;
    margin-top: 25px;
  }
  .form label {
    width: 250px;
    margin: 0 auto;
    margin-top: 10px;
    text-align: left;
  }
  .form .active label,
  .form .climate label {
    display: block;
  }
}

@media (max-width: 500px) {
  .weight input {
    width: 100px;
  }
}
