*, *::before, *::after { box-sizing: border-box; } :root { font-size: 16px; --color_60: 255, 255, 255; --color_30: 0, 99, 94; --color_10: 0, 0, 0; } body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; color: rgb(var(--color_10)); font-family: 'DejaVu Sans', sans-serif; font-size: 1rem; background-color: rgb(var(--color_60)); } h1, h2, h3, h4, h5, h6 { margin-top: 0; color: rgb(var(--color_30)); font-family: 'HelveticaNeue', sans-serif; text-transform: lowercase; } h1 { font-size: 2rem; } h2 { font-size: 1.5rem; } h3 { font-size: 1.17rem; } h4 { font-size: 1rem; } h5 { font-size: .83rem; } h6 { font-size: .67rem; } p { margin: 0; } a { color: rgb(var(--color_10)); } img { width: 100%; } header#cabeceira { margin-bottom: 1.125rem; padding: 0.625rem; box-shadow: 0px 16px 24px 2px rgba(var(--color_30), 0.14), 0px 6px 30px 5px rgba(var(--color_30), 0.12), 0px 8px 10px -5px rgba(var(--color_30), 0.2); } div#logo { width: 230px !important; height: 169px; background-image: url(../images/logo.jpg); } header#cabeceira input#interruptor { display: block; position: absolute; top: 1.563rem; left: 1.563rem; z-index: 5; height: 1.875rem; width: 1.875rem; opacity: 0; } header#cabeceira .interruptor { display: flex; flex-direction: column; justify-content: space-between; position: absolute; top: 1.25rem; left: 1.25rem; z-index: 2; height: 1.875rem; width: 1.875rem; margin: 5px; } header#cabeceira .interruptor .linna { display: block; height: 4px; width: 100%; border-radius: 0.625rem; background: rgb(var(--color_10)); } header#cabeceira .interruptor .linna1 { transform-origin: 0% 0%; transition: all 0.4s ease-in-out; } header#cabeceira .interruptor .linna2 { transition: all 0.2s ease-in-out; } header#cabeceira .interruptor .linna3 { transform-origin: 0% 100%; transition: all 0.4s ease-in-out; } nav#menu { left: 0; position: fixed; top: 0; height: 100vh; width: 50%; padding: 0; border-right: 2px solid rgb(var(--color_30)); color: rgb(var(--color_30)); font-family: 'HelveticaNeue', sans-serif; background-color: rgb(var(--color_60)); transform: translateX(-100%); transition: transform 0.5s; } nav#menu a { color: rgb(var(--color_10)); } ul#idiomas { display: flex; flex-direction: row; width: 75%; margin: 70px 0 0 20px; padding: 0; } ul#idiomas a { color: rgb(var(--color_10)); } ul#paxinas { display: flex; flex-direction: column; margin: 1.25rem 0 0; padding: 0; } ul#idiomas li, ul#paxinas li { list-style: none; /*text-transform: uppercase;*/ } ul#idiomas li a { display: block; padding: 0.625rem; border: 1px solid rgb(var(--color_10)); text-decoration: none; } ul#idiomas li.activo a { color: rgb(var(--color_60)); background-color: rgb(var(--color_10)); } nav#menu li a:focus { outline: 2px dotted rgb(var(--color_10)); } ul#paxinas li { border-left: 0.625rem solid rgb(var(--color_60)); } ul#paxinas li.activo { border-left: 0.625rem solid rgb(var(--color_30)); } ul#paxinas li:hover { border-left: 0.625rem solid rgb(var(--color_30)); } ul#paxinas li a { display: block; padding: 1.25rem; text-decoration: none; } header#cabeceira input#interruptor:checked ~ nav#menu { transform: translateX(0); } header#cabeceira input#interruptor:focus ~ .interruptor { outline: 2px dotted rgb(var(--color_10)); } header#cabeceira input#interruptor:checked ~ .interruptor .linna1 { transform: rotate(45deg) scaleX(1.3); } header#cabeceira input#interruptor:checked ~ .interruptor .linna2 { transform: scaleY(0); } header#cabeceira input#interruptor:checked ~ .interruptor .linna3 { transform: rotate(-45deg) scaleX(1.3); } header#cabeceira input#interruptor:checked:focus ~ .interruptor { outline: 2px dotted rgb(var(--color_10)); } header#cabeceira div.contedor { align-items: center; display: flex; flex-direction: row; justify-content: center; } main#contido { flex: 1 0 auto; } main section { padding: 20px 0; } section#mantemento { align-items: center; display: flex; flex-direction: column; justify-content: center; } section#mantemento img { max-width: 800px; padding: 0.625rem; } section#mantemento div { align-items: center; display: flex; flex-direction: column; justify-content: center; width: 75%; margin: 1.25rem auto 0; text-align: center; } footer#pe { flex-shrink: 0; padding: 1.25rem 0.625rem; color: rgb(var(--color_60)); background-color: rgb(var(--color_30)); } footer#pe p { font-size: .83rem; text-align: center; } footer#pe a { color: rgb(var(--color_60)); } .contedor { width: 100%; margin-left: auto; margin-right: auto; } .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; white-space: nowrap; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); border: 0; } .element-focusable:focus { clip: auto; overflow: visible; height: auto; } .bypass-to-main:focus { top: 0; left: 0; width: 100%; height: 40px; line-height: 40px; text-align: center; background: rgb(var(--color_30)); color: rgb(var(--color_60)); } @media (max-height: 768px) and (orientation: landscape) { ul#idiomas { margin-top: 20px; margin-left: 70px; } ul#paxinas li a { padding: 0.625rem; } } @media (min-width:1024px) { ul#paxinas li a { padding: 0; } } @media (min-width: 1024px) { header#cabeceira div.contedor { align-items: flex-start; display: flex; flex-direction: row; justify-content: space-between; } header#cabeceira input#interruptor, header#cabeceira .interruptor { display: none; } nav#menu { position: initial; width: initial; height: initial; padding: 0; border: initial; background-color: transparent; transform: initial; transition: initial; } ul#idiomas { justify-content: flex-end; width: 100%; margin: 0; } ul#paxinas { flex-direction: row; justify-content: flex-end; gap: 20px; } ul#paxinas li { border-left: 0; } ul#paxinas li:hover, ul#paxinas li.activo { border-left: 0; } ul#paxinas li:hover a, ul#paxinas li.activo a { text-decoration: underline; } .contedor { max-width: 70.5rem; } } @media (min-width: 1025px) { header#cabeceira div.contedor > * { width: unset; } }