
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body{
  display: flex;
  justify-content: center;
  align-items: center;

}

.container{
  width: 90%;
  padding: 10px 10px 40px 10px;
  margin: 10px 10px;
  border-radius: 0px;
}

.container .topic{
  font-size: 27px;
  font-weight: 500;
  margin-bottom: 0px;
  color: rgba(255, 255, 255, 0.0);
}

.content input{
  display: none;
}

.content{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content .list{
  display: flex;
  flex-direction: column;
  position: relative;
  width: 20%;
  margin-right: 0px;
   border-right:7px solid #000;
}

.content .list label{
  cursor: pointer;
  height: 50px;
  line-height: 30px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding-left: 25px;
  transition: all 0.3s ease;
  z-index: 10;
}

#home:checked ~ .list label.home,
#edificios2022:checked ~ .list label.edificios2022,
#edificios2018:checked ~ .list label.edificios2018,
#edificios2015:checked ~ .list label.edificios2015,
#edificios2014:checked ~ .list label.edificios2014,
#edificios2011:checked ~ .list label.edificios2011,
#edificios2007:checked ~ .list label.edificios2007,

#about:checked ~ .list label.about{
  color: #fff;
}

.content .slider{
  position: absolute;
  left: 0;
  top: 0;
  height: 30px;
  width: 100%;
  border-radius: 0px;
  transition: all 0.5s ease;
  background: #b80d27;
  border-bottom:3px solid #000;
}

#home:checked ~ .list .slider{
  top: 0;
}

#edificios2022:checked ~ .list .slider{
  top: 50px;
}

#edificios2018:checked ~ .list .slider{
  top: 100px;
}

#edificios2015:checked ~ .list .slider{
  top: 150px;
}

#edificios2014:checked ~ .list .slider{
  top: 200px;
}

#edificios2011:checked ~ .list .slider{
  top: 250px;
}

#edificios2007:checked ~ .list .slider{
  top: 300px;
}



.content .text-content{
  width: 80%;
  height: 100%;
  color: rgba(0, 0, 0, 0.7);
}

.content .text{
  display: none;

}

.content .text .title{
  font-size: 25px;
  margin-bottom: 10px;
  font-weight: 500;
  padding-left: 15px;
}

.container .text p{
  text-align: justify;
  padding-left: 15px;
}

.content .text-content .home{
  display: block;
}

#home:checked ~ .text-content .home,
#edificios2022:checked ~ .text-content .edificios2022,
#edificios2018:checked ~ .text-content .edificios2018,
#edificios2015:checked ~ .text-content .edificios2015,
#edificios2014:checked ~ .text-content .edificios2014,
#edificios2011:checked ~ .text-content .edificios2011,
#edificios2007:checked ~ .text-content .edificios2007
{
  display: block;
}

#edificios2022:checked ~ .text-content .home,
#edificios2018:checked ~ .text-content .home,
#edificios2015:checked ~ .text-content .home,
#edificios2014:checked ~ .text-content .home,
#edificios2011:checked ~ .text-content .home,
#edificios2007:checked ~ .text-content .home
{
  display: none;
}

.content .list label:hover{
  color: #b80d27;
}

img {
    width:100%;
}
.img2 {
    width:60%;
}

/*grilla2 para adaptarse a moviles2*/
.grid2 {
  display: grid;
  padding: 0.0em;
	padding-top: 0.1em;
	padding-bottom: 0.1em;
  counter-reset: grid-items;
  position: relative;
  grid-gap: 0.1em;
  background-color: #000;
	align-content: center;
}
.grid--auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.grid__item {
  padding:1.2em 0.0em;
  color: #000;
}
/*grilla2 para adaptarse a moviles2*/

/*image hover*/
.image-hover-text-container 
{
  padding:0.1em 0.0em;
  position: relative;
  display: inline-block;

  width: auto;
  height: auto;
  transition: all 0.2s linear;
}
.image-hover-image 
{
 display: block;
}
/* Make the image round */
.image-hover-image img
{
  height: auto;
}

.image-hover-text 
{
  position: absolute;
  top: 0;
  width: 100%;  
  height: 100%;
  margin: 0 auto;
  opacity: 0;
  cursor: default;
  transition: opacity 0.2s linear;
}
.image-hover-text:hover 
{
  opacity: 1;
}

.image-hover-text-bubble 
{
  position: relative;
  box-sizing: border-box;
  top: 0; left: 0; right: 100%;
  height: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 auto;
  padding: 75% 0px 5px 0px;
  overflow: hidden;
  font-size: 12px;
  text-align: center;
  word-wrap: break-word;

}
.image-hover-text .image-hover-text-title
{
  font-size: 16px;
  color: #fff;
  display: block;
  background: #000;
  border-right:2px solid #b80d27;
    padding: 4px 0px 4px 0px;
}
.image-hover-text-bajada
{
  font-size: 12px;
  color: #fff;
  display: block;
  background: #000;
  border-right:2px solid #b80d27;
  padding: 0px 0px 5px 0px;
}
/*image hover*/

/*grilla3 para adaptarse a moviles2*/
.grid3 {
  display: grid;
  padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 1.2em;
	padding-right: 1.2em;
  counter-reset: grid-items;
  position: relative;
	grid-gap: 0.1em;
	background-color: #fff;
}
.grid3--auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid3__item {
  padding-right: 0.1em;
	padding-left: 0.1em;
	padding-top: 1.0em;
	padding-bottom: 1.0em;
  color: #fff;
}
/*grilla3 para adaptarse a moviles2*/