@font-face { font-family: 'StylishSans'; src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/geogrotesqueexp/GeogrotesqueExp-Rg.ttf') format('truetype'); font-weight: normal; font-style: normal; } #custom-cursor { pointer-events: none; transform: translate(-50%, -50%) scale(0.5); will-change: transform, opacity; /* set optimazation??? */ /* works! */ opacity: 0; transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; display: flex; align-items: center; justify-content: center; } #custom-cursor.hidden { display: none; } #custom-cursor.fade-in { opacity: 1; transform: translate(-50%, -50%) scale(1); } .font-stylishsans { font-family: 'StylishSans', sans-serif; } .font-montserrat { font-family: 'Montserrat', sans-serif; } .frosted-glass { background-color: rgba(45, 45, 45, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } .no-select { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } .scroll-indicator-box { transition: opacity 0.3s ease-in-out; } .scroll-indicator-box .flex { display: flex; align-items: center; gap: 8px; } .projects-section-padding { padding-top: 150px; } @media (min-width: 768px) { .projects-section-padding { padding-top: 500px; } } .fading-image { mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent); } .no-select { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .scroll-indicator-box { transition: opacity 0.5s ease-in-out; } .scroll-indicator-box.fade-out { opacity: 0; pointer-events: none; } ::selection { background-color: #ff9ebb; } ::-moz-selection { background-color: #ff9ebb; } .background-image { background-image: url('/assets/background.png'); } .background-test { background-image: url('/assets/grid.png'); } .projects-section-bg { background-image: url('/assets/grid.png'); background-size: cover; background-position: center; background-attachment: scroll; position: relative; } .projects-section-bg::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10, 10, 10, 0.9); z-index: 1; } .projects-content { position: relative; z-index: 2; } .image-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.5s ease-in-out; border-radius: 1rem; } .image-overlay.show { opacity: 1; } .ada-tennant-image.blurred { filter: blur(8px); transition: filter 0.5s ease-in-out; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } .image-overlay svg { animation: fadeIn 0.5s ease-in forwards; } .image-overlay.hide-animation svg { animation: fadeOut 0.5s ease-out forwards; } .img-setno { -webkit-user-drag: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; pointer-events: auto; }