* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 20px;
    position: relative;
    z-index: 100;
}

.navbar-left {
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.navbar-left .logo {
    transform: scale(1.8);
    height: 70px;
    width: auto;
}

.navbar-left .textC {
    display: flex;
    align-items: center;
    font-size: 30px;
    line-height: 30px;
    font-family: 'Caveat', cursive;
    font-weight: 400;
    color: #04BFAA;
    margin-left: 10%;
}

.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links {
    list-style: none;
    display: inline-flex;
    align-items: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
    padding: 8px 12px;
    transition: color 0.3s ease, color 0.3s ease;
}

/* Subopciones de la navbar*/
.navbar .dropdown {
    z-index: 200;
}

.navbar .dropdown-menu {
    display: none;
    position: absolute;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    list-style: none;
    z-index: 1;
}

.navbar .dropdown-menu li {
    padding: 12px 5px;
    transition: color 0.2s ease, color 0.2s ease;
    animation: fadeIn 0.2s ease-in both;
}

.navbar .dropdown-menu li:nth-child(1) {
    animation-delay: 0.1s;
}

.navbar .dropdown-menu li:nth-child(2) {
    border-top: 1px solid #dbdbdb;
    animation-delay: 0.2s;
}

.navbar .dropdown-menu li:nth-child(3) {
    border-top: 1px solid #dbdbdb;
    animation-delay: 0.3s;
    
}

.navbar .dropdown-menu li:nth-child(4) {
    border-top: 1px solid #dbdbdb;
    animation-delay: 0.4s;
    
}
.navbar .dropdown-menu li:nth-child(5) {
    border-top: 1px solid #dbdbdb;
    animation-delay: 0.5s;
    
}
.navbar .dropdown-menu li:nth-child(6) {
    border-top: 1px solid #dbdbdb;
    animation-delay: 0.6s;
    
}
.navbar .dropdown-menu li:nth-child(7) {
    border-top: 1px solid #dbdbdb;
    animation-delay: 0.7s;
    
}
.navbar .dropdown-menu li:nth-child(8) {
    border-top: 1px solid #dbdbdb;
    animation-delay: 0.8s;
    
}
.navbar .dropdown-menu li:nth-child(9) {
    border-top: 1px solid #dbdbdb;
    animation-delay: 0.9s;
    
}

.navbar .dropdown-menu li a {
    color: #333;
    font-size: 16px;
    text-decoration: none;
}

.navbar .dropdown-menu li a:hover {
    color: #04BFAA;
    text-decoration: none;
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

.nav-links a:hover {
    color: #04BFAA;
}

.btn-donation {
    background-color: #f04f48;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
    font-size: 18px !important;
    color: white !important;
    padding: 10px 30px !important;
    border-radius: 50px;
    border: 2px solid #f04f48;
    cursor: pointer;
    transition: background-color 0.4s ease, color 0.4s ease;
    white-space: nowrap;
}

.btn-donation:hover {
    background-color: #76225e;
    color: #ffffff;
}

.navbar-right {
    display: flex;
}

.navbar-right a {
    /* border-radius: 100%;
    padding: 10px; */
    margin-left: 10px;
    margin-right: 10px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease, color 0.3s ease;
    color: black;
}

.navbar-right a i {
    transform: scale(1.5);
}

.navbar-right a i:hover {
    
    color: #76225e;
}

.social-icon {
    height: 30px;
    width: auto;
    margin-left: 10px;
    filter: brightness(0) invert(1);
}

.social-icon:hover {
    filter: brightness(0.7) invert(1);
}


/*------------------------------- Hamburger Menu---------------------------- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 4px;
    background-color: rgb(0, 0, 0);
    margin: 5px 0;
    transition: 0.3s;
}

/* menu del cel (ocultado por defualt) */
.mobile-menu {
    margin-top: 30px;
    border-top: 2px solid lightgray;
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    text-align: center;
    z-index: 1000;
    box-shadow: 0px 15px 10px -10px #2c2c2c;  
}

.mobile-menu ul {
    list-style: none;
    padding: 10px 0;
}

.mobile-menu li {
    margin: 10px 0;
}

.mobile-menu a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 18px;
}

.mobile-menu a:hover {
    
    padding: 10px;
    border-radius: 5px;
}

.mobile-menu.active {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}


.dropdown-mobile {
    
    position: relative;
}

.dropdown-menu-mobile {
    display: none;
    list-style: none;
    padding: 10px 0;
    background-color: #f04f48;
    margin: 0;
    animation: slide-down .3s ease-out;
}

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

.dropdown-menu-mobile li {
    padding-left: 100px;
    text-align: start;
}

.dropdown-menu-mobile li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.dropdown-menu-mobile li a:hover {
    background-color: #929292;
}

.hidden {
    display: none;
}

#searchInput {
    
    height: 30px; 
    border: 1px solid #333; 
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease; 
    outline: none; 
}

.buttonasd{
    display: none;
}


/* Large devices such as laptops (1024px and up) */
@media only screen and (max-width: 1024px) {

    /* .btn-donation{
        display: block;
    } */

    .buttonasd{
        display: block;
    }

    .navbar-left .textC{
        display: none;
    }

    .navbar-center {
        display: none;
    }

    .navbar-right {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* Largest devices such as desktops (1280px and up) */
@media only screen and (max-width: 1280px) {}


@keyframes slide-down {
    0% { opacity: 0; -webkit-transform: translateY(-5%); }   
  100% { opacity: 1; -webkit-transform: translateY(0); }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
@media (max-width: 1800px){
    .nav-links li {
        margin: 0 12px;
    }
}