* { box-sizing: border-box; } body { margin: 0; width: 100%; background-color: var(--blanco-pagina); display: flex; flex-direction: column; min-height: 100vh; } .container { display: flex; flex-direction: column; min-height: 100vh; } .main-div { display: flex; align-items: center; padding: 20px; text-align: center; flex-direction: column; flex: 1; width: 100vw; padding: 0; } .main-div h1 { color: var(--verde-500); font-size: 450%; text-shadow: -2px -2px 0 var(--verde-900), -2px 2px 0 var(--verde-900), 2px -2px 0 var(--verde-900), 2px 2px 0 var(--verde-900); margin-bottom: 20px; } @media (max-width: 500px) { .main-div h1 { font-size: 300%; } } .main-div span { font-weight: 600; font-size: larger; width: 80vw; } .main-div div.video { position: relative; background: var(--negro-950) url('../img/LP-banner.webp'); background-size: cover; background-repeat: no-repeat; width: 100vw; z-index: 0; min-height: 360px; margin: 0 auto; } .main-div div.video div.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--overlay-intensidad); /* Oscurecimiento con un fondo semitransparente */ z-index: 1; } .main-div div.video iframe { width: 60%; aspect-ratio: 16/9; min-height: 360px; max-height: min-content; border: none; z-index: 2; position: relative; } .main-div section { display: grid; grid-template-columns: repeat(2, 1fr); padding: 20px; } @media (max-width: 768px) { .main-div section { grid-template-columns: repeat(1, 1fr); } .main-div div.video iframe { width: 90%; } } @media (max-width: 520px) { .main-div div.video iframe { width: 100%; } } .main-div section article { margin: 10px; border: 1px solid #121212; color: white; border-radius: 4px; } .main-div article .toggle-button { cursor: pointer; display: flex; align-items: center; padding: 10px; border-bottom: 1px solid #121212; font-weight: bold; flex-direction: column; } .main-div article .toggle-button label { text-shadow: -2px -2px 0 #004100, -2px 2px 0 #004100, 2px -2px 0 #004100, 2px 2px 0 #004100; } .main-div article .toggle-content { max-height: 0px; overflow: hidden; transition: max-height 0.2s ease-out; } .main-div .toggle-content.show { max-height: auto; } .main-div article .toggle-content p { overflow-wrap: break-word; text-align: justify; margin: 20px; } .main-div article .toggle-content .item-content { color: black; } .main-div article .toggle-content .item-content p { line-height: 25px; font-size: 15px; font-weight: 600; } .toggle-content .item-content ul li { font-weight: 600; font-size: 13px; text-align: left; line-height: 30px; } /* MODO OSCURO */ body.dark-mode { background-color: var(--dark-blue); color: white; } body.dark-mode .main-div h1 { text-shadow: -2px -2px 0 var(--verde-800), 2px 2px 0 var(--verde-800), 2px -2px 0 var(--verde-800), 2px 2px 0 var(--verde-800); }