html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;

    background-color: #FFFFFF;
    min-height: 100vh; 
    height: auto; 
}

#myVideo, .overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

#myVideo {
    width: 100%;
    /* height: 100vh;     */
    object-fit: cover;
    z-index: -10;
}

.overlay {
    background: rgba(46, 64, 46, 0.38);
    z-index: -1;    
}


.navbar {
    display: flex;
    justify-content: space-between; 
    height: 8vh;

    transition: all 0.4s ease;
    align-items: center;
    background-color:#F8F8FA;

    padding-right: 40px;
    padding-left: 40px;
    font-family: 'Montserrat';
}


/* SEARCHBAR */
.search-bar {
    display: flex;
    background-color: white;

    width: 550px;
    height: 30px;
    border-radius: 10px;

    align-items: center;
    padding-left: 15px;
    border: 0.5px solid #333;
}

.searchbar-input {
    flex-grow: 1;
    padding-right: 70px;
}

.searchbar-input input {
    border: none;
    outline: none;
    font-size: 15px;
    width: 100%;

    padding-left: 30px;
    font-family: 'Montserrat', sans-serif;
}

.search-dropdown{
    position: relative;
    cursor: pointer;
    user-select: none;    
}

.dropdown-trigger{
    display: flex;
    align-items: center;
    height: 30px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0px 4px 8px rgba(0, 0, Search drop down search drop down0, 0.1);
    list-style: none;
    margin: 4px 0 0 -15px;
    padding: 6px 0;
    z-index: 1000;
}

    /* Menu items */
.dropdown-menu li {
    padding: 8px 16px;
    cursor: pointer;
    color: #333;
}

.dropdown-menu li:hover {
    background-color: #f1f1f1;
}

.search-dropdown.active .dropdown-menu {
    display: block;
}

.search-dropdown.active #down-arrow-png {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.search-icon {
    display: flex; 
    align-items: center;
    justify-content: center;
    
    background: none;
    border: none;
    /* border-left: 0.5px solid #333; */
    
    width: 40px;
    height: 30px; 
    margin: 0px;

    cursor: pointer;
}

.explore-dropdown {
    display: flex; 
    flex-direction: row; 
    align-items: center;

    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-left, .navbar-right, .navbar-center {
    background-color: white;
    height: 50px;
    border-radius: 40px;
    margin-top: 40px;

    display: flex;
    align-items: center;
    justify-content: center; 
}

.navbar-left{
    width: 200px;
    justify-content: center;   
}

.navbar-right {
    width: 200px;
    justify-content: center;  
}

.navbar-center {
    display: flex;
    align-items: center;

    width: 700px;
    justify-content: space-around; 
}

#advertplan-navbar {
    margin-right: 20px;
}

#esg-logo-navbar {
    height: 30px;
}

.links-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;

    margin-left: 20px;
}

.nav-divider {
    width: 1px;
    height: 25px;
    background-color: black;

    margin-left: 15px;
    margin-right: 0px;
}

#search-icon-circle {
    height: 30px;
    width: 30px;
    background-color: transparent;

    cursor: pointer;
    margin-right: 10px;
}

#search-icon-png {
    height: 30px;
}

.navbar-text {
    display: inline-block;
    /* margin-left: 15px; */
    vertical-align: center;
    font-size: 15px;
    color: black;
    
    transition: color 0.3s ease, transform 0.3s ease;
}

a.navbar-text {
    text-decoration: none;
}

a.navbar-text:hover {
    color: #6e6e6e; 
    transform: translateY(-3px);
}


/* PROFILE DROPDOWN */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 15px;
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1000;
    
}

.dropdown-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a, .logout-button {
    color: #226b20;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover,
.dropdown-content .logout-button:hover {
    background-color: #f2f2f2;
    color: #4a4a4a;          

    cursor: pointer;
}

.logout-button {
    background: none;
    border: none;

    width: 100%;

    text-align: left;
    padding: 10px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #226b20;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* PROFILE DROPDOWN */

.advert-corner {
    border-top-left-radius: 45px;
    border-top-right-radius: 45px;

}