@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


* {
    box-sizing: border-box;
    margin: 0;
    list-style: none;
    scroll-behavior: smooth;
} 

*::selection {
    background: #2EBDEF;
    color: #FEFAEF;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: clip;
}

html, body {
    margin: 0;
    padding: 0;
}

header {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    width:100%;
    align-items: center;
    gap: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #fefaef;
    border-bottom:#171222 1px solid;
    position: fixed;
    z-index: 100;
}

.search-form {

    display: inline-flex;
    gap: 1rem;
    justify-self: center;
    width: 100%;
    max-width: 500px;
    z-index: 100000;
}

#q {
    font-family: 'Inter', sans-serif;
    background: transparent;
    border: none;
    border-bottom: 1px solid #1712228f;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 300;
    color: #171222a1;
}

.search-form button {
    border: none;
    background: none;
    cursor: pointer;
    color: #17122291;
    padding: 0;
    max-height: fit-content;
    align-self: end;
}

.search-form button svg{
    width: 1rem;
    height: auto;
}

header img {
    width: 4.5rem;
    height: auto;
}

.mini-pfp {
    width: 1.8rem;
    height: auto;
    display:block;
}

header nav {
    position: relative;
}

header nav ul {
    list-style: none;
    display: grid;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 0.9rem;
}

header nav ul li a {
    text-decoration: none;
    color: #171222;
    transition: color 0.3s;
}

.menu-btn {
    border: none;
    background: none;
    padding-top: 0.5rem;
    width: 1.5rem;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 90;
}

.menu-btn .btn-linea {
    width: 18px;
    height: 1px;
    margin: 4px 0 4px 0;
    background: #171222;
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 9000;
}

.menu-btn.open .btn-linea:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}
.menu-btn.open .btn-linea:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-btn.open .btn-linea:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.menu {
    margin-top: 2.5rem;
    padding: 8px 12px;
    position: absolute;       
    right: 0;
    background: #FEFAEF;
    overflow: hidden;
    max-height: 0;            
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.36s cubic-bezier(.2,.9,.2,1), opacity 0.28s ease, transform 0.28s ease;
    width: 200px;
    border: #171222 1px solid;
}

.menu.open {
    max-height: fit-content;
    opacity: 1;       
    transform: translateY(0);
} 

.menu li { 
    padding: 8px 0; 
}

.menu a {
    display: inline-block;
    text-decoration: none;
    color: #111;
    width: 100%;
    padding: 6px 8px;
    border-radius: 6px;
}

.menu a:focus,
.menu a:hover {
    text-decoration: underline;
    outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; 
  border: 0;
}

main {
    padding-top: 4rem;
    background-color: #FEFAEF;
    margin: 0;    
}

/* linea arcoiris */

section.con-separador {
    position: relative;
    margin-top: 3rem;     
    padding-top: 3rem;
}

section.con-separador::before {
    content: "";
    position: absolute;
    left: 2rem;
    right: 2rem;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg,#171222,#eb4f4a,#f07144,#fddc33,#ffffff,#2EBDEF,#2142ff);
    border-radius: 2px;
    z-index: 1;
    pointer-events: none;
}


:root {
    font-size: clamp(12px, 1vw + 0.5rem, 16px);
    --ancho-img: clamp(200px, 40vw, 500px);
}

/* Seccion Hero */

.hero-section {
    position: relative;
    height: 100vh;
    margin-bottom: 1rem;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    margin: 0;
}

h1 {
    padding-top: 1rem;
    padding-bottom: .5rem;
}

.copy {
    position: absolute;  
    top: 65%;  
    left: 2rem;  
    color: #FEFAEF;  
    text-align: left;
    z-index: 1;  
    max-width: 100%;
}

.copy h3 {
    font-weight: 400;    
}

.copy a {
    display: inline-block;
    margin-top: 1rem;
    color:#FEFAEF;
    font-weight: 300;
    background-color: #171222;
    padding: 1rem 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
}

.copy a:hover {
    background-color: #2142ff;
    transition: 0.5s;
}

/* listado películas y cortos */

.listado {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
}


.listado h2 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #171222;
    text-transform: uppercase;
    display: flex;
    max-width: fit-content;
}

.listado h3 {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #171222;
    text-transform: uppercase;
    font-weight: 500;
    max-width: 15rem;
}

