* { 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; } section .part1 { padding: 100px 100px 50px 100px; background-image: url(../img/menu-recycle.webp); position: relative; left: 0; width: 100vw; min-height: 65vh; background-size: cover; background-repeat: no-repeat; align-content: center; } section .part1 .overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--overlay-intensidad); z-index: 0; border-radius: 4px; } section .part1 h1 { font-size: 400%; color: #0ac12b; 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); position: relative; padding: 20px; margin: 0; margin-bottom: 10px; } @media (max-width: 400px) { section .part1 h1 { font-size: 350%; padding: 0; } } section .part1 .btns { align-items: center; justify-content: center; display: flex; flex-direction: row; } section .part1 a { background-color: var(--verde-500); text-decoration: none; border: 3px solid var(--verde-900); padding: 15px; margin: 5px 15px 5px 15px; border-radius: 8px; font-weight: bold; color: white; z-index: 2; min-width: 152px; transition: ease-out 0.3s; } section .part1 a #logo{ aspect-ratio: 1/1; width: 18px; margin-right: 5px; } @media (max-width: 500px) { section .part1 .btns { flex-direction: column; } } section .part1 a:hover { border: solid 3px var(--verde-700); scale: 1.03; } section .part2 { display: flex; flex-direction: column; width: 100vw; padding: 20px; } section .part2 .block { display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 4px; } section .part2 .block img { border-radius: 50%; height: 200px; aspect-ratio: 1/1; z-index: 2; transform: translateX(50px); border: 2px solid black; object-fit: cover; } section .part2 .block .block-txt { background-color: #e5e3ff; border-radius: 4px; font-weight: bold; padding-left: 100px; padding-right: 5px; transform: translateX(-50px); border: 2px solid black; width: 40vw; } section .part2 .block .block-txt h2 { color: var(--verde-600); font-weight: 700; } section .part2 .block .block-txt p { padding: 10px; font-weight: 500; font-size: large; } @media (max-width: 420px) { section .part2 .block { flex-direction: column; } section .part2 .block img { transform: translateX(0px); } section .part2 .block .block-txt { transform: translateX(0px); padding-left: 0px; } } /* MODO OSCURO */ body.dark-mode { background-color: var(--dark-blue); color: white; } body.dark-mode section .part1 h1 { 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); } body.dark-mode section .part2 .block .block-txt { color: black; } body.dark-mode section .part2 .block img, body.dark-mode section .part2 .block-txt { border: 2px solid white; }