@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&display=swap');

/*General styling for structure*/
body {
  margin: 0;
  font-family: Nanum Gothic, sans-serif !important;
}

h1 {
  font-size: 2.25rem !important;
  line-height: 2.5rem !important;
  letter-spacing: 0.1em !important;
}

h2 {
  font-weight: 400;
  font-size: 1.875rem !important;
  line-height: 2.25rem !important;
  letter-spacing: 0.05em !important;
}

p {
  --tw-text-opacity: 1 !important;
  color: rgb(55 65 81 / var(--tw-text-opacity)) !important;
  font-size: 1rem !important;
  line-height: 1.5rem !important;
}

header h1 {
  font-size: 2.25rem !important;
  line-height: 4.5rem !important;
}

.container {
  max-width: 1280px;
  width: 95%;
  margin: 0 auto;
}

.link {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
}

.link:hover {
  letter-spacing: 0.1em !important;
  --tw-bg-opacity: 1 !important;
  background-color: rgb(139 92 246 / var(--tw-bg-opacity)) !important;
  --tw-text-opacity: 1 !important;
  color: rgb(255 255 255 / var(--tw-text-opacity)) !important;
  --tw-text-opacity: 1 !important;
  color: rgb(255 255 255 / var(--tw-text-opacity)) !important;

}

.card {
  overflow: hidden;
  border-radius: 0.25rem;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  opacity: 25;
}

.title {
  margin-bottom: 0.5rem;
  display: none;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5rem;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .title {
    display: block;
  }
}

.card-body {
  text-align: center;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0.05em;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
}

.card-title {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.card-footer {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.btn-secondary {
  display: inline-block;
  align-self: flex-end;
  border-radius: 0.375rem;
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  --tw-bg-opacity: 0.5;
}

.footer-h2 {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
}

@media (prefers-color-scheme: dark) {
  .footer-h2 {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
  }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

.fixed {
  position: fixed !important;
}

header {
  display: flex;
  font-family: Nanum Gothic, sans-serif !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 60vh;
  line-height: 2;
}

.reloj {
  width: 20%;
}


.red {
  background-color: rgba(255, 46, 22);
}

.contacto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: "Inter", sans-serif;
  height: 80vh;
}


.scroll-container {
  min-height: 450px;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}


.scroll-container:nth-of-type(even) {
  flex-direction: row-reverse;
}

.scroll-element,
.scroll-caption {
  width: 50%;
}

.scroll-element {
  min-height: 300px;
  height: 100%;
  background-color: #eaeaea;
}

.scroll-caption {
  margin: 1rem;
}

.mobile-menu {
  left: -200%;
  transition-duration: 150ms;
}

.mobile-menu.active {
  left: 0px;
}

.border-1 {
  border-width: 1px !important;
}

#home > div > div > section> a > div > p{
  color: rgb(126 34 206 / var(--tw-text-opacity)) !important; 
  letter-spacing: 0.1em !important;
}

.borde_interno {
  background-color:#f7f0f8  !important;
  /* margin: 10px 10px; #7af9f9 */
  text-align: center;
  /* font-weight: bolder; */
  padding: 15px 30px;
  /* width: 25%; */
  display: inline-block;
  vertical-align: middle;
  text-align: center;
}




/* Borde interno */
.borde_interno {
  position: relative;
  padding: 15%;
  /*width: -webkit-fill-available;*/
}

.borde_interno:before {
  content: '';
  position: absolute;
  border: 4px solid white;
  top: 4px;
  bottom: 4px;
  left: 4px;
  right: 4px;
  opacity: 0;
  transition-duration: 0.5s;
}

.borde_interno:hover:before {
  opacity: 1;
}

/* iluminacion */
.borde_interno {
  transition-duration: 0.3s;
}

.borde_interno:hover {
  background-color: #c6d3d3;
}



@media screen and (max-width: 650px) {

  .scroll-container,
  .scroll-container:nth-of-type(even) {
    flex-direction: column;
    align-content: inherit;
  }

  .scroll-element {
    height: 100%;
  }

  .scroll-element,
  .scroll-caption {
    width: 100%;
  }
}

/**Styling scrollable elements*/

.js-scroll {
  opacity: 0;
  transition: opacity 500ms;
}

.js-scroll.scrolled {
  opacity: 1;
}

.scrolled.fade-in {
  animation: fade-in 1s ease-in-out both;
}

.scrolled.fade-in-bottom {
  animation: fade-in-bottom 1s ease-in-out both;
}

.scrolled.slide-left {
  animation: slide-in-left 1s ease-in-out both;
}

.scrolled.slide-right {
  animation: slide-in-right 1s ease-in-out both;
}

/* reloj circular */
.clock {
  margin: 10px 10px;
  width: 150px;
  height: 150px;
  fill: white;
  float: inline-start;

}

.outer-circle,
.center-circle {
  fill: DarkSlateGray;
}

.hours,
.minutes,
.seconds {
  transform-origin: center;
  stroke-linecap: round;
}

.hours {
  stroke: fuchsia;
  stroke-width: 3px;
  transition: transform 1s ease-in-out;
}

.minutes {
  stroke-width: 2px;
  stroke: rgb(0, 255, 179);
  transition: transform 1s ease-in-out;
}

.seconds {
  stroke: black;
}

.line {
  stroke-width: 1px;
  stroke: black;
  stroke-linecap: round;
  transform-origin: center;
}






@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-100px);
    transform: translateX(-100px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(100px);
    transform: translateX(100px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}