 * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: sans-serif;
    text-decoration: none;
    list-style: none;
}

body {
	background-color: #1e1e1e;
	padding: 0px;
}


/*-----------------estilos de la galeria-------------------------*/

.galeria{
    width: 90%;
    margin: auto;
    list-style: none;
    padding: 20px;
    box-sizing: border-box;
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.galeria li {
     margin: 200px 5px;
}

.galeria img {
    width: 80px;
    height:80px;
}

/*-----------------estilos deL MODAL-------------------------*/


.modal{
    display: none;
}

.modal:target{
    display: block;
    position: fixed;
    background: rgba(0,0,0, 0.8);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;    
}
.modal h3{
                    padding-top: 60px;
    color: #fff;
    font-size: 30px;
    text-align: center;
    margin: 15px 0;
}
.imagen{
    width: 100%;
    height:50%; 
    
    display: flex;
    justify-content: center; 
    align-items: center;
}

.imagen a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    margin: 0 10px;
}
.imagen a:nth-child(2) {
    margin: 0;
    height: 100%; 
    flex-shrink: 2;
}
.imagen img {
    width: 500px;
    height:100%; 
    max-width: 100%;
    border: 7px solid #fff;
    box-sizing: border-box; 
}
.cerrar{
    display: block;
    background: #fff;
    width: 25px;
    height: 25px;
    margin: 10px auto;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    color: #000;
    padding:  auto;
    border-radius: 50%;
    line-height: 27px;
    font-weight: 1000;
    
}






/*--------------------slider B-------------------------*/

nav {
    background: red;
    height: 35px;
    width: 100%;
    z-index: 2;
    
}

.enlace {
    position: static;
    padding: 1px ;
}
.logotipo{
    top: 5px;
    height: 80px;
     position: relative;
    z-index: 1;
    
    
}

nav ul{
    float: right;
    margin-right: 0 5px;
}

nav ul li{
    display: inline-block;
    line-height: 28px;
    margin: 0 7px;
}

nav ul li a{
    color: white;
    font-family: oswald;
    font-size: 22px;
    padding: 2px 2px;

}

li a.active, li a:hover{
    
    color: black;
    padding: 6px;
    transition: .5s;
}
.checkbtn{
    font-size: 25px;
    color: white;
    float: right;
    line-height: 35px;
    margin-right: 11px;
    cursor: pointer;
    display: none;
}

#check {
	display: none;
}







/*---------------------------------------------*/





.content-logo {
	width: 290px;
	height: 290px;
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid white;
	margin: auto; 
    margin-top: 20px;
}

.castrovision {
	height: 90px;
	padding-top: 20px;
	margin: 25px auto 5px auto;
	clear: both;
}


.castrovision img{
	padding: center;
	margin: 25px auto 5px auto;  
}


.content-cabecera {
	width: 100%;
	margin-top: 2px;
    margin-bottom: 10px;
	text-align: center;
}


.content-logo img{
	width: 100%;
	height: 100%;
}

.content-cabecera h1{
	font-family: oswald;
	font-weight: 100;
	color: white;
	margin: 25px auto 5px auto;
    font-size: 40px;
}

.content-cabecera h1 span{
	color:red;
	margin: auto;
	font-size: 28px;
}

.content-cabecera p{
	margin-top: 0px;
	color: lightgray;
     width: calc(100% - 30px);
    margin: auto;
    
}

.content-cabecera a{
	color: orangered;
	text-decoration: none;
    
}

main {
	margin-top: 25px;
	background: #464a4d;
	border-radius: 3px;
	 width: calc(100% - 30px);
	padding-bottom: 20px;
    max-width: 1200px;
	padding: 12px;
	margin: auto;
   
}

/*content1--------------------------------------------------------------------------*/

.content1{
	width: 100%;
}
.img-content1{
	width: 100%;
    text-align: center;
	border-radius: 3px #464a4d solid;	
	
}
.img-content1 img{
	margin: 0px 0px 15px 0px;
	width: 100px;
	height: 100px;
	border-radius: 3px #464a4d solid;
	
}
.text-content1{
	width: 100%;
	text-align: center;
}
.text-content1 h2{
	padding: 3px;
	font-family: oswald;
	background-color: #1e1e1e;
	font-weight: 100;
	text-align: center;
	font-size: 22px;
	color: lightgray;
}
.text-content1 p{
	padding: 0px;
	letter-spacing: 1px;
	margin: 0px 3px 0px 3px;
	color: lightgray;
	text-align: center;
		border-radius: 2px;
		margin-top: 10px;
}
.button-leer {

	font-size: 13px;
	width: 200px;
	padding: 10px;
	border: 1px solid #dddddd;
	border-radius: 2px;
	margin: auto;
	margin-top: 15px;
	margin-bottom: 9px;
	cursor: pointer;
	color: lightgray;
}

/* content2-------------------------------------------------------------------------- */

.content2{
	width: 100%;
	text-align: center;
}
.content2 h2{
	padding: 3px;
	font-family: oswald;
	background-color: #1e1e1e;
	font-weight: 100;
	text-align: center;
	font-size: 22px;
	color: lightgray;
	border-radius: 3px;
}
.content-details{
	width: 100%;
}
.item-details{
	width: 205px;
	margin: auto;
}
.icon-details{
	width: 200px;
	height: 200px;
	border: 1px solid #899193;
	border-radius: 50%;
	display: flex;
	margin: auto;
	margin-top: 25px;
	margin-bottom: 20px;
}
.icon-details span{
	font-size: 90px; 
	color: #b3bbbd;
	border: 1px solid #b3bbbd;
	border-radius: 50%;
	padding: 38px;
	margin: auto;
	text-decoration: none;
}

