/* ===== Base Styles ===== */ html, body { height: 100%; margin: 0; padding: 0; font-size: 25px; } body { display: flex; flex-direction: column; } main { flex: 1; margin: 20px; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; } a { color: var(--blue-clr) } footer { flex-shrink: 0; background: var(--background-clr); width: 100%; } footer > div { justify-content: space-between } footer > div > p { font-size: 16px; margin: 10px 25px 10px 25px; } .flag { height: 16px; vertical-align: middle; } /* ===== Container Layouts ===== */ .vert_container { display: flex; } @media (max-width: 1000px) { .vert_container.revert { display: inherit; } } .vert_container.centered { align-items: center; justify-content: space-around; } .vert_container.start { align-items: flex-start; justify-content: space-around; } .scroll_container { overflow-y: auto; scroll-snap-type: y mandatory; } .scroll_section { min-height: 100vh; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; } .scroll_section > h1 { color: var(--white-clr); font-size: 48px; margin: 20px 0; text-align: center; width: 100%; } /* ===== Navigationbar ===== */ .nav_option { font-family: 'Montserrat', sans-serif; font-weight: bold; color: var(--white-clr); text-decoration: none; font-size: 28px; border: none; border-radius: 20px; background-color: transparent; display: flex; align-items: center; margin: 8px; padding-right: 10px; } .nav_option:hover { background-color: var(--background-accent-clr); } .nav_option.active { background-color: var(--background-accent-clr); } .nav_option span { color: var(--green-clr); } @media (max-width: 1100px) { .nav_option p { display: none; } } /* ===== Layout ===== */ .panel { width: 60%; } @media (max-width: 1000px) { .panel { width: 100%; } } .section-title { display: flex; align-items: flex-start; justify-content: space-around; } .text-section { margin-left: 50px; } .title { font-size: 128px; margin: 0; line-height: 1; text-wrap: balance; } @media (max-width: 1200px) { .title { font-size: 100px; } .tagline { font-size: 26px; width: 400px; } } .tagline { display: flex; font-size: 36px; font-weight: bold; width: 500px; } .tagline .green-text { color: var(--green-clr); } .tagline .normal-text { margin-left: 7px; } .content-box { background-color: var(--background-accent-clr); margin: 50px 20px 20px; padding: 20px; border-radius: 20px; } .content-box p { margin: 0; } .content-box .intro-text { font-weight: bolder; font-size: 28px; color: var(--green-clr) } .project-thumb { width: 150px; height: 150px; object-fit: cover; margin-right: 15px; border-radius: 75px; float: left; } /* About Me grid layout */ .about-me-projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; width: 100%; max-width: 1200px; margin: 20px auto; } /* ===== Apps & Hosted Sections - vertical selector + detail ===== */ .service-section { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 20px 20px; box-sizing: border-box; display: flex; gap: 30px; align-items: stretch; } .service-selector { display: flex; flex-direction: column; gap: 12px; width: 260px; flex-shrink: 0; max-height: 480px; overflow-y: auto; padding: 5px; } .service-selector-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 2px solid transparent; border-radius: 18px; background-color: var(--background-accent-clr); color: var(--white-clr); font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: bold; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); text-align: left; } .service-selector-item:hover { transform: translateY(-2px); background-color: #3a5c5c; } .service-selector-item.selected { border-color: var(--green-clr); background-color: var(--dark-teal, #2c5f5f); } .service-selector-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background-color: var(--icon-bg, #888); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; } .service-selector-icon img { width: 100%; height: 100%; object-fit: contain; padding: 5px; box-sizing: border-box; } .service-selector-item.selected .service-selector-icon { transform: scale(1.1); } .service-selector-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .service-detail { flex: 1; background-color: var(--dark-green, #1a3d2e); border-radius: var(--card-border-radius, 25px); padding: 30px; box-sizing: border-box; display: flex; gap: 30px; align-items: center; min-width: 0; } .service-visual { flex: 1 1 45%; height: clamp(240px, 45vh, 420px); border-radius: 15px; overflow: hidden; background: linear-gradient(145deg, #2c5f5f, #1a3d2e); display: flex; align-items: center; justify-content: center; min-width: 0; } .service-visual-img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 24px; box-sizing: border-box; opacity: 1; transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .service-visual-img.fading { opacity: 0; } .service-info { flex: 1 1 55%; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; } .service-title { color: var(--green-clr); font-size: 42px; margin: 0; } .service-description { color: var(--white-clr); font-size: 24px; line-height: 1.6; margin: 0; } /* Go to App Button */ .go-to-app-button { display: inline-block; background-color: var(--green-clr); color: var(--background-clr); padding: 18px 40px; font-size: 28px; font-weight: bold; text-decoration: none; border-radius: 15px; border: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); margin-top: 10px; } .go-to-app-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); } /* ===== Games Section ===== */ .games-container { width: 100%; max-width: 1600px; margin: 0 auto; padding: 20px; } .games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; width: 100%; } .game-card { background-color: var(--dark-teal, #2c5f5f); border-radius: var(--card-border-radius, 25px); overflow: hidden; cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; display: flex; flex-direction: column; } .game-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); } .game-card.expanded { grid-column: span 2; z-index: 10; box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5); } .game-card-image { width: 100%; height: 200px; overflow: hidden; background: linear-gradient(145deg, #2c5f5f, #1a3d2e); } .game-card-image img { width: 100%; height: 100%; object-fit: cover; } /* Logo-style images (About Me cards): show the full logo instead of cropping */ .game-card-image.contain img { object-fit: contain; padding: 24px; box-sizing: border-box; } .game-card-content { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; } .game-card-title { color: var(--white-clr); font-size: 24px; font-weight: bold; margin: 0; } .game-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .game-genre { color: var(--white-clr); font-size: 14px; font-weight: bold; opacity: 0.75; } .game-card-description { color: var(--white-clr); font-size: 18px; opacity: 0.8; margin: 0; line-height: 1.5; } .game-year-badge { display: inline-block; background-color: var(--orange-clr, #f39c12); color: var(--background-clr); padding: 5px 12px; border-radius: 20px; font-size: 14px; font-weight: bold; align-self: flex-start; } .game-card-expanded { display: none; padding: 20px; background-color: rgba(0, 0, 0, 0.2); flex: 1; } .game-card.expanded .game-card-expanded { display: flex; flex-direction: column; align-items: center; justify-content: center; } .game-card.expanded .game-card-content { display: none; } .game-card.expanded .game-card-image { height: 250px; } .game-card-full-description { color: var(--white-clr); font-size: 20px; line-height: 1.6; text-align: center; max-width: 80%; margin-bottom: 20px; } .play-button { display: inline-block; background-color: var(--green-clr); color: var(--background-clr); padding: 15px 35px; font-size: 24px; font-weight: bold; text-decoration: none; border-radius: 15px; border: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); } .game-card-content .play-button { align-self: flex-start; padding: 10px 24px; font-size: 18px; margin-top: auto; } .play-button:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); } /* Responsive design for the service sections */ @media (max-width: 1024px) { .service-selector { width: 220px; } .service-selector-item { font-size: 18px; } .service-detail { padding: 20px; gap: 20px; } .service-visual { height: clamp(220px, 40vh, 340px); } .service-title { font-size: 34px; } .service-description { font-size: 20px; } .go-to-app-button { font-size: 24px; padding: 15px 35px; } } @media (max-width: 900px) { .service-section { flex-direction: column; padding: 0 10px 20px; gap: 20px; } .service-selector { flex-direction: row; width: 100%; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 2px; } .service-selector-item { flex-shrink: 0; font-size: 18px; padding: 10px 14px; } .service-selector-icon { width: 36px; height: 36px; } .service-detail { flex-direction: column; align-items: stretch; } .service-visual { width: 100%; height: clamp(200px, 35vh, 320px); } .service-info { align-items: center; text-align: center; } } /* Below this width the card grids have a single column: expanding tiles take the full width instead of spanning two columns. */ @media (max-width: 740px) { .game-card.expanded { grid-column: span 1; } .game-card-full-description { max-width: 100%; } } /* Currently working on and However in the past sections */ .about-me-section { width: 100%; margin-bottom: 40px; } .about-me-section h2 { font-size: 28px; color: var(--white-clr); margin-bottom: 20px; border-bottom: 2px solid var(--green-clr); padding-bottom: 10px; } .about-me-section h2 .green-text { color: var(--green-clr); font-weight: bold; } /* ===== Images ===== */ .icon { vertical-align: middle; padding: 10px; } .icon.small { height: 36px; } .icon.medium { height: 70px; } .icon.large { height: 250px; } @media (max-width: 1200px) { .icon.large.toggle { height: 150px; } } .image { margin: 30px; } .image.large { width: 40%; } .image.small { width: 25%; } @media (max-width: 1000px) { .image.large { width: 80%; } .image.small { width: 50%; } } .image.stick { position: sticky; top: 20px }