:root {
  --Pale_Blue: hsl(243, 100%, 93%);
  --Grayish_Blue: hsl(229, 7%, 55%);
  --Dark_Blue: hsl(228, 56%, 26%);
  --Very_Dark_Blue: hsl(229, 57%, 11%);
}

body {
  background-image: url("/fylo-data-storage-component-master/images/bg-mobile.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.flex-row {
  display: flex;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.fylo {
  height: 100vh;

  gap: 2rem;
  justify-content: center;
}
/*#region RESET GLOBALE*/
html {
  font-size: 62.5%;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

body {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  box-sizing: border-box;
}

/*#endregion RESET GLOBALE*/

/*#region TOP PART*/

.top,
.bottom {
  padding: 4rem;
  background-color: var(--Dark_Blue);
  width: 85%;
  max-width: 35rem;
  margin: 0 auto;
  gap: 3rem;
  border-radius: 10px 100px 10px 10px;
}

.folders {
  align-items: flex-end;
  gap: 1.5rem;
}

.logo img {
  min-height: 4.2rem;
}
.icon {
  padding: 1.2rem;
  background-color: var(--Very_Dark_Blue);
  object-fit: contain;
  border-radius: 8px;
  display: block;
  width: 5rem;
  height: 5rem;
}

/*#endregion TOP PART*/

/*#region BOTTOM PART*/

.bottom {
  padding: 4rem;
  padding-bottom: 5rem;
  border-radius: 10px;
  gap: 0;

  position: relative;
}

.bottom p {
  color: var(--Pale_Blue);
  font-size: 1.4rem;
}
.bottom > p {
  text-align: center;
  padding-bottom: 1.8rem;
}
.progress-bar {
  width: 100%;
  height: 2rem;
  background-color: var(--Very_Dark_Blue);
  border-radius: 50px;
  position: relative;
  margin-bottom: 1rem;
}

.progress-75 {
  position: absolute;
  left: 0.3rem;
  top: 0.3rem;
  bottom: 0.3rem;
  right: 25%;
  background: linear-gradient(to right, hsl(6, 100%, 80%), hsl(335, 100%, 65%));
  border-radius: 50px;
}
.progress-75::after {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: white;
  position: absolute;
  right: 0;
}
.giga {
  font-weight: 400;
  justify-content: space-between;
  font-size: 1.3rem;
}

.giga_rimasti {
  background-color: white;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  align-items: center;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  gap: 1rem;
}
.giga_rimasti p:nth-of-type(1) {
  font-size: 4.5rem;
  color: var(--Very_Dark_Blue);
  font-weight: 700;
}
.giga_rimasti p:nth-of-type(2) {
  font-size: 1.3rem;
  color: var(--Very_Dark_Blue);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--Grayish_Blue);
  letter-spacing: 0.9px;
}
/*#endregion BOTTOM PART*/

/*#region MEDIA QUERIES*/

@media screen and (min-width: 730px) {
  body {
    background-image: url("/fylo-data-storage-component-master/images/bg-desktop.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
  }
  .top,
  .bottom {
    margin: 0;
  }
  .fylo {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    width: 90%;
    margin: 0 auto;
  }
  .bottom > p {
    text-align: left;
  }
  .bottom {
    transform: translateY(22.5px);
    min-width: 385px;
    padding: 4rem;
  }
  .giga_rimasti {
    top: auto;
    bottom: 100%;
    right: 0;
    left: auto;
    transform: translateY(35%);
    padding: 1rem 1.5rem;
  }

  .giga_rimasti::after {
    position: absolute;
    content: "";
    height: 3rem;
    width: 3rem;
    background-color: white;
    top: 90%;
    right: 0;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
  }
}

@media screen and (min-width: 1000px) {
  .bottom {
    max-width: 60rem;
  }

  .giga_rimasti {
    right: 3rem;
  }
}

/*#endregion MEDIA QUERIES*/
