/*main page */
/*main page */
  
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
    --primary:#ddd;
    --dark:#048;
    --light:#99c24d;
    --fondo:#e6c4a2;
    --shadow: 3px 3px 9px rgba(44, 25, 25, 0.9);
}


@keyframes blink {
            30% {
                opacity: 1;
            }

            0% {
                opacity: 0;
            }

            100% {
                opacity: 1;
            }
        }

        #anuncio{
            text-align: center;
            margin-top: 1%;
            font-size: 24px;
            color: green;
            animation: blink 1s infinite;
        }

.card-title p{
  margin: 0;
	padding: .25rem;
	font-weight: 300;
	font-size: .5rem;
	font-family:'Times New Roman', Times, serif;
}

/*navigation part */

.main-navigation{
  position:sticky;
  top:10px;
  z-index: 99;
  background: rgba(0,0,0,0.5);
}

#menu{
  font-size: 1.5rem;
	border: 1px solid rgba(0,0,0,.3);
	padding: 3px 7px 6px;
	background-color: #eee;
	color: #000;
}

#menu::before {
	content: "☰Menu";
}

#menu.open::before {
	content: "X";
}

.current-date, .visits{

  background-color: var(--primary);
  text-align: center;
  font-size: 1rem;
  color: var(--dark);
  text-shadow: var(--shadow);
  padding-left: 15px ;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

html {
    background-color: var(--primary);

}

.navigation {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: center;
  }

.navigation li{
  display: none;
}

.navigation li a{
  display: block;
	padding: 1rem;
	text-align: center;
	text-decoration: none;
	color: #fff;
}

.navigation li a:hover {

  background-color: #bbb;
	color: #333;
	font-weight: 500
}

.open li {
  display: block;
  width: 100%;
}

.header {
    grid-column: 2;
    position: relative;
   
    display: grid;
    grid-template-columns: 1fr .75fr 1.25fr 1fr;
    
    grid-template-areas: 
      'left-blk img name name'
    
}

.header {
    background-color: #048;
    border-radius: 15px 15px 0 0;
 /*   box-shadow: var(--shadow);*/
    align-items: center;
} 
 
.header > img {
    grid-area: img;
    box-shadow: 2px 2px 6px 0px  rgba(0,0,0,0.3);
    width: 100px;
    max-width: 100px;
    padding: 10px 10px 10px 10px; 

}

.header .name {
    grid-area: name;
    text-align: center;
    background-color: var(--dark); 
    color:var(--primary);
  

}
.navbar{
  padding-right: 15px;
}

.navdiv{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-center;
}
.logo {
  background-repeat: no-repeat;
  width: 100%;
 
  
}

.navbar{
  
   background-color: #1985bb; 
  

  }

    nav ul {
      margin: 0;
      padding: 10px; 
      overflow: hidden;
      color: white;
    }
  
  nav ul li {
    color: white;
  }
  
  nav .menu ul li a {
    display:inline-block;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: .25rem;
    text-decoration: none;
    font-size: .5rem;
    text-transform: uppercase;
  }
  
  nav li a:hover{
    background-color: #4f5261;
    color:#ddd;
  }
    
    .header img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 200%;
        border-radius: 20px;
      }

 


.name > h1 {
    font-size: 2rem ;
}

ul li {
    margin: 20px 0;
    list-style: none;
}

ul li h3 a{
    text-decoration: none;
    font-size: 1rem;
    font-family: "fontello";
    font-weight:600;
}


.line {
    border: .6px solid rgb(11, 60, 123);
}

/* responsive menu */

.responsive li{
  display: block;
}

.responsive li a:hover{
  background-color: #8a8e8a;
  color: white;
}

.title-c {

    background-color: var(--primary);
    text-align: center;
    font-size: 1rem;
    color: var(--dark);
    text-shadow: var(--shadow);
    padding-left: 15px ;
    margin-top: 2rem;
    margin-bottom: 2rem;
  
    
}