.listado h4 {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: #171222a6;
    font-weight: 300;
}

.listado a {
    color: #171222a6;
    font-size: 0.8rem;
    font-weight: 400;
    transition: 0.3s;
    padding-right: 1rem;
}

.listado a:hover {
    color: #171222;
    transition: 0.3s;
}

.listado a::after {
    content: ' →';
}

.video-seleccionado {
    display: block;         
    text-decoration: none;   
    color: inherit;
    background-color: transparent;
}

.listado .video-seleccionado::after{
    content: '';
}

.listado .video-seleccionado {
    padding-right: 0;
}

.listado .scroll-listado {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    user-select: none;
    cursor: grab;
}

.titulo-listado {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.listado .scroll-listado:active {
    cursor: grabbing;
}

.scroll-listado::-webkit-scrollbar {
    display:none;
}

.listado img {
    width: 18rem;
    height: auto;
}

/* Open call */

.open-call {
    padding: 4rem 2rem;
    background-image: url('../imagenes/ruido-fondo.jpg');
    margin-top: 3rem;
}

.contenedora-open-call {
    padding: 2rem;
    max-width: 600px;
    display: grid;
    justify-self: center;
}

.open-call h3 {
    color: #FEFAEF;
    font-size: .9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.open-call h2 {
    color: #FEFAEF;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.open-call p {
    margin-bottom: 1.5rem;
    color: #FEFAEF;
}

.open-call a {
    color: #FEFAEF;
    font-size: .8rem;
    font-weight: 400;
    background-color: #2142ff;
    padding: .8rem;
    text-transform: uppercase;
    transition: 0.5s;
    text-decoration: none;
    max-width: fit-content;
}

.open-call a:hover {
    background-color: #2EBDEF;
    transition: 0.5s;
}


/* Director seleccionado */

.director-seleccionado {
    text-decoration: none;
}

.direccion-elenco .director-seleccionado::after {
    content: '' !important;
}

/* Tienda */

.tienda {
    padding: 4rem 2rem;
}

.titulo-tienda {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tienda h2 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    max-width: fit-content;
}

.tienda a {
    color: #171222a6;
    font-size: 0.8rem;
    font-weight: 400;
    transition: 0.3s;
    padding-right: 1rem;
}

.tienda a:hover {
    color: #171222;
    transition: 0.3s;
}

.tienda a::after {
    content: ' →';
}

.tienda img {
    width: 12rem;
    height: auto;
}

.galeria-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, auto));
    gap: 2rem;
    justify-content: center;
}

.producto {
    position: relative;
}

.tienda h3 {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 500;
    max-width: 12rem;
    text-transform: uppercase;
}

/* p de la tienda por si nos arrepentimos de sacarlo 

.tienda p {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    justify-self: center;
}

*/

.tag {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    background-color: #FEFAEF;
    padding: 0.4rem 0.7rem;
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid #171222;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    transition: all 0.5s;
}

.tag:hover{
    border: #2142ff 1px solid;
    transition: all 0.5s;
    color:#2142ff;
}

/* Newsletter*/

.newsletter {
    padding: 4rem 2rem;
}

.contenido-newsletter {
    padding: 2rem;
    max-width: 600px;
    display: grid;
    justify-self: center;
    border: 1px solid transparent;
    border-image: linear-gradient(90deg, #171222,#eb4f4a,#f07144,#fddc33,#FEFAEF,#2EBDEF,#2142ff) 1;
}

.newsletter h2 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.newsletter p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.newsletter p span {
    font-weight: 500;
}

.form-newsletter {
    display: grid;
    grid-template-rows: auto auto;
    max-width: 100%;
    gap: 1rem;
}

.form-newsletter input {
    width: 100%;
}

.form-newsletter button {
    font-family: 'Inter', sans-serif;
    color: #FEFAEF;
    font-size: .8rem;
    font-weight: 400;
    background-color: #2142ff;
    padding: .8rem;
    text-transform: uppercase;
    text-decoration: none;
    max-width: fit-content;
    border: none; 
    cursor: pointer;
    transition: 0.5s;
}

.form-newsletter button:hover {
    background-color: #2EBDEF;
    transition: 0.5s;
}

.newsletter input[type="email"] {
    font-family: 'Inter', sans-serif;
    background: transparent;
    border: none;
    border-bottom: 1px solid #1712228f; 
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 300;
    color: #171222a1;
    margin-bottom: 1rem; 
}

.newsletter input[type="email"]:focus {
    outline: none; 
    border-bottom: 1px solid #2142ff; 
}


/* Ultimo listado pelis + cortos */

.ultimo-listado {
    padding-bottom: 2rem;
}


/* Resultados de búsqueda */

.resultados-busqueda {
    padding: 2rem 2rem;
}

.resultados-busqueda h2 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.contenedora-peliculas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
    padding: 0 1rem;
}

