@keyframes fadeInAnimation {
            0% {opacity: 0;}
            100% {opacity: 1;}}
            
  @keyframes slide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-85.714%); }
  }
body{
	margin:0;
    animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    background-image: url('imgs/tile_250.jpg');
    background-repeat: repeat;
    background-attachment: fixed;
}

html{
	font-family: 'Short Stack', cursive;
	font-size: medium;
	font-weight: normal;
	color: #666666;
	scroll-behavior: smooth;
}

nav{
    /*background-color:#FFFA4B;*/
    height: 50px;
    width: 100%;
	margin-top:0px;
    padding-bottom: 15px; ;
    padding-top: 10px;
 }

.logonav{
    height: 55px;
    float:left;
    margin-left: 20px;
}

nav ul{
    float: right;
    margin-right: 20px;
}
nav ul li{
    display: inline-block;
    line-height: 70px;
    margin: 0 5px;
	list-style: none;
}
nav ul li a{
    color: #0080FF;
    font-size: 20px;
    padding: 7px 7px;
    border-radius: 5px;
	text-decoration:none;
}
li a.active, li a:hover{
    background: #0080FF;
    transition: .5s;color:#fff;
}
.checkbtn{
    font-size: 30px;
    color: #0080FF;
    float: right;
    line-height: 73px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}

    .slider {
      width: 100%;
      height: 50vh;
      overflow: hidden;
      position: relative;
    }

  .slides {
    display: flex;
    width: 700%;
    height: 100%;
    animation: slide 30s linear infinite;
  }

  .slides img {
    flex: 0 0 14.2857%;
    width: 14.2857%;
    height: 100%;
    object-fit: cover;
  }

section{
	width: 100%;
	margin: 0;
	padding: 0;
	justify-content:center;
	align-items: center;
	align-content: start;
	display:flex;
	flex-wrap:wrap;
}

.fotoinicio{
	width: 100%;
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	line-height: 50px;
}

.fotoinicio img{
	width: 100%;
	margin: 0;
	padding: 0;
	display: block;
}

.neurocircuitos{
	width:90%;
	text-align:center;
	background-color:red;
	border-radius:10px;
	margin-top:10px;
	margin-bottom: 20px;
	padding:10px 15px;
	display: block;
	color: white;
}

.circuito{
    width:100px;
    height:140px;
    color:black;
    background-color:/*#00FF00*/#aaFF00;
    background-size:70%;
    background-position:center bottom;
    background-repeat:no-repeat;
    border-radius:10px;
    margin:5px;
    padding:10px;
    display:inline-grid;
    float:left;
    text-align:center;
    line-height: 20px;
}

.babytime{
    width:222px;
    height:260px;
    color:white;
    background-color:#3F0077;
    background-size:40%;
    background-position:center bottom;
    background-repeat:no-repeat;
    border-radius:10px;
    margin:5px;
    padding:5px 10px;
    /*display:inline-grid;*/
    float:left;
    text-align:center;
    /*line-height: 5px;*/
}

.navsec {
    float:none;
    clear:both;
    width:100%;
    text-align:center;
    font-size:0.8em;
    margin:10px;

}
.navsec a{
    background:#E3F2FD;
    color:blue;
    padding:2px 4px;
    margin:0px 5px;
    border-radius:4px;
    text-decoration:none;
    border-style:solid;
    border-color:blue;
    border-width:1px;
}

.navsec a:hover{
    background: #FFFA4B;
    transition: .5s;
    color:blue;
    border-style:none;
}

.centerwrap{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}


.actividades{
    line-height: 20px;
    text-align:center;
    align-content:center;
	width:250px;
    height:80px;
    color:white;
    background-color:#FF5722;
    border-radius:10px;
    margin:5px;
    padding:10px;
    display:inline-grid;
    float:left;
}

.servicios{
    color: white;
    width:45%;
    height: fit-content;
    background-color:#BA68C8;
    border-radius:10px;
    margin:5px; 
    padding:10px;
    display:inline-grid;
    float:left;
    text-align:left;
}

.listserv{
    padding-left:25px;
    list-style:square;
    text-align: left;
}

.listserv ol li{display:inline-block;}

footer{
	width: 100%;
	display: block;
	text-align: center;
	padding:7px 0px;
	background-color: #FFFA4B;
	color: #0080FF;
	font-size: smaller;
}

address{
	font-style: normal;
}


.boticons img{
	height: 28px;
	margin: 2px 2px;
}

a.boticons:hover img{-webkit-transform: scale(1.2);transform: scale(1.2)}

.btop{
	float:right;
	height:40px;
	display:inline-block;
	margin: 0px 5px;
	padding: 0px;
}

.contactoframe{
	width:350px;
	height: fit-content;
	background-color:#EFEFEF;
	border-radius:10px;
	margin:5px;
	padding:20px;
	display:inline-block;
	float:left;
	text-align: center;
}

.contactoframe h2{text-align: center;}

.contactomaps{
	width:400px;
	background-color:#EFEFEF;
	border-radius:10px;
	margin:5px;
	padding:20px;
	display:inline-block;
	float:left;
}

.contactomaps h2{text-align: center;}

.galeria{
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
}

  
.galeria img{
    border-style:solid;
    border-width:1px;   
    border-color:#0080FF;
    padding:5px;
    margin:5px;
    width: 30%;
}


@media (max-width: 700px){
    .slider {
      height: 25vh;
    }
    .slides {
      animation: slide 25s linear infinite;
    }
	.fotoinicio{
		line-height: 20px;
	}
	.texto2{
	    top:45%;
	}
	.texto4{
	    top:35%;
	}
	.texto5{
	    top:62%;
	}
	.texto3{
		line-height: 23px;
	}
	.boticons{
		height: 20px;
	}
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #FFFA4B;
        top: 70px;
        padding-top: 40px;
        left: 100%;
        text-align: left;
        transition: all .5s;
		z-index:99;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 6px;
    }
    nav ul li a{
        font-size: 6vw;
		color:#0080FF;
		font-weight: 700;
    }
    li a:hover, li a.active{
        background: none;
        color:#fff;
		font-weight: bold;
    }
    #check:checked ~ ul{
        left:0;
    }
    .actividades, .servicios{
    	width: 90%;
    	height: fit-content;
    }

    .galeria img{
	    width: 95%;
	}
	.navsec{
	    font-size:0.5em;
	}

}
