@import url("https://fonts.googleapis.com/css?family=Roboto");
@import url("https://fonts.googleapis.com/css?family=Cormorant+Garamond:400,700");

.main-wrap {
  position: relative;
  height: 100vh;
}
.img-section {
  width: 100%;
  height: 33.3333vh;

  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;

  z-index: 0;
}
/* .img-section.active {
  z-index: 999;
} */

#quinta {
  /* background-color: bisque; */
  top: 0;
  transition: 1s ease;
  background-image: url("../img/beige.jpg");
  background-position: top;
  background-size: cover;
  z-index: 1;
}
#viveiros {
  top: 33.3333%;
  transition: 1s ease;
  background-image: url("../img/green.jpg");
  background-position: center;
  background-size: cover;
  z-index: 1;
}
#vindimor {
  top: 66.6666%;
  transition: 1s ease;
  background-image: url("../img/blue.jpg");
  background-position: bottom;
  background-size: cover;
  z-index: 1;
}
.center-logo {
  margin-top: 5vh;
  transition: 1s ease;
}
/* .active .center-logo {
  margin-top: 0vh;
} */
.logo-wrap {
  width: 200px;
  padding-left: 50px;
  transition: 1s ease;
  margin-top: 0%;
}
.logo-wrap img {
  height: 150px;
  transition: 1s ease;
}

.active .logo-wrap {
  height: 90vh;
  width: 70vw;
  margin-top: 0%;
}
.active .logo-wrap img {
  height: 100px;
  /* padding-top: 50px; */
}

.img-section .collapse-wrap {
  opacity: 0;
  width: 100px;
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 9vh;
  margin-right: 3%;
  z-index: 999;
  transition: 0.3s ease;
}
.img-section.active .collapse-wrap {
  opacity: 1;
}
#vindimor.active {
  background-color: deepskyblue;
  top: 0%;
  height: 100vh;
  z-index: 999;
}

#viveiros.active {
  background-color: greenyellow;
  top: 0%;
  height: 100vh;
  z-index: 999;
}
#quinta.active {
  background-color: bisque;
  top: 0%;
  height: 100vh;
  z-index: 999;
}

.text-wrap {
  /* display: none;
  opacity: 0; */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  color: white;
  transition: 0.3s ease;
}

.text-wrap h4,
.text-wrap h2,
.text-wrap p {
  margin: 0 auto;
  width: 70%;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.text-wrap h4 {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 4px;
}

.text-wrap h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 100;
  font-size: 52px;
  line-height: 50px;
}
.text-wrap p {
  font-family: "Cormorant Garamond", serif;
  font-weight: 100;
  font-size: 22px;
  width: 50%;
}

a.button {
  width: 150px;
  text-decoration: none;
}

.button {
  border-radius: 100px;
  text-align: center;
  width: 150px;
  padding: 10px 0;
  margin: 0 auto;
  margin-top: 30px;
}
.button a {
  text-decoration: none;
}
.button h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 100;
}

.button--white {
  color: #b99d60;
  background-color: white;
}
.button--white a {
  color: #b99d60;
}

.hiddentext {
  display: none;
}

.visuallyhiddentext {
  opacity: 0;
}

.school_wrap {
  width: 200px;
  position: absolute;
  right: 45px;
  top: 40px;
  z-index: 999;
}
#quinta.active .school_wrap {
  width: 300px;
  position: absolute;
  right: 47px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s ease;
}

@media screen and (min-height: 840px) {
  .center-logo {
    margin-top: 10vh;
  }
}
/* @media screen and (min-height: 1230px) {
  .center-logo {
    margin-top: 10vh;
  }
} */

@media screen and (max-width: 533px) {
  .school_wrap {
    width: 120px;
    position: absolute;
    right: 9px;
    top: 40px;
    z-index: 999;
  }
  #quinta.active .school_wrap {
    width: 170px;
    position: absolute;
    right: auto;
    top: auto;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    transition: 0.3s ease;
  }
}