.contenedora-peliculas a {
    text-decoration: none;
    color: #171222;
}

.contenedora-peliculas img {
    width: 100%;
    height: auto;
    display: block;
}

.contenedora-peliculas h3 {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
}

.contenedora-peliculas h4 {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    font-weight: 400;
    color: #171222a6;
}

/* Perfil Director */

.director {
    padding: 2rem 2rem;
    align-items: center;
}

.director ul {
    display: flex;
    gap: 1rem;
    align-items: baseline;
    padding: 0;
}

.director a {
    color: #171222a6;
    font-size: 0.8rem;
    font-weight: 400;
    transition: 0.3s;
    text-decoration: none;
    text-transform: uppercase;
}

.director a::before,
.director p::before { 
    content: '→ ';
    font-weight: 400;
}

.director a:hover {
    color: #171222;
    transition: 0.3s;
}

.director p {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #171222;
    font-weight: 400;
    transition: 0.5s;
    margin: 0;
}

.director p:hover {
    color: #2142ff;
    transition: 0.5s;
}

.bio-director article {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.bio-director figure img {
    width: 220px;
    height: auto;
}

.bio-director h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.bio-director p {
    font-size: 0.9rem;
    color: #171222a6;
    font-weight: 400;
    max-width: 40ch;
    hyphens: auto;
    padding-bottom: .2rem;
}

.bio-director p span {
    font-weight: 500;
}

/* Festivales y premios */

.festivales-premios {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.festivales-premios h2 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #171222;
    text-transform: uppercase;
    display: flex;
    max-width: fit-content;
}

.festivales-premios .titulo-festivales-premios {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.festivales-premios h3 {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #171222;
    text-transform: uppercase;
    font-weight: 500;
    max-width: 10rem;
}

.contenedora-festivales-premios {
    display: grid;
    grid-template-columns: auto auto auto auto 1fr;
    gap: 3.2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
}

.festivales-premios img {
    height: 4rem;
    width: auto;
    opacity: .8;
}

.festivales-premios ul {
    padding: 0;
    margin-top: 0.8rem;
}

.festivales-premios ul li {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: #171222a6;
    font-weight: 300;
    padding: 0;
}

.festivales-premios p {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: #171222a6;
    font-weight: 300;
    padding: 0;
}

.festivales-premios ul .ganadora {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: #171222a6;
    font-weight: 500;
    padding: 0;
}



/* Tienda */


.barra-tienda {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem;
}

.barra-tienda ul {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-left: 0;
}

.barra-tienda ul li a {
    text-decoration: none;
    color: #171222a6;
    font-size: 0.8rem;
    font-weight: 400;
    transition: 0.3s;
    text-transform: uppercase;
}

.barra-tienda ul li a:hover {
    color: #171222;
    transition: 0.3s;
}

.carrito a {
    display: inline-flex;
    color: #171222a6;
    transition: 0.3s;
    gap: .5rem;
}

.carrito a:hover {
    color: #171222;
    transition: 0.3s;
}

.carrito a p {
    display: inline;
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;

}

.carrito a p:after {
    content: ' →';
}

.carrito a svg {
    width: 1.2rem;
    height: auto;
    vertical-align: middle;
}

/* Productos tienda */

.listado-tienda {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 2rem;
}

.listado-tienda figure {
    position: relative;
}

.listado-tienda img {
    width: 100%;
    height: auto;
    display: block;
}

.listado-tienda .tag {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    background-color: #FEFAEF;
    padding: 0.4rem 0.7rem;
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid #171222;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    transition: all 0.5s;
}

.listado-tienda .tag:hover{
    border: #2142ff 1px solid;
    transition: all 0.5s;
    color:#2142ff;
}

.listado-tienda h3 {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 500;
    max-width: 14rem;
    text-transform: uppercase;
    padding-bottom: 0.5rem;
}


.talles {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.talles p {
    font-size: 0.8rem;
    font-weight: 300;
    color: #171222a6; 
    padding: 0.2rem 0;
}

.talles .opciones {
    display: flex;
    gap: .4rem;
    border: none;
    padding: 0;
}

.talles .opciones input[type=radio] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.talles .opciones label {
    position: relative;        
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 500;
    color: #171222c7;
    border: 1px solid #1712228a;
    background: #FEFAEF;
    cursor: pointer;
    user-select: none;
    transition: .25s;
    line-height: 1;
    text-transform: uppercase;
}

.talles .opciones label:hover {
    border-color: #2142ff;
    color: #2142ff;
}

.talles .opciones label:has(input[type=radio]:checked) {
    background: #2142ff;
    color: #FEFAEF;
    border-color: #2142ff;
}

.talles .opciones label:has(input[type=radio]:focus-visible),
.talles .opciones label:has(input[type=radio]:focus) {
    outline: 2px solid #2EBDEF;
    outline-offset: 2px;
}

.tamanio {
    font-size: 0.8rem;
    font-weight: 300;
    color: #171222a6; 
    padding: 0.2rem 0;
}

/* Colores */

.colores  {
    display: flex;
    gap: .4rem;
    padding-top: .6rem;
}

.colores p {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 300;
    color: #171222a6; 

}

.colores ul {
    display: flex;
    gap: 0.5rem;
    padding-left: 0;
    margin: 0;
}

/* Precio */

.precio {
    border-top: #17122281 1px solid;
    border-bottom: #17122281 1px solid;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-block: .6rem;
    font-size: .9rem;
    font-weight: 500;
    color: #171222;
}


/* Botón de compra */

.compra {
    font-size: 0.9rem;
    padding: .5rem;
    text-transform: uppercase;
    padding-bottom: 0.5rem;
    text-decoration: none;
    color: #FEFAEF;
    background-color: #171222;
    transition: 0.5s;
    display: block;     
    width: 100%;        
    text-align: center;
    margin-bottom: 2rem; 
}

.compra:hover {
    color: #FEFAEF;
    background-color: #2142ff;
    transition: 0.5s;
}



/* Perfil Emanuel */

.info-perfil {
    width: auto;
    height: 50vh;
    background-image: url('../imagenes/banner-emanuel.jpg');
    background-repeat: no-repeat;  
    background-size: cover;
    background-position: center;
    display: grid;
    position: relative;
    margin-bottom: 4rem;
}

.datos-emanuel {
    padding: 0 2rem;
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    color:#FEFAEF;
    position: absolute;
    bottom: -4rem; 
    left: 0;
    right: 0;
    z-index: 10;
}

.datos-emanuel > div {
    align-self: start;
}

.pfp {
    width: 10rem;
    height: auto;
    border: 3px solid #FEFAEF;
    display: block;
}

.datos-emanuel h2 {
    font-size: 1rem;
    margin-top: .1rem;
    margin-bottom: .5rem;
    font-weight: 600;
    width: min-content
}


.nombre-editar {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
}

.nombre-editar img {
    width: 1.3rem;
    height: auto;
    display: block;
    flex: 0 0 auto;
    margin-top: .8rem;
}

.datos-emanuel > div > p {
    font-size: 0.8rem;
    font-weight: 400;
    color: #fefaefc9;
    margin: 0;
}



/* Comentarios y reseñas peliculas + cortos*/

/* Comentarios publicados por Emanuel */

.comentarios-resenias {
    padding: 2rem 2rem;
}

.titulo-resenia {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.titulo-resenia h2 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    max-width: fit-content;
}

.comentarios-resenias a {
    color: #171222a6;
    font-size: 0.8rem;
    font-weight: 400;
    transition: 0.3s;
    padding-right: 1rem;
}

.comentarios-resenias a:hover {
    color: #171222;
    transition: 0.3s;
}

.comentarios-resenias a::after {
    content: ' →';
}

/* Comentarios peliculas + usuario */

.todos-los-comentarios {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-right: 2rem;
    padding-top: 3rem;
}

.comentario-publicado {
    border: 1px solid #171222a6;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.comentario-publicado img {
    width: 3.5rem;
    height: auto;
    margin-right: 0.5rem;
}

.comentario-publicado figure {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comentario-publicado h5 {
    font-size: .8rem;
    font-weight: 300;
}

.comentario-publicado p {
    font-size: .9rem;
    font-weight: 400;
    padding-top: .5rem;
    padding-bottom: .2rem;
}

.comentario-publicado figure h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #171222;
    text-transform: uppercase;
    padding-left: 0.5rem;
}

.comentario-publicado .comentario-usuario img {
    width: 4rem;
    height: auto;
    padding-top: .4rem;
    opacity: .8;
    padding-left: 0.5rem;
}

.comentarios-reseñas a {
    color: #17122271;
    font-size: 0.8rem;
    font-weight: 400;
    transition: 0.3s;
    padding-left: 2rem;
}

.comentarios-reseñas a:hover {
    color: #171222;
    transition: 0.3s;
}

.comentarios-reseñas a::after {
    content: ' →';
}



/* outline red para ver overflow 

* {
  outline: 1px solid red;
}

*/


/* Particpá */

.banner-participa {
    width: auto;
    height: 70vh;
    background-image: url('../imagenes/banner-participa.jpg');
    background-repeat: no-repeat;  
    background-size: cover;
    background-position: center;
    display: grid;
}

.seccion-subi-tu-corto {
    display: grid;
    grid-template-columns: auto;
    margin: auto;
    justify-content: center;
}

/* Acerca de la convocatoria */

.sobre-la-convocatoria {
    padding-right: 2rem;
    padding-left: 2rem;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.sobre-la-convocatoria h4 {
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 350;
}

.sobre-la-convocatoria h2 {
    font-size: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.sobre-la-convocatoria p {
    font-size: 0.9rem;
    line-height: 1.5rem;
    color: #171222;
    font-weight: 350;
    max-width: 90ch;
    padding-bottom: 1rem;
}

.sobre-la-convocatoria p span {
    font-weight: 600;   
}

.sobre-la-convocatoria h3 {
    text-transform: uppercase;
    font-size: .9rem;
    font-weight: 400;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.sobre-la-convocatoria h3 span {
    font-weight: 500;
}

.sobre-la-convocatoria a {
    color: #FEFAEF;
    font-size: .8rem;
    font-weight: 400;
    background-color: #171222;
    padding: .8rem;
    text-transform: uppercase;
    transition: 0.5s;
    text-decoration: none;
    max-width: fit-content;
    transition: 0.5s;
}

.sobre-la-convocatoria a:hover {
    background-color: #2142ff;
    transition: 0.5s;
}

/* Requisitos */


.requisitos-postulacion h2 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #171222;
    text-transform: uppercase;
    padding-left: 2rem;
}

.requisitos-postulacion ul li::before {
    content: '•';
    padding-right: 1rem;
    font-size: 1rem;
}

.requisitos-postulacion ul {
    line-height: 1.3rem;
    font-weight: 300;
}

.requisitos-postulacion ul li a{
    font-weight: 450;
    text-decoration: none;
    color: #171222;
}

/* Preguntas frecuentes */

.preguntas-frecuentes {
    padding-left: 2rem;
    max-width: fit-content;
}

.preguntas-frecuentes h2 {
    font-size: 1rem;
    margin-top: 4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #171222;
    text-transform: uppercase;
}

.preguntas-frecuentes summary {
    color: #171222;
    font-weight: 500;
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: #171222 1px solid;
    padding-right: 5rem;
    padding-left: 1rem;
    background-color: #FEFAEF;
}

.preguntas-frecuentes summary::before{
    content: '▸';
    font-size: 1.3rem;
    padding-right: 1rem;
    transition: transform 0.2s ease opacity 0.12s ease;
    transform-origin: center;
    width: 1.3rem;
    vertical-align: middle;
}

details[open] summary::before {
    content: "▾"; 
    transform: translateY(-2px);
}

:root {
  interpolate-size: allow-keywords;
}

.preguntas-frecuentes p {
    font-size: .9rem;
    font-weight: 300;
    padding-top: 1rem;
    max-width: 45rem;
    background-color: #FEFAEF;
}

.details {
    overflow: hidden;
    background-color: #FEFAEF;
}

details::details-content {
    block-size: 0;
    transition: block-size 1s, content-visibility .5s;
    background-color: #FEFAEF;

    transition-behavior: allow-discrete;
}

details:not([open]):has(:is(summary:focus-visible, summary:hover)) {
  background: #FEFAEF(0 0% 5% / 25%);
}

details[open]::details-content {
  block-size: auto;
  background-color: #FEFAEF;
}

/* Sponsors */

.sponsors {
    justify-self: center;
}

.sponsors h2{
    font-size: .9rem;
    margin-top: 4rem;
    font-weight: 400;
    color: #171222;
    padding-top: 2rem;
    justify-self: center;
    padding-right: 2rem;
    opacity: 60%;
}

.contenedora-sponsors {
    max-width: fit-content;
    display: flex;
    gap: 3.2rem;
    padding-bottom: 4rem;
    padding-top: 2rem;
    padding-right: 2rem;
}

.sponsors img {
    width: 6rem;
    height: auto;
    opacity: .8;
    justify-self: center;
    align-self: center;
}


/* Banners películas y cortos */

.banner-peliculas {
    width: auto;
    height: 90vh;
    background-image: url('../imagenes/banner-peliculas.gif');
    background-repeat: no-repeat;  
    background-size: cover;
    background-position: center;
    display: grid;
    margin-bottom: 1rem;
}

.banner-cortos {
    width: auto;
    height: 90vh;
    background-image: url('../imagenes/banner-cortos.gif');
    background-repeat: no-repeat;  
    background-size: cover;
    background-position: center;
    display: grid;
}


/* Película seleccionada */

/* Banner */

.banner-seccion {
    width: auto;
    height: 90vh;
    background-image: url("../imagenes/cmbyn-banner.jpg");
    background-repeat: no-repeat;  
    background-size: cover;
    background-position: center;
    display: grid;
}

.banner-seccion-cortos {
    width: auto;
    height: 90vh;
    background-image: url("../imagenes/one-summer-banner.png");
    background-repeat: no-repeat;  
    background-size: cover;
    background-position: center;
    display: grid;   
}

.boton-reproducir {
    display: flex;
    align-items: center;
    gap: .2rem;
    cursor: pointer;
    border: 1px solid #FEFAEF;
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: .5rem;
    padding-right: .95rem;
    width: fit-content;
    height: fit-content;
    justify-self: center;
    align-self: center;
    transition: 0.5s;
}

.boton-reproducir:hover {
    background-color: #2142ff;
    border: 1px solid #2142ff;
    transition: 0.5s;
}

.boton-reproducir a {
    text-decoration: none;
    color: #FEFAEF;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
}


.titulo-seleccionada {
    color: #FEFAEF;
    text-transform: uppercase;
    padding-left: 2rem;
    bottom: 4rem;
    position: absolute;
}

.titulo-seleccionada h1 {
    font-size: 2rem;
    font-weight: 600;
}

.titulo-seleccionada h3 {
    font-size: .8rem;
    font-weight: 300;
    padding-top: .3rem;
}

.titulo-seleccionada h3 span {
    font-size: .8rem;
    font-weight: 600;
}

.titulo-seleccionada p {
    font-size: .8rem;
    font-weight: 600;
    padding-top: .8rem;
}

.titulo-seleccionada p::before{
    content: '★ ';
    margin-right: .3rem;
}

.titulo-seleccionada p span{
    font-weight: 300;
}

.titulo-seleccionada h4 {
    font-size: .7rem;
    font-weight: 200;
    padding-top: .8rem;
    text-transform: none;
    opacity: 80%;
}

.titulo-seleccionada h4::before{
    content: ' →';
    padding-right: .4rem;
}

.titulo-seleccionada h4 a{
    font-weight: 400;
    text-decoration: none;
    color: #FEFAEF;
}

/* Info básica */

.info-video {
    display: grid;
    grid-template-columns: auto auto;
    padding-top: 2.5rem;
}

.info-video .botones {
    display: flex;
    gap: 1rem;
    padding-left: 2rem;
}

.ver-trailer {
    border: 1px solid #171222;
    background-color: #FEFAEF;
    color: #171222;
    padding: .5rem 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 500;
    transition: 0.5s;
}

.ver-trailer:hover {
    background-color: #171222;
    color: #FEFAEF;
    border: 1px solid #171222;
    transition: 0.5s;
}

.boton-mas-tarde, .boton-fav {
    border: 1px solid #171222;
    background-color: #FEFAEF;
    color: #171222;
    cursor: pointer;
}

.boton-fav {
    padding-top: .4rem;
    padding-bottom: .4rem;
    padding-left: .6rem;
    padding-right: .5rem;
    display: flex;
    align-content: center;
    border-radius: 200rem;
    aspect-ratio: 1;
    transition: 0.3s;
}

.boton-fav:hover {
    background-color: #171222;
    border: 1px solid #171222;
    transition: 0.3s;
}

.boton-fav img {
    width: 1rem;
    height: auto;
    transition: 0.3s;
}

.boton-fav img:hover {
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

.boton-mas-tarde {
    padding: .4rem 0.72rem;
    border-radius: 200rem;
    font-size: 1.2rem;
    font-weight: 400;
    transition: 0.3s;
}

.boton-mas-tarde:hover {
    background-color: #171222;
    border: 1px solid #171222;
    color: #FEFAEF;
    transition: 0.3s;
}

.info-video .iconitos {
    display: flex;
    gap: .8rem;
    justify-self: end;
    padding-right: 2rem;
    align-items: center;
    font-size: .8rem;
}

.duracion {
    padding-top: .15rem;
    display: flex;
    gap: .3rem;
}

.relojito {
    max-width: fit-content;
    max-height: fit-content;
}

.HD {
    width: 1.2rem;
    height: auto;
}

/* Sinopsis */

.sinopsis {
    padding: 2rem;
    padding-top: 4rem;
}

.sinopsis h2 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #171222;
    text-transform: uppercase;
}

.sinopsis p {
    font-size: 0.9rem;
    line-height: 1.5rem;
    color: #171222;
    font-weight: 350;
    max-width: 90ch;
    padding-bottom: .5rem;
}

/* Dirección y elenco */

.direccion-elenco {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.direccion-elenco h2 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #171222;
    text-transform: uppercase;
    display: flex;
    max-width: fit-content;
}

.direccion-elenco a {
    color: #171222a6;
    font-size: 0.8rem;
    font-weight: 400;
    transition: 0.3s;
}

.direccion-elenco a:hover {
    color: #171222;
    transition: 0.3s;
}

.direccion-elenco a::after {
    content: ' →';
}

.direccion-elenco .titulo-direccion-elenco {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.direccion-elenco h3 {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #171222;
    text-transform: uppercase;
    font-weight: 500;
    max-width: 15rem;
}

.direccion-elenco p {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: #171222a6;
    font-weight: 300;
}

.direccion-elenco img {
    width: 12.55rem;
    height: auto;
}

.direccion-elenco .contenedora-direccion-elenco {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
}

.contenedora-direccion-elenco:active {
    cursor: grabbing;
}

.contenedora-direccion-elenco::-webkit-scrollbar {
    display: none;
}

/* Festivales y premios */

.festivales-premios {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.festivales-premios h2 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #171222;
    text-transform: uppercase;
    display: flex;
    max-width: fit-content;
}

.festivales-premios .titulo-festivales-premios {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.festivales-premios h3 {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #171222;
    text-transform: uppercase;
    font-weight: 500;
    max-width: 10rem;
}

.contenedora-festivales-premios {
    display: grid;
    grid-template-columns: auto auto auto auto 1fr;
    gap: 3.2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
}


.festivales-premios img {
    height: 4rem;
    width: auto;
    opacity: .8;
}

.festivales-premios ul {
    padding: 0;
    margin-top: 0.8rem;
}

.festivales-premios ul li {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: #171222a6;
    font-weight: 300;
    padding: 0;
}

.festivales-premios p {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: #171222a6;
    font-weight: 300;
    padding: 0;
}

.festivales-premios ul .ganadora {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: #171222a6;
    font-weight: 500;
    padding: 0;
}

/* Comentarios y reseñas */

.comentarios-reseñas {
    padding-bottom: 2rem;
}

.comentarios-reseñas h2 {
    font-size: 1rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #171222;
    text-transform: uppercase;
    padding-left: 2rem;
}

.form-comentario {
    padding-left: 2rem;
    padding-right: 2rem;
    row-gap: 2rem;
}

.form-comentario textarea {
    width: 100%;
    max-width: 1fr;
    height: 6rem;
    resize: none;
    padding: .5rem;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    border: 1px solid #171222a6;
    background-color: #FEFAEF;
    z-index: 1000000;
}

.marcar-puntaje input[type="range"] {
  --s: 1.5em;
  --star: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 5 L79 95 L2 40 L98 40 L21 95 Z'/></svg>");
  appearance: none;
  width: calc(var(--s) * 5);
  height: var(--s);
  background: 
    linear-gradient(to right, #f07244 0%, #f07244 calc(var(--value, 0) / 5 * 100%), lightgray calc(var(--value, 0) / 5 * 100%)) 0 / calc(var(--s) * 5) var(--s) no-repeat;
  mask: var(--star);
  -webkit-mask: var(--star);
  cursor: pointer;
}

.marcar-puntaje input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 0;
  height: 0;
}

.marcar-puntaje label {
    font-size: 0.9rem;
    color: #171222;
    font-weight: 400;
}

.form-comentario .submit {
    margin-top: 1.2rem;
    padding: .5rem 1rem;
    color: #171222;
    background-color: #FEFAEF;
    border: 1px solid #171222;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.5s;
}

.form-comentario .submit:hover {
    background-color: #171222;
    color: #FEFAEF;
    border: 1px solid #171222;
    transition: 0.5s;
}

.todos-los-comentarios {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-right: 2rem;
    padding-top: 3rem;
}

.comentario-publicado {
    border: 1px solid #171222a6;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.comentario-publicado img {
    width: 3.5rem;
    height: auto;
    margin-right: 0.5rem;
}

.comentario-publicado figure {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comentario-publicado h5 {
    font-size: .8rem;
    font-weight: 300;
}

.comentario-publicado p {
    font-size: .9rem;
    font-weight: 400;
    padding-top: .5rem;
    padding-bottom: .2rem;
}

.comentario-publicado figure h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #171222;
    text-transform: uppercase;
    padding-left: 0.5rem;
}

.comentario-publicado .comentario-usuario img {
    width: 4rem;
    height: auto;
    padding-top: .4rem;
    opacity: .8;
    padding-left: 0.5rem;
}

.comentarios-reseñas a {
    color: #17122271;
    font-size: 0.8rem;
    font-weight: 400;
    transition: 0.3s;
    padding-left: 2rem;
}

.comentarios-reseñas a:hover {
    color: #171222;
    transition: 0.3s;
}

.comentarios-reseñas a::after {
    content: ' →';
}



/* Footer */

footer {
    padding: 1.5rem 2rem;
    display: grid;
    background-color: #171222;
}

.links-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.links-footer ul {
    padding-left: 0;          
}

.redes-footer ul {
    display: flex;
    gap: 1rem;
    padding: 0;
}

.links-footer ul li {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    font-weight: 300;
    color:#FEFAEFb7;
    transition: 0.5s;
}

.links-footer ul li:hover {
    color:#FEFAEF;
    cursor: pointer;
    transition: 0.5s;
}

.redes-footer img {
    width: 1.5rem;
    height: auto;
    margin-bottom: 1rem;
    display: block;
}

footer .logo-footer {
    width: 4.5rem;
    height: auto;
    margin-bottom: 1rem;
}

footer p {
    margin-top: 1rem;
    font-size: 0.7rem;
    color:#fefaefb7;
    justify-self: center;
}


/* Dirección y elenco */

.listado .portada-vertical {
    width: 13rem;
    height: auto;
}

.seguir-viendo {
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, #171222,#eb4f4a, #f07144, #fddc33,#FEFAEF, #2EBDEF, #2142ff) 1;
  border-image-slice: 2;
}

.banner img {
    width: 100%;
    height: auto;
}

.direccion-elenco {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.direccion-elenco h2 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #171222;
    text-transform: uppercase;
    display: flex;
    max-width: fit-content;
}

.direccion-elenco a {
    color: #171222a6;
    font-size: 0.8rem;
    font-weight: 400;
    transition: 0.3s;
}

.direccion-elenco a:hover {
    color: #171222;
    transition: 0.3s;
}

.direccion-elenco a::after {
    content: ' →';
}

.direccion-elenco .titulo-direccion-elenco {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.direccion-elenco h3 {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #171222;
    text-transform: uppercase;
    font-weight: 500;
    max-width: 15rem;
}

.direccion-elenco p {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: #171222a6;
    font-weight: 300;
}

.direccion-elenco img {
    width: 12.55rem;
    height: auto;
}

.direccion-elenco .contenedora-direccion-elenco {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
}