@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    height: 100%;
    margin: 0
}

body {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

nav {
    display: flex;
}

.navbar {
    position: fixed;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #065da6;
    padding: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    width: 100vw;
    display: flex;
    padding: 0px;
    margin: 0;
    align-items: center;
    justify-content: space-between;
    text-align: justify;
}

#navbarNav {
    justify-content: center;
}

.navbar li a {
    display: flex;
    text-align: center;
    color: #ffffff;
    transition: 0.7s;
    justify-content: center;
}

.navbar li a:hover {
    color: #12e115;
    transform: scale(1.2);
}

.collapse .navbar-nav {
    max-width: 100% !important;
    justify-content: end !important;
    align-items: center;
    font-size: 1em;
}

.navbar.dropdown-menu {
    position: relative;
    z-index: 1000;
}

.navbar .logo {
    height: 40px;
    width: auto;
    margin: 5px auto;
    transition: 0.3s;
    background-color: transparent transparent;
}

.navbar .logo:hover {
    transform: scale(1.1);
}

.dropdown .btn {
    background-color: transparent;
    margin: 0%;
}

.dropdown-menu .dropdown-item {
    font-weight: bold;
    color: #ffffff;
    background-color: transparent;
}

.dropdown-menu .list-unstyled {
    margin: 0px;
    padding: 0px;
    border: 0px;
    justify-content: center;
    text-align: center;
}

.list-unstyled .dropdown-submenu {
    margin: 0px;
}

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

.dropdown-menu .dropdown-item:hover {
    font-weight: bold;
    color: #022a80;
    background-color: #065da6;
}

.dropdown-menu {
    background-color: #022a80;

}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 100%;
    left: -50%;
    margin: top 0.5rem;
}

.custom-dropdown-menu {
    width: auto;
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: #0d1d40 #065da6;
    scrollbar-width: thin;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.frutas {
    height: 27px;
    width: auto;
}

/*---------------------------------------------- End NavBar ------------------------------------------------------ */

.frutas-foother {
    height: inherit;
    align-items: center;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-wrap: nowrap;
}

.frutas-foother img {
    height: 4.3vw;
    transition: .1s ease-in-out;
}

.frutas-foother img:hover {
    transform: scale(1.3);
}

.frutas-foother a {
    width: calc(100% / 23);
}

.footer {
    background-color: #065da6;
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.footer a {
    color: #ffffff;
    font-size: 0.9em;
    text-decoration: none;
    transition: 3ms;
}

footer a:hover {
    color: #12e115;
}
.modal {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;

}

.modal.show {
  display: flex;  
}

.modal-contenido {
  max-width: 90vw;
  max-height: 90vh;
  background: transparent;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  overflow: auto;
}

.img-modal {
  max-width: 80vw; 
  max-height: 80vh; 
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
