body{
    padding: 0;
    margin: 0;
    background: #E5E5E5;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

*{
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

header, footer{
    display: flex;
    align-items: center;
    background: #f1f1f1;
    padding-inline: 2rem;
}

header{
    box-shadow: 0 2px 10px #818181;
}

footer{
    box-shadow: 0 -2px 10px #818181;
}

main{
    margin-block: auto;
}

.container{
    width: min(90%, 480px);
    margin-inline: auto;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow:  2px 2px 10px #818181,
             -2px -2px 10px #ffffff;
    margin-block: 1rem;
}

.bars-container{
    height: 320px;
    /* background-color: #000; */
    background: #f1f1f1;
}

.color-container{
    background: #f1f1f1;
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem .5rem;
    height: 80px;
}

footer p{
    text-align: center;
    width: 100%;
}

nav{
    margin-left: auto;
}

nav ul{
    display: flex;
    gap: 2rem;
    list-style: none;
}

ul{
    padding: 0;
}

a{
    text-decoration: none;
    color: #000;
    font-weight: 600;
    padding: 0;
}

li a:hover{
    border-bottom: 3px solid #000;
    padding-bottom: 4px;
}

select, button{
    border-radius: .25rem;
    background: none;
    cursor: pointer;
}

button{
    background: none;
    border: 2px solid #D1D5DB;
    padding: .5rem 1rem;
}

button:active{
    outline: none;
}

#color{
    /* padding: 0; */
    height: 48px;
    width: 70px;
    border: 2px solid #D1D5DB;
}

select{
    width: 50%;
    border: 2px solid #D1D5DB;
    padding: .5rem;
    padding-right: 2rem;
}

*:focus{
    outline: 2px solid #3D4B6056;
    outline-offset: 2px;
}

option{
    padding: .5rem 1rem;
}

.bars-container{
    display: flex;
    padding-bottom: 3rem;
}

.bars{
    width: 20%;
    background: red;
    position: relative;
}
  
  .bars span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
  }

#bar1{
    background: #F55A5A;
}

#bar2{
    background: #2B283A;
}

#bar3{
    background: #FBF3AB;
}

#bar4{
    background: #AAD1B6;
}

#bar5{
    background: #A626D3;
}

@media (max-width: 480px) {
    header{
        flex-direction: column;

    }

    nav{
        margin-inline: auto;
    }

    .bars span{
        transform: rotate(90deg);
        left: 0;
        bottom: 50px;
        background: #ffffff;
    }
}
