*{
    box-sizing: border-box;
}

body{
    margin: 0;
    font-family: sans-serif;
    --base: #00338D;
    --bordo: #7A2582;
    --letras: aliceblue;
    --tipoletra: Calibri;
    --ancho: 100%;
}

/*----------HEADER----------*/

.header{
    max-width: 600px;
    height: 250px;
    display: flex;
    position: relative;
}

.header__fondocolor{
    
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 141, 0.7);
    position:absolute;
    z-index: 1;
}

.nav{
    display: flex;
    flex-direction: row;
   max-width: 600px;
    width: 100%;
    height: 100%;
    border: 2px solid #000;
    background-image: url(../Imagenes/LeonesServicio.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.img--inter{
    max-width: 100px;
}

.nav--texto{
    font-family: helvetica;
    font-size: 30px;
    font-weight: bolder;
    margin-bottom: 0;
}

.nav--texto2{
    margin-top: 0;
    font-family: Roboto;
    font-size: 10px;
    font-weight:lighter;
}


.nav__cont--imgtexto{
    
    max-width: 300px;
    max-height: 235px;
    color: var(--letras);
    margin: 3px 4px;
    padding-top: 10px;
    z-index: 10;
}

.nav__cont--botones{
    display: flex;
    position: relative;
    justify-items: space-between;
    align-items: end;
    max-width: 300px;
    max-height: 235px;
    margin: 2px 2px;
    z-index: 10;
}

.boton1{
    border: 1px solid #00338D;
    border-radius: 20px;
    background-color: aliceblue;
    padding: 5px 18px 5px 18px;
}

a{
    text-decoration:none;
    font-family: helvetica;
    font-size: 13px;
    font-weight: bold;
    color: #00338D;
}

.boton2{
    border: 1px solid #00338D;
    border-radius: 20px;
    background-color: aliceblue;
    padding: 5px 15px 5px 15px;
    background-color: #EBB700;
}

.boton1:hover{
    opacity: 0.8;
}

.boton2:hover{
    opacity: 0.8;
}

.nav__logocent{
    position: absolute;
    bottom: 128px;
    right: 1px;
    justify-items: center;
    width: 100px;
    height: 100px;
    background-image: url(../Imagenes/LeonesCentenario_transparente2.png);
    background-position: center;
    background-size: cover;
    z-index: -1;
    border-radius: 70px;
}

@media (min-width:600px) {
.header{
    max-width: 100%;
}

.nav{
    max-width: 100%;
    justify-content: space-around;
}



.nav__cont--imgtexto{
    display: flex;
    align-items: center;
    max-width: 1000px;
    flex-direction: row;
   
    
}

.img--inter{
  
    max-width: 280px;
    height: 230px;
}


.nav--texto{
   
    font-size: 40px;
    top: 50px;
    height: 100px;
    padding-left:40px;
    
}

.nav--texto2{
   
    font-size: 30px;
    top: 50px;
    height: 100px;
    padding-left:40px;
    
}

.nav__cont--botones{
    display: flex;
    justify-content:right ;
    gap: 10px;
    max-width: 500px;
    width: 500px;
    margin-top: 5px;   
}

a{
    font-size: 18px;
}

.boton1{
    padding: 5px 50px 5px 50px;
}

.boton2{
    padding: 5px 30px 5px 30px;
}

.nav__logocent{
    width: 200px;
    height: 200px;
    bottom: 40px;
    right: 25px;

}

}





/*----------------MAIN----------------*/

.mainp{
    width: 100%;
    font-family: var(--tipoletra);
    font-size: 18px;
}

.seccion__mes{
    padding: 10px;
    padding-bottom: 0px;
    font-size: 30px;
}

.articulo__linea{
    border: 2px solid #EBB700;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 60px;   
    margin-left: 10px;
}


.conten__baner{
   position: relative;
   display: flex;
   max-width: 600px;
   width: 100%;
   height: 200px;
   border: 1px solid #000;
background-image: url(../Imagenes/LeonesCapacitan.png);
background-position:inherit;
background-size:cover;
background-repeat: no-repeat;
}

.baner__img{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    
}


.baner__texto{
  
    background-color: aliceblue;
   width: 170px;
   height: 115px;
   margin-top: 20px;
   margin-left: 20px;
   overflow: hidden;
   border-radius: 10px;
   padding: 10px;
   font-size: 13px;
   box-shadow: 1px 1px 5px 3px;
font-family: Calibri;
   
}

.baner__texto--titulo{
font-size: 15px;
font-weight: bold;
}

.baner__texto--titulo-a{
color: #00338D;
}

.baner__texto--titulo-b{
color: #EBB700;
}

.centrar{
    display: flex;
    justify-content: center;
    align-items: center;
}


.seccion{
    max-width: 600px;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.cont__curso{
max-width: 460px;
width: 100%;
height: auto;
padding: 10px;
border: 1px solid var(--bordo);
border-radius: 10px;
   
}

.curso__fecha{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: #7A2582;
    color: white;
    font-weight: bold;
}

.btnleermas{
    background-color: var(--base);
    color: aliceblue;
    width: 100px;
    height: 30px;
    font-family: var(--tipoletra);
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    }


@media(min-width:600px){

    .mainp{
        width: 100%;
    }

    .conten__baner{
        max-width: 100%;
        height: 400px;
        background-image: url(../Imagenes/LeonesCapacitan3-2.png);
        background-size:cover;
        background-position:center;
        background-color: #7A2582;
       
    }

    .baner__texto{
        width: 300px;
        height: 240px;
        font-size: 25px;
        padding-top: 25px;
        margin-top: 40px;
        background-color:aliceblue;
    }
    
    .baner__texto--titulo{
        font-size: 30px;
    }


    .seccion{
        max-width: 1500px;
        padding-left: 20px;
    }

    .seccion__mes{
        font-size: 40px;
    }

   
    .cont__curso{
        max-width: 1500px;
        width: 100%;
        height: auto;
        }

    
.curso__fecha{

    width: 100px;
    height: 100px;
    font-size: 32px;


}

.curso__texto{
   
    font-size: 25px;
}

.curso__link{
   
    font-size: 20px;
}



}









/*-----------------FOOTER--------------------*/


.ftr{
    width: 100%;
    max-width: 650px;
    height: 380px;
    max-height: 380px;
    background-color: var(--base);
    border: 2px solid #000 ;
    color: azure;
    font-family: var(--tipoletra);
    font-weight: bold;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
    font-size: 15px;
}

.cont__1{
  width: 100%;
    max-width: 200px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    margin: 10px;
}

.cont__1 a{
  text-decoration: none;
  color: white;
  white-space: nowrap;
}

.ftr_tu{
  font-family: var(--tipoletra);
  font-size: 20px;
  font-weight: bold;
  color: #EBB700;
}

.ftr_aviso{
  color: white;
  font-size: 17px;
}

.ftr_separador{
  background-color: white;
  width: 100%;
  max-width: 150px;
  height: 2px; 
}

.cont_insta{
  width: 100px;
  height: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.imginsta{
width: 20px;
height: 20px;
border-radius: 5px;
}


@media (min-width:650px){

    .ftr{
      width: 100%;
        max-width: 100%;
        flex-direction: row;
        gap: 60px;
    }

    .ftr_separador{
      background-color: white;
      width: 100%;
      max-width: 2px;
      height: 150px; 
    }



} 