.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    /* background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9); */
    background: #00000082;
    backdrop-filter: blur(7px);
    overflow-x: hidden;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

.overlay-content {
    position: relative;
    width: 100%;
    top: 15%;
    text-align: center;
    margin-top: 30px;
}

.bg-cover {
    -webkit-background-size: cover;
    -moz-background-size: cover;
}

.overlay a {
    text-decoration: none;
    color: #161616;
    width: 100%;
    transition: 0.3s;
}

.overlay a.button {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.overlay .closebtn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 60px;
    background: #4d4c4c;
    border-radius: 50%;
    height: 3rem;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f1f1f1;
    padding: 0 !important;
}

@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

.dropdown-content {
    display: none;
    flex-direction: column;
    align-items: flex-start;
}

.dropdown_hidden {
    display: none;
}

.dropdown_visible {
    display: flex;
}

.header-active {
    animation: transitionDown 0.5s ease-in-out;
}

@keyframes transitionDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}