/* Add a black background color to the top navigation */
.topnav {
    position: relative;
    /* background-color: #333; */
    overflow: hidden;
    /* display: flex; */
    justify-content: center;
    /* Center the items horizontally */
    align-items: center;
    /* Center the items vertically */
    /* background-color: black; */
    /* Adding black background color to the top navigation */
    overflow: hidden;
    top: auto;
    /* padding: 10px; */
    /* margin-top: -60px; */

}

.topnav3 {
    margin-top: -10 !important;

}

.topnav2 {
    position: relative;
    /* background-color: #333; */
    overflow: hidden;
    display: flex;
    justify-content: center;
    /* Center the items horizontally */
    align-items: center;
    /* Center the items vertically */
    /* background-color: black; */
    /* Adding black background color to the top navigation */
    overflow: hidden;

}

.topnav2 a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 40px;
    text-decoration: none;
    font-size: 17px;
}

.topnav2.hidden-navbar {
    display: none;
}

/* .top-nav {
    position: sticky;
    background-color: #333;
    overflow: hidden;

} */

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Style the links inside the navigation bar */
.topnav a {
    /* float: left; */
    color: #f2f2f2;
    text-align: center;
    padding: 14px 40px;
    text-decoration: none;
    font-size: 17px;
}

.btn-2 {
    letter-spacing: 0;
}

/* .btn-2:hover,
.btn-2:active {
    letter-spacing: 5px;
} */

li.different {
    border: none;
    position: relative;
}

li.different:hover {
    border: none;
}

li:hover {
    border-bottom: 5px solid #FFFFFF;
}

.different::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 2px;
    left: 50%;
    bottom: 0;
    background-color: white;
    transition: all ease-in-out .2s;
}

.different:hover::after {
    width: 100%;
    left: 0;
}

.logo-different {
    border: none;
    position: relative;
}

.logo-different:hover {
    border-bottom: 5px solid #FFFFFF;
}

.logo-different::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 2px;
    left: 50%;
    bottom: 0;
    background-color: white;
    transition: all ease-in-out .2s;
}

.logo-different:hover::after {
    width: 100%;
    left: 0;
}

li.different-dark {
    border: none;
    position: relative;
}

li.different-dark:hover {
    border: none;
}

/* li:hover {
    border-bottom: 5px solid #FFFFFF;
} */

.different-dark::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 2px;
    left: 50%;
    bottom: 0;
    background-color: #213212;
    transition: all ease-in-out .2s;
}

.different-dark:hover::after {
    width: 100%;
    left: 0;
}

.logo-different-dark {
    border: none;
    position: relative;
}

.logo-different-dark:hover {
    border-bottom: 5px solid #FFFFFF;
}

.logo-different-dark::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 2px;
    left: 50%;
    bottom: 0;
    background-color: white;
    transition: all ease-in-out .2s;
}

.logo-different-dark:hover::after {
    width: 100%;
    left: 0;
}


.btn-2:after,
.btn-2:before {
    backface-visibility: hidden;
    border: 1px solid rgba(#fff, 0);
    bottom: 0px;
    content: " ";
    display: block;
    margin: 0 auto;
    position: relative;
    transition: all 280ms ease-in-out;
    width: 0;
}

.btn-2:hover:after,
.btn-2:hover:before {
    backface-visibility: hidden;
    border-color: #fff;
    transition: width 350ms ease-in-out;
    width: 70%;
}

.btn-2:hover:before {
    bottom: auto;
    top: 0;
    width: 70%;
}

/* Change the color of links on hover */
.topnav a:hover {
    /* background-color: #ddd; */
    color: white;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

}

/* Add a color to the active/current link */
.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

/* Centered section inside the top navigation */
.topnav-centered a {
    float: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Right-aligned section inside the top navigation */
.topnav-right {
    float: right;
}

/* Responsive navigation menu - display links on top of each other instead of next to each other (for mobile devices) */
@media screen and (max-width: 600px) {

    .topnav a,
    .topnav-right {
        float: none;
        display: block;
    }

    .topnav-centered a {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }
}

.space-between {
    margin-left: 160px;
    /* Adjust the margin as needed */
}

/* Change the color of links on hover */
.topnav2 a:hover {
    /* background-color: #ddd; */
    color: white;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

}

/* Add a color to the active/current link */
.topnav2 a.active {
    background-color: #04AA6D;
    color: white;
}

/* Centered section inside the top navigation */
.topnav-centered a {
    float: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Right-aligned section inside the top navigation */
.topnav2-right {
    float: right;
}

/* Responsive navigation menu - display links on top of each other instead of next to each other (for mobile devices) */
@media screen and (max-width: 600px) {

    .topnav2 a,
    .topnav-right {
        float: none;
        display: block;
    }

    .topnav-centered a {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }
}

.space-between {
    margin-left: 160px;
    /* Adjust the margin as needed */
}