/*Resoluciones*/

@media (max-width: 767px) {
    .pc {
        display: none;
    }

    .phone {
        display: block;
    }

    .tablet {
        display: none;
    }
}

@media (min-width: 768px) and (max-width:990px) {
    .pc {
        display: none;
    }

    .phone {
        display: none;
    }

    .tablet {
        display: block;
    }
}

@media (min-width:991px) {
    .pc {
        display: block;
    }

    .phone {
        display: none;

    }

    .tablet {
        display: none;
    }
}

/* Cuerpo y valores principales */

body {
    font-family: 'Poppins', sans-serif;
    color: #333333ca;
    margin: 0;
    padding: 0;
    background-color: #e6e6e9;
    box-sizing: border-box;
    max-width: max-content;
    max-height: max-content;
}

/* Valores de seccion */

section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0;
}

section h2 {
    margin: 0;
    /* Añadí margen a la derecha del título para separarlo de la imagen */
}

section img {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
}

section .title-container {
    margin-bottom: 20px;
    /* Añadí margen a la derecha del contenedor del título */
    text-align: center;
    margin-left: 50px;
    font-size: xx-large;
}

section .image-text-container {
    display: flex;
    flex-direction: row;
    justify-content: left;
    margin-bottom: 250px;
    margin-left: 50px;
    margin-right: 50px;
    font-size: x-large;
}

section .text-container {
    margin-left: 20px;
    text-align: justify;
}


/* header */

header {
    margin: 0;
    width: 100%;
    display: grid;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
}

.title_pag {
    display: flex;
    align-items: center;
}

.title_pag h1 {
    font-size: 40px;
    color: #333;
}

/* Navegacion */


nav {
    display: flex;
    justify-content: space-around;
    /* Azul mas oscuro */
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 1.4rem;
    padding: 8px 16px;
}


footer {
    background-color: #70AD47;
    color: #fff;
    text-align: center;
    padding: 3px;
    bottom: 0;
    width: 100%;
    justify-content: space-between;
}


/* opciones deslisantes */

.contact-info {
    margin-left: 30px;
    margin-top: 50px;
    text-align: left;
    border-radius: 10px;
}

.footer-content {
    text-align: center;
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFC000;
    /* Azul más oscuro */
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

#scrollToTopBtn:hover {
    background-color: #70AD47;
    /* Azul más claro al pasar el ratón */
}

/* menus deslisantes */

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    display: flex;
}

.menu-item {
    display: inline-block;
    margin-right: 15px;
    position: relative;
    font-size: 1.4rem;

    color: #333;
    font-weight: 800;
    cursor: pointer;
    ;
    border: none;
    background: none;
    text-transform: uppercase;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
}

.menu-item:focus,
.menu-item:hover {
    color: #333;
    background-color: #70ad47a9;
    border-radius: 5px;
}

.menu-item:focus:after,
.menu-item:hover:after {
    width: 95%;
    left: 2.5%;
}

.menu-item:after {
    content: "";
    pointer-events: none;
    bottom: -2px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 3px;
    background-color: #00b050;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left;
}

.menu-item:hover .submenu {
    margin-top: 5px;
    display: block;
    border-radius: 10px;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #70ad47c9;
    border: 1px solid #5e5757;
    padding: 10px;
    margin: 5px;
    color: #333;
}

.submenu li {
    width: max-content;
    white-space: nowrap;
    margin-bottom: 20px;
    border-radius: 5px;
}

.submenu_d {
    font-size: medium;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    text-transform: uppercase;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
}

.submenu_d:focus,
.submenu_d:hover {
    color: #333;
    border-radius: 5px;
    background-color: #a6ad47b6;
}

.submenu_d:focus:after,
.submenu_d:hover:after {
    width: 95%;
    left: 2.5%;
}

.submenu_d:after {
    content: "";
    pointer-events: none;
    bottom: 7px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 3px;
    background-color: #FFC000;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, .7);
    transition-duration: 450ms;
    transition-property: width, left;
}

.submenu_d:hover .submenu {
    margin-top: 10px;
    display: block;
    border-radius: 10px;
}



ul {
    list-style-type: none;
}

ol {
    list-style-type: none;
}

.container {
    display: flex;
    margin-bottom: 150px;
}

.column {
    flex: content;
    padding: 20px;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;

    height: auto;
    display: block;
    border-radius: 8px;
}

/*menu_bajo tamaño*/
.menu_s {
    display: inline-block;
    justify-content: flex-start;
}



.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #70ad47b0;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
    border-radius: 10px;
}

.dropdown-item {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    color: #333;
    border-radius: 10px;
}

.dropdown-item:hover {
    background-color: #70ad47b0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-item {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    color: #333;
    margin-bottom: 10px;
    /* Espacio de 10px entre elementos del menú */
}

.dropdown-item:hover {
    background-color: #ddd;
    border-radius: 5px;
}

.columnas {
    margin-left: 20px;
    margin-right: 50px;
    margin-top: 0px;
    display: flex;
    justify-content: space-between;
    margin-right: 10px;
}

.columna {
    width: 100%;
    box-sizing: border-box;
    margin-right: 10px;
}

.footer-content {
    padding: 30px;
    text-align: center;
    background-color: #70AD47;
    /* Azul */
    color: #fff;
    margin-bottom: none;
}

.container {
    margin: 20px auto;
    justify-content: space-between;
    flex-wrap: wrap;
}

.column {
    width: 80%;
    /* Para dejar un pequeño espacio entre las columnas */
}