html {
    min-height: 100%;
    margin: 0;
}

body {
    display: grid;
    min-height: 100vh;
    width: -moz-available;
    /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;
    /* Mozilla-based browsers will ignore this. */
    align-items: center;
    justify-content: center;
    align-content: center;
    background-color: hsl(229, 57%, 11%);
    background-image: url(../images/bg-desktop.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
}

/*------------------------------FONTS------------------------------*/
.raleway-font,
h1,
span,
b {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

h1 {
    font-size: 3rem;
}

span,
b {
    color: #FFFFFF;
}

span {
    font-weight: 300;
}

/*------------------------------FLEXBOX------------------------------*/
.flex-column,
#fylo-area,
#storage-area {
    display: flex;
    flex-direction: column;
}

.flex-row,
section,
#icons-area,
#gb-left-area {
    display: flex;
    flex-direction: row;
}

/*------------------------------SECTION------------------------------*/
section {
    gap: 2rem;
    align-items: flex-end;
    height: 8vw;
}

/*------------------------------ARTICLE-AREA------------------------------*/
#widget,
#fylo-area,
#storage-area {
    padding: 3rem;
    gap: 2rem;
    background-color: hsl(228, 56%, 26%);
    border-radius: 1rem;
}

#fylo-area {
    width: 18vw;
    border-top-right-radius: 6rem;
}

#icons-area {
    gap: 2rem;
}

#icon-widget {
    padding: 1rem;
    align-content: center;
    text-align: center;
    width: 2rem;
    background-color: hsl(229, 57%, 11%);
    border-radius: 1rem;
}

#gb-left-area {
    position: relative;
    gap: 1rem;
    margin-right: 3rem;
    align-self: flex-end;
    transform: translateY(50%);
    align-items: center;
    width: fit-content;
    height: 3rem;
    padding: 1rem;
    background-color: #FFFFFF;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

#gb-left-area:after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	border-top-color: #FFFFFF;
	border-bottom: 0;
	border-right: 0;
	margin-left: -10px;
	margin-bottom: -20px;
}

#storage-area {
    width: 28vw;
    padding: 3rem;
    gap: 1rem;
    background-color: hsl(228, 56%, 26%);
    border-radius: 1rem;
}

#handle-bar {
    background-color: #FFFFFF;
    padding: 4px;
    border-radius: 1rem;
    width: 4px;
    height: 4px;
    justify-self: self-end;
} 

#loading-bar {
    background: linear-gradient(90deg, rgba(255,163,153,1) 0%, rgba(255,77,151,1) 100%);
    width: 75%;
    padding: 3px;
    border-radius: 1rem;
}

#background-bar {
    background-color: hsl(229, 57%, 11%);
    padding: 4px;
    border-radius: 1rem;
}

/*------------------------------IMG------------------------------*/
#logo {
    width: 50%;
}

/*------------------------------MEDIAS------------------------------*/
@media (max-width: 1200px) {
    body {
        margin: 1rem;
        background-image: url(../images/bg-mobile.png);
        background-size: cover;
    }

    section {
        flex-direction: column;
        height: auto;
    }

    #fylo-area,
    #storage-area {
        width: fit-content;
    }

    #gb-article {
        flex-direction: column-reverse;
    }

    #gb-left-area {
        border-radius: 1rem;
        transform: translateY(-50%);
        margin: auto;
    }

    #gb-left-area:after {
        border: 0;
    }
}