@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:wght@400;700&display=swap'); * { box-sizing: border-box; padding: 0; margin: 0; } :root{ --text-color:#00aa00; } body{ font-family: 'Ubuntu Mono',sans-serif; background-color: #333; color: #ccc; font-size: 20px; line-height: 1.6; } h1{ color:var(--text-color); font-size: 50px; letter-spacing: -2px; margin-bottom: 20px; } h2{ color: var(--text-color); } .hidden{ display: none; } h3{ margin-bottom: 10px; } a{ color: var(--text-color); text-decoration: none; cursor:crosshair; } a:hover{ color: #ccc; cursor:crosshair; } .container{ max-width: 600px; margin: auto; display: flex; flex-direction: column; height: 70vh; justify-content:center; align-items: center; } ul{ list-style-type: none; } nav{ width 30%; } nav ul { display: flex; justify-content: space-around; align-items: center; } nav ul li{ color: var(--text-color); } p{ margin: 20px 0; } .cursor{ font-weight: 700; animation: 1s blink step-end infinite; } @keyframes blink { from, to{ color: transparent; } 50%{ color: var(--text-color); } } .wb-body{ background: #222; padding: 20; } .projectImg{ width: 300px; height: 350px; } .modalImg{ width:200px; height: 200px; border-radius: 10px; } #needsBkg{background-color: #ccc;} @media screen and (max-width: 1020px) { * { font-size: 35px; } ul { padding-top: 25px; padding-bottom: 30px; } nav ul li{ color: var(--text-color); padding-left: 2%; } .blink1{ animation: 1s blinkNav step-end infinite; } .blink2{ animation: 2s blinkNav step-end infinite; } .blink3{ animation: 3s blinkNav step-end infinite; } @keyframes blinkNav { from, to{ color: #ccc; } 50%{ color: var(--text-color); } } .wb-close{ transform: scale(1.35); } .wb-title{ font-size: 20px; } }