
body {
    background-color: #161616;
    text-decoration: none;
    
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.select-menu {
    width: 380px;
    margin: 150px auto;
}


.select-menu .select-btn {
    position: relative;
    display: flex;
    top: -140px;
    justify-content: space-between;
    align-items: center;
    height: 55px;
    background: #fff;
    color: #161616;
    font-size: 18px;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    text-decoration: none;
}
.select-btn .icon-arrow {
    font-size: 25px;
    transition: 1s;
}

.select-btn.active .icon-arrow {
    transform: rotate(180deg);
}

.select-menu .list {
    position: absolute;
    width: 350px;
    transform: translateY(-140px);
    margin-top: 10px;
}

.list .option {
    display: flex;
    align-items: center;
    width: 100%;
    height: 55px;
    background: #fff;
    padding: 0 16px;
    cursor: pointer;
    color: #161616;
    transform-origin: top;
    transform: scale(0) translateY(-65px);
    margin-bottom: -55px;
    transition: transform .5s ease-in-out, margin-bottom .2s ease-in-out;
    transition-delay: calc(.1s * var(--i));
    text-decoration: none;
}

.select-btn.active~.list .option {
    transition: transform .5s ease-in-out, margin-bottom .2s ease-in-out;
    transition-delay: calc(.1s * var(--i));
    transform: scale(1) translateY(0);
    margin-bottom: 0;
}

.list .option:hover {
    background: #f2f2f2;
}

.list .option:nth-child(1) {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.list .option:nth-child(3) {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.option .icon {
    font-size: 25px;
    margin-right: 12px;
}

.option .option-text {
    font-size: 18px;
    color: #161616;
    text-decoration: none;
    padding-left: 10px;
}

.option a {
    text-decoration: none;
}