.heading {
    display: flex;
    padding: 2px 0;
    width: 100%;
    padding-top: 7px;
    padding-bottom: 7px;
    color: #ffffff;
    z-index: 100;
    background-color: #010E6A;
}


.heading a {
    position: relative;
    font-size: 16px;
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    margin-right: 30px;
}

.card-bg {
    background-color: #010E6A;
}

#logo_image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-bottom: 1px solid #80808066;
    border-radius: 50%;
    margin-left: 5px;
}

#form_logo_image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-bottom: 1px solid #80808066;
    border-radius: 50%;
}

.heading a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #f1ecec;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: .3s;
}

.heading a:hover::after {
    transform: translateY(0);
    opacity: 1;
}

.heading ul {
    list-style-type: none;
    margin-left: auto;
    display: flex;
    align-items: center;
    color: #666;
}


.profile {
    border: 5px solid #c1c1c1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.6rem;
    cursor: pointer;
    margin-right: 30px;
}

.profile button {
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
    position: absolute;
    top: -15px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}


.profile img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.profile-settings {
    position: absolute;
    background-color: rgb(185, 181, 181);
    top: 4rem;
    right: 1rem;
    width: 250px;
    height: 90px;
    font-size: 20px;
    font-weight: bold;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.profile-settings ul {
    list-style-type: none;
    width: 100%;
}

.profile-settings a {
    text-decoration: none;
    padding-left: 8px;
}

.profile-settings ul li {
    width: 100%;
    padding: 10px;
}

.profile-settings ul li:hover {
    background: transparent;
    color: white;
}

.topbar {
    display: none;
}

 .heading .admin-drop-menu {
    display: none;
}

.menu {
    display: none;
}

@keyframes slideUpDown {
    0% {
      height: 0;
      opacity: 0;
    }
    100% {
      height: 100px;
      opacity: 1;
    }
  }
  
  .dropmenu {
      animation-duration: 0.4s;
  }
  
  .opening, .closing {
      animation-name: slideUpDown;
  }
  

@media screen and (max-width: 50rem) {
    .heading, .heading .brandname {
        display: none;
    }

    .dropmenu {
        background: white;
        position: absolute;
        top: 4rem;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100px;
        margin-top: 7px;
        z-index: 5;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        overflow: scroll;
    }

    .dropmenu .admin-drop-menu {
        display: block;
    }

    .dropmenu ul {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
    }

    .dropmenu ul  li {
        width: 100%;
        padding: 15px 20px;
    }

    .dropmenu ul  li:hover {
        background-color: #23435c;
    }

    .topbar {
        display: block;
        z-index: 100;
        background-color: #010E6A;
    }

    .heading .logo {
        display: none;
    }

    .topbar .menu {
        display: flex;
        align-items: center;
        font-size: 2.5rem;
        margin-right: 5px;
        position: absolute;
        right: 0.3rem;
        top: 0.8rem;
        border-radius: 5px;
        cursor: pointer;
    }

    .topbar .logo {
        margin-left: 3px;
        border-bottom: none;
        border: 5px solid rgba(251,155,66,255);
        border-radius: 50%;
        background-color: rgba(0,168,168,255);
    }

    .topbar .menu:hover {
        background-color: rgba(0,168,168,255);
        opacity: 90%;
    }

    .topbar .brandname {
        display: block;
        position: absolute;
        top: 1.6rem;
        left: 3rem;
        font-size: 1rem;
    }
}