/* Start Variables */
:root {

    /* Primary Colors */
    --gradient-color-1: hsl(6, 100%, 80%);
    --gradient-color-2: hsl(335, 100%, 65%);

    /* Neutral Colors */
    --blue-color-200: hsl(243, 100%, 93%);
    --grayish-blue-color: hsl(229, 7%, 55%);
    --blue-color-850: hsl(228, 56%, 26%);
    --blue-color-950: hsl(229, 57%, 11%);

    /* */
    --white-color: hsl(0, 0%, 100%);
    --black-color: hsl(0, 0%, 7%);
}

/* End Variables */

/* Start Global Rules */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    font-family: "Raleway", sans-serif;
    background-color: var(--blue-color-950);
    color: var(--blue-color-200);
    font-weight: 400;
    font-size: 14px;
}

/* End Global Rules */

.container {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: -2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container .box {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Small Screens */
@media (max-width: 768px) {
    .container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .container::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        background: url("../images/bg-mobile.png");
        background-size: cover;
        background-position: center;
    }

    .container .box {
        width: 270px;
        margin: auto;
        flex-direction: column;
        gap: 20px;
    }
}

/* Medium & Large Screens */
@media (min-width: 767px) {
    .container {
        padding-left: 100px;
        padding-right: 100px;

    }

    .container::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 50%;
        left: 0px;
        z-index: -1;
        background: url("../images/bg-desktop.png");
        background-size: contain;
        background-repeat: no-repeat;
    }

    .container .box {
        width: 100%;
        margin: auto;
        flex-direction: row;
        align-items: flex-end;
        gap: 30px;
    }
}

.container .box .logo {
    background-color: var(--blue-color-850);
    padding: 30px 80px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    border-radius: 10px 80px 10px 10px;
    -webkit-border-radius: 10px 80px 10px 10px;
    -moz-border-radius: 10px 80px 10px 10px;
    -ms-border-radius: 10px 80px 10px 10px;
    -o-border-radius: 10px 80px 10px 10px;
}

.container .box .logo .main-logo {
    width: 120px;
}

.container .box .logo .folders {
    display: flex;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.container .box .logo .folders .icons {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 45px;
    width: 45px;
    background-color: var(--blue-color-950);
    padding: 8px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.container .box .logo .folders .icons .icon {
    width: 22px;
}

.container .box .storage {
    width: 100%;
    align-items: center;
    position: relative;

    background-color: var(--blue-color-850);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

/* Small Screens */
@media (max-width: 768px) {
    .container .box .storage {
        padding-bottom: 50px;
    }

    h1 {
        color: var(--blue-color-950);
        font-size: 35px;
    }

    .value {
        font-size: 12px;
        color: var(--grayish-blue-color);
        font-weight: 700;
        text-transform: uppercase;
    }

    .main-p {
        font-size: 13px;
        margin-bottom: 10px;
    }
}

@media (min-width: 767px) {
    .container .box .storage {
        width: 50%;
        padding: 25px 30px;
        align-items: flex-start;
    }

    h1 {
        color: var(--blue-color-950);
        font-size: 43px;
    }

    .value {
        font-size: 14px;
        color: var(--grayish-blue-color);
        font-weight: 700;
        text-transform: uppercase;
    }

    .main-p {
        font-size: 15px;
        margin-bottom: 10px;
    }
}

.txt-bold {
    font-weight: 700;
}

.container .box .storage .progress {
    width: 100%;
    height: 18px;
    position: relative;
    background-color: var(--blue-color-950);
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.container .box .storage .progress span {
    height: 100%;
    background: linear-gradient(to right, var(--gradient-color-1), var(--gradient-color-2));
    border: 2px solid var(--blue-color-950);
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.container .box .storage .progress span::after {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    width: 13px;
    height: 13px;
    background-color: var(--white-color);

    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.container .box .storage .total-storage {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.container .box .storage .total-storage span {
    width: fit-content;
    font-size: 12px;
    font-weight: 700;
}

.container .box .storage .remained-storage {
    position: absolute;
}

.container .box .storage .remained-storage .storage-box {
    background-color: var(--white-color);
    padding: 15px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

@media (max-width: 768px) {
    .container .box .storage .remained-storage {
        bottom: -22%;
    }

}

@media (min-width: 767px) {
    .container .box .storage .total-storage span {
        width: fit-content;
        font-size: 14px;
        font-weight: 700;
    }

    .container .box .storage .remained-storage {
        top: -48%;
        right: 35px;
    }

    .container .box .storage .remained-storage .storage-box {
        position: relative;
        padding: 20px 35px;
        gap: 10px;
        border-radius: 10px 10px 0px 10px;
        -webkit-border-radius: 10px 10px 0px 10px;
        -moz-border-radius: 10px 10px 0px 10px;
        -ms-border-radius: 10px 10px 0px 10px;
        -o-border-radius: 10px 10px 0px 10px;
    }

    .container .box .storage .remained-storage .storage-box::after {
        position: absolute;
        content: "";
        border-style: solid;
        border-width: 15px;
        border-color: var(--white-color) var(--white-color) transparent transparent;
        bottom: -22px;
        right: 0;

    }

}


.attribution {
    text-align: center;
    margin: -150px auto 0px;
    z-index: 3;
}

@media (max-width: 768px) {
    .attribution {
        text-align: center;
        margin: -60px auto auto;
        z-index: 3;
    }
}

.attribution a {
    color: var(--white-color);
    font-style: italic;
    font-weight: 700;
    text-decoration: none;
}