@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --first-color: #fff;
  --second-color: #ffcc33;
  --third-color: #000;
  --fourth-color: #006666;

  --body-bg-color: #1c1c1c;
  --hover-red-color: #fe5578;
  --gold-border: linear-gradient(to right, #77530a, #ffd277, #77530a, #77530a, #ffd277, #77530a);
}

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

body {
  position: relative;
  min-height: 100vh;
  background: var(--body-bg-color);
}

a {
  text-decoration: none;
}

.main-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-section .logo {
  z-index: 999;
  position: absolute;
  /* left: 50%; */
  /* transform: translateX(-50%); */
  top: 3%;
  color: #f5b200;
  font-size: 2.5em;
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0px 1px 6px #000000;
  /* transform: scale(.8); */
}

.main-section .logo img {
  /* filter: drop-shadow(1px 1px 1px #a7810c) drop-shadow(1px 1px 1px #efb810); */
  /* background-clip: text; */
  /* -webkit-background-clip: text; */
  filter: brightness(1.3);
  transition: max-width 0.3s ease;
}

.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider::before {
  content: "";
  z-index: 777;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 350px;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
}

.slider .slide {
  position: absolute;
  width: 100%;
  height: 100vh;
  /* opacity: 0; */
}

/* .slider .slide.active {
  opacity: 1;
} */

.slide .slide-images {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide .slide-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  user-select: none;
  /* filter: invert(0) sepia(0.4) hue-rotate(20deg) saturate(50%); */
  opacity: 0;
  transition: opacity 1000ms linear;
}

.slide.active .slide-bg-img {
  opacity: 1;
  transition: opacity 1500ms linear;
  animation: subject-bg 17000ms linear infinite;
}

@keyframes subject-bg {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

.slide .subject-name {
  position: absolute;
  top: 60px;
  color: var(--first-color);
  font-size: 4.5vw;
  font-weight: 600;
  text-align: center;
  letter-spacing: 5px;
  white-space: nowrap;
  text-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: 0ms;
}

.slide.active .subject-name {
  opacity: 0.7;
  transform: scale(1.25);
  transition: 8000ms ease, 5000ms ease;
  transition-property: transform, opacity;
  transition-delay: 500ms;
}

.slide .slide-subject-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: contain;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  user-select: none;
  transform: scale(1) translateY(75px);
  opacity: 0;
  transition: 0ms;
}

.slide.active .slide-subject-img {
  opacity: 1;
  transition: 800ms;
  transition-property: opacity;
  transition-delay: 300ms;
  transition-timing-function: cubic-bezier(0.7, 0.1);
}