.content-details h4{
	font-family: oswald;
	font-weight: 100;
	font-size: 18px;
	margin-top: 20px;
	color: lightgray;
}
.content2 a{
	font-family: oswald;
	color: lightgray;
	text-decoration: none;
}
.content-details p{
	font-size: 16px;
	margin-top: 10px;
	letter-spacing: 1px;
	color: #bec1c3;
	margin-bottom: 12px;
}

/*content 3--------------------------------------------------------------------------*/ 

.content3{
	width: 100%;
	text-align: center;
}
.content3 h2{
	padding: 3px;
	font-family: oswald;
	background-color: #1e1e1e;
	font-weight: 100;
	text-align: center;
	font-size: 22px;
	color: lightgray;
	border-radius: 3px;
}
.content3 p{
	padding: 9px 0px 9px 0px;
	margin: 0px 2px 7px 2px;
	letter-spacing: 1px;
	color: lightgray;
}
.content-estadisticas{
	width: 100%;
}
.item-estadistica{
	width: 200px;
	margin: auto;
	padding: 30px;
	color: white;
}
.item-estadistica span{
	font-size: 80px;
	color: #d5d6ce;
}
.item1{
	background: #526c6d;
	border-radius: 10px 10px 0px 0px;
}
.item2{
	background: #697271;
}
.item3{
	background: #4f585f;
}
.item4{
	background: #697271;
}
.item5{
	background: #4b6067;
	border-radius: 0px 0px 10px 10px;
}
.item-estadistica H4{
	font-weight: 100;
	font-size: 20PX;
    
    
    
}
.item-estadistica p{
	color: white;
	padding: 3px;
	font-size: 10px;
}

/*content4*/

.content4{
	width: 100%;
	text-align: center;
}

.content4 h2{
	padding: 3px;
	font-family: oswald;
	background-color: #1e1e1e;
	font-weight: 100;
	text-align: center;
	font-size: 22px;
	color: lightgray;
	border-radius: 3px;
}

.content4 hr{
	width: 100%;
	height: 1px;
	background: black;
	border-style: none;
	margin: 5px 0px 9px 0px;	
}
.content4 p{
	margin-top: 40px;
	font-size: 20px;
	color: #1e1e1e;
}
.button-content4{
	display: flex;
	justify-content: center;
	font-size: 7px;
}
.button-content4 button{
	width: 110px;
	padding: 9px;
	background: red;
	border-style: none;
	border-radius: 6px;
	color: white;
	font-size: 16px;
	margin: auto;
}

.button-content4 button:hover{
    opacity: 0.8;
}
.leer-content4{
    width: 110px;
    margin: auto;
}



.footer{
    width: 100%;
    height: 100px;
}
.footer h4 {
    	padding: 3px;
	font-family: oswald;
	background-color: #1e1e1e;
	font-weight: 100;
	text-align: center;
	font-size: 22px;
	color: lightgray;
	border-radius: 3px;
}


/*------------------------------------------------------*/
/*------------------------------------------------------*/
/*------------------------------------------------------*/

@media screen and (min-width: 800px){
    
    
    .content1{
        
        display: flex;
        flex-direction: row-reverse
    }
    .img-content1{
        width: 70%;
    }
    .img-content1 img{
        float: right;
	    border-radius: 3px #464a4d solid;
        margin-right: 20px;
        width: 150px;
        height: 150px;
    }
    .button1{
        float: left;
    }
    .content-details{
        display: flex;
    }
    .content-estadisticas{
        display: flex;
    }
    .content-estadisticas span{
        font-size: 60px;
        text-decoration: none;
    }
    .item1{
    width: 100%;
    background: #526c6d;
    border-radius: 0px;
    }
    .item2{
    width: 100%;
    }
    .item3{
    width: 100%;
    }
    .item4{
    width: 100%;
    }
    .item5{
    width: 100%;
    background: #4b6067;
    border-radius: 0px;
    }
    
    .content4{
        width: 100%;
        max-width: 430px;
        margin: auto;
    }
    


    
    
    
    
}

/*------------------------------------------------------*/

@media (max-width : 662px ){

    .enlace{
     padding-left: -5px;
     width: 70%;
        
    }
     nav ul li a{
    font-size: 16px;
    }



/*------------------------------------------------------*/

 
    .checkbtn{
     display: block;  
    }
    ul{
        position: fixed;
        width: 100% ;
        height: 100vh;
        background: rgba(34, 92, 109, 0.7);
        top: 35px;
        right: 10px;
        left: 10px;
        align: center;
        left: -100%;
        text-align: center;
        transition: all .5s;
        z-index: 3;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 60px;
        color:white;
        font-weight: 1500;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke-width: 2px ;
        letter-spacing: 1px;
        line-height: 12px;
        
    }
    li a:hover, li.a active{
        background: black;
        color: red;
    }
    #check:checked ~ ul{
        left: 0;
    }

    
    /*.container{
    margin: auto;
    background-color: #000;
    width: 50%;
    padding: 10px; 
    z-index: 1;
      
}    */
    

    
    }
    
    
    
/*------------------------------------------------------*/

    
    
