@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700);
* {
  margin: 0;
  padding: 0;
  font-family: Open Sans, sans-serif !important;
}

html {  
	background: #00514a;
}
body {
  min-width: 550px;
}

header {
  width: 100%;
  height: 100vh;
  position: relative;
  background: #f9f8f0;
  z-index: 400;
}

header nav {
  height: 100px;
  width: 100%;
  position: fixed;
  overflow: hidden;
  background-color: #00514a;
  z-index: 900;
}

header nav #logo {
  width: 100px;
  height: 100%;
  float: left;
  margin-left: 12.5%;
  display: inline-block;
}

header nav #logo img {
  height: 100px;
}

header nav #menu {
  float: right;
  height: 100%;
  list-style: none;
  text-align: right;
  text-transform: uppercase;
  position: relative;
  right: 12.5%;
}

header nav #menu li {
  display: inline-block;
  position: relative;
  margin: 0 20px;
  box-sizing: border-box;
  margin-top: 40px;
  cursor: pointer;
  transition: color 0.2s;
}
header nav #menu li:after {
  position: absolute;
  top: -13px;
  right: 51%;
  display: block;
  width: 1px;
  height: 0;
  background-color: #00514a;
  content: "";
  /* transform: rotateZ(90deg); */
  transition: height 0.2s;
}
header nav #menu li:hover:after {
  height: 48px;
}
header nav #menu li:hover {
  color: #00514a;
}

header #hero-text {
  position: absolute;
  width: 100%;
  height: 150px;
  top: 50%;
  margin-top: -50px;
}

header #hero-text h1 {
  height: 100px;
  font-size: 70px;
  font-weight: 100;
  line-height: 100px;
}

header #hero-text p {
  height: 50px;
  line-height: 1;
  font-size: 35px;
}

header #hero-text h1,
header #hero-text p {
  margin: 0;
  text-align: center;
  overflow: hidden;
}

header #scroll {
  width: 30px;
  height: 30px;
  position: absolute;
  bottom: 5%;
  left: 0;
  right: 0;
  margin: auto;
  border-right: 2px solid black;
  border-bottom: 2px solid black;
  cursor: pointer;
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
  -webkit-animation: bounce 1.2s infinite ease;
  animation: bounce 1.2s infinite ease;
}

@-webkit-keyframes bounce {
  0%,
  100% {
    -webkit-transform: translate(0, 0) rotateZ(45deg);
    transform: translate(0, 0) rotateZ(45deg);
  }
  50% {
    -webkit-transform: translate(0, -15px) rotateZ(45deg);
    transform: translate(0, -15px) rotateZ(45deg);
  }
}

@keyframes bounce {
  0%,
  100% {
    -webkit-transform: translate(0, 0) rotateZ(45deg);
    transform: translate(0, 0) rotateZ(45deg);
  }
  50% {
    -webkit-transform: translate(0, -15px) rotateZ(45deg);
    transform: translate(0, -15px) rotateZ(45deg);
  }
}

#content {
  z-index: 300;
  position: relative;
  margin-bottom: 200px;
}

#content .info {
  background: white;
  padding: 150px 0 75px 0;
}

#content .info > p:first-child {
  text-align: center;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
}

#content .info > p:first-child:before {
  width: 80px;
  height: 2px;
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: -15px;
  margin: auto;
  background: #00514a;
}

#content .info > p:nth-child(2) {
  margin-top: 75px;
  text-align: center;
  font-size: 45px;
  font-weight: 400;
  padding: 0 100px;
}

#content .button {
  position: relative;
  height: 50px;
  width: 250px;
  border: 2px solid #00514a;
  color: #00514a;
  margin: 75px auto;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 50px;
  padding: 10px;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 100;
}

#content .button:hover {
  color: #f9f8f0;
}

#content .button::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  z-index: -1;
  background: #00514a;
  -webkit-transition: width 0.2s;
  transition: width 0.2s;
}

#content .button:hover:before {
  width: 100%;
}

#content .gallery {
  width: 100%;
}

#content .gallery #hero-image {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url(recursos/nuevo-myndheim_blanco-sobre-viridian.PNG);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

#content .gallery #hero-image .text-cont {
  width: 450px;
  height: 430px;
}

#content .gallery #hero-image .text-cont > .promo-text > p {
  font-size: 40px !important;
}

#content .gallery .text-cont {
  position: absolute;
  width: 274px;
  height: 300px;
  z-index: 300;
  top: 104px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#content .gallery .text-cont .promo-text {
  margin-bottom: 30px;
  position: relative;
}

#content .gallery .text-cont .promo-text > p {
  font-size: 25px;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 30px;
}

#content .gallery .text-cont .promo-text > img {
  display: block;
  width: 125px;
  margin: 0 auto;
}

#content .gallery .text-cont .button {
  margin: 0 auto;
  border-color: black;
  color: black;
  background: transparent;
  opacity: 0;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
  cursor: pointer;
  position: relative;
}

#content .gallery .text-cont .button:hover {
  color: #f9f8f0;
}

#content .gallery .text-cont .button::before {
  content: "";
  position: absolute;
  display: block;
  background: rgba(0, 0, 0, 0.8);
  width: 0%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-transition: width 0.2s;
  transition: width 0.2s;
  z-index: -1;
}

#content .gallery .text-cont .button:hover:before {
  width: 100%;
}

#content .gallery .row {
  width: 100%;
  height: 500px;
  position: relative;
  /* overflow: hidden; */
}

#content .gallery .row .photo-item {
  position: relative;
  width: 33.333%;
  float: left;
  height: 500px;
  overflow: hidden;
}

#content .gallery .row .photo-item > img {
  min-width: 450px;
  max-width: 550px;
  position: absolute;
  bottom: 0;
}

#content .gallery #hero-image:after,
#content .gallery .photo-item:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 0%;
  background-color: #00514a;
  top: 0;
  left: 0;
  -webkit-transition: height 0.2s;
  transition: height 0.2s;
}

#content .gallery #hero-image:hover:after,
#content .gallery .photo-item:hover:after {
  height: 100%;
}

#content .gallery #hero-image:hover .text-cont,
#content .gallery .photo-item:hover .text-cont {
  top: 0;
}

#content .gallery #hero-image:hover .text-cont .button,
#content .gallery .photo-item:hover .text-cont .button {
  opacity: 1;
}

#content .transparent-text {
  background-color: #f9f8f0;
  height: 800px;
}

#content .transparent-text #center {
  position: relative;
  margin: 0 auto;
  top: 65px;
  width: 75%;
  height: 670px;
  overflow: hidden;
  /* Aquí vai a imaxe de fondo do footer */
  background-image: url(recursos/nuevo-myndheim_blanco-sobre-viridian.PNG);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#content .transparent-text #center > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 101%;
  /* min-width:100%; */
}

footer {
  height: 150px;
  position: relative;
  padding: 25px 12.5% 25px;
  position: fixed;
  bottom: 0;
  z-index: 1;
  background: #f9f8f0;
}

@media only screen and (max-width: 1000px) {
  .row {
    height: 1500px !important;
  }
  .photo-item {
    width: 100% !important;
  }
  .photo-item > img {
    max-width: 100% !important;
    width: 100% !important;
  }
}
