:root {
  font-size: 16px;
  line-height: 100%;
}
body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  margin: 0;
  padding: 0;
}

/* <weight>: Use a value from 100 to 700 */
.font-romono {
  font-family: "Roboto Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.font-romono b, b.font-romono, .font-romono h1, h1.font-romono, .font-romono h2, h2.font-romono, .font-romono h3, h3.font-romono, .font-romono h4, h4.font-romono {
  font-weight: 700;
}

/* <weight>: Use a value from 100 to 900 */
.font-inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0;
}
.font-inter b, b.font-inter, .font-inter h1, h1.font-inter, .font-inter h2, h2.font-inter, .font-inter h3, h3.font-inter, .font-inter h4, h4.font-inter {
  font-weight: 900;
}


/* <weight>: Use a value from 400 to 700 */
.font-script {
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.font-script b, b.font-script, .font-script h1, h1.font-script, .font-script h2, h2.font-script, .font-script h3, h3.font-script, .font-script h4, h4.font-script {
  font-weight: 700;
}

/* Headers */
h1 {
  font-size: 2.5em;
}
h2 {
  font-size: 2em;
}
h3 {
  font-size: 1.5em;
}
h4 {
  font-size: 1.2em;
}

.vw {
  font-size: calc(100vw / 50);
}
.vw2 {
  font-size: calc(100vw / 40);
}
.vw3 {
  font-size: calc(100vw / 30);
}
@media screen and (max-width: 600px) {
  
  .vw {
    font-size: 14px;
  }
  .vw2 {
    font-size: 16px;
  }
  .vw3 {
    font-size: 18px;
  }
}
@media screen and (min-width: 960px) {
  .vw {
    font-size: 20px;
  }
  .vw2 {
    font-size: 24px;
  }
  .vw3 {
    font-size: 32px;
  }
}

/* Headers sin margen */
h1,h2,h3,h4,h5,h6 {
  margin: 0;
  font-weight: 700;
}
h1.mtop,h2.mtop,h3.mtop,h4.mtop,h5.mtop,h6.mtop {
  margin-top: 20px;
}
h1.mbot,h2.mbot,h3.mbot,h4.mbot,h5.mbot,h6.mbot {
  margin-bottom: 20px;
}
/* Screen Font Sizes */
h1.vw {
  font-size: calc(100vw / 20);
}
h2.vw {
  font-size: calc(100vw / 30);
}
h3.vw {
  font-size: calc(100vw / 40);
}
h4.vw {
  font-size: calc(100vw / 50);
}
@media screen and (max-width: 600px) {
    h1.vw {
      font-size: 30px;
    }
    h2.vw {
        font-size: 26px;
    }
    h3.vw {
        font-size: 22px;
    }
    h4.vw {
        font-size: 16px;
    }
}
@media screen and (min-width: 960px) {
    h1.vw {
      font-size: 48px;
    }
    h2.vw {
        font-size: 36px;
    }
    h3.vw {
        font-size: 24px;
    }
    h4.vw {
        font-size: 18px;
    }
}

/* Menús generales */
#navBar, #navDemo {
  z-index: 99;
}
#navBar a {
    display: block;
}

/* Letras generales */
a, div, p, h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
}
a, div, p {
  font-weight: 400;
}

/* Links */
a {
  background-color: rgba(255,200,200,0.3);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
#contacto a,.vw2 a {
  background-color: unset;
}

/* Menú */
@media screen and (min-width: 600px) {
  .w3-bar-expandir {
    display: grid;
    /* Tamaño del menú */
    grid-template-columns: repeat(7,auto);
  }
}

.mySlides {display: none}
.w3-sticky {
  position:sticky;
}
.borde-letra {
  text-shadow: 0 0 1px black, 0 0 1px black, 0 0 1px black, 0 0 1px black; 
}
.w3-dark-gray {
  background: #444!important;
}
.w3-light-purple {
  background: #bdbedd!important;
}

#herramientas {
  scroll-margin-top: 46px;
  position: relative;
}

@media screen and (min-width: 800px) {
  #herramientas h2 {
    /*max font size*/
    font-size: 32px;
  }
}
#herramientas .imgbox {
  position: absolute;
  height: 8vw;
  top: -2.5vw;
}

#redsoc {
  scroll-margin-top: 46px;
  background-image: url('./img/pastillero-monocromo.png');
  background-position: center;
  background-size: cover;
}

#comunidad {
  scroll-margin-top: 46px;
}

#contacto {
  scroll-margin-top: 46px;
}

.audio-link {
  position: absolute;
  top: 20px;
  right: 20px;
  color: red;
  font-weight: bold;
  font-size: 1.2em;
  text-align: center;
}
.audio-player {
  margin-bottom: 5px;
  border: 1px solid #ccc;
  padding: 2px;
}

audio.bancoson {
  width: 300px; /* Adjust width as needed */
  margin-bottom: 10px;
}
div.sonidos {
  width: 100%;
  max-width: 400px;
  margin: auto;
}

.footer-container {
  display: flex; /* Mantén la disposición en flexbox */
  justify-content: center; /* Centra las columnas horizontalmente */
  align-items: stretch; /* Extiende los elementos verticalmente */
}
.footer-column {
  width: 35%;
}
@media screen and (max-width: 600px) {
  .footer-container {
    display: block;
  }
  .footer-column {
    margin: 0 auto 20px;
    width: 80%;
    text-align: center;
  }
}

/* TABS */
.w3-tab-container {
  position: relative;
  background-color: #EEE;
}
.w3-tabs-content {
  /* height: 100%; */
  height: 75vh;
}
.tools-tabs {
  /* padding: 32px; */
  height: 100%;
  overflow: auto;
  box-shadow: 0 0 15px #444 inset;
  border-bottom-left-radius: 10px;
  padding: 64px;
  position: relative;
}
.expo-tabs {
  /* padding: 32px; */
  position: relative;
  height: 100%;
  overflow: auto;
  box-shadow: 0 0 15px #444 inset;
  border-bottom-left-radius: 10px;
}
.tools-menu, .expo-menu {
  /* height: 70px; */
  /* height: auto; */
  height: 4em;
}
.tablink {
  font-weight: 700;
  padding-top: 10px;
  padding-bottom: 10px;
  cursor: pointer;
}
@media screen and (max-width: 600px) {
  .tablink {
    font-size: 0.7em;
  }
}

#poema, #testimonio, #video, #foto, #collage, #audio {
  scroll-margin-top: 46px;
}

/* Imágenes con caption */
figure {
  display: inline-block;
}
figcaption {
  text-align: center;
}

/* poemas */
.poemas-container {
  background-image: url(poemas/poemario_fondo.png);
  background-position: center;
  background-size: cover;
  padding: 40px;
}

.poemas-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive columns */
    grid-gap: 20px;
}

.poemas-grid-item {
    text-align: center; /* Center content within each item */
}

.poemas-grid-item a {
    display: block; /* Make the entire item clickable */
    text-decoration: none; /* Remove default link underline */
    color: inherit; /* Inherit text color from parent */
    border:1px solid transparent;
    padding: 5px;
}

.poemas-grid-item a:hover {
    border:1px solid #888;
}

.poemas-grid-item img {
    width: 100%;
    height: auto;
    display: block; /* Prevent image from overflowing */
}