.dl-slider {
  width: 210vw;
  display: flex;
  margin-left: 30%;
}
section {
  width: 70vw;
  height: 100vh;
  display: flex;
}
.dl-inner {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-flow: column;
  position: relative;
  align-items: center;
  justify-content: center;
  padding-right: 6vw;
}

.dl-tooltip {
  position: absolute;
  display: none;
  cursor: pointer;
  height: 150px;
  width: 600px;
  justify-content: flex-end;
  top: 30%;
  transform: translateY(-30%);
  z-index: 4;
}

.dl-tooltip-link {
  text-decoration: none;
  color: var(--main-link-color);
}

.tooltip-inner {
  background-color: var(--main-text-color);
  color: var(--main-bg-color);
  padding: 20px;
  border-radius: 5px;
  z-index: 1;
}
.dl-tooltip-container {
  position: absolute;
  z-index: 1;
  max-width: 140px;
}
.dl-main-titles .dl-main-link {
  text-decoration: none;
  color: var(--main-text-color);
}

.dl-rs-blog {
  width: 100%;
  height: auto;
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
}
.dl-rs-title {
  width: 600px;
  height: auto;
  display: flex;
  flex-flow: row;
  align-items: center;
  opacity: 0;
}
.dl-rs-next-events {
  font-weight: 500;
  color: aliceblue;
  margin-right: 6px;
}
.dl-rs-title p {
  margin-bottom: 0;
}
.dl-welcome-message {
  display: flex;
}
.marquee {
  overflow: hidden;
  position: relative;
  height: 70px; /* Ajusta esto según la altura de los elementos */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.marquee ul {
  position: absolute;
  top: 0;
  left: 13px;
}
.marquee ul li span {
  font-weight: 400;
  color: var(--main-bg-color);
  font-style: italic;
}
.dl-marquee-inner {
  display: block;
  text-align: center;
  line-height: 100px; /* Asegúrate de que coincida con la altura */
  text-align: left;
}

canvas {
  width: 70%;
  margin-left: 30%;
  height: 100vh;
  position: fixed !important;
  z-index: -1;
}

@media only screen and (max-width: 600px) {
  canvas {
    left: 0;
    margin-left: 0;
  }
  .dl-slider {
    width: 300vw;
    display: flex;
    margin-left: 0;
  }
  section {
    width: 100vw;
    height: 100vh;
    display: flex;
  }
  .dl-inner {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-flow: column;
    position: relative;
    align-items: center;
    justify-content: center;
    margin-right: 50px;
    padding-top: 84px;
    padding-left: 2em;
    padding-right: 2em;
  }
  .dl-tooltip {
    width: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    top: initial;
    padding-left: 2em;
    justify-content: flex-start;
    align-items: center;
  }
  .dl-tooltip-link {
    text-decoration: none;
    color: var(--main-link-color);
  }
  .dl-tooltip-container {
    max-width: 100%;
    padding-right: 2em;
   /*  margin-right: 50px; */
  }
  .tooltip-inner {
    width: 100%;
    background-color: var(--main-text-color);
    color: var(--main-bg-color);
    padding: 20px;
    border-radius: 5px;
    z-index: 1;
  }
  
  .dl-main-titles .dl-main-link {
    text-decoration: none;
    color: var(--main-text-color);
  }
  .dl-rs-blog {
    width: 100%;
    height: auto;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 22px;
    left: 99px;
  }
  .dl-rs-title {
    width: 600px;
    height: auto;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    opacity: 0;
  }
  .dl-rs-next-events {
    font-weight: 500;
    color: aliceblue;
    margin-right: 6px;
  }
  .dl-rs-title p {
    margin-bottom: 0;
  }
  .dl-welcome-message {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .dl-container{
    padding-left: 0em;
    padding-right: 0em;
  }
}

/* Media Queries for smaller devices */
@media (max-width: 376px) {
  .dl-scroll-horizontal {
    width: 100%;
    margin-left: 0;
  }
  .dl-container-main {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
  }
  .dl-main-titles {
    font-size: 34px;
    font-weight: 900;
    width: 100%;
    padding-left: 1em;
    padding-right: 2.4em;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .dl-container-sec {
    width: 100vw;
  }
  .next {
    width: 50px;
  }
  #dl-next-svg {
    width: 0.5em;
    transform: rotate(180deg);
    transition: all 0.3s ease-in-out;
  }
  .marquee {
    overflow: hidden;
    position: relative;
    height: 50px; /* Ajusta esto según la altura de los elementos */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .marquee ul {
    position: absolute;
    top: 0;
    left: 13px;
  }
  .marquee ul li span {
    font-weight: 400;
    font-size: 24px;
    color: var(--main-bg-color);
    font-style: italic;
  }
  .dl-marquee-inner {
    display: block;
    text-align: left;
    line-height: 100px; /* Asegúrate de que coincida con la altura */
  }
  .dl-tooltip{
    width: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    top: initial;
    padding-left: 2em;
    justify-content: flex-start;
    align-items: center;
  }
  .dl-tooltip-container {
    max-width: 100%;
    padding-right: 2em;
    margin-right: 50px;
  }
  .tooltip-inner {
    width: 100%;
    background-color: var(--main-text-color);
    color: var(--main-bg-color);
    padding: 20px;
    border-radius: 5px;
    z-index: 1;
  }
}