@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  height: 100vh;
  background-color: hsl(229deg, 57%, 11%);
  background-size: 100% 50%;
  background-image: url(./images/bg-desktop.png);
  background-position-y: bottom;
  background-repeat: no-repeat;
}

main .settings {
  height: 200px;
  width: 340px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: hsl(228deg, 56%, 26%);
  border-radius: 12px 100px 12px 12px;
  /* DO NOT FORGET TO ASK ABOUT THIS CODDING */
  /* DO NOT FORGET TO ASK ABOUT THIS CODDING */
}

main .settings .fylo-icon {
  background-color: rgba(255, 255, 255, 0);
  height: 200px;
  width: 160px;
}

main .settings img {
  object-fit: contain;
  height: 45px;
  width: 45px;
  padding: 10px;
  margin: 0 5px;
  border-radius: 8px;
  background-color: hsl(229deg, 57%, 11%);
  cursor: pointer;
}

main .usage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 150px;
  width: 90%;
  max-width: 600px;
  gap: 10px 20px;
  padding: 0 20px;
  margin-top: 50px;
  background-color: hsl(228deg, 56%, 26%);
  border-radius: 12px;
  /* DO NOT FORGET TO ASK ABOUT THIS CODDING */
  /* DO NOT FORGET TO ASK ABOUT THIS CODDING */
}

main .usage .warning p {
  width: 100%;
  max-width: 560px;
  align-self: flex-start;
  color: white;
  padding-left: 20px;
}

main .usage .warning p span {
  font-weight: 700;
}

main .usage .warning .highlight {
  position: absolute;
  top: -50px;
  right: 50px;
  padding: 15px 35px;
  border-radius: 12px 12px 0px 12px;
  background-color: #fff;
}

main .usage .warning .highlight h1 {
  color: #161f44;
  display: flex;
  align-items: center;
  font-size: 36px;
  font-weight: 700;
}

main .usage .warning .highlight h1 span {
  font-size: 12px;
  font-weight: 700;
  color: hsl(229deg, 7%, 55%);
  padding-left: 10px;
}

main .usage .warning .highlight:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -13px;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-right: 26px solid #fff;
  border-bottom: 13px solid transparent;
}

main .usage .percentage-bar {
  height: 18px;
  width: 90%;
  max-width: 520px;
  background-color: #161f44;
  border: 2px solid #161f44;
  border-radius: 12px;
}

main .usage .percentage-bar .progress-bar {
  display: flex;
  align-items: center;
  justify-content: end;
  height: 100%;
  width: 81.5%;
  background: linear-gradient(to right, #ffa399, #ff4d97);
  border-radius: 12px;
}

main .usage .percentage-bar .progress-bar .pointer {
  height: 10px;
  width: 10px;
  margin-right: 2px;
  background-color: #fff;
  border-radius: 50%;
}

main .usage .percentage {
  width: 90%;
  max-width: 520px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-weight: 700;
}

.attribution {
  position: absolute;
  text-align: center;
  color: #fff;
  padding: 10px;
  right: 0;
  bottom: 0;
}

.attribution a {
  font-size: 14px;
  color: #fff;
}

@media (max-width: 380px) {
  main {
    gap: 15px;
    display: flex;
    flex-direction: column;
    background-image: url(./images/bg-mobile.png);
    background-size: cover;
  }

  main .settings {
    height: 200px;
    width: 340px;
    gap: 20px;
    padding: 50px;
  }

  .usage {
    width: 94% !important;
    margin-top: 0px !important;
  }

  .usage .highlight {
    top: 125px !important;
    right: 75px !important;
    padding: 10px 35px !important;
    border-radius: 12px !important;
  }

  .usage .highlight:before {
    opacity: 0;
  }
}

/*# sourceMappingURL=styles.css.map */