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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    display: block;
}

body {
    background-image: url('./images/bg-mobile.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
}

main {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    height: 90%;
    gap: 2rem
}

.logo-and-icons,
.description {
    background-color: hsl(228, 56%, 26%);
    width: 20rem;
    border-radius: 10px;
}

.logo-and-icons {
    height: 13rem;
    border-top-right-radius: 100px;
    padding: 3rem;
}

.icons {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: hsl(229, 57%, 11%);
    border-radius: 10px;
}

.description {
    padding: 2rem;
    padding-bottom: 3rem;
    position: relative;
    color: hsl(243, 100%, 93%);
}

.description>p {
    text-align: center;
}

.description>p>span {
    font-weight: 700;
}

.slider,
.slider-markers {
    margin-top: 0.5rem;
}

.slider,
.storage-left {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.progress-bar,
.progress-indicator {
    border-radius: 7.5px;
}

.progress-bar {
    width: 100%;
    height: 18px;
    background-color: hsl(229, 57%, 11%);
    padding: 2px;
}

.progress-indicator {
    height: 100%;
    width: 81.5%;
    background: linear-gradient(90deg, hsl(6, 100%, 80%), hsl(335, 100%, 65%));
    padding: 1px;
}

.progress-marker {
    height: 12px;
    width: 12px;
    border-radius: 6px;
    background-color: hsl(243, 100%, 93%);
    margin-left: auto;
}

.slider-markers {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
}

.storage-left {
    position: absolute;
    bottom: -30%;
    right: 25%;
    background-color: hsl(243, 100%, 93%);
    width: 50%;
    height: 5rem;
    border-radius: 15px;

}

.storage-left>p {
    color: hsl(229, 7%, 55%);
    text-transform: uppercase;
}

.storage-left>p>span {
    color: hsl(229, 57%, 11%);
    font-weight: 700;
    font-size: 2rem;
}

.attribution {
    color: #fff;
    font-size: 11px;
    text-align: center;
}

.attribution a {
    color: hsl(197, 42%, 46%);
}

@media (min-width:1440px) {

    body {
        background-image: url('./images/bg-desktop.png');
        background-position: bottom;
        background-size: contain;
        background-color: hsl(229, 57%, 11%);
    }

    main {
        flex-flow: row nowrap;
    }

    .description {
        margin-top: 4rem;
        width: 30rem
    }

    .storage-left {
        position: absolute;
        top: -50%;
        right: 10%;
        background-color: hsl(243, 100%, 93%);
        width: 40%;
        height: 5rem;
        border-radius: 15px;
    }

    .triangle {
        width: 0;
        height: 0;
        border-top: 30px solid transparent;
        border-bottom: 30px solid transparent;
        border-right: 30px solid hsl(243, 100%, 93%);
        position: absolute;
        right: 0;
        bottom: -30%
    }

}