.content-layer { position: absolute; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; } .menu { width: 100%; display: flex; justify-content: space-between; padding: 20px; } .card { display: inline-block; box-shadow: 0 1px 2px 0 rgba(0,0,0,.15); position: relative; padding: 2em; display: flex; flex-direction: column; align-items: center; background-color: rgba(0, 140, 145, 0.99); width: 75vw; min-height: 25vh; border-radius: 25px; overflow-y: auto; margin-bottom: 20px; } .card h1, .card p { opacity: 1; } .video-container { } .portfoliobackground { width:100%; height:100%; padding:20px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; overflow: auto; } html, body { height: 100%; width: 100%; margin: 0; padding: 0; font-family: 'Orbitron', sans-serif; line-height: 1.5; color: #08F7FE; } a { font-family: 'Orbitron', sans-serif; color: #08F7FE; text-decoration: none; } a:hover { text-decoration: underline; } button { font-family: 'Font-Name', sans-serif; color: #08F7FE; background-color: rgba(0, 140, 145, 0.99); border: none; border-radius: 25px; } button:hover { cursor: pointer; }