:root {
    --card-bg: #fff;
}

.dropdowncard {
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 999;
    position: fixed;
    top: 0;
}

.dropdownbg {
    background-color: var(--card-bg);
    border-radius: 10px;
    top: 15px;
    max-width: 450px;
    box-shadow: 0 2px 15px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    align-items: center;
    position: fixed;
    justify-content: center;
    font-size: 12px;
    padding: 0 15px;
    transition: transform .5s ease-in-out;
    transform: translateY(calc(-110% + -25px));
}

.dropdownbg i {
    font-size: 25px;
    margin-right: 8px;
    color: crimson;
}

@media screen and (max-width: 65em) {
    .dropdowncard {}

    .dropdownbg {}

    .dropdownbg i {}
}

.dropdowncard .dropdownbg.active {
    transform: translateY(0%);
}