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

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


body{
    margin: 0;
    font-family: sans-serif;
    background:-webkit-linear-gradient( white 40% , #9ed17d);
}

header{
    width: 100%;
    background:  #83BC5F;
}

#btn-menu{display: none;}

header label{
    display: none; 
    width: 3rem; 
    height: 3rem; 
    padding: 1rem; 
}

.menu ul{
    margin: 0;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.menu li:hover{
    background: rgba(0,0,0,0.3);
}
.menu li a{
    display: block;
    padding: .2rem 2rem;
    color: white;
    text-decoration: none;
}

.menu li i{
    display: none;
    padding: .2rem 2rem;
    color: white;
    text-decoration: none;
}

.menu_inicio{
    display: flex;
    justify-content:space-between;
    align-items: center;
    color: white;
    padding: 1em;
}


.menu li:hover{
    background: rgba(0,0,0,0.3);
}

#cerrar{
    color: green;
    font-weight: 600;
}

.menu ul li img{
    width: 1.1em;
    display: none;
    color: white;
    text-decoration: none;
    margin-left: 2.2em;
}


img{
    width: 100%;
}


main section.bkg-img{
    height: 100vh;
    background-image: url(../img/Links/a789d103da571db490003b11f1ee10f7_1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;       
    
}

.logo-emja{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-emja p{
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.logo-emja img{
    width: 25em;

}

.logo-verde img{
    width: 100%;
    
}

.logo-verde{
    display: flex;
    justify-content: center;
    margin: auto;
    padding: 5em;
    width: 50%;
}

section h2{
    display: flex;
    justify-content: center;
    margin: auto;
    padding: 1em;
    color: dimgrey;
}

section p{
    text-align: center;
    display: inline-block;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: .5em 10em 1em 10em;
    color: #575756;
}  

.mySlides {display: none}
        .galeria img {vertical-align: middle;}

        /* Slideshow container */
        .slideshow-container {
        max-width: 1000px;
        position: relative;
        margin: auto;
        }

        /* Next & previous buttons */
        .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -22px;
        color: white;
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        }

        /* Position the "next button" to the right */
        .next {
        right: 0;
        border-radius: 3px 0 0 3px;
        }

        /* On hover, add a black background color with a little bit see-through */
        .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
        }

        /* Caption text */
        .text {
        color: #f2f2f2;
        font-size: 15px;
        padding: 8px 12px;
        position: absolute;
        bottom: 8px;
        width: 100%;
        text-align: center;
        }

        /* Number text (1/3 etc) */
        .numbertext {
        color: #f2f2f2;
        font-size: 12px;
        padding: 8px 12px;
        position: absolute;
        top: 0;
        }

        /* The dots/bullets/indicators */
        .dot {
        cursor: pointer;
        height: 15px;
        width: 15px;
        margin: 0 2px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
        }

        .active, .dot:hover {
        background-color: #717171;
        }

        /* Fading animation */
        .fade {
        -webkit-animation-name: fade;
        -webkit-animation-duration: 1.5s;
        animation-name: fade;
        animation-duration: 1.5s;
        }

        @-webkit-keyframes fade {
        from {opacity: .4} 
        to {opacity: 1}
        }

        @keyframes fade {
        from {opacity: .4} 
        to {opacity: 1}
        }



.cnt-galeria{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 5em;
}



.cnt-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 20em 0 20em;    
}

input,textarea{
    width: 100%;
    margin-bottom: 15px;
    padding: .5em;
    border-radius: 5px;
    background-color: #e6e6e6;
}
textarea{
    max-height: 10em;
    min-height: 15em;
    max-width: 100%;
    
}

.input[type="button"]{
    background-color: #9ed17d;
    color: white;
    padding: 1em;
    margin: auto;
}

.informacion{
    margin: 0 10em 0 10em;
}
.info{
    padding: 1em 3em;
    margin: 2em;
    text-align:left;
    text-decoration: none;
    list-style: none;
    color: white;
    padding: 1em 5;
}

.cnt-info{
    display:flex;
    justify-content: space-around;
    align-items: center;
    background-color: black;
    padding: em 2em;
    font-size: 15px;
    margin-top: 2em;
}

.mapa{    
    filter: invert(0);
    width: 250px;
    height: 200px;
    margin-top: 2em;
}


.contenedor-footer{
    color: white; 
    display: flex;
    font-size: 10px;
    padding: 2em;
    justify-content: center;
    width: 100%;
    background: black

    
}



@media (max-width:768px){

    header{
        height: 4em;
    }

    header label{
        display: block;
        height: 4em;
    }
    
    .menu{
        position: absolute;
        background:#83BC5F;
        width: 50%;
        margin-left: -70%;
        transition: all .3s;
    }
    
    .menu__img img{
        display: none;

    }
    

    label img {
        position: relative;
        bottom: .2em;
        left: 1em;
        width: 3em;
    }

    label img:hover{
        position: relative;
        bottom: .2em;
        left: 1em;
        width: 3.5em;
    }


    .menu ul{
        flex-direction: column;
    }


    .menu_inicio{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        color: white;
        padding-left: 1em;
        border-radius: 5px;            
    }

    .menu li i{
        display: flex;
        padding: .2rem 2rem;
        color: white;
        text-decoration: none;
    }

    .menu li a{
        margin-left: .5em;
    }

    .menu ul li img{
        width: 1.1em;
        display: flex;
        color: white;
        text-decoration: none;
        margin-left: 1em;
    }

    #cerrar{
        color: green;
        font-weight: 600;
    }


    #btn-menu:checked ~ .menu{
        margin: 0;
    }
}



