*{
    box-sizing:border-box;
    margin:0;
    padding:0;
	text-decoration: none;
}
@media screen and (min-width:300px) and (max-width:800px) { /* hace compatible con movil */
    body{font-size:0.8em;}
    sidebar{display:none;}
}
.main {
	width:70%;
	
}
p{
   	text-align: justify;
}


body, html {
	background: url(fondo3.jpg);   /* la imagen de fondo */
    background-repeat: no repeat;
    background-position: center top;
	background-size: cover;
	} 
    a {
    color: blue;
	font-weight: bold;
    }	
    input {
    text-align: center;
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.stroke {
    -webkit-text-fill-color: white;
    -webkit-text-stroke: 2px black;
}
h1 {
  font-style:normal;
  font-weight:bold;
  font-size:3em;           /* tamaño letra h1  */
}
.center-block {
    display: block;
	width:100px;
    }
li{
    list-style-type:none;
    position:relative;
	top:40%;
	left:17%;               /*  margen izquierdo de la caja del menu  */
    width:180px;            /* largo de la barra del menu  */
    }
nav #item{
	float:left;
}

li a{
	float:left;
    text-decoration:none;
    display:inline-block;
    padding:10px 20px 10px;
	width:300px;             /* largo de la caja de cada opción del menu  */
    height:5px;
    border:0px solid #000;
    color:#fff;
    background-color:#CD5C5C;
	padding-bottom: 30px;   /*  alto de la caja de menu */
    }
            
 li a:hover{
    color:#000;
    background-color:#fff; 
    width=100px;	
    }
    
 nav li ul{
        display:none;
        position:absolute;
        top:40px;
        left:30px;
		width:100px;
		
    }  
	
 nav li:hover ul{display:block;
        width = 50px;
	}
	

.container-all{
    width: 100%;
    height: 100%;
    position: fixed;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: all 600ms;
}


.container-all:target{
    background: rgba(0,0,0,0.8);
    visibility: visible;
    opacity: 1;
}

.container-all:target .popup{
    top: 50%;        /* espacio arriba del popup */
    left: 50%;
    transform: rotate(0deg) translate(-50%, -50%);
    visibility: visible;
}

.popup{
    width: 100%;
    max-width: 1200px;
    height: 650px;
    position: relative;
    display: flex;
    background: white;
    visibility: hidden;
    top: -80%;
    left: -80%;
    transform: rotate(90deg) translate(-150%, 230%);
    transition: all 600ms;
}

.popup #img10{
    width: 40%;
    background-image: url("img10.jpg");
    background-size: cover;
    background-position: center;
}
.popup #img20{
    width: 40%;
    background-image: url("img20.jpg");
    background-size: cover;
    background-position: center;
}
.popup #img30{
    width: 40%;
    background-image: url("img30.jpg");
    background-size: cover;
    background-position: center;
}
.popup #img40{
    width: 40%;
    background-image: url("img40.jpg");
    background-size: cover;
    background-position: center;
}
.popup #img50{
    width: 40%;
    background-image: url("img50.jpg");
    background-size: cover;
    background-position: center;
}
.popup #img60{
    width: 40%;
    background-image: url("img60.jpg");
    background-size: cover;
    background-position: center;
}
.popup #img70{
    width: 40%;
    background-image: url("img70.jpg");
    background-size: cover;
    background-position: center;
}
.popup #img80{
    width: 40%;
    background-image: url("img80.jpg");
    background-size: cover;
    background-position: center;
}
.popup #img90{
    width: 40%;
    background-image: url("img80.jpg");
    background-size: cover;
    background-position: center;
}
.container-text{
    width: 70%;     /* àrea de texto en container */
    padding: 10px;
    overflow-y: auto;
}


.container-text h1{
    font-size: 25px;
}

.container-text p{
    margin-top: 20px;
    font-size: 19px;     /* tamaño letra del texto en container */
}
.container-text #myv {
    margin-top: 20px;
    font-size: 30px;     /* tamaño letra del texto en container */
}

.btn-close-popup{
    width: 50px;
    height: 50px;       /* tamaño boton Next */
    position: absolute;
    right: -20px;
    top: -20px;
    padding: 20px;
    background: black;
    color: white;
    border-radius: 50%;
    line-height: 10px;
}

@media screen and (max-width: 900px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 800px;
    }
    
    .img{
        width: 100%;
        height: 40%;
		padding: 50px;
    }
    
    .container-text{
        width: 80%;
        height: 100%;
        padding: 20px;
    }
    
}

@media screen and (max-width: 500px){
    .container-text{
        padding: 20px;
    }
    
    .container-text h1{
        font-size: 20px;
    }
    
    .container-text p{
        font-size: 12px;
    }
}