.slide .slide-text-content {
  z-index: 888;
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.slide.active .slide-text-content {
  z-index: 888;
}

.slide .slide-caption {
  position: absolute;
  top: 70px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-shadow: 0 5px 25px rgba(0, 0, 0, 1);
  /* transform: scale(.8); */
  opacity: 1;
}

.slide.active .slide-caption {
  transform: scale(1);
  opacity: 1;
  transition: 800ms, 1300ms;
  transition-property: transform, opacity;
  transition-delay: 600ms;
  transition-timing-function: cubic-bezier(0.7, 0.1);
}

.slide .slide-paragraph {
  position: absolute;
  bottom: 160px;
  max-width: 550px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1em;
  font-weight: 500;
  line-height: 25px;
  text-align: center;
  text-shadow: 0 5px 25px rgba(0, 0, 0, 1);
  transform: scale(0.8);
  opacity: 0;
}

.slide.active .slide-paragraph {
  transform: scale(1);
  opacity: 1;
  transition: 800ms, 1500ms;
  transition-property: transform, opacity;
  transition-delay: 600ms;
  transition-timing-function: cubic-bezier(0.7, 0.1);
}

.slide-paragraph .read-more {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85em;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: color 300ms ease;
}

.slide-paragraph .read-more:hover {
  color: var(--second-color);
}

.slide .appointment-btn {
  position: absolute;
  bottom: calc(60vh - 20%);
  background: none;
  backdrop-filter: blur(20px);
  /* filter: blur(2px); */
  border: 1px solid var(--first-color);
  color: var(--first-color);
  font-size: 0.8em;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  width: 195px;
  height: 45px;
  border-radius: 2px;
  cursor: pointer;
  transition: 500ms ease;
  z-index: 888;
}

.slide .appointment-btn:hover {
  background: var(--first-color);
  color: var(--third-color);
  font-size: 0.85em;
  font-weight: 500;
}

.slider-media-icons {
  z-index: 888;
  position: absolute;
  left: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 35px;
}

.media-links {
  color: var(--first-color);
  font-size: 1.5em;
  text-decoration: none;
  opacity: 0.9;
  transition: 300ms ease;
}

.media-links:hover {
  color: var(--second-color);
}

.slider-navigation {
  z-index: 888;
  position: absolute;
  bottom: 40px;
  /* right: 70px; */
  display: flex;
  gap: 70px;
}

.slider-navigation .prev-btn,
.slider-navigation .next-btn {
  color: var(--first-color);
  font-size: 1.1em;
  font-weight: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: 300ms ease;
}

.slider-navigation i {
  font-size: 2.5em;
}

.slider-navigation .prev-btn:hover,
.slider-navigation .next-btn:hover {
  color: var(--second-color);
}

.slide-pagination {
  z-index: 888;
  position: absolute;
  /* right: 50%; */
  bottom: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
}

.slide-pagination .slide-btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 0.8em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--first-color);
  background: rgba(0, 102, 102, 0.5);
  box-shadow: 0 5px 25px rgba(2, 2, 2, 0.25);
  cursor: pointer;
  transition: 300ms ease;
  filter: drop-shadow(1px 1px 20px rgb(0, 102, 102));
}

.slide-pagination .slide-btn.active {
  /* background: var(--fourth-color); */
  background: radial-gradient(
      ellipse farthest-corner at right bottom,
      #fedb37 0%,
      #fdb931 8%,
      #9f7928 30%,
      #8a6e2f 40%,
      transparent 80%
    ),
    radial-gradient(
      ellipse farthest-corner at left top,
      #ffffff 0%,
      #ffffac 8%,
      #d1b464 25%,
      #5d4a1f 62.5%,
      #5d4a1f 100%
    );
  filter: drop-shadow(1px 1px 20px rgb(151, 111, 0));
}

.slide-pagination .slide-btn:hover {
  background: rgba(20, 20, 20, 0.85);
}

.slide-pagination .slide-btn i {
  font-size: 2.5em;
}

.slide-indicator-bars {
  z-index: 888;
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
}

.slide-indicator-bars .indicator-bar {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--second-color);
}

.slide-indicator-bars .indicator-bar.active {
  width: 100%;
  transition: width 8200ms linear;
}

/* Slide video modal */
.slide-video-modal {
  /* display: none; */
  z-index: 000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 300ms ease;
}

.slide-video-modal.active {
  z-index: 999;
  opacity: 1;
}

.video-modal-content {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0);
  opacity: 0;
  transition: transform 500ms, opacity 500ms;
}

.video-modal-content.active {
  transform: scale(1);
  opacity: 1;
  transition: transform 800ms, opacity 500ms;
}

.slide-video-modal .video-close-btn {
  z-index: 999;
  position: absolute;
  top: 35px;
  right: 35px;
  color: var(--first-color);
  font-size: 2em;
  cursor: pointer;
  transition: 300ms ease;
}

.slide-video-modal .video-close-btn:hover {
  color: var(--hover-red-color);
}