@media only screen and (max-width:768px){
    
    
    img{
        width: 100%;
    }
    
    
    main section.bkg-img{
        height: 100vh;
        background-image: url(../img/Links/a789d103da571db490003b11f1ee10f7.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        background-position: center;       
        
    }
    
    .logo-emja{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .logo-emja p{
        color: white;
        font-size: 15px;
        font-weight: 600;
    }
    
    .logo-emja img{
        width: 25em;
    }
    
    .logo-verde img{
        width: 100%;
        
    }
    
    .logo-verde{
        display: flex;
        justify-content: center;
        margin: auto;
        padding: 5em;
        width: 100%;
    }
    
    section h2{
        display: flex;
        justify-content: center;
        margin: auto;
        padding: 1em;
        color: dimgrey;
    }
    
    section p{
        text-align: justify;
        display: inline-block;
        justify-content: center;
        align-items: center;
        margin: auto;
        padding: .5em 2em 1em 2em;
        color: #575756;
    }  


    .mySlides {display: none}
            .galeria img {vertical-align: middle;}
    
            /* Slideshow container */
            .slideshow-container {
            max-width: 1000px;
            position: relative;
            margin: auto;
            }
    
            /* Next & previous buttons */
            .prev, .next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            width: auto;
            padding: 16px;
            margin-top: -22px;
            color: white;
            font-weight: bold;
            font-size: 18px;
            transition: 0.6s ease;
            border-radius: 0 3px 3px 0;
            user-select: none;
            }
    
            /* Position the "next button" to the right */
            .next {
            right: 0;
            border-radius: 3px 0 0 3px;
            }
    
            /* On hover, add a black background color with a little bit see-through */
            .prev:hover, .next:hover {
            background-color: rgba(0,0,0,0.8);
            }
    
            /* Caption text */
            .text {
            color: #f2f2f2;
            font-size: 15px;
            padding: 8px 12px;
            position: absolute;
            bottom: 8px;
            width: 100%;
            text-align: center;
            }
    
            /* Number text (1/3 etc) */
            .numbertext {
            color: #f2f2f2;
            font-size: 12px;
            padding: 8px 12px;
            position: absolute;
            top: 0;
            }
    
            /* The dots/bullets/indicators */
            .dot {
            cursor: pointer;
            height: 15px;
            width: 15px;
            margin: 0 2px;
            background-color: #bbb;
            border-radius: 50%;
            display: inline-block;
            transition: background-color 0.6s ease;
            }
    
            .active, .dot:hover {
            background-color: #717171;
            }
    
            /* Fading animation */
            .fade {
            -webkit-animation-name: fade;
            -webkit-animation-duration: 1.5s;
            animation-name: fade;
            animation-duration: 1.5s;
            }
    
            @-webkit-keyframes fade {
            from {opacity: .4} 
            to {opacity: 1}
            }
    
            @keyframes fade {
            from {opacity: .4} 
            to {opacity: 1}
            }
    
    
    
    .cnt-galeria{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 5em;
    }
    
    
    
    .cnt-form{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 2em 0 2em;    
    }
    
    input,textarea{
        width: 100%;
        margin-bottom: 15px;
        padding: .5em;
        border-radius: 5px;
        background-color: #e6e6e6;
    }
    textarea{
        max-height: 10em;
        min-height: 15em;
        max-width: 100%;
        
    }
    
    .input[type="button"]{
        background-color: #9ed17d;
        color: white;
        padding: 1em;
        margin: auto;
    }
    
    .informacion{
        margin: 0 10em 0 10em;
    }
    .info{
        padding: 1em 3em;
        margin: 2em;
        text-align:left;
        text-decoration: none;
        list-style: none;
        color: white;
        padding: 1em 5;
    }
    
    .cnt-info{
        display:flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        background-color: black;
        padding: .5em;
        font-size: 12px;
        text-align: center;
        width: 100vw;

    }

    .cnt-info li{
        text-align: center;
        padding: .3em;
    }
    
    .mapa{
        filter: invert(0);
        width: 250px;
        height: 200px;
        overflow: hidden;
    }
    
    
    .contenedor-footer{
        color: white; 
        display: flex;
        font-size: 10px;
        padding: 30px;
        justify-content: center;
        width: 100vw;
        background: black;
        margin: 1em;
    }

    .contenedor-footer p{
        text-align: center;

    }
}
