@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,700&family=Phudu:wght@300&display=swap'); * { box-sizing: border-box; } body { padding-top: 50px; width: 100vw; min-height: 100vh; background: linear-gradient(180deg, #00152b 0%, #4d89ea 50%, #55cc55 100%); overflow-x: hidden; } #logo { float: left; width: 150px; padding-bottom: 50px; margin-right: 50px; } h1 { color: white; font-family: 'DM Sans', sans-serif; letter-spacing: 0.1em; } p { color: white; font-family: 'Phudu', cursive; letter-spacing: 0.1em; } a { color: #f0e69c; font-weight: bold; } a:hover { background-color: #f0e69c; color: black; padding: 5px; text-decoration: none; } video { display: block; border-radius: 10px; width: 80%; margin: auto; margin-top: 40px; } #code { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; } h2 { color: white; font-family: 'DM Sans', sans-serif; font-size: 42px; margin-top: 50px; } h3 { color: white; font-family: 'Phudu', cursive; font-size: 32px; } img { width: 75px; float: left; margin-right: 15px; } .project { padding: 15px; background-color: rgba(255,255,255,0.2); backdrop-filter: blur(5px); margin-bottom: 20px; border-radius: 10px; } .project:hover { background-color: rgba(255,255,255,0.4); cursor: pointer; } .project p { margin-top: 10px; } footer { padding: 20px; padding-top: 30px; } #footer-header { color: white; font-family: 'DM Sans', sans-serif; font-size: 24px; margin-top: 10px; margin-bottom: 0px; } footer p { margin-top: 0px; } .member { display: inline-block; width: calc(50% - 50px); padding: 15px; } .member:hover { backdrop-filter: blur(5px); background-color: rgba(255,255,255,0.42); border-radius: 5px; cursor: pointer; border: 4px solid #00ccff; } .member img { width: 85px; height: 85px; border-radius: 42.5px; object-fit: cover; } .member h3 { margin-top: 0px; color: white; font-size: 24px; height: 85px; line-height: 85px; } @media (max-aspect-ratio: 3/2) { #logo { float: none; padding-bottom: 0; } .member { width: 100%; } } .bg-text { font-weight: bold; font-family: Georgia, serif; /* font: bold Georgia, serif; */ color: #100b0b; position: absolute; right: 0; /* top: 0; */ user-select: none; pointer-events: none; /* z-index: 1; */ } /* all other screens (massive screens) */ @media only screen and not (max-width : 1850px) { /* Styles */ .bg-text { /* font-size: 25vh; */ font-size: 18rem; opacity: 0.15; } } /* large size screen */ @media only screen and (max-width : 1850px) { /* Styles */ .bg-text { font-size: 15rem; opacity: 0.15; /* margin-top: 10vh */ } } /* medium size screen */ @media only screen and (max-width : 1500px) { /* Styles */ .bg-text { font-size: 12rem; opacity: 0.15; word-break: break-word; margin-top: 8vh; /* margin-top: 10vh */ } } /* phablet size screen */ @media only screen and (max-width : 1100px) { /* Styles */ .bg-text { font-size: 10rem; opacity: 0.15; word-break: break-word; margin-top: 8vh; /* margin-top: 10vh */ } } /* Smartphones (portrait) and small screens ----------- */ @media only screen and (max-width : 600px) { /* Styles */ .bg-text { z-index: 1; font-size: 8rem; opacity: 0.1; word-break: break-word; margin-top: 22vh; } }