.slide-video-modal .video-card {
  position: relative;
  background: var(--first-color);
  max-width: 285px;
  display: flex;
  flex-direction: column;
  margin: 50px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.video-card .video-paragraph {
  color: var(--third-color);
  font-size: 0.8em;
  font-weight: 400;
  max-width: 800px;
  margin: 20px 25px;
}

.video-card .read-more {
  color: var(--third-color);
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 300ms ease;
}

.video-card .read-more:hover {
  color: var(--second-color);
}

.movil {
  display: none;
}

.gold-phone {
  background: radial-gradient(
      ellipse farthest-corner at right bottom,
      #fedb37 0%,
      #fdb931 8%,
      #9f7928 30%,
      #a8882d 40%,
      transparent 80%
    ),
    radial-gradient(
      ellipse farthest-corner at left top,
      #ffffff 0%,
      #dbcd6c 8%,
      #d1b464 25%,
      #c79216 90.5%,
      #c78f0c 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
  font-family: "Playfair Display", serif;
  position: relative;
  text-transform: uppercase;
  margin: 0;
  font-size: 2em;
  /* font-weight: 600; */
}

.gold-phone::after {
  background: radial-gradient(
      ellipse farthest-corner at right bottom,
      #fedb37 0%,
      #fdb931 8%,
      #9f7928 30%,
      #a8882d 40%,
      transparent 80%
    ),
    radial-gradient(
      ellipse farthest-corner at left top,
      #ffffff 0%,
      #dbcd6c 8%,
      #d1b464 25%,
      #c79216 90.5%,
      #c78f0c 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(
    to bottom,
    #cfc09f 22%,
    #634f2c 24%,
    #cfc09f 26%,
    #cfc09f 27%,
    #ffecb3 40%,
    #3a2c0f 78%
  );
  background-position: 0 1vw;
  position: relative;
  z-index: 1;
}

/* Media queries (max-width: 990px) */
@media screen and (max-width: 990px) {
  .slide .subject-name {
    font-size: 5.5vw;
  }

  .slide .slide-subject-img {
    transform: scale(1.25) translateY(120px);
  }

  .slide .slide-paragraph {
    bottom: 180px;
    margin: 0 100px;
  }

  .slide .appointment-btn {
    bottom: calc(50vh - 10%);
  }

  .slider-navigation {
    bottom: 30px;
    justify-content: center;
    gap: 60px;
  }
}

/* Media queries (max-width: 850px) */
@media screen and (max-width: 850px) {
  .main-section .logo {
    top: 8%;
    /* transform: scale(0.35); */
    /* left: 50px; */
  }

  .slider-media-icons {
    left: 50px;
  }

  .slider-navigation {
    right: 50px;
  }

  .slide-pagination {
    gap: 20px;
    bottom: 100px;
  }

  .slide-pagination .slide-btn {
    width: 90px;
    height: 90px;
    font-size: 0.7em;
  }
}

/* Media queries (max-width: 580px) */
@media screen and (max-width: 580px) {
  .slide .slide-caption {
    top: 60px;
  }

  .slide .subject-name {
    top: 120px;
    font-size: 12vw;
    text-wrap: pretty;
    letter-spacing: 2px;
    line-height: 60px;
    max-width: 80vw;
  }

  .slide .slide-subject-img {
    transform: scale(1.8) translateY(90px);
  }

  .slide .slide-caption {
    font-size: 1.1em;
  }

  /* .slide .slide-paragraph {
    display: none;
  } */

  .slide-video-modal .video-card {
    margin: 25px;
    max-width: 90vw;
  }

  .video-card .video-paragraph {
    font-size: 0.9em;
    margin: 15px 20px;
  }

  .slider-media-icons {
    left: 25px;
  }

  .slider-navigation {
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
  }

  .slide-pagination {
    gap: 15px;
    bottom: 100px;
  }

  .slide-pagination .slide-btn {
    width: 90px;
    height: 90px;
    font-size: 0.7em;
  }
}

/* Media queries (max-width: 405px) */
@media screen and (max-width: 405px) {
  .main-section .logo {
    top: 5%;
  }

  .slide .appointment-btn {
    bottom: calc(50vh - 20%);
    font-size: 0.7em;
    width: 165px;
    height: 35px;
  }

  .slide .slide-paragraph {
    display: none;
  }

  .slide-pagination {
    display: none;
  }
}
