:root { --main-color: #7d2ae8; --accent-color: #9f50ff; --background-dark: #121212; --background-light: #f9f9f9; --text-dark: #121212; --text-light: white; } body { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; background-color: var(--background-dark); color: var(--text-light); transition: background-color 0.5s, color 0.5s; overflow-x: hidden; } .light-mode { background-color: var(--background-light); color: var(--text-dark); } .toggle-container { position: fixed; top: 20px; right: 20px; z-index: 9999; } #theme-toggle { background: none; border: 2px solid currentColor; border-radius: 50%; width: 40px; height: 40px; font-size: 24px; cursor: pointer; transition: transform 0.3s ease; } #theme-toggle:hover { transform: rotate(180deg); } .nav-bar { background-color: rgba(0, 0, 0, 0.8); padding: 15px 20px; border-radius: 0; margin: 0; width: 100%; display: flex; justify-content: center; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); position: fixed; top: 0; left: 0; transform: translateX(0%); z-index: 1000; transition: box-shadow 0.3s ease; } .nav-bar ul { list-style: none; display: flex; padding: 0; margin: 0; gap: 10px; } .nav-bar li { margin: 0; } .nav-bar a { display: block; padding: 10px 12px; text-decoration: none; color: var(--text-light); font-weight: bold; transition: color 0.3s ease; border-radius: 100px; white-space: nowrap; font-size: 0.9em; } .nav-bar a:hover { color: var(--main-color); background-color: rgba(255, 255, 255, 0.1); transform: translateY(-12px) scale(1.05); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6); } .light-mode .nav-bar { background-color: #f8f8f8; color: var(--text-dark); border-radius: 100px; margin: 0 auto 20px auto; max-width: 900px; width: 90%; display: flex; justify-content: center; position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 1000; transition: box-shadow 0.3s ease; } .light-mode .nav-bar a { color: black; } .light-mode .nav-bar a:hover { color: var(--main-color); background-color: rgba(0, 0, 0, 0.05); } .faq-section { margin: 4rem 0; } .faq-container { max-width: 800px; margin: 0 auto; } .faq-item { margin-bottom: 1.5rem; border: 1px solid var(--main-color); border-radius: 12px; overflow: hidden; } .faq-question { padding: 1rem; background: var(--background-dark); color: var(--text-light); font-weight: bold; cursor: pointer; transition: background 0.3s; } .light-mode .faq-question { background: var(--background-light); color: var(--text-dark); } .faq-question:hover { background: var(--main-color); color: var(--background-dark); } .faq-answer { max-height: 0; overflow: hidden; padding: 0 1rem; transition: max-height 0.5s ease; background: var(--background-dark); color: var(--text-light); } .light-mode .faq-answer { background: var(--background-light); color: var(--text-dark); } .faq-item.open .faq-answer { max-height: 300px; padding: 1rem; } .light-mode .nav-bar a { color: var(--text-dark); } .light-mode .nav-bar a:hover { transform: translateY(-5px); color: var(--accent-color); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); } header { text-align: center; padding: 5rem 1rem; } h1 { font-size: 4rem; margin: 0; } h2 { font-size: 3rem; margin-top: 2rem; } #about-me { text-align: center; padding: 5rem 1rem; } .about-container { max-width: 900px; margin: 0 auto; position: relative; } .about-title { font-size: 4rem; margin-bottom: 0.5rem; background: linear-gradient(90deg, var(--main-color), var(--accent-color)); -webkit-background-clip: text; color: transparent; animation: slideIn 1.5s ease-out; } .about-subtitle { font-size: 3rem; margin-top: 0; animation: fadeIn 1.5s ease-in forwards; } .about-line { width: 80%; height: 4px; background: linear-gradient(90deg, var(--main-color), var(--accent-color)); margin: 2rem auto; animation: expandLine 1.5s ease-out; } .about-text { font-size: 1.4rem; line-height: 2; opacity: 0; animation: fadeInText 2s ease-in forwards; } section { padding: 3rem 1rem; max-width: 1200px; margin: 0 auto; } .project-card { background: linear-gradient(145deg, #2b2b2b, #1c1c1c); color: white; padding: 2rem; border-radius: 20px; margin: 2rem 0 1rem 0; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; } .project-card h2 { font-size: 1.5rem; margin-top: 1rem; } .project-card:hover { transform: translateY(-10px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); } .light-mode .project-card { background: linear-gradient(145deg, #e0e0e0, #c9c9c9); color: black; } .extensions-container { background: linear-gradient(145deg, #2b2b2b, #1c1c1c); color: white; border-radius: 20px; overflow: hidden; margin: 1rem auto; margin-bottom: 2rem; max-width: 1200px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; } .extensions-container:hover { transform: translateY(-10px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); } .light-mode .extensions-container { background: linear-gradient(145deg, #e0e0e0, #c9c9c9); color: black; } .extensions-button { background: none; color: white; border: none; padding: 2rem; width: 100%; text-align: center; cursor: pointer; font-weight: bold; border-radius: 20px; transition: background-color 0.3s ease; } .extensions-button:hover { background-color: rgba(0, 0, 0, 0.2); } .light-mode .extensions-button { color: black; } .light-mode .extensions-button:hover { background-color: rgba(0, 0, 0, 0.1); } .extensions-list { padding: 1rem; display: none; background-color: #3a3a3a; text-align: left; } .light-mode .extensions-list { background-color: #e6e6e6; } .extension-item { background-color: #444; color: white; border-radius: 10px; padding: 1rem; margin-bottom: 0.5rem; text-align: left; border: 1px solid #555; } .light-mode .extension-item { background-color: #d9d9d9; color: black; border: 1px solid #ccc; } .extension-item h3 { margin-top: 0; margin-bottom: 0.5rem; font-size: 1.2rem; } .extension-item p { margin-bottom: 0; font-size: 0.9rem; color: #ddd; } .light-mode .extension-item p { color: #555; } .skill { display: inline-block; background: var(--main-color); color: white; padding: 0.75rem 1.5rem; border-radius: 30px; margin: 0.5rem; font-weight: bold; transition: transform 0.3s ease, box-shadow 0.3s ease; } .skill:hover { transform: scale(1.2) rotate(10deg); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); } .light-mode .skill:hover { background: var(--accent-color); } .process-step { background: #1c1c1c; padding: 2rem; border-radius: 20px; margin: 1rem 0; } .light-mode .process-step { background: #dcdcdc; color: black; } .offer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; } .offer-card { background: linear-gradient(145deg, #2b2b2b, #1c1c1c); color: white; padding: 2rem; border-radius: 20px; width: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); } .light-mode .offer-card { background: linear-gradient(145deg, #e0e0e0, #c9c9c9); color: black; } .offer-card:hover { transform: translateY(-10px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5); } #newsletter { text-align: center; padding: 30px 20px; background-color: #222; color: #f0f0f0; border-radius: 8px; margin-top: 100px; } #newsletter h2 { color: #eee; border-bottom: none; margin-bottom: 15px; } #newsletter p { margin-bottom: 20px; line-height: 1.6; } #newsletter .button { display: inline-block; padding: 10px 15px; margin-top: 10px; text-decoration: none; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-radius: 5px; transition: background-color 0.3s ease; border: none; cursor: pointer; } #newsletter .button:hover { background-color: #f0f0f0; color: black; } .light-mode #newsletter .button { color: white; background-color: var(--accent-color); } .light-mode #newsletter .button:hover { background-color: var(--main-color); } #newsletter a { color: var(--main-color); text-decoration: none; font-weight: bold; transition: color 0.3s ease-in-out; } #newsletter a:hover { text-decoration: underline; color: var(--accent-color); } .light-mode #newsletter { background-color: #f9f9f9; color: #333; } .light-mode #newsletter h2 { color: #121212; } .light-mode #newsletter a { color: var(--accent-color); } .light-mode #newsletter a:hover { color: var(--main-color); } #newsletter .review-button { display: inline-block; padding: 10px 15px; margin-top: 10px; text-decoration: none; color: white; background-color: #121212; border-radius: 5px; transition: background-color 0.3s ease; border: none; cursor: pointer; font-weight: bold; } #newsletter .review-button:hover { background-color: #333; } .light-mode #newsletter .review-button { background-color: var(--accent-color); color: white; } .light-mode #newsletter .review-button:hover { background-color: var(--main-color); } #contact { text-align: center; padding: 4rem 1rem; } .contact-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-top: 2rem; } .contact-card { background: linear-gradient(145deg, #2b2b2b, #1c1c1c); color: white; padding: 2rem; border-radius: 20px; width: 300px; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); } .light-mode .contact-card { background: linear-gradient(145deg, #e0e0e0, #c9c9c9); color: black; } .contact-card:hover { transform: translateY(-10px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5); } .contact-link { color: var(--main-color); text-decoration: none; font-weight: bold; transition: color 0.3s ease; } .contact-link:hover { color: var(--accent-color); text-decoration: underline; } .fade-in { opacity: 0; animation: fadeIn 1.5s ease-in forwards; } .fade-in-once { opacity: 0; animation: fadeInOnce 1.5s ease-in forwards; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInOnce { to { opacity: 1; transform: translateY(0); } } @keyframes slideIn { from { transform: translateX(-50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } } @keyframes expandLine { from { width: 0; } to { width: 80%; } } @keyframes fadeInText { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .hidden { display: none; } button:focus { outline: 2px solid var(--main-color); outline-offset: 4px; } #breakout-container { position: relative; margin-top: 1rem; } #breakout-container button, #projects #breakout-card button { background-color: var(--main-color); color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 5px; cursor: pointer; font-size: 1rem; transition: background-color 0.3s ease, transform 0.3s ease; margin: 0.5rem; } #breakout-container button:hover, #projects #breakout-card button:hover { background-color: var(--accent-color); transform: scale(1.05); } #breakout-container button:focus, #projects #breakout-card button:focus { outline: 2px solid var(--accent-color); outline-offset: 2px; } #restartButton { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); } #pauseButton { position: absolute; top: 10px; left: 10px; } #gameOver { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2rem; color: white; background-color: rgba(0, 0, 0, 0.7); padding: 1rem 2rem; border-radius: 10px; } .light-mode #gameOver { color: var(--text-dark); background-color: rgba(255, 255, 255, 0.8); } #projects #breakout-card button { margin-top: 1rem; } #reviews { text-align: center; padding: 30px 20px; background-color: #121212; color: white; transition: background-color 0.3s ease; } .reviews-container { max-width: 600px; margin: 0 auto; padding: 15px; border-radius: 10px; border: 1px solid white; transition: box-shadow 0.3s ease; box-sizing: border-box; } .review { padding: 15px; margin: 15px 0; border-radius: 8px; border: 1px solid white; color: white; transition: transform 0.3s ease, box-shadow 0.3s ease; width: 100%; font-size: 0.9em; box-sizing: border-box; } .review:nth-child(odd) { background-color: #111; } .review:nth-child(even) { background-color: #111; } .review:hover { transform: translateY(-10px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6); } .stars { color: gold; font-size: 18px; transition: color 0.3s ease; } .review:hover .stars { color: #ffcc00; } .contact-button { display: inline-block; padding: 10px 15px; margin-top: 10px; text-decoration: none; color: black; background-color: white; border-radius: 5px; transition: 0.3s; } .contact-button:hover { background-color: gray; transform: scale(1.1); } .light-mode #reviews { background-color: var(--background-light); color: var(--text-dark); } .light-mode .reviews-container { border-color: var(--text-dark); } .light-mode .review { color: var(--text-dark); border-color: var(--text-dark); } .light-mode .review:nth-child(odd) { background-color: #f2f2f2; } .light-mode .review:nth-child(even) { background-color: #f2f2f2; } .light-mode .contact-button { color: white; background-color: var(--accent-color); } .light-mode .contact-button:hover { background-color: var(--main-color); }