/* FONT LIBRARY */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Sixtyfour&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}
html {
  box-sizing: border-box;
}
body {
  background-image: linear-gradient(to top left, #753682 0%, #bf2e34 100%);
  background-position: center;
  height: 100vh;
  font-family: "Lato", sans-serif;
  /* font-family: "Sixtyfour", sans-serif; */
  text-align: center;
}
main {
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: max-content;
  width: max-content;
  text-align: center;
  background-color: #ffffff9c;
  border-radius: 10px;
  padding: 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.25);
}
h1 {
  color: #fff;
  padding: 2rem;
  font-size: 3rem;
  line-height: 2.5rem;
  font-weight: bolder;
}
button {
  border: none;
  background: none;
  font-family: "Lato", sans-serif;
}
.counter-content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.counter-content h2 {
  padding: 2rem 0;
  width: 8rem;
  font-size: 3rem;
  border-radius: 10px;
  color: #830f30;
  font-family: "Lato", sans-serif;
}
.counter-content button {
  font-size: 2.5rem;
  /* background-color: red; */
  padding: 0.5rem 2rem;
  font-family: "Lato", sans-serif;
  font-weight: bolder;
  color: #2e2e2e;
  /* background-color: #c7365f; */
  border-radius: 10px;
  align-items: center;
  cursor: pointer;
  text-align: center;
  transition: 0.3s;
}

.counter-content button:hover {
  transform: translateY(-2px);
  color: #bf2e34;
}

/* CODE FOR RESET BUTTON */

.reset_container button {
  background-image: linear-gradient(to top left, #753682 0%, #bf2e34 100%);
  color: #fff;
  font-size: 1.3rem;
  border-radius: 10px;
  padding: 1rem 3rem;
  transition: all 0.2s;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.reset_container button:active {
  opacity: 0.8;
  transform: scaleX(1.03);
  color: #fff;
}

/* FOOTER */
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  /* background-color: #eee; */
  color: #fff;
  padding: 0.6rem 0;
  font-size: 1.4rem;
  text-align: center;
}

/* MEDIA QUERIES: Code for responsiveness for all screen sizes */
@media only screen and (max-width: 768px) {
  h1 {
    padding: 2rem 0rem;
    font-size: 2.5rem;
  }
}
@media only screen and (max-width: 439px) {
  main {
    padding: 4rem 0rem;
  }
  h1 {
    padding: 1.5rem 0rem;
    font-size: 1.7rem;
  }
}

@media only screen and (max-width: 305px) {
  main {
    padding: 4rem 0rem;
    width: 100%;
    overflow: hidden;
  }
  h1 {
    padding: 1rem 0rem;
    font-size: 1.5rem;
  }
}
