:root {
    --active-color: linear-gradient(to right, hsl(6, 100%, 80%), hsl(335, 100%, 65%));
    --bg-color: hsl(228, 56%, 26%);
    --GrayishBlue-color: hsl(229, 7%, 55%);
    --palebule-color: hsl(243, 100%, 93%);
    --VeryDarkBlue-color: hsl(229, 57%, 11%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: var(--bg-color) url(images/bg-desktop.png) center/cover no-repeat;
    color: white;
}

.container {
    margin: 20px;
    display: flex;
    align-items: flex-end; 
    gap: 20px;
}


.card {
    background: var(--bg-color);
    padding: 50px;
    border-radius: 10px 80px 10px 10px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    align-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}

.logo img {
    width: 100%;
}

.icons {
    display: flex;
    gap: 15px;
}

.icon {
    padding: 10px;
    background: var(--VeryDarkBlue-color);
    border-radius: 10px;
}

/* Storage Component */
.storage-container {
    place-content: normal;
    display: grid;
    background: var(--bg-color);
    padding: 40px;
    border-radius: 10px;
    position: relative;
    text-align: center;
}

.storage-text {
    text-align: left;
    font-size: 14px;
    margin-bottom: 10px;
}

/* .triaglue{
    position: absolute;
    right: 0;
    bottom: -20px;
    border-top: 15px solid white;
    border-bottom: 15px solid transparent;
    border-left: 15px solid transparent;
    border-right: 15px solid white;
} */

.storage-bar {
    width: 100%;
    height: 12px;
    background: hsl(229, 57%, 20%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 81%;
    background: var(--active-color);
    border-radius: 10px;
    position: relative;
}

/* Small Dot at the End of the Progress Bar */
.dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
}

.gb-values {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--palebule-color);
    margin-top: 5px;
}

/* Tooltip */
.tooltip {
    position: absolute;
    right: 30px;
    top: -40px;
    background: white;
    color: black;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tooltip::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -20px;
    border-top: 15px solid white;
    border-bottom: 15px solid transparent;
    border-left: 15px solid transparent;
    border-right: 15px solid white; */
}

.tooltip p {
    margin: 5px;
    padding: 5px 0px 5px 0;
}

.tooltip span{
    font-size: 25px;
}

/* Responsive */
@media (max-width: 490px) {
    .card, .storage-container {
        width: 90%;
        margin: 20px;
    }

    .container{
        display: flow-root;
    }

    .tooltip {
        overflow: hidden;
        right: 30%;
        top: 75%;
        position: absolute;
    }
}