*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
}
.container-all{
	background: #b0ba75;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	padding: 5px;
	visibility: hidden;
	opacity: 0;
	transition: all 600ms;
	z-index: 9999999;	
}
.container-all:target{
	background: rgba(0,0,0,0.8);
	visibility: visible;
	opacity: 1;
}
.container-all:target .popup{
	top: 35%;
	left: 50%;
	transform: rotate(0deg) translate(-50%, -50%);
	visibility: visible;
	position: relative;
	margin: 0;
	padding: 0;
}	
.popup{
	background: #ffffff;
	width: 90%;
	max-width: 90%;
	height: 400px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	top: -80%;
	left: -80%;
	transform: rotate(90deg) translate(-150%, 230%);
	transition: all 600ms;
	z-index: 999999999;
}
.container-texto-1{
	margin:0;
	padding: 0;
	width: 95%;
	display: flex;
	flex-direction: column;
	max-width: 95%;
	max-height: 80%;
	margin-bottom: 1rem;
	position: relative;
	top: 5%;
	overflow-y: auto;
}
.container-texto-1 .logo{
	width: 30%;
    height: 30%;
    max-width: 40%;
    display: flex;
    align-self: center;
    position: relative;
}
.container-texto-1 .logo img{
	width: 100%;
	max-width:100%;
    max-height:100%;
    vertical-align: middle;
    object-fit: contain;
}
.container-texto-1 .tit-parrafo{
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.container-texto-1 .tit-parrafo h3{
	font-size: 1.5em;
	margin: 1rem;
	padding: 0;
	text-align: center;
}
.container-texto-1 .tit-parrafo,
.container-texto-1 .tit-parrafo2, .historia{
	margin: 0;
	padding-bottom: 1rem;
	font-size: .8rem;
	line-height: 1rem;
	text-align: justify;
}	
.btn-close-popup{
	width: 50px;
	height: 50px;
	position: absolute;
	right: -20px;
	top: -20px;
	background: #b0ba75;
	color: white;
	border-radius: 50%;
	line-height: 10px;
	padding: 20px;
}
@media screen and (min-width: 500px){
	.popup{
		max-width: 60%;
	}
	.container-texto-1{
		display: grid;
		grid-template-columns: 1fr 3fr;
		grid-template-rows: 1fr 3fr;
		gap: 1rem;
		grid-template-areas: 'logo tit-p'
							 'par2 par2'
	}
	.container-texto-1 .logo{
		width: 100%;
	    height: 100%;
    	max-width: 100%;
		grid-row: 1/2;
		grid-area: 'logo';
	}
	.container-texto-1 .tit-parrafo{
		text-align: center;
		grid-area: 'tit-p';
	}
	.container-texto-1 .tit-parrafo2{
		margin-top: 0;
		grid-column: 1/3;
		grid-area: 'par2';
	}
}
@media screen and (min-width: 900px){
	.popup{
		max-width: 30%;
	}
	.container-texto-1 .tit-parrafo{
		margin-bottom: 0;
		padding: 0;		
	}	
	.container-texto-1 .tit-parrafo2{
		margin-top: 0;
		padding: 0;		
	}	
}	

