@import url('../index.css');

/* Suavizar desplazamiento */
html {
  scroll-behavior: smooth;
}

/* =================================================================

PARTICULARES

================================================================*/

.inter-title-1 {
  left: 0;
  top: 0;
  font-size: 25px;
  font-weight: 500;
  color: var(--secondary-color);
}

.inter-title-2 {
  left: 0;
  top: 0;
  font-size: 25px;
  font-weight: 500;
  color: #fff;
}


/*================================================================
  WRAPPER
*/

.menu-proyectos {
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 50;
  background: #131313;
}

.menu-proyectos .cabecera {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-proyectos .cabecera h4 {
  color: #bdb8d7;
  text-align: center;
}

.menu-proyectos .menu {
  width: 100%;
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin: 0;
}

.menu-proyectos .menu .edicion {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
  background-image: url('../../icons_componentes/icon_pc.svg');

}

.menu-proyectos .menu .nombre-proyecto {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #bdb8d7;
}

.menu-proyectos .menu .nombre-proyecto:hover {
  text-decoration: underline;
  /* subrayado */
}

.menu-proyectos .menu .capitulos {
  background-color: #9c67b4;
}

.menu-proyectos .menu .capitulos a {
  color: #fff;
}

.menu-proyectos .menu .capitulos a:hover {
  font-weight: 500;
  color: #131313;
}


.menu-proyectos .menu .fas {
  width: 25px;
}

/* Flecha hacia abajo */
.arrow {
  font-size: 12px;
  margin-left: 10px;
  transition: transform 0.3s;
}


/* =================================================================
        CONTENT_INFO_PROYECTO 
    =================================================================*/

.content-edicion-proyecto {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  padding: 40px;
}

.content-edicion-proyecto .btn-icon-edit {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Efecto hover */
.content-edicion-proyecto .btn-icon-edit:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* =================================================================
        MAIN_CONTENT 
    =================================================================*/
.main_content {
  margin: 0;
  padding: 0;
  min-height: 600px;
}

.main_content .titulo {
  padding: 20px;
  color: #717171;
  text-align: center;
}

.main_content .capitulo {
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.main_content .subtitulo {
  padding-top: 5px;
  padding-left: 20px;
  padding-right: 5px;
  padding-bottom: 5px;
  font-weight: bold;
}

.main_content .info {
  padding-top: 5px;
  padding-left: 20px;
  padding-right: 5px;
  padding-bottom: 5px;
  color: #717171;
}

.main_content .info div {
  margin-bottom: 20px;
}

.main_content .barra_edicion_ocultar {
  display: flex; /* o grid */
  background: #131313;
  gap: 10px;
}

.main_content .container-fluid,
.main_content .row,
.main_content .col-12 {
  margin: 0;
  padding: 0;
}

.main_content .barra_edicion_ocultar {
  padding: 5px;
  display: flex;
  justify-content: flex-end;
  /* alinea todo al final horizontal */
}



/* =================================================================
        YOUTUBE 
    =================================================================*/

.youtube-video {
  position: relative;
  padding-bottom: 56.25%;
  /* Relación de aspecto 16:9 */
  height: 0;
  overflow: hidden;
}

.youtube-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.containerPortada {
  width: 100%;
}

.image-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 10px;
}

.effect-layer {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  background: inherit;
  /* Inherits the background from parent */
  filter: blur(10px) brightness(0.9);
  z-index: 1;
  pointer-events: none;
  /* Makes the layer unclickable */
}

.image-container img {
  width: 90%;
  height: auto;
  display: block;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);

}