@font-face { font-family: 'Platypi'; src: url('../fonts/Platypi[wght].woff2'); font-weight: 300 800; font-style: normal; } @font-face { font-family: 'Platypi'; src: url('../fonts/Platypi-Italic[wght].woff2'); font-weight: 300 800; font-style: italic; } body { background-color: #fffdfb; font-family: 'Platypi', serif; font-synthesis: none; font-size: 41px; line-height: 3.5rem; margin: 0; padding: 0 70px; box-sizing: border-box; } .content-list { max-width: 633px; margin: auto; margin-right: 0; margin-top: 50px; } .content-list a { color: black; text-decoration: none; } .content-list img { width: 35px; height: auto; vertical-align: middle; filter: saturate(2); } .container { margin: 50px 0; } h1 { font-weight: 700; font-size: 50px; max-width: 20%; margin: 0; } .container h2 { font-size: 40px; max-width: 30%; margin: 0; margin-bottom: -0.5rem; } #content { font-size: 22px; line-height: 1.7rem; max-width: 633px; margin: auto; margin-right: 0; } #content p { margin-left: 25mm; } #content h1 {display: none;} #content h2, #content h3 { text-decoration: underline; text-align: center; } #content strong { position: absolute; margin-left: -44mm; width: 44mm; } @keyframes wiggle { 25% { transform: scale(0.8, 1.3); } 50% { transform: scale(1.1, 0.8); } 75% { transform: scale(0.7, 1.2); } } .content-list a:hover img, .content-list img:hover { animation: wiggle 0.6s infinite; cursor: pointer; } @media (max-width: 768px) { body { font-size: 21px; line-height: 1.5rem; padding: 0 50px; } .container { margin-left: 0; line-height: 2rem; margin: 70px 0; /* Adjusted for mobile */ } .container h1 { font-size: 30px; max-width: 200px; } .container h2 { font-size: 20px; max-width: 70px; } .content-list { max-width: 90%; margin-top: 30px; margin-right: -20px; } .content-list img { width: 25px; } #content { font-size: 15px; line-height: 1.2rem; max-width: -webkit-fill-available; margin: auto; margin-right: 0; margin-top: 90px; margin-bottom: 90px; } #content p { width: 220px; margin-left: 20mm; } #content h1 {display: none;} #content h2, #content h3 { text-decoration: underline; text-align: center; } #content strong { position: absolute; margin-left: -20mm; width: 14mm; } }