    
@font-face {
    font-family: "NewsCycle-Regular";
    src: url("../fonts/NewsCycle-Regular.ttf");
  }	

@font-face {
    font-family: "NewsCycle-Bold";
    src: url("../fonts/NewsCycle-Bold.ttf");
  }	

@font-face {
    font-family: "AmaticSC";
    src: url("../fonts/AmaticSC.ttf");
}

@font-face {
    font-family: "BebasNeueBold";
    src: url("../fonts/BebasNeueBold.ttf");
}
    
     html, body {
      height: 100%;
      margin: 0;
      background: #fff;
      color: #fff;
      overflow-x: hidden;
      overscroll-behavior: none;
      -webkit-overflow-scrolling: touch;
    }
    
    body.pswp-open {
      overflow: hidden;
      position: fixed;
      width: 100%;
    }


    .navbar {
      background: rgba(0,0,0,0.82);
      backdrop-filter: blur(10px);
      padding-top: env(safe-area-inset-top);
    }

/**
 * Logo de la barra
 * */
.brand-icon {
  height: 50px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}

svg {
  fill: white;
}

    .hero {
      height: 100vh;
      height: 100dvh;
      background: url('https://picsum.photos/1600/900?grayscale') center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .filters button { margin: 5px; padding: 8px 16px; background: #111; color: #fff; border: none; border-radius: 6px;font-family: 'AmaticSC', sans-serif;}
    .filters button.active { background: #fff; color: #000; }

    .masonry { column-count: 3; column-gap: 1rem; }
    @media (max-width: 992px) { .masonry { column-count: 2; } }
    @media (max-width: 576px) { .masonry { column-count: 2; } }

    .item { break-inside: avoid; margin-bottom: 1rem; cursor: pointer; }
    
    
    .item {
        border-radius: 12px;
        overflow: hidden;
      }
    .item {
      position: relative;
      }
   
    
     /*RADIUS DE LAS IMAGENES COMPLETAS, ES DECIR DEL DIV CORRESPONDIENTE*/
    .item img { width: 100%; border-radius: 10px; }
    
    /*EVITAR PULSACION PERMANENTE Y MENU CONTEXTUAL*/
    .item img {
        -webkit-touch-callout: none;
        user-select: none;
      }
    .item a {
        -webkit-touch-callout: none;
        user-select: none;
      }
     /*FINAL DE EVITAR PULSACION PERMANENTE Y MENU CONTEXTUAL*/
    .hidden { display: none !important; }
    
    
/*BARRA DE AVISO POSTERIOR A LA DE COOKIES.*/

#barracookies {
    display: none;
    /*z-index: 99999;*/
    /*z-index: 1000;*/
    /*position:fixed;*/
    /*left:0px;*/
    right:0px;
    /*bottom:0px;*/
    /*width:100%;*/
    min-height:20px;
    padding:5px;
    background: #000000;
    color:#FFFFFF;
    line-height:14px;
    font-size:12px;
    text-align:center;
    box-sizing:border-box;
    position: fixed !important;
    bottom: 0 !important;
    left: 0;
    width: 100%;
    z-index: 1000;
  } 
  
  #barracookies a {color: #fff;text-decoration: none;}
  
  A:link {text-decoration:none;color:white;} 
  A:visited {text-decoration:none;color:white;}
    
/**
 * Capa correspondiente a lo que se coloca encima de las miniaturas.
 * 
 * **/
    .overlay{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    background-color: rgba(0,0,0,0.3);
    opacity: 1;
    border: 5px solid #FFFFFF;
    color: #FFFFFF;
    font-size: 18px;
    margin: 0;
    transition: all 0.5s ease;
    text-align: center;
    font-family: 'AmaticSC', sans-serif;
    }
    
/**
 * Texto correspondiente a lo que se coloca encima de las miniaturas.
 * 
 * **/
    .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  font-weight: bold;
  font-family: 'AmaticSC', sans-serif;
  text-align: center;
  pointer-events: none; /* para que siga funcionando el click */
}
    
     .navbar .nav-link {
        font-family: 'NewsCycle-Regular', sans-serif;
      }
    
    .extra-padding {
      padding-top: 10%;
    }

#policy {
      font-family: 'NewsCycle-Regular', sans-serif;
    }

 #policy a:link,
    #policy a:visited {
      color: black !important;
    }

 #aboutMe {
  font-family: 'AmaticSC', sans-serif;
}

 #avisoLegal {
      font-family: 'NewsCycle-Regular', sans-serif;
    }

/**
 * Para el tema del carrousel de abot me.
 * */

.carousel-item img {
  -webkit-touch-callout: none;
  user-select: none;
}


.img-wrapper {
  position: relative;
}

.img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
}

/**
 * Temas de carga, icono de carga y demas.
 * 
 * */
#loader {
  position: fixed;
  inset: 0;
  background: #fff; /* 🔥 fondo blanco */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;   /* 🔥 centra contenido interno */
  justify-content: center;
  text-align: center;
}


.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top: 4px solid #000; /* 🔥 negro */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-text {
  font-size: 14px;
  color: #000;
  letter-spacing: 1px;
  opacity: 0.7;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* animación salida */
#loader.hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

/*
 * Texto de la sección de cookies.
 * */
#bar-prompt {
      text-align: center;
      
  }
/**
 * Doble click en la hamburguesa.
 * **/
.navbar {
      touch-action: manipulation;
    }