main { display: flex; flex-direction: row; width: 100%; height: 100%; } .scrolldown { display: none; background: var(--gradiente); width: 3rem; height: auto; } section { display: flex; flex-direction: column; justify-content: space-between; height: inherit; width: 50%; box-sizing: border-box; padding: 2.5rem 1.25rem 2.5rem 2.5rem; &:first-child { position: fixed; background-image: url("../images/teste-1.png"); background-size: contain; background-repeat: no-repeat; background-position: BOTTOM; background-origin: content-box; } &:last-child { height: fit-content; overflow: visible; margin-left: 50%; gap: 1.25rem; padding: 2.5rem 2.5rem 2.5rem 1.25rem; background-color: var(--background); button { display: flex; flex-direction: column; aspect-ratio: 4/3; width: 100%; box-sizing: border-box; justify-content: end; align-items: start; padding: 2rem; gap: 0.5rem; border-radius: 1.25rem; background-size: cover; background-position: center; background-color: var(--card); text-align: start; border: solid 0.125rem var(--border); h2 { font-size: 2.5rem; font-weight: 300; background-color: var(--background); color: var(--icone-texto); padding: 0.25rem 0.5rem; border-radius: 0.25rem; width: fit-content; } h3 { font-size: 1.5rem; background-color: var(--background); color: var(--icone-texto); padding: 0.125rem 0.375rem; border-radius: 0.25rem; width: fit-content; } &:hover { gap: 0.75rem; cursor: pointer; h2 { font-weight: 600; margin-bottom: 0.125rem; } } &:active { transform: scale(0.95); } } h4 { font-size: 4rem; } p { font-size: 2rem; } } } header { display: flex; flex-direction: column; h1 { font-size: 4rem; width: fit-content; user-select: none; &:hover { font-weight: 600; } } } .social { display: flex; flex-direction: row; gap: 1rem; padding-top: 1rem; svg { height: 1.5rem; width: 1.5rem; user-select: none; cursor: pointer; fill: var(--icone-texto); &:hover { transform: scale(1.25); } &:active { transform: scale(0.9); } } } @media (orientation: portrait) { main { flex-direction: column; } @keyframes arrow { 0% { transform: translateY(0); } 50% { transform: translateY(-1rem); } 100% { transform: translateY(0); } } .scrolldown { display: flex; height: 10vh; width: 100%; position: absolute; top: 85vh; align-items: center; justify-content: center; svg { width: 3rem; animation: arrow 5s infinite; } } section { width: 100%; padding: 1rem; &:first-child { position: fixed; justify-content: unset; background-image: url("../images/teste-1.png"); background-size: contain; background-repeat: no-repeat; background-position: BOTTOM; background-origin: content-box; } &:last-child { position: absolute; top: 95vh; margin-left: unset; background-color: var(--background); padding: 1rem; button { padding: 1.5rem; h2 { font-size: 1.5rem; background-color: var(--background); color: var(--icone-texto); padding: 0.25rem 0.5rem; border-radius: 0.25rem; width: fit-content; } h3 { font-size: 1rem; background-color: var(--background); color: var(--icone-texto); padding: 0.125rem 0.375rem; border-radius: 0.25rem; width: fit-content; } } h4 { font-size: 3rem; } p { font-size: 1.625rem; } } } header { h1 { font-size: 3rem; } } }