* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Outfit', sans-serif; font-weight: bold; } a{ text-decoration: none; color: white; } body { background-color: #f5f5f5; color: #333; min-height: 100vh; display: flex; justify-content: space-around; align-items: center; position: relative; overflow-x: hidden; } .header-icons { position: absolute; top: 20px; right: 20px; } .header-icons a { color: inherit; margin-left: 15px; font-size: 1.2rem; text-decoration: none; } .container { display: flex; justify-content: space-around; width: 100%; height: 100%; } #sydney-time { display: none; } #sydney-time-text { display: none; } @media (max-width: 1200px) { .material-symbols-outlined { font-size: 2em; } .card.profile h1, .title{ font-size: 1.5em !important; } .profile .role { font-size: 1.1rem !important; } .card.author h2{ font-size: 2.2rem; } .card.author p{ font-size: 1.3rem !important; } .card.awards .awards-list li { font-size: 2rem !important; } } @media (min-width: 900px) and (min-height: 550px) { #sydney-time { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); background-color: #E8E8E8; border-radius: 20px; display: flex; justify-content: center; align-items: center; font-size: 1rem; color: #555; padding: 1em 2em 1em 2em; border-radius: 100em; } #sydney-time-text { display: inline-block; } #sydney-time span{ font-size: 1rem; margin-right: 0.4em; } } @media (max-width: 900px) { .container { flex-direction: column; align-items: center; padding-top: 5em; } .card{ min-width: 50vw; min-height: 50vw; margin-bottom: 3em; } } @media (max-width: 780px) or (max-height: 550px) { body{ background-color: #1B1B1F; } .header-icons{ color: #f5f5f531; } .profile header{ font-size: 1rem !important; } .card.profile h1, .title{ font-size: 2.5em !important; } .container { flex-direction: column; } .card.profile{ margin-top: 0; border-radius: 0!important; margin-bottom: 3em; } .card.author > :last-child{ margin-bottom: 2em; } .card{ justify-content: baseline; margin-top: -3.3em; width: 100% !important; min-height: fit-content !important; height: fit-content !important; margin-bottom: 0; border-radius: 3.5em 3.5em 0 0 !important; } .card.awards .awards-list li { font-size: 2.5rem !important; } .card.awards{ padding-bottom: 5em; } .header-icons { top: 10px; right: 10px; } } .card { cursor: pointer; border-radius: 3.5em; padding: 2em; position: relative; overflow: scroll; height: 30vw; width: 30vw; } .card.author h1, .card.awards h1{ font-size: 3rem; opacity: 0.33; } .card h2{ font-size: 3rem; } .card > .icon{ opacity: 0.33; text-align: right; } .card > .icon span{ font-size: 3em; } .card.profile { display: flex; flex-direction: column; justify-content: space-between; background-color: #1B1B1F; color: #fff; } .profile header h1{ display: flex; align-items: center; } .profile header { display: flex; flex-direction: column; height: 50%; justify-content: center; font-size: 1.25rem; margin-bottom: 20px; } .profile header span { font-size: 1.2em; margin-right: 10px; } .profile .role { display: flex; align-items: center; margin-bottom: 15px; font-size: 1.5rem; color: rgba(255, 255, 255, 0.8); } .profile .role img.icon { width: 2.2rem; height: 2.2rem; margin-right: 10px; border-radius: 10px; } .card.author { background: linear-gradient(135deg, #6e2a8e, #e6398f); color: #fff; display: flex; flex-direction: column; justify-content: space-between; } .card.author p { font-size: 1.5rem; margin-top: 0.5em; color: #ffeb3b; } .card.awards { background: linear-gradient(135deg, #002f6c, #00b6f1); color: #fff; display: flex; flex-direction: column; justify-content: space-between; } .card.awards h3 { margin: 0 0 15px; font-size: 1.2rem; } .card.awards .awards-list { list-style: none; padding: 0; } .card.awards .awards-list li { display: flex; align-items: center; font-size: 2.5rem; margin-top: 15px; } .card.awards .awards-list li:hover { filter: blur(2px); } .card.awards .awards-list li img { width: 1em; height: 1em; margin-right: 10px; border-radius: 100em; } .card.awards .awards-list .more{ display: flex; align-items: center; color: white; opacity: 0.66; margin-top: 0.5em; } .card:hover .icon{ opacity: 1; } .card.awards .awards-list .more span{ font-size: 1rem; margin-left: 0.5em; }