body { margin: 0; padding: 0; font-family: monospace; color: white; background-color: #363636; display: flex; flex-direction: column; align-items: center; height: 100vh; background-image: url("res/bg.png"); background-size: cover; background-position: center; background-attachment: fixed; } /* navbar */ nav { display:flex; justify-content: space-between; flex-direction: row; width: 100%; position:fixed; top: 0; background: rgba(255, 255, 255, 0.082); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 99999999999999; } nav ul { display:flex; justify-content: center; list-style: none; text-decoration: none; align-items: center; } nav ul li { margin-right:15px; margin-left:15px; } nav ul li a { color: #ffffff; text-decoration: none; transition: background-color 0.3s; border: 1px solid white; border-radius:20px; padding:10px } h3 { color:white; border:1px solid white; padding: 10px; margin: 10px; border-radius:20px; } .about{ width: 45%; max-height: 250px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: center; justify-content: space-around; margin-top: 50px; padding:20px; } #firstcard { height:95%; width:50%; display:flex; flex-direction: column; align-items: center; justify-content: center; } #secondcard { color: #000000; width:30%; height: 95%; } #game { width: 65%; height: 400px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: center; justify-content: space-around; margin-top: 135px; color:white; font-family: Verdana, Geneva, Tahoma, sans-serif; } #thirdcard { width: 95%; height: 100%; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 10px; } h2 { margin:none; font-size:18px; } .glass { background: rgba(255, 255, 255, 0.096); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); } footer { color:rgba(255, 255, 255, 0.185); font-family: monospace; text-align: center; font-size:10px; margin-top:50px; } #aboutme { font-family: monospace; color: white; font-size: 14px; padding: 20px; } .game-container { display: flex; flex-direction: row; justify-content: center; align-items: center; width: 100%; height: 100%; margin-top: -10px; } .icoon { width: 50px; height: 50px; background-color: rgba(158, 133, 133, 0.3); border-radius: 13px; display: flex; justify-content: center; align-items: center; margin: 10px; cursor: pointer; transition: transform 0.2s ease-in-out; } .mafiaro-png { width: 50px; height: 50px; background-image: url("res/mafiaro.png"); background-size: cover; background-position: center; margin-bottom:30px; } .describeit-png { width: 50px; height: 50px; background-image: url("res/describe.it.png"); background-size: cover; background-position: center; } .contact { width: 50%; height: 250px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: left; margin-top: 50px; } .glass.contact p:first-child { text-align: center; } .glass.contact p { padding: 5px; font-size: 14px; color: white; font-family:'Courier New', Courier, monospace } .glass.contact { padding:20px; } * { box-sizing: border-box; transition: all 0.3s ease; } @media (max-width:850px) { #game { width: 95%; height: 400px; } .about { width: 95%; height: 490px; } .contact { width: 95%; } } #quote { width: 65%; min-height: 190px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 50px 0; padding: 20px; text-align: center; font-family: Verdana, Geneva, Tahoma, sans-serif; color: white; } #quote h2 { margin-bottom: 10px; font-size: 20px; } #quote p { font-size: 16px; margin-bottom: 20px; } #quote button { background: rgba(255, 255, 255, 0.12); border: 1px solid white; border-radius: 15px; color: white; padding: 8px 15px; cursor: pointer; font-family: monospace; } #quote button:hover { background: rgba(255, 255, 255, 0.25); transform: scale(1.05); } @media (max-width:850px) { #quote { width: 95%; } } body { scrollbar-width: none; -ms-overflow-style: none; } body::-webkit-scrollbar { display: none; }