@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&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");

* {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

/* body {
  height: 100vh;
  display: flex;
  flex-direction: column;
} */

.links-container {
  & p {
    margin: 15px 0;
  }
  & a:hover {
    transition: all 0.2s ease;
    text-shadow: 0 0 0.2rem #110f4964;
  }
}

.art-body {
  width: 100%;
  & a {
    color: #141256;
    &:hover {
      transition: all 0.2s ease;
      text-decoration: underline;
    }
  }
}

.dropdowna {
  position: relative;
  display: inline-block;
  & img {
    position: absolute;
    top: 18px;
    right: 25px;
    width: 1.2rem;
    height: auto;
  }
}

/* Resto de tu CSS */

.dropdown-content.show .arrow-svg {
  transform: rotate(180deg);
  transition: transform 0.3s ease-in-out;
}

.dropbtn {
  font-weight: 700;
  color: #313131;
  padding: 1rem 0.8rem;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  &:hover {
    background-color: rgb(219 234 254);
  }
}

.drop-div {
  font-weight: 600;
  transition: all 0.1s ease;
  & img {
    position: absolute;
    top: 19px;
    right: 0px;
    width: 14px;
    height: auto;
    transition: all 0.2s cubic-bezier(0.49, 0.06, 0.21, 0.64);
  }
  &:hover {
    & img {
      transform: rotate(180deg);
    }
  }

  &:focus {
    & img {
      transform: rotate(180deg);
    }
  }
}

.check-side {
  height: 25px;
  width: 25px;
  background: transparent !important;
  border-radius: 10px;
  position: absolute !important;
  top: 25px !important;
  right: 25px !important;
  z-index: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
  &:after {
    position: absolute;
    top: -23px;
    bottom: 0;
    left: 0;
    right: 0;
    content: "\d7";
    font-size: 2.5rem;
    color: #434242;
    text-align: center;
  }
}

.dropdown-contenta {
  display: none;
  background-color: rgb(219 234 254);
  min-width: 160px;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2);
  margin-top: 4px;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.1s; /* Añadido para suavizar la transición */
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

/* Nueva animación para el fade-out */
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    display: none;
    opacity: 0;
  }
}

.dropdown-contenta.show {
  animation: fade-in 0.1s forwards;
  display: block;
}

.dropdown-contenta.hide {
  animation: fade-out 0.1s forwards;
}

.dropdown-contenta a {
  color: black;
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
  &:hover {
    background-color: #c9d4e9;
  }
}

.dropdown-content {
  & a:hover {
    background-color: transparent !important;
  }
  & a::before {
    content: "";
    width: 0;
    height: 1.5px;
    bottom: 6px !important;
    position: absolute;
    left: auto;
    right: 0;
    -webkit-transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    background: #3b6dabaf;
  }

  & a:hover::before {
    background-color: #3b6dab;
    width: 100%;
    left: 0;
    right: auto;
    margin: 0;
  }
}

.slider {
  margin-left: auto;
  margin-right: auto;

  & img {
    width: 100%;
    height: auto;
  }

  @media only screen and (max-width: 1024px) {
    & img {
      height: 10rem;
    }
  }

  @media only screen and (max-width: 576px) {
    & img {
      height: 7rem;
    }
  }
}

.slick-prev:before {
  color: #1e3a8a !important;
  font-size: 1.5rem !important;
}
.slick-next:before {
  color: #1e3a8a !important;
  font-size: 1.5rem !important;
}

.card-svg {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: 3rem 0px;
  & a {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    &:hover {
      & p {
        text-decoration: underline;
      }
      & img {
        transition: all 0.2s ease;
        transform: scale(1.1);
      }
    }
    & img {
      transition: all 0.2s ease-in-out;

      width: 9rem;
      height: 9rem;
    }
  }
}

.tabs {
  & input {
    height: auto;
    font-weight: 600;
    @media (min-width: 576px) {
      text-wrap: nowrap;
    }
    @media (max-width: 375px) {
      padding: 8px 10.5px !important;
    }
  }
}

.grid-trip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}
.card-trip {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px;
}
.link-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.link-item {
  margin-bottom: 8px;
}
.link {
  display: block;
  text-decoration: none;
  color: #2563eb;
  font-size: 14px;
  border-radius: 0.3rem;
  padding: 5px;
  transition: all 0.15s ease;
}
.link:hover,
.link:focus {
  background-color: #f0f0f0;
  outline: none;
  text-decoration: underline;
}
.link:focus {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.5);
}
.prefix {
  font-weight: bold;
}

.art-content {
  max-width: 75rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  & .art-img {
    width: 100%;
    place-items: center;
    & img {
      max-height: 30rem;
    }
  }
}

.art-main {
  width: 65%;
  padding: 0 1rem;
}

.art-rel {
  width: 35%;
  padding: 0 1rem;
  margin: 1rem 0;
  border-left: 2px solid #ccc;
}

@media (max-width: 768px) {
  .art-main,
  .art-rel {
    width: 100%;
  }
}

.bright{
  backdrop-filter: brightness(0.8);
}