.navbar
{
    background: white;
    box-shadow: var(--dropshadowFull);
    display:flex;
    width:100%;
    position: fixed;
    top:0;
    z-index: 99999;
}
.nav-menu-btn, .nav-donate-btn
{
    margin:0;
}
.nav-menu-btn
{
    margin-top:10px;
    display: none;

    color:white;
    border-radius: 10px;
    border:none;
    outline: none;
    padding: 8px 12px;

    transition: var(--btnTransitionSpeed);
    cursor: pointer;
    text-align: center;
    fill: var(--primaryOne);
   
}
.nav-menu-btn:hover
{
    box-shadow: none;
    transform: scale(1.15);
    fill: var(--primaryTwo);
}


.menu-items-desktop, .container-right
{
    display: flex;
    justify-content: center;
    align-items: center;
    /* height:100px; */
    width:100%;
    font-size: 1em;
}

.logo
{
    height:50px;
    width:auto;
    margin:10px;
    margin-left:50px;
    cursor: pointer;
    transition:0.3s;
}
.logo:hover
{
    transform: scale(1.05);
    transition:0.3s;
}

.nav-link
{
    display:flex;
    justify-content: center;
    align-items: center;
    height:100%;
    padding: 0 20px;
    top:50px;
    align-self: center;
    text-decoration: none;

    border-bottom-width: 0%;
    transition: 0.2s;
    /* background:pink; */

}
.nav-link button 
{
    margin-top:0;
   
}
.global-donation-link
{
     color: white;
}
.global-donation-link:hover
{
     color: white;
}

.nav-link.nav-btn:hover, .nav-link.nav-btn:focus
{
    border-bottom:none;;
    /* border-bottom-width: 100%; */
}

 a.active
{
    color:var(--primaryTwo);
    text-decoration: underline;
    -webkit-text-decoration-color: var(--primaryTwo); /* Safari */  
    text-decoration-color: var(--primaryTwo);
    /*border-bottom: 2px solid var(--primaryTwo);*/
    /*border-bottom-width: 100%;*/
    /* transform: translateY(5px); */
}
a:hover, a:focus
{
    color:var(--primaryTwo);
    transform: scale(1.1);
}
.nav-menu-btn-container:hover
{
    border-top: 0px solid white;
    border-top-width: none;
}

li,
a,
button {
    margin-top:0px;
    text-decoration: none;
    color: #333;
    list-style:none;
    transition: 0.3s;
}
.nav-donate-btn
{
    margin-top:10px;
}
.dropdown-link
{
    position:relative;
    cursor: pointer;
    top:0;
}

.dropdown-link a
{
   width:100%;
}
.dropdown
{
    display:block;
    position: absolute;
    top:70px;
    border-top: 0px solid var(--primaryTwo);
    background:white;
    /* padding:15px; */
    padding-top:0;
    width:max-content;
    box-shadow: 2px 5px 5px #5a5a5a46;
    height:auto;
    text-align: center;
    border-radius: 0 0px 10px 10px;
    transform: scale(0);
    transform-origin: top;
    z-index: 999;
    transition: 0.2s ease-in-out;
    overflow: hidden;
}

.dropdown-link:hover > .dropdown, 
.dropdown:hover
{
    border-top: 5px solid var(--primaryTwo);
    cursor: pointer;
    transform: scale(1);
}
.dropdown li,
.account-link .dropdown li
{
    font-weight:200;
    width:100%;
    border-bottom: rgba(0, 0, 0, 0.082) solid 1px;
    transition: 0.2s ease-in-out;
    display:flex;
    justify-content: center;
    align-items:center;
}

.dropdown li:hover
{
    background-color: var(--primaryTwo);
}
.dropdown li {
    margin-top:0;
}
.dropdown li a,
.account-link li a
{
    padding: 10px 20px;
}

.dropdown li:hover a
{
    color: white;
    font-weight:400;
    text-decoration: underline;
    -webkit-text-decoration-color: white; /* Safari */  
    text-decoration-color: white;
}

.account-link a:hover
{
    border:none;
}

#account-thumb-container
{
    display:flex;
    align-items: center;
}
#account-thumb 
{
    border: white solid 5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    object-fit: cover;
    object-position: center;
}
#account-thumb:hover  
{
    border: var(--primaryOne) solid 2px;
    /* transform: scale(1.025); */
}

.container-right
{
    margin-right: 50px;
    justify-content: flex-end;
    width: min-content;
}
/* Mobile nav */
.menu-items-mobile
{
    display:none;
}

