html,
body {
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
}

* {
    box-sizing: border-box;
}

.container {
    width: 100%;
    background-color: #0000;
    padding: 100px 0px;

    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.container .main-title {
    padding: 0rem 2rem;
    width: 80%;
}

.section {
    padding: 1rem 2rem;
    width: 80%;
    flex: 0 0 auto;
}

/* CARDS */

.card {
    flex: 1 0 auto;
    width: 100%;
    position: relative;
    padding: 20px 20px 0px 20px;
    overflow: hidden;

    border-width: 0px;
    border-radius: 20px;
}

.card.small {
    flex: 1 0 auto;
    width: 45%;
}

.card .section {
    padding: 1rem;
    flex: 1 0 auto;
    width: 100%;
}

.card .section.separator {
    border: none;
    border-bottom: solid 1px #d9d9d9;
    border-radius: 0px;
}

.card h2,
.card h3 {
    margin: 0;
}

/* LISTS */

.tile {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: flex-start;
    gap: 2rem;
}

.bag {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: flex-start;
    gap: 1rem;
}

.bag.center {
    justify-content: center;
}

.stack {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
}

.stack.fit {
    align-items: stretch;
    gap: 0.5rem;
}

.stack > * {
    width: 100%;
}

.left-right {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

/* Others */

.title {
    height: 5rem;

    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.user-image {
    height: 100%;
}

select {
    min-width: 30%;
}

@media screen and (max-width: 650px) {
    .container {
        padding: 20px 0px;
    }

    .section {
        width: 95%;
    }

    .tile {
        padding: 20px 0px;
        display: flex;
        flex-flow: column wrap;
        justify-content: space-between;
        align-items: center;
        align-content: flex-start;
        gap: 40px 40px;
    }

    .stack {
        padding: 20px 0px;
    }

    .left-right {
        flex-flow: column nowrap;
        gap: 1rem;
    }

    .card {
        height: auto;
    }

    .card.small {
        width: 100%;
    }
}
