body {
    background: #444;
    margin: 0;
    font-family: monospace;
}

h1 {
    color: #fff;
    text-align: center;
}

/*Estilos de la galeria*/

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

.galeria li {
    margin: 5px;
}

.galeria img {
    width: 250px;
    height: 200px;
}

/*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 {
    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: 40px;
    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: #666;
    width: 25px;
    height: 25px;
    margin: 15px auto;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    color: #000;
    padding: 5px;
    border-radius: 50%;
    line-height: 15px;
}

#sem {
	background-color: #ececec;
}

#sem .contenedor {
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
	padding-bottom: 60px;
}

#sem .sem1 p {
	width: 1200px;
	margin-top: 40px;
	margin-bottom: 20px;
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	text-align: center;
	font-size:24px;
	color: #fd8204;
	line-height: 20px;
}

#sem .sem2 p {
	width: 800px;
	padding-bottom: 40px;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	text-align: center;
	font-size:18px;
	color: #999;
	line-height: 30px;
}



@media (max-width:320px) {
		
		
#sem .sem1 {
	margin: 15px;
	margin-bottom:5px;
}

#sem .sem1 p {
	width: 350px;
	margin-top: 20px;
	margin-bottom: 10px;
	font-size:20px;
}

#sem .sem2 p {
	padding-bottom: 10px;
	width: 300px;
	font-size:16px;
	line-height: 25px;
}
	
}

@media (max-width:360px) {
	
		
#sem .sem1 {
	margin: 15px;
	margin-bottom:5px;
}

#sem .sem1 p {
	width: 350px;
	margin-top: 20px;
	margin-bottom: 10px;
	font-size:20px;
}

#sem .sem2 p {
	padding-bottom: 10px;
	width: 300px;
	font-size:16px;
	line-height: 25px;
}
	
}


@media (max-width:480px) {
#sem .sem1 {
	margin: 15px;
	margin-bottom:5px;
}

#sem .sem1 p {
	width: 350px;
	margin-top: 20px;
	margin-bottom: 10px;
	font-size:20px;
}

#sem .sem2 p {
	padding-bottom: 10px;
	width: 300px;
	font-size:16px;
	line-height: 25px;
}
}

@media (min-width:768px) {

#sem .sem1 p {
	width: 450px;
	margin-top: 30px;
	margin-bottom: 20px;
	font-size:20px;
}
#sem .sem2 p {
	padding-bottom: 20px;
	width: 600px;
	font-size:16px;
	line-height: 25px;
}

	
	
	
}

@media (min-width:1024px) {
	
#sem .sem1 p {
	width: 1200px;
	font-size:24px;
}

#sem .sem2 p {
	padding-bottom: 40px;
	width: 800px;
	font-size:18px;
	line-height: 25px;
}
		
}
