:root {
  /* Colors: */
  --primary-gradient: linear-gradient(90deg, hsl(6, 100%, 80%) 0%, hsl(335, 100%, 65%) 100%);
  --neutral-dark-blue: hsl(228, 56%, 26%);
  --neutral-dark-blue-2: hsl(229, 57%, 11%);
  --neutral-pale-blue: hsl(243, 100%, 93%);
  --neutral-grayish-blue: hsl(229, 7%, 55%);

  /* Body Copy: */
  --body-font-size: 0.875rem;
}

@font-face {
  font-family: 'Raleway';
  src: url(../assets/fonts/Raleway-VariableFont_wght.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Raleway', Verdana, Geneva, Tahoma, sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-image: url(../assets/images/bg-mobile.png);
  background-size: cover;
}

label {
  font-size: var(--body-font-size);
  color: var(--neutral-pale-blue);
}

.content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.container {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  width: 20.375rem;
  border-radius: .5rem;
  background-color: var(--neutral-dark-blue);
}

.about-fylo {
  gap: 2rem;
  border-top-right-radius: 5rem;
}
.about-fylo .logo {
  width: 55%;
}
.about-fylo .icons {
  display: flex;
  gap: 1rem;
}
.about-fylo .icons .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: .5rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--neutral-dark-blue-2);
}

.storage-info {
  padding: 2rem 2.5rem 3rem 2.5rem;
  justify-content: center;
  align-items: center;
}
.storage-info .notice {
  margin-block-end: 1rem;
}
.storage-info .wrapper {
  width: 100%;
  position: relative; 
}
.storage-info .minmax {
  display: flex;
  justify-content: space-between;
  margin: .75rem 0;
  width: 100%;
  font-size: .75rem;
  font-weight: 700;
}

/* Meter styles for non-WebKit browsers: */
@supports not selector(::-webkit-scrollbar){
  .storage {
    width: 100%;
    height: 100%;
    border-radius: .75rem;
    background: var(--neutral-dark-blue-2);
  }
  .storage:-moz-meter-optimum::-moz-meter-bar {
    border: 2px solid var(--neutral-dark-blue-2);
    border-radius: 100px;
    box-sizing: border-box;
    background: var(--primary-gradient);
  }
}

/* Meter styles for WebKit browsers: */
@supports selector(::-webkit-scrollbar) {
  .storage {
    width: 100%;
    height: 2rem;
    border-radius: 100px;
  }
  .storage::-webkit-meter-bar {
    border-radius: 100px;
    background: var(--neutral-dark-blue-2);
  }
  .storage::-webkit-meter-optimum-value {
    border: 2px solid var(--neutral-dark-blue-2);
    border-radius: 100px;
    background: var(--primary-gradient);
  }
}

.meter-dot {
  position: absolute;
  right: 20.5%;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
}

.info-badge {
  display: flex;
  position: absolute;
  align-items: end;
  padding: 1.4rem 1.625rem;
  gap: .75rem;
  border-radius: .5rem;
  background-color: white;
  transform: translateY(calc(100% + 1rem));
}
.info-badge span {
  margin-block-end: .25rem;
  color: var(--neutral-grayish-blue);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.info-badge strong {
  color: var(--neutral-dark-blue-2);
  line-height: 24px;
  font-weight: 700;
  font-size: 36px;
}

@media screen and (min-width: 720px) and (orientation: landscape) {
  body {
    background-color: var(--neutral-dark-blue-2);
    background-image: url(../assets/images/bg-desktop.png);
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .container {
    width: 21.875rem;
  }
  .container .logo {
    width: 45%;
  }
}

@media screen and (min-width: 1024px) {
  .content {
    flex-direction: row;
    gap: 2rem;
  }

  .storage-info {
    align-self: flex-end;
    align-items: start;
    width: 33.75rem;
    padding: 2.625rem 2.25rem;
  }
  .storage-info .minmax {
    margin-block-end: 0;
  }
  
  .meter-dot {
    right: 20%;
  }

  .info-badge {
    transform: translateY(-125%);
    align-self: flex-end;
    border-end-end-radius: 0;
  }
  .info-badge::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    right: 0;
    width: 0;
    height: 0;
    border-left: 1.5rem solid transparent;
    border-top: 1.5rem solid white;
  }
}