.overlay-mobile
{
    /* margin-top: 60px; */
    height:100%;
    width:0%;
    position:fixed;
    z-index:999999;
    left:0;
    top:0;
    background:white;
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-nav-items
{
    display:flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width:100%;
}
.overlay-mobile a
{
    padding: 15px;
    font-size: 20px;
    display:block;
    transition: 0.3s;
    display:flex;
    justify-content:center;
    align-items: center;
    width:100%;
    text-align: left;
    /* padding-left: 150px; */
}
.overlay-mobile a p
{
    width: 100%;
    max-width: 150px;
}
.overlay-mobile a img
{
    width:20px;
    height:20px;
    filter:opacity(0.4);
    margin-right: 25px;
}

.overlay-mobile a:hover, .overlay-mobile a:focus
{
    color: var(--primaryTwo);
}
.overlay-mobile .close-nav
{
    position: absolute;
    top:20px; 
    right:25px;
    font-size:60px;
    color:black;
    transition: 0.3s;
}
.overlay-mobile .close-nav:hover
{
    color: var(--primaryTwo);
}


/* Footer */
footer
{
    margin-top: auto;
    width:100%;
    border-top: 10px solid var(--primaryOne);
    background: var(--primaryThree);
    /* height: 150px; */
    color:white;
    padding: 25px;
    font-size: 0.8em;
    font-weight: 300;
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: top;
}
.footer-reg-numbers
{
    margin-top: 10px;
}
.footer-reg-numbers p 
{
    margin-left: 10px;
}
.footer-logo-container
{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: auto;
}
.footer-logo-container img
{
    width: 100%;
    height:auto;
    object-fit: contain;
    object-position: center;
}
.copy-right-container
{
    width: 100%;
    max-width: 250px;
}
.copy-right-container img
{
    margin: 10px 0;
    width: 100%;
    max-width:100px;
    height:auto;
    object-fit: contain;
    object-position: center;
}
.footer-links-container
{
    display:flex;
    width: 100%;
    max-width: max-content;
    flex-direction: column;
    color: white;
}
.footer-links-container h3
{
font-weight: 400;
}
.footer-links-container a
{
    color: white;
    margin:0;
}
.footer-social
{
    width: 100%;
    border-top: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top:10px;
    
}
.footer-social img
{
    width: 20px;
    height: 20px; 
    object-fit: contain;
    filter: invert();
    margin: 0 10px;
}
.footer-social a , .footer-social p
{
    width: 20px;
    height: 20px; 
    margin: 10px;
}
.footer-social  p
{
    width: max-content;
    margin: 0;
    align-self: center;
    justify-self: center;
}

.page-loader-wrapper
{
    width: 100%;
    height:100%;
    position: fixed;
    top:0;
    left: 0;
    background-color: #EBFBFF;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999999999999;
}
.page-loader-wrapper.fade
{
    animation: fadeOut 0.5s;
}

.page-loader
{
    width: 150px;
    height:100px;
    animation: spinner 2s infinite;
    background: url(../../public/assets/img/logo/Logo_med.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@-webkit-keyframes spinner {
    0%   { opacity: 0; }
    50%   { opacity: 1; }
    100% { opacity: 0; }
  }
  @-moz-keyframes spinner {
    0%   { opacity: 0; }
    50%   { opacity: 1; }
    100% { opacity: 0; }
  }
  @keyframes spinner {
    0%   { opacity: 0; }
    50%   { opacity: 1; }
    100% { opacity: 0; }
  }

@-webkit-keyframes fadeOut {
    0%   { opacity: 1; }
    100% { opacity: 0; }
  }
  @-moz-keyframes fadeOut {
    0%   { opacity: 1; }
    100% { opacity: 0; }
  }
  @keyframes fadeOut {
    0%   { opacity: 1; }
    100% { opacity: 0; }
  }

@media(max-width:1440px)
{

    .logo
    {
        height:40px;
        width:auto;
        margin-left:25px;
        cursor: pointer;
    }
    .nav-link
    {
        font-size: 0.9em;
    }
    .dropdown
    {
        top:60px;
    }
}

@media(max-width:1100px)
{
    .menu-items-desktop, .nav-donate-btn, .profile-link
    {
        display: none;
    }

    .nav-menu-btn
    {
        display: inherit;
    }
    .navbar
    {
        justify-content: space-between;
    }

    .active
    {
        display: flex;

    }
}
@media(max-width:650px)
{
    .footer-logo-container
    {
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: auto;
    }
    .logo
    {
        height:30px;
        margin:10px;
        margin-left:25px;

    }
    #nav-menu-btn
    {
        margin:0;
    }
}

@media screen and (max-height:450px)
{

    .overlay-mobile a
    {
        font-size: 20px;
    } 

    .overlay-mobile .close
    {
        font-size: 40px;
        top:15px;
        right:35px;
    }
}
