﻿.navbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    background-color: #000;
    padding-right: 4rem;
    height: 100px;
}

    .navbar a {
        font-size: 14px;
        color: #fff;
        text-align: center;
        padding: 14px 16px;
        font-weight: 400;
        text-decoration: none;
    }


.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: #fff;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    transition: 200ms;
}

.navbar a:hover, .dropdown:hover .dropbtn {
    color: #068fff;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 55px;
    border-radius: 2px;
    background-color: #ffffff;
    width: 300px;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    animation: slideOut 200ms ease forwards;
    margin: 0;
}


@keyframes slideOut {
    0% {
        top: 65px;
    }
    /* Start position */
    100% {
        top: 55px;
    }
    /* End position */
}




.dropdown-content-cus {
    display: none;
    border-radius: 2px;
    margin-top: 15px;
    background-color: #fff;
    width: 270px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transition: display 0.3s ease, transform 0.3s ease;
}

    .dropdown-content-cus a {
        float: none;
        color: #555;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }





.dropdown-content a {
    float: none;
    color: #333;
    margin: 0;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    text-decoration: none;
    display: block;
    text-align: left;
}

    .dropdown-content a:hover {
        color: #e67e22;
    }

.dropdown:hover .dropdown-content {
    display: block;
    transform: translateY(-10px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.dropdown:hover .dropdown-content-cus {
    display: block;
    transform: translateY(-10px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}




.drown-content-items {
    display: flex;
    justify-content: space-between;
}



.nav-wrapper {
    display: flex;
    justify-content: space-between;
    background-color: #000000;
    padding: 4rem 3rem;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}



    a:hover {
        opacity: 0.5;
    }

ul {
    padding: 0;
    list-style-type: none;
}



.topnav {
    display: none;
    overflow: hidden;
    background-color: #000;
    position: relative;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}


.topnav #myLinks {
    display: none;
}


.topnav a {
    color: #ffffff;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
}


.topnav a.icon {
  
    background: #000;
    display: block;
    position: absolute;
    right: 0;
    top: 20px;
}

    .topnav .dropdown .dropbtn {
        color: #555;
    }


.topnav a:hover {
    background-color: #ddd;
    color: black;
}


.active {
    background-color: #000;
    color: white;
}

#myLinks {
    background-color: #ffffff;
    
    transition: top 0.5s ease; /* Smooth transition */
    animation-name: fadeIn; /* Name of the animation */
    animation-duration: 0.5s; /* Duration of the animation */
}

#myLinks .dropdown {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: #ccc; 
}

.cus-arrow {
    font-size: 1.4rem;
    color: #333;
}


@keyframes fadeIn {
    0% {
        opacity: 0; /* Start with opacity 0 */
    }

    100% {
        opacity: 1; /* End with opacity 1 */
    }
}
