.dropdown-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    color: var(--pwrred);
    padding: 0.6rem 1rem;
    border: 1px solid var(--pwrred);
    cursor: pointer;
    width: 124px;
    font-size: 1.2rem;
}

.dropdown-button::after {
    position: absolute;
    right: 0.5rem;
    bottom: 0.6rem;
    content: "";
    border: 0.35rem solid transparent;
    border-top: 0.5rem solid rgb(177, 32, 9);
    border-left: 6px solid rgba(177, 32, 9, 0);
    border-right: 6px solid rgba(177, 32, 9, 0);
    border-top-color: rgb(177, 32, 9);
}

.dropdown {
    position: relative;
    width: 124px;
}

.dropdown-content {
    position: absolute;
    top: calc(100% - 0.25rem);
    list-style: none;
    margin: 0.8rem 0 0 0;
    padding: 0;
    display: grid;
    background-color: #ffffff;
    box-shadow: 0px 5px 5px #c0c0c0;
    border: 1px solid var(--pwrgray);
    transform: rotateX(-90deg);
    transform-origin: top center;
    opacity: 0.3;
    transition: 250ms all 200ms ease-out;
    width: 124px;
}

.dropdown-content::before {
    border-bottom: 0.5rem solid rgb(80, 80, 80);
    border-left: 6px solid rgba(80, 80, 80, 0);
    border-right: 6px solid rgba(80, 80, 80, 0);
    content: "";
    display: inline-block;
    position: absolute;
    top: -0.5rem;
    right: 0.5rem;
    height: 0;
    vertical-align: top;
    width: 0;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    opacity: 1;
    transform: rotateX(0);
    visibility: visible;
}

.dropdown-content li {
    padding: 0;
}

.dropdown-content a {
    color: var(--pwrgray);
    width: 100%;
    padding: 0.6rem 0;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 1.2rem;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
    background-color: var(--pwrred);
    color: #ffffff;
}

.dropdown:hover .dropdown-content {
    display: block;
}
