@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "EB Garamond", serif;
}

/*!RECTANGLE1*/

.rectangle-1 {
  height: 14vh;
  background: #4d6b5e;
  position: relative;
}

.rectangle1-text {
  width: 100%;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.rectangle1-text-1 {
  color: white;
  font-size: 42px;
  font-weight: 300;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}

.rectangle1-text-2 {
  color: rgb(243, 243, 243);
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 5px;
}

@media (max-width: 900px) {
  .rectangle-1 {
    height: 20vh;
  }
}

@media (max-width: 290px) {
  .text-1 {
    font-size: 35px;
  }
}

/*!RECTANGLE2*/

.rectangle-2 {
  height: 6vh;
  background: #f4f4f4;
  position: relative;
  box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.18);
  z-index: 999;
}

.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 40%;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 22px;
  color: #4d6b5e;
}

.nav-links a.active{
  font-weight: bold ;
}

@media (max-width: 1300px) {
  .nav-links {
    width: 60%;
  }
}

@media (max-width: 860px) {
  .nav-links {
    width: 70%;
  }
  .nav-links a {
    font-size: 18px;
  }
}

@media (max-width: 580px) {
  .nav-links {
    width: 85%;
  }
}

@media (max-width: 420px) {
  .nav-links {
    width: 95%;
  }
}

/*!RECTANGLE3*/

.rectangle-3 {
  height: 52vh;
  background: #c6c3b7;
  position: relative;
}

.rectangle-3-informacion{
  background: white;
}

.informacion{
  background: white;
  display: flex;
  flex-direction: row;
  width: 60%;
  margin: auto;
}

.text-info{
  position: relative;
  width: 60%;
  margin-top: 63px;
  margin-bottom: 63px;
  text-align: justify;
}

.image-info{
  position: relative;
  width: 40%;
}

.image-3{
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateX(-100%) translateY(-50%);
  max-height: 450px;
}

.image-3c{
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateX(-100%) translateY(-50%);
  max-height: 250px;
}

.image-4{
  max-height: 250px;
  margin-top: 20px;
  margin-bottom: 20px;
}

@media (max-width: 1700px){
  .informacion{
    width: 70%;
  }
}

@media (max-width: 1500px){
  .informacion{
    width: 80%;
  }
}


@media (max-width: 1280px){
  .informacion{
      flex-direction: column-reverse;
  }
  .image-info{
      width: 100%;
      height: 50%;
  }
  .image-3{
      position: relative;
      top: 0%;
      left: 50%;
      transform: translateY(-0%) translateX(-50%);
      max-height: 500px;
      margin-top: 30px;
  }
  .text-info{
      width: 100%;
      height: 50%;
      margin-top: 50px;
      margin-bottom: 50px;
  }
}

@media (max-width: 600px){
  .image-3{
    max-height: 400px;
  }
}

.container {
  position: relative;
  width: 100%;
  height: 52vh;
}

.overlay{
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  opacity: 0.6;
  background: #c6c3b7;
}

.image {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("./img/banner@3x.png") no-repeat center;
  background-size: cover;
  background-position: center;
}

.image-2{
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("./img/banner@3xcenter4.png") no-repeat center;
  background-size: cover;
  background-position: center;
}

@media (max-width: 915px) {
  .image {
    background-position: -400px;
  }
}

@media (max-width: 850px) {
  .image {
    background-position: -450px;
  }
}
@media (max-width: 795px) {
  .image-2{
    display: block;
  }
  .overlay{
    display: block;
  }
}

.rectangle3-text {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 35%;
  transform: translateX(-50%) translateY(-50%);
}

@media (max-width: 795px) {
  .rectangle3-text {
    top: 70%;
  }
}

.rectangle3-text-1 {
  width: fit-content;
  color: white;
  background: #4d6b5e;
  font-size: 28px;
  margin-bottom: 8px;
  padding: 2px 10px;
}

.rectangle3-text-2 {
  width: fit-content;
  color: white;
  background: #4d6b5e;
  font-size: 28px;
  margin-bottom: 16px;
  padding: 0px 10px;
}

.rectangle3-text-3 {
  font-size: 18px;
  color: rgba(0, 0, 0, 0.8);
}

.rectangle3-text-3-2 {
  font-size: 18px;
  color: rgba(0, 0, 0, 0.8);
  display: none;
}

@media (max-width: 545px) {
  .rectangle3-text {
    width: 65%;
    left: 40%;
  }
  .rectangle3-text-3-2 {
    display: block;
  }
  .rectangle3-text-3 {
    display: none;
  }
}

@media (max-width: 525px) {
  .rectangle3-text {
    width: 67%;
  }
}

@media (max-width: 510px) {
  .rectangle3-text {
    width: 85%;
    left: 50%;
  }
}

.whatsapp {
  position: absolute;
  top: 100%;
  left: 85%;
  transform: translateY(-50%) translateX(-50%);
  cursor: pointer;
  z-index: 999;
}

.whatsapp-2 {
  position: absolute;
  top: 0%;
  left: 85%;
  transform: translateY(-50%) translateX(-50%);
  cursor: pointer;
  z-index: 999;
}

/*!RECTANGLE4*/

.rectangle-4{
  height: 10vh;
  background: #f4f4f4;
  position: relative;
}

.info {
  width: 100%;
  height: 100%;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.info h4 {
  font-weight: bold;
  margin-left: 10px;
  margin-right: 5px;
}

.info p {
  font-size: 16px;
}

@media (max-width: 970px) {
  .rectangle-4 {
    height: auto;
    padding: 20px;
  }
  .info {
    flex-direction: column;
  }
  .calendar {
    margin-bottom: 8px;
  }
  .novedades {
    max-width: 80%;
  }
  .info h4 {
    margin-bottom: 4px;
  }
  .info h4.novedades {
    font-size: 20px;
  }
}

/*!RECTANGLE5*/

.rectangle-5 {
  height: 18vh;
  background: #dedede;
  position: relative;
}

.datos {
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 60%;
  justify-content: space-around;
}

@media (max-width: 1120px){
  .datos{
    width: 80%;
  }
}

@media (max-width: 990px) {
  .datos {
    flex-direction: column;
  }
  .rectangle-5 {
    height: 40vh;
  }
  .rectangle-4 {
    height: 20vh;
  }
  .direccion,
  .telefono,
  .contacto {
    left: 50%;
    transform: translateX(-30%);
    width: 200px;
  }

  .direccion,
  .telefono {
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 420px){
  .rectangle-5{
    height: 45vh;
  }
  .rectangle-4{
    height: 25vh;
  }
  .contacto{
    margin-bottom: 2rem;
  }
  .direccion{
    margin-top: 2rem;
  }
  .novedades {
    max-width: 80%;
  }
}

.direccion,
.telefono,
.contacto {
  display: flex;
  position: relative;
}

.direccion img {
  position: absolute;
  top: 1px;
  left: -30px;
}

.telefono img {
  position: absolute;
  top: 2px;
  left: -30px;
}

.contacto img {
  position: absolute;
  top: 4px;
  left: -30px;
}

.ver-mapa {
  color: #6b9583;
  font-weight: bold;
  text-decoration: none;
}

.direccion h3,
.telefono h3,
.contacto h3 {
  font-size: 14px;
  font-weight: 300;
}

.direccion h3 span,
.telefono h3 span,
.contacto h3 span {
  font-weight: bold;
}


/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}


.active {
  
}
/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 3s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}