@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --clr-pink-gradient: linear-gradient(to right, hsl(6, 100%, 80%), hsl(335, 100%, 65%));
    --clr-divs-background: hsl(228, 56%, 26%);
    --clr-dark-blue-background: hsl(229, 57%, 11%);
    --clr-text: hsl(243, 100%, 93%);
    --clr-grayish-blue: hsl(229, 7%, 55%);

    --ff-body: "Raleway", sans-serif;

    --fw-bold:700;
    --fw-regular:400;

    --fs-regular:0.875rem;
    --fs-large:2.5rem;
}


/*Css Presets*/

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}


/* Main styling */
body{
 background-color: var(--clr-dark-blue-background);
 font-family: var(--ff-body);
 font-weight: var(--fw-regular);
 font-size: var(--fs-regular);
}

.parent-container{
 width: 100%;
 height: 100vh; 
 background-image: url(./Images/bg-desktop.png);
 background-size: contain;
 background-position: bottom;
 background-repeat: no-repeat;
}

.content-holder{
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding: 2em 2em;
  margin: 0 auto;
  position: absolute;
  top: 10em;
  right: 5em;
  left: 16em;
  max-width: 1000px;
}

.left-side-container{
  background-color: var(--clr-divs-background);
  padding: 2em 2em;
  width: 100%;
  max-width: 350px;
  border-radius: 8px 96px 8px 8px;
}

.icon-boxes{
  display: flex;
  gap: 20px;
  margin-top: 2em;
}

.document-icon-box, .folder-icon-box, .upload-icon-box{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  padding: .7em .7em;
  background-color: var(--clr-dark-blue-background);
  margin-bottom: .5em;
  max-width: 100%;
}

.right-side-container{
  display: flex;
  flex-direction: column;
  gap: 1em;
  background-color: var(--clr-divs-background);
  padding: 3em 2em;
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
}

/* Outer bar */
.progress-bar {
  width: 450px;
  max-width: 450px;
  height: 15px;
  background-color: var(--clr-dark-blue-background);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

/* Inner fill bar */
.progress-fill {
  width: 75%; /* Change this to reflect usage percentage */
  height: 100%;
  background: var(--clr-pink-gradient);
  position: relative;
  border-radius: 10px;
}

/* Circular head at the end of fill */
.progress-head {
  width: 10px;
  height: 10px;
  background-color:var(--clr-text);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 0;
  margin-right: .2em;
  transform: translateY(-50%);
}

.noti-pgrph{
  color: var(--clr-text);
}

.noti-size{
  font-weight: var(--fw-bold);
}

.strg-clr-fs{
  color: var(--clr-text);
  font-weight: var(--fw-bold);
}

.storage-range{
  display: flex;
  justify-content: space-between;
}


.white-box{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em 1.5em;
  text-align: center;
  background-color: var(--clr-text);
  position: absolute;
  top:-4em;
  right: 2em;
  border-radius: 8px 8px 8px 8px;
}


/* Tail shaped exactly like in the design */
.white-box::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: .3px;
  width: 30px;
  height: 30px;
  background-color: var(--clr-text);
  pointer-events: none;
  opacity: 1;
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}

.figure{
  font-weight: var(--fw-bold);
  font-size: var(--fs-large);
  color: var(--clr-dark-blue-background);
}

.fig-text{
  text-transform: uppercase;
  text-align: center;
  font-weight: var(--fw-bold);
  color: var(--clr-grayish-blue);
  font-size: var(--fs-regular);
}


@media (min-width:300px) and (max-width:1200px){
.parent-container{
  background-image: url(./Images/bg-mobile.png);
  background-size:cover;
  background-position:center;
 
}

.content-holder{
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  position: absolute;
  top: 0em;
  height: 100vh;
  right: 0em;
  left: 0em;
}

.left-side-container{
  margin: 0 auto;
  width: 100%;
  max-width: 350px;
}

.right-side-container{
  margin: 0 auto;
  width: 100%;
  max-width: 350px;
}

.progress-bar{
  width: 100%;
}

.white-box{
  position: absolute;
  top: 11em;
  right: 3em;
  width: 70%;
  max-width: 350px;
  text-align: center;
}

.white-box::after{
  display: none;
}

.noti-pgrph{
  text-align: center;
}

   
}
