* { 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: 100px; } .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 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; color: #1a1a1a; padding: 10px 30px; border-radius: 50px; border: 2px solid #f04f48; cursor: pointer; transition: background-color 0.4s ease, color 0.4s ease; } .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 { display: none; position: absolute; top: 60px; left: 0; width: 100%; background-color: #333; text-align: center; z-index: 1000; } .mobile-menu ul { list-style: none; padding: 10px 0; } .mobile-menu li { margin: 10px 0; } .mobile-menu a { color: white; text-decoration: none; font-size: 18px; } .mobile-menu a:hover { background-color: #555; padding: 10px; border-radius: 5px; } .mobile-menu.active { display: block; animation: fadeIn 0.3s ease-out forwards; } @media only screen and (max-width: 1300px) { .textC { display: none; } .navbar-center { display: none; } .navbar-right { display: none; } .hamburger { display: flex; } } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }