html {
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h2 {
  font-size: 50px;
  font-family: "Bubblegum Sans", serif;
  letter-spacing: 3px;
}

.banner {
  width: 100%;
  opacity: 100%;
  background-color: #196b24;
  padding: 10px;
  position: absolute;
  top: 0;
  left: 0;
  align-items: center;
  display: flex;
  flex-direction: row;
  z-index: 100;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.banner.scrolled {
  top: 20px;
  width: 70%;
  background-color: rgba(25, 107, 36, 0.8);
  margin-left: 12.6%;
  border-radius: 10px;
  gap: 30px;
  position: fixed;
}

.link-group {
  display: flex;
  gap: 50px;
  margin-right: 100px;
}

.bannerp {
  text-decoration: none;
  color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.banner a {
  text-decoration: none;
}

.bannerp:hover {
  color: #21e47f;
  transition: 0.3s;
}

.bannerp:active {
  color: #bbb4b4;
  opacity: 80%;
}

.menu-icon {
  display: none;
  width: 50px;
}

.logo-image {
  margin-left: 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: darkblue;
}

@media (max-width: 600px) {
  .menu-icon {
    display: block;
  }
  .link-group {
    display: none;
  }
  .banner {
    height: 50px;
    width: 95%;
  }
  .logo-image {
    width: 65px;
    height: 65px;
    margin-left: 25px;
  }
  .banner.full {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 100%;
    flex-direction: column;
    margin-left: 0%;
    border-radius: 0;
    margin-right: 0;
  }
  .link-group.full {
    display: block;
    font-size: 30px;
    border-bottom: 2px solid black;
  }
}

.ec_title {
  position: relative;
  margin: 0;
}

.ec_title img {
  width: 100%;
  position: relative;
}

.ec_title h1 {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: green;
  font-size: 3rem;
  font-family: "Oswald", serif;
}

.teal-button {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  padding: 1.1rem 0.5rem 1.1rem 1.5rem;
  width: 11rem;
  border-radius: 99rem;
  background-color: #156082;
  transition: all 0.5s ease;
  justify-content: center;
  align-items: center;
  gap: 1em;
  border: none;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  font-size: 23px;
  font-family: "roboto", serif;
  color: #e6e6e6;
  text-decoration: none;
}

.teal-button .icon {
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.teal-button .icon span {
  background: black;
  border-radius: 100%;
  padding: 0rem;
  width: 0rem;
  height: 0rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-180deg);
  transition: all 0.5s ease;
}

.teal-button:hover {
  background-color: #0c4864;
  color: white;
  box-shadow: 0 12px 8px 0 rgba(0, 0, 0, 0.2), 0 18px 20px 0 rgba(0, 0, 0, 0.19);
}

.teal-button:hover .icon span {
  transform: rotate(0deg);
  border-radius: 100%;
  padding: 0.6rem;
  width: 0.9rem;
  height: 0.9rem;
}

@media (min-width: 450px) and (max-width: 1000px) {
  .ec_title h1 {
    font-size: 2rem;
    top: 60%;
    width: 100%;
  }
  .teal-button {
    display: none;
  }
}

@media (max-width: 450px) {
  .ec_title h1 {
    font-size: 1rem;
    top: 65%;
    width: 100%;
  }
  .teal-button {
    display: none;
  }
}

.calc_form {
  padding-top: 50px;
  background-color: #e6e6e6;
  padding-bottom: 50px;
  width: 100%;
  display: flex;
}

form {
  max-width: 400px;
  background-color: white;
  margin-left: 5%;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  font-family: "roboto", serif;
  overflow: hidden;
  margin-right: 2%;
}

input,
select {
  width: 95%;
  margin: 5px 0;
  padding: 8px;
  margin-bottom: 20px;
}

.form-buttons {
  display: flex;
  gap: 20px;
}

#submit,
#reset-button {
  background-color: #156082;
  border-radius: 10px;
  padding: 8px;
  font-family: "roboto", serif;
  color: #e6e6e6;
  text-decoration: none;
  font-size: 25px;
  width: 40%;
}

#reset-button {
  background-color: gray;
}

#submit:hover,
#reset-button:hover {
  color: white;
  border-bottom: 5px solid black;
  border-right: 5px solid black;
  border-top: 2px solid black;
  border-left: 2px solid black;
}

#appliance {
  width: 100%;
  margin: 5px 0;
  padding: 8px;
  margin-bottom: 20px;
}

.result {
  padding-left: 50px;
}

.result svg {
  width: 150px;
  position: relative;
  top: -50px;
  fill: #156082;
}

.result p {
  margin-top: -30px;
  margin-right: 100px;
  font-size: 20px;
  font-family: "roboto", serif;
}

@media (max-width: 600px) {
  .calc_form {
    flex-direction: column;
  }
  form {
    max-width: 350px;
  }
}

.energy-tips {
  justify-content: center;
  align-items: center;
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tip-container {
  display: flex;
  background-color: #5a91aa;
  transform: skewY(-2deg);
  gap: 150px;
  margin-bottom: 100px;
}

.tip-container .list-number {
  width: 20%;
  margin-left: 5%;
}

.list-number h3 {
  position: absolute;
  top: 5%;
  left: 15%;
  transform: translate(-50%, -50%);
  font-size: 9vw;
  font-family: "Bubblegum Sans", "serif";
  color: white;
  text-shadow: 0 4px 8px white, 0 6px 20px white;
}

@media (max-width: 840px) {
  .list-number h3 {
    top: 0%;
  }
}

.tip-container .tip-content {
  width: 50%;
  margin-right: 11%;
  padding-top: 20px;
  text-align: left;
}

.tip-content h3 {
  text-align: center;
  font-size: 30px;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  transform: skewY(2deg);
  color: white;
}

.tip-content p {
  font-family: "Roboto", serif;
  font-size: 20px;
  transform: skewY(2deg);
  color: white;
}

@media (max-width: 660px) {
  .list-number {
    display: none;
  }
  .tip-content {
    margin-left: 100px;
    margin-right: 2%;
  }
}

.footer {
  background-color: #5a91aa;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 175px;
  width: 101%;
  margin-left: -1%;
}

.footer a {
  text-decoration: none;
  color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.footer p {
  text-decoration: none;
  color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.footer a:hover {
  color: #0f63a3;
  transition: 0.3s;
  text-decoration: underline;
}

.developed-by {
  display: flex;
  flex-direction: column;
  margin-left: 400px;
}

.top-icon {
  margin-left: 50px;
}

@media (min-width: 601px) and (max-width: 950px) {
  .developed-by {
    margin-left: 200px;
  }
}

@media (max-width: 600px) {
  .footer {
    flex-direction: column;
    height:auto;
    padding-top: 50px;
    gap: 30px;
  }
  .developed-by, .top-icon {
    margin-left: -35px;
  }
}
