
.logo{
	background-color: white;
	padding: 0 100px 0 100px;
	width: auto;
	height: auto;
	}

.enlaces{
	background-color: black;
	width: auto;
	height: 50px;
	}

.enlaces ul{
	list-style-type: none;
	text-align: center;
	padding-top: 15px;
	}

.enlaces li{
	font-family: 'fantasy', sans-serif;
	display: inline;
	text-align: center;
	margin: 0 10px 0 0;
	}

.enlaces li a{
	padding: 2px 7px 2px 7px;
	color: white;
	text-decoration: none;
	}

.enlaces li a:hover{
	background-color: blue;
	color: yellow;
  }

	.inicio {
		font-family: 'fantasy', sans-serif;
		color: #045389;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    animation: fade-in 5s ease-out forwards;
}

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
	}

	#title {
		margin: 0 0 0 0;
		font-family: 'fantasy', sans-serif;
		color: yellow;
    font-size: 40px;
		font-weight: bold;
	}

	#subtitle {
		margin: 0 0 0 0;
		font-family: 'fantasy', sans-serif;
		color: yellow;
    font-size: 35px;
	}

	#text {
		font-family: 'fantasy', sans-serif;
		color: yellow;
		font-size: 20px;
	}

	#title1 {
		padding-left: 150px;
		margin: 0 0 0 0;
		font-family: 'fantasy', sans-serif;
		color: yellow;
    font-size: 40px;
		font-weight: bold;
	}

	#subtitle1 {
		padding-left: 150px;
		margin: 0 0 0 0;
		font-family: 'fantasy', sans-serif;
		color: yellow;
    font-size: 35px;
	}

	#text1 {
		padding-left: 150px;
		font-family: 'fantasy', sans-serif;
		color: yellow;
		font-size: 20px;
	}


.galeria {
  height: calc( 300px + 3em);
  width: 500px;
  margin:1em auto;
  border: 1px solid #555;
  position: relative;
}

.galeria img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 3s;
}

.galeria input[type=radio] {
  position: relative;
  bottom: calc(-300px - 1.5em);
  left: .5em;
}

.galeria input[type=radio]:nth-of-type(1):checked ~ img:nth-of-type(1) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(2):checked ~ img:nth-of-type(2) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(3):checked ~ img:nth-of-type(3) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(4):checked ~ img:nth-of-type(4) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(5):checked ~ img:nth-of-type(5) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(6):checked ~ img:nth-of-type(6) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(7):checked ~ img:nth-of-type(7) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(8):checked ~ img:nth-of-type(8) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(9):checked ~ img:nth-of-type(9) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(10):checked ~ img:nth-of-type(10) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(11):checked ~ img:nth-of-type(11) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(12):checked ~ img:nth-of-type(12) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(13):checked ~ img:nth-of-type(13) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(14):checked ~ img:nth-of-type(14) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(15):checked ~ img:nth-of-type(15) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(16):checked ~ img:nth-of-type(16) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(17):checked ~ img:nth-of-type(17) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(18):checked ~ img:nth-of-type(18) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(19):checked ~ img:nth-of-type(19) {
  opacity: 1;
}

.galeria input[type=radio]:nth-of-type(20):checked ~ img:nth-of-type(20) {
  opacity: 1;
}