.classes-detalle{
  margin-left: 10%;
  margin-right: 10%;
}

.foot {
 /*  grid-area: foot;
    grid-column: 2;
    grid-row: 4; */
    background-color: var(--dark);
    color: var(--primary);
    padding: 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--shadow);
    font-size: 1.2em;
       
}

.wrapper{
  display: grid;
  grid-template-columns: 5% auto 5%;
  grid-template-rows: 200px auto 200px;
  grid-template-areas: 
  '. header-wrapper .'
  '. main-wrapper   .'
  '. foot           .';
}



section{
	border:1 px solid rgba(0,0,0,0.1);
	padding:0.5rem;
	background-color:#eee;
	background-repeat:no-repeat;
	background-position:center;
	background-size:cover;
	width:100%;
	height:100%;
	display:block;
	
	
}
/*
section img{
	max-width:100%;
	max-height:100%;
	display:block;
}
*/
.cards {
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(auto-fit 1fr));
	grid-gap:20px;
	align-items:center;

}.cards {
  margin-left: 5%;
  margin-right: 5%;
}
.cards section{
	display:flex;
	flex-direction:column;
	text-align:center;
}

.cards img{
	border:1px solid #fff;
	box-shadow: 0 0 10px #333;
}

.card2{
  text-align: center;
}

.cards section > * {
	margin:0.1rem;
}


.card img{
	height:300px;
	max-width:100%;
}

  .card{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    background-color: #f1f1f1;
    position: relative;
  } 

 
  .card h3{
    background-color: rgb(150, 189, 233);
    color: black;
    padding: 5px;
    border-top-left-radius: 20px;
    border-top-right-radius:20px;
    
  }             
  
.card h3{
    top: 30px;
  }

  .card p {
    padding:40px;
  }

 .cards{
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .card{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    background-color: #f1f1f1;
    position: relative;
  }

 .card-pic{
    position: relative;
    
  }

    .card-pic img{
      height: 100%;
      width: 100%;
    }
  
  .today{
    position: absolute;
    bottom: 5%;
    left: 5%;
    opacity: .5;
    background-color: white;
    font-size: 1rem;
  }

  iframe {
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
    height: auto;
    padding-right: 1rem;
}

  .hero {
    position: relative;
    

  }
  .hero img{
    width: 100%;
    height: auto;
    display: block;
  }
  .hero span {
    position: absolute;
    top: 50%;
    left: 40%;
    
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
}
/******* weather *******/
.today h3{
  background-color: wheat;
  color: #048;
}


.weather-info table{
  width: 100%;
  min-width: 200px;
 /* background-image: url(../images/weather-image.jpeg);*/
 background-color: #aaf465;
  background-repeat:no-repeat;
  background-size: cover;
  background-position: center center;
  width: 400px;
  height: 300px;
  border: 1px solid black;
  opacity: .7;
  counter-reset: white;

}






/***** titles ****/


/****** calendar ******/
.view-calendar {
 position: relative;
 width: 100%;
 padding-bottom: 75%;
 overflow:hidden;
}

.view-calendar iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  border: 0;
}

.herolabel{
  position: absolute;
  bottom: 30px;
  left: 40%;
  background:radial-gradient(#fff,#4d5897);
  border: 1px solid rgba(0,0,0,.5);
  padding: 1.5rem;
  box-shadow: 0 0 3rem #fff;
  opacity: .75;
}

.banner{
  display: grid;
  grid-template-columns: auto auto;
  padding:10px;
  background-color: rgb(243,9,9);
}

.banner_text{
  text-align: center; 
 
}


#anuncio{

  flex-grow: 1;
  line-height: 1.4;
  font-family: 'Quicksand', sans-serif;
  color: white;
  margin-left: 10%;
  margin-right: 10%;

}

.banner p{
  background-color: rgb(243, 9, 9);

}



  
