* { margin: 0; padding: 0; box-sizing: border-box; } /* Profile Card Container */ .profile-card { animation: buttonPop 1.0s ease-out backwards; width: 300px; max-width: 500px; background: rgba(42, 42, 42, 0.5); /* Átlátszó háttér, 0.8 opacity */ border-radius: 16px; padding: 20px; color: white; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3); /* Több rétegű árnyék */ position: relative; left: 300px; /* Balra tolás */ top: 3px; } /* Profile Header */ .profile-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; animation: slideDown 0.8s ease-out; } .profile-pic { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3); width: 64px; height: 64px; border-radius: 50%; object-fit: cover; position: relative; cursor: pointer; transition: transform 0.3s ease; } .profile-pic-wrapper { position: relative; display: inline-block; } .profile-pic-wrapper::before { content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; border-radius: 50%; border: 3px solid transparent; transition: all 0.3s ease; opacity: 0; transform: scale(0.8); } .profile-pic-wrapper:hover::before { border-color: white; opacity: 1; transform: scale(1); } .profile-pic:hover { transform: scale(1.05); } .profile-card.fade-out { opacity: 0; transform: scale(0.8); pointer-events: none; } .profile-info { animation: fadeIn 1s ease-out; } .username { font-size: 1.2rem; font-weight: bold; margin-bottom: 4px; } .icon { font-size: 0.9rem; color: #a0a0a0; display: flex; align-items: center; gap: 4px; max-width: 5000px; } .profile-info { animation: fadeIn 1s ease-out; display: flex; flex-direction: column; /* Stack items vertically */ } .birthdate { margin-top: 10px; font-size: 0.9rem; color: #a0a0a0; } .age { position: relative; cursor: pointer; display: inline-block; font-size: 0.9rem; color: #a0a0a0; transition: color 0.3s ease; } .age:hover { color: #ffffff; } .age::after { content: attr(data-birth-date); position: absolute; top: -30px; left: 50%; transform: translateX(-50%) translateY(10px); background-color: #080808; color: #ffffff; padding: 6px 10px; border-radius: 4px; font-size: 0.8rem; white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); } .age:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); } .age::before { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1px; background-color: #ffffff; transform: scaleX(0); transition: transform 0.3s ease; } .age:hover::before { transform: scaleX(1); } /* Social Links Grid */ .social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; animation: gridAppear 1s ease-out; } .social-button { transition: filter 1s ease, transform 1s ease; background: #333; border: none; border-radius: 8px; padding: 8px; color: white; cursor: pointer; transition: transform 0.2s, background-color 0.3s; animation: buttonPop 0.5s ease-out backwards; display: flex; justify-content: center; align-items: center; width: 100%; height: 0; padding-bottom: 50%; /* This creates a perfect square */ position: relative; } .social-button:hover { transform: translateY(-2px) scale(1.05); filter: brightness(0.8); /* Csökkenti a fényerőt */ } .social-button:nth-child(8):hover { transform: translateY(-2px) scale(1.05); filter: brightness(0.8); /* Kicsit kevésbé csökkentett fényerő */ } .social-button img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 24px; /* Fix szélesség minden ikonnak */ height: 24px; /* Fix magasság minden ikonnak */ object-fit: contain; } .social-button:nth-child(1) { animation-delay: 0.1s; background: linear-gradient(to right, #181717, #000000) !important; /* github */ } .social-button:nth-child(2) { animation-delay: 0.2s; background: linear-gradient(120deg, #5865F2, #5865F2) !important; /* discord */ } .social-button:nth-child(3) { animation-delay: 0.3s; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%)!important; /* instagram */ } .social-button:nth-child(4) { animation-delay: 0.4s; background: linear-gradient(to right, #00c6ff, #0072ff) !important; /* facebook */ } .social-button:nth-child(5) { animation-delay: 0.5s; background: #1db954 !important; /* spotify */ } .social-button:nth-child(6) { animation-delay: 0.6s; background: linear-gradient(var(--angle, 45deg), oklab(51.9% 0.1 -0.233), oklab(59.1% 0.112 -0.229)) !important; /* twitch */ } .social-button:nth-child(7) { animation-delay: 0.7s; background: linear-gradient(120deg, #000000, #ff0057, #25f4ee) !important; /* tiktok */ } .social-button:nth-child(8) { background: rgb(63,94,251); background: linear-gradient(90deg, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%); animation: gradient-animation 6s ease infinite; animation-delay: 0.8s; /* Ez csak a gradient animációra vonatkozik */ display: flex; justify-content: center; align-items: center; padding: 8px; width: 100%; height: 100%; position: relative; overflow: hidden; } /* Külön animáció a buttonPop-nak */ .social-button:nth-child(8) { animation: buttonPop 0.5s ease-out backwards; animation-delay: 0.8s; /* Ez csak a buttonPop animációra vonatkozik */ } /* Specific styles for the 8th button */ .social-button:nth-child(8) .wrapper { width: 40%; height: 75%; position: relative; display: flex; justify-content: center; align-items: center; } .social-button:nth-child(8) .lid { position: absolute; width: 100%; height: 40%; top: 0; left: 0; border-right: 9px solid transparent; border-bottom: 7px solid transparent; border-left: 9px solid transparent; transform-origin: top; transition: transform 0.1s linear; } .social-button:nth-child(8) .lid.one { border-top: 7px solid #658ced; transform: rotateX(0deg); z-index: 3; transition-delay: 0.25s; top: 5px; } .social-button:nth-child(8) .lid.two { border-top: 7px solid #3760C9; transform: rotateX(90deg); z-index: 1; transition-delay: 0.15s; top: 5px; } .social-button:nth-child(8) .envelope { position: absolute; width: 100%; height: 50%; top: 19%; left: 0; border-top: 7px solid transparent; border-right: 9px solid #78c8f9; border-bottom: 7px solid #C4DFF0; border-left: 9px solid #89c7ee; z-index: 3; } .social-button:nth-child(8) .letter { position: absolute; top: 25%; width: 75%; height: 42%; background-color: white; /* Set background color to white */ border-radius: 2px; z-index: 2; transition: 0.2s; display: flex; justify-content: center; align-items: center; transform-origin: top; box-shadow: none; /* Ensure no transparency from background */ } .social-button:nth-child(8) .letter p { text-align: center; font-size: 8px; color: #3B4049; margin: 0; } .social-button:nth-child(8):hover .letter { transform: translateY(-9px); transition-delay: 0.8s; } .social-button:nth-child(8):hover .lid.one { transform: rotateX(90deg); transition-delay: 0.3s; } .social-button:nth-child(8):hover .lid.two { transform: rotateX(180deg); transition-delay: 0.5s; } /* A gomb, amely tartalmazza a lakatot */ .social-button:nth-child(9) { animation-delay: 0.9s; /* Animáció késleltetése */ background: #000428; /* Háttérszín (sötétkék árnyalat) */ background: rgb(34,193,195); background: linear-gradient(90deg, rgba(34,193,195,1) 0%, rgba(253,187,45,1) 100%); overflow: hidden; /* Túlcsordulás elrejtése */ padding: 24px; /* Belső térköz a tartalom és a szél között */ display: flex; /* Flexbox engedélyezése a gyermekelemekhez */ justify-content: center; /* Gyermekelemek középre igazítása vízszintesen */ align-items: center; /* Gyermekelemek középre igazítása függőlegesen */ position: relative; /* Relatív pozíció a belső elemekhez */ } /* A lakat működéséhez használt checkbox, amely rejtve marad */ #lock { display: none; /* Nem jelenik meg a checkbox */ } /* A lakat külső kerete (kattintható terület) */ .lock-label { width: 25px; /* A lakat szélessége */ height: 50px; /* A lakat magassága */ display: flex; /* Flexbox engedélyezése a gyermekelemekhez */ align-items: center; /* Gyermekek középre igazítása függőlegesen */ justify-content: center; /* Gyermekek középre igazítása vízszintesen */ cursor: pointer; /* Mutató kéz kurzor megjelenítése */ transition: all 0.3s; /* Animáció az összes tulajdonságra */ } /* A lakat belső kerete, amely a két részt (shackle és lock-body) tartalmazza */ .lock-wrapper { width: fit-content; /* Csak a tartalom méretéhez igazodik */ height: fit-content; /* Csak a tartalom magasságához igazodik */ display: flex; /* Flexbox engedélyezése a gyermekekhez */ flex-direction: column; /* A gyermekek függőlegesen helyezkednek el */ align-items: center; /* Gyermekek középre igazítása vízszintesen */ justify-content: flex-start; /* A gyermekek a tetején kezdődnek */ position: relative; /* Relatív pozíció a belső elemekhez */ } /* A lakat felső része (shackle - a zár íve) */ .shackle { background-color: transparent; /* Háttérszín nincs */ height: 10px; /* A shackle magassága */ width: 14px; /* A shackle szélessége */ border-top-right-radius: 8px; /* Jobb felső sarok lekerekítése */ border-top-left-radius: 8px; /* Bal felső sarok lekerekítése */ border-top: 2px solid white; /* Felső szegély vastagsága és színe */ border-left: 2px solid white; /* Bal oldali szegély */ border-right: 2px solid white; /* Jobb oldali szegély */ position: relative; /* Relatív pozíció a lock-wrapper-en belül */ margin-bottom: -2px; /* Összeér a lock-body-val */ transition: all 0.3s; /* Lágy animáció a shackle változásaira */ } /* A lakat alsó része (lock-body - a zár teste) */ .lock-body { width: 18px; /* A lock-body szélessége */ height: 21px; /* A lock-body magassága */ position: relative; /* Relatív pozíció a lock-wrapper-en belül */ margin-top: 0; /* Nincs távolság a shackle alatt */ } /* Hover-interakció a gombon az animáláshoz */ .social-button:nth-child(9):hover .shackle { transform: rotateY(150deg) translateX(3px) rotate(-5deg); /* Forgatás és mozgatás */ transform-origin: right; /* Forgatási középpont a jobb oldalon */ } /* Bio Section */ .bio { background: #222; border-radius: 8px; padding: 16px; margin-top: 20px; font-size: 0.9rem; animation: slideUp 0.8s ease-out; } .code-block { font-family: monospace; color: #a0a0a0; margin-top: 8px; } /* Animations */ @keyframes cardAppear { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes profilePicAppear { from { opacity: 0; transform: scale(0.5) rotate(-180deg); } to { opacity: 1; transform: scale(1) rotate(0); } } @keyframes buttonPop { 0% { opacity: 0; transform: scale(0.5); } 70% { transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes gridAppear { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } } .hidden-link { text-decoration: none; color: inherit; cursor: pointer; position: relative; /* Fontos a pozicionálás az aláhúzáshoz */ transition: color 0.3s; } .hidden-link:hover { color: rgb(255, 255, 255); /* Vagy bármilyen szín, amit szeretnél */ } .hidden-link::before { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1px; background-color: rgb(255, 255, 255); /* Az aláhúzás színe */ transform: scaleX(0); transition: transform 0.3s ease; } .hidden-link:hover::before { transform: scaleX(1); } .bio .portfoilio { width: 100%; max-width: 100%; margin-top: 15px; display: flex; justify-content: center; align-items: center; } .bio .portfoilio img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .popup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); justify-content: center; align-items: center; z-index: 1000; } .popup-content { background: rgba(42, 42, 42, 0.8); /* Átlátszó háttér, 0.8 opacity */ padding: 20px; border-radius: 8px; color: white; width: 300px; text-align: center; } #passwordInput { margin: 10px 0; padding: 8px; width: 80%; border-radius: 4px; border: 1px solid #ccc; } #passwordSubmit { background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%); color: white; border: none; border-radius: 8px; padding: 10px 20px; font-size: 1rem; font-weight: bold; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } #passwordSubmit:hover { background: linear-gradient(90deg, #2575fc 0%, #6a11cb 100%); transform: translateY(-2px) scale(1.05); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } #passwordSubmit:active { transform: translateY(0) scale(0.98); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); } @keyframes popIn { 0% { transform: scale(0); opacity: 0; } 80% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } } .password-bubble { background: rgba(42, 42, 42, 0.8); /* Átlátszó háttér, 0.8 opacity */ display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #2a2a2a; border-radius: 10px; padding: 20px; box-shadow: 0 0 10px rgba(0,0,0,0.5); z-index: 1000; animation: popIn 0.5s ease-out; width: 300px; /* Adj meg egy fix szélességet */ transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); transform-origin: center center; animation: randomAppear 0.6s ease-out; } .password-bubble.show { background: rgba(42, 42, 42, 0.8); /* Átlátszó háttér, 0.8 opacity */ display: block; animation: bubbleAppear 0.5s forwards; } .password-bubble input { margin-bottom: 10px; padding: 5px; width: 100%; } .password-bubble button { padding: 5px 10px; background-color: #4CAF50; color: white; border: none; border-radius: 5px; cursor: pointer; } @keyframes bubbleAppear { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.7); } 70% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } } .hidden-buttons { display: flex; flex-direction: column; gap: 8px; /* Csökkentett térköz a gombok között */ margin-top: 15px; /* Csökkentett felső margó */ animation: fadeIn 0.5s ease-out; width: 100%; } .hidden-buttons button { background: #333; color: white; border: none; border-radius: 5px; padding: 8px; cursor: pointer; transition: transform 0.2s, filter 0.3s; font-size: 10px; font-weight: bold; text-align: left; width: 100%; margin-bottom: 6px; animation: fadeInUp 0.5s ease-out backwards; /* Add this line */ text-align: center; } .hidden-buttons button:nth-child(1) { animation-delay: 0.1s; background: linear-gradient(to right, #181717, #000000) !important; } .hidden-buttons button:nth-child(2) { animation-delay: 0.2s; background: linear-gradient(to right, #181717, #000000) !important; } .hidden-buttons button:nth-child(3) { animation-delay: 0.3s; background: linear-gradient(to right, #181717, #000000) !important; } .hidden-buttons button:nth-child(4) { animation-delay: 0.4s; background: linear-gradient(to right, #181717, #000000) !important; } .hidden-buttons button:nth-child(5) { animation-delay: 0.5s; background: linear-gradient(to right, #181717, #000000) !important; } .hidden-buttons button:nth-child(6) { animation-delay: 0.6s; background: linear-gradient(to right, #181717, #000000) !important; } .hidden-buttons button:hover { transform: translateY(-2px); filter: brightness(1.2); } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .copy-notification { position: fixed; right: -300px; top: 20px; background-color: #4CAF50; color: white; padding: 16px; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.2); transition: right 0.3s ease-in-out; } .copy-notification.show { right: 20px; } /* A háttér div stílusa */ .background { filter: blur(10px); -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .1), rgb(68, 67, 67)); mask-image: linear-gradient(to top, rgba(0, 0, 0, .1), rgb(44, 44, 44)); opacity: .7; position: fixed; /* A háttér fixálása, hogy mindig a képernyőn maradjon */ top: 0; left: 0; width: 100%; /* Kitölti a teljes szélességet */ height: 100vh; /* Kitölti a teljes képernyő magasságot */ background-size: cover; /* A háttérkép kitölti a div-et */ background-position: center; /* A háttér középre igazítása */ z-index: -1; /* A háttér alul maradjon a többi tartalom alatt */ } /* A konténer stílusa, hogy ne legyen takarásban */ .container { position: relative; z-index: 1; /* Biztosítja, hogy a tartalom a háttér előtt legyen */ } .birthday-tooltip { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); background-color: #2a2a2a !important; border: 1px solid #444; } #notification-container { background: rgba(42, 42, 42, 0.8); position: fixed; left: 50%; top: 120px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; align-items: center; transform: translateX(-50%); } .notification { text-align: center; position: fixed !important; top: -100px; background: rgba(42, 42, 42, 0.8); color: white; padding: 16px; border-radius: 5px; opacity: 0; width: 400px; word-wrap: break-word; transform: translateY(-20px); transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; } /* Visible class to fade in and slide up */ .notification.visible { opacity: 1; transform: translateY(0); } /* Animation for disappearing */ .notification.hide { opacity: 0; transform: translateY(20px); } @keyframes fadeInSlideUp { 0% { opacity: 0; transform: scale(0.5); } 70% { transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } } .portfolio { border-radius: 10px; overflow: hidden; margin: 20px auto; display: flex; justify-content: center; align-items: center; width: 100%; max-width: 300px; animation: fadeInSlideUp 1s ease-out; /* Alkalmazzuk az animációt */ } code { font-size: smaller; border-radius: 10px; overflow: hidden; margin: 20px auto; display: flex; justify-content: center; align-items: center; width: 100%; max-width: 300px; height: 200px; animation: fadeInSlideUp 1s ease-out; /* Ugyanez az animáció itt is */ } .github-info { transform: scale(0.9); /* 1.1-ről 1-re változtatjuk */ animation: buttonPop 1.0s ease-out backwards; background: rgba(42, 42, 42, 0.5); /* Átlátszó háttér, 0.8 opacity */ width: 300px; border-radius: 16px; padding: 20px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3); /* Több rétegű árnyék */ display: flex; max-width: 300px; color: white; position: relative; right: 650px; } .stats-container { display: flex; flex-direction: column; gap: 15px; } .github-title { font-size: 1.25rem; font-weight: bold; margin-bottom: 10px; text-align: center; } .stats-img { width: 100%; border-radius: 10px; margin-bottom: 10px; } @keyframes cardAppear { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } } .profile-header { transition: all 0.5s ease; } .profile-header .profile-content-expanded { opacity: 0; visibility: hidden; height: 0; overflow: hidden; transform: translateY(20px); } .profile-header .social-grid, .profile-header .portfoilio { opacity: 1; visibility: visible; height: auto; transition: all 0.5s ease; } .profile-header.content-visible .social-grid, .profile-header.content-visible .portfoilio { opacity: 0; visibility: hidden; height: 0; overflow: hidden; } .profile-content { opacity: 0; visibility: hidden; height: 0; overflow: hidden; transition: all 0.5s ease; } .profile-content.visible { opacity: 1; visibility: visible; height: auto; overflow: visible; transform: translateY(0); } .profile-pic { cursor: pointer; transition: transform 0.3s ease; user-drag: none; -webkit-user-drag: none; } .profile-pic:hover { transform: scale(1.05); } .device-info { text-align: center; margin-top: 10px; font-size: 0.9em; color: #666; } .invisible { display: none; /* VAGY */ opacity: 0; pointer-events: none; /* Megakadályozza az interakciókat */ transition: opacity 0.3s ease; /* Animáció, ha szükséges */ } .hamburger-menu { position: fixed; top: 20px; left: 20px; z-index: 999; display: flex; flex-direction: column; justify-content: space-between; width: 30px; height: 25px; cursor: pointer; } .hamburger-menu div { background-color: #fff; height: 5px; border-radius: 5px; transition: all 0.3s ease; } .hamburger-menu::before { content: ''; position: absolute; top: 50%; left: 50%; width: 200%; height: 200%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 80%); transform: translate(-50%, -50%) rotate(45deg); transition: all 0.3s ease; } /* Alap helyzet (menü bezárva) */ .hamburger-menu div { transition: all 0.3s ease; } /* Menü kinyitása - animáció */ .hamburger-menu.open div:nth-child(1) { transform: rotate(45deg) translate(8px, 6px); } .hamburger-menu.open div:nth-child(2) { opacity: 0; transform: rotate(-45deg) translate(8px, -5px); } .hamburger-menu.open div:nth-child(3) { transform: rotate(-45deg) translate(8px, -6px); } .hamburger-menu:hover::before { width: 250%; height: 250%; opacity: 0; transition: all 0.5s ease; } .menu-content { position: fixed; top: 10px; left: 80px; background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); color: white; border-radius: 10px; padding: 15px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3); display: none; flex-direction: column; align-items: flex-start; animation: menuPop 0.5s ease-out forwards; background: rgba(42, 42, 42, 0.5); z-index: 9999; } .menu-content div { margin: 10px 0; /* Elválasztás a div-ek között */ width: 100%; /* A div-ek teljes szélességben kitöltik a menüt */ text-align: left; /* Balra igazított szöveg */ } @keyframes menuPop { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } } /* Nyelv választó */ .language-selector { margin-bottom: 10px; } .language-selector select { padding: 5px; border-radius: 5px; border: none; background-color: #444; color: white; } /* Látogatók száma */ .visitors { font-size: 16px; color: #ffdd57; } /* Animáció */ @keyframes menuPop { 0% { opacity: 0; transform: translateY(-20px); } 100% { opacity: 1; transform: translateY(0); } } /* Az animált hamburger menü és a tartalom */ .hamburger-menu.open + .menu-content { display: flex; } /* Hover állapotok */ .hamburger-menu div:hover { background-color: #f4f4f4; } .gomb { z-index: 999; background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); border-radius: 50%; padding: 20px; color: white; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3); border: none; cursor: pointer; transition: all 0.3s ease; user-drag: none; -webkit-user-drag: none; float: right; transform: scale(1); position: relative; overflow: hidden; /* Fontos a fényhatáshoz */ } .gomb::before { content: ''; position: absolute; top: 50%; left: 50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 80%); transform: translate(-50%, -50%) rotate(45deg); transition: all 0.3s ease; } .gomb:hover::before { width: 250%; height: 250%; opacity: 0; transition: all 0.5s ease; } .gomb:hover { background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 6px 15px rgba(0, 0, 0, 0.4); transform: scale(1.1); } .gomb:active { animation: pulse 1s infinite; } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } .widget { position: absolute; top: -180px; right: 50px; width: 200px; height: 160px; background: rgba(42, 42, 42, 0.5); border-radius: 12px; opacity: 0; transform: translateY(20px); visibility: hidden; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; color: #e2e8f0; padding: 12px; backdrop-filter: blur(12px); } .widget.visible { opacity: 1; transform: translateY(0); visibility: visible; animation: slideIn 0.5s ease-out forwards; } @keyframes slideIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } } .weather-container { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; animation: fadeIn 0.5s ease-out forwards; } .weather-main { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; } .weather-icon { font-size: 2rem; margin-bottom: 0.25rem; animation: bounce 3s ease-in-out infinite; } .weather-temp { font-size: 1.75rem; font-weight: 600; margin-bottom: 0.25rem; opacity: 0; animation: fadeIn 0.5s ease-out 0.2s forwards; } .weather-desc { position: absolute; top: 20px; left: 120px; font-size: 16px; color: #94a3b8; opacity: 0; animation: fadeIn 0.5s ease-out 0.3s forwards; } .weather-details { display: flex; flex-wrap: wrap; gap: 5px; } .weather-detail-item { opacity: 0; display: flex; align-items: center; gap: 2px; min-width: 90px; font-size: 0.7rem; animation: fadeIn 0.5s ease-out forwards; } .weather-detail-item:nth-child(1) { animation-delay: 0.4s; } .weather-detail-item:nth-child(2) { animation-delay: 0.5s; } .weather-detail-item:nth-child(3) { animation-delay: 0.6s; } .error-message { color: #ef4444; text-align: center; animation: fadeIn 0.5s ease-out forwards; } .widget.hiding { animation: fadeOut 0.5s ease-out forwards; } @keyframes fadeOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(20px); visibility: hidden; } } /* Rating Modal */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(42, 42, 42, 0.5); z-index: 1001; opacity: 0; transition: opacity 0.3s; } .modal.show { opacity: 1; } .modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.7); background: rgb(42, 42, 42); padding: 30px; border-radius: 10px; width: 90%; max-width: 500px; opacity: 0; transition: all 0.3s; } .modal.show .modal-content { transform: translate(-50%, -50%) scale(1); opacity: 1; } /* Rating Stars */ .rating-stars { display: flex; justify-content: center; gap: 10px; margin: 20px 0; } .star { font-size: 30px; cursor: pointer; transition: 0.2s; color: #ddd; } .star.active { color: #ffd700; transform: scale(1.2); } /* Form Styles */ .rating-form textarea { width: 100%; padding: 15px 20px; margin: 10px 0; border: 2px solid #ccc; border-radius: 8px; resize: none; min-height: 120px; font-size: 16px; font-family: 'Nunito', sans-serif; background-color: #f9f9f9; transition: all 0.3s ease; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); } /* Focused state */ .rating-form textarea:focus { border-color: #007BFF; background-color: #fff; box-shadow: 0 0 10px rgba(0, 123, 255, 0.3); outline: none; } /* Typing animation */ .rating-form textarea::placeholder { color: #bbb; transition: color 0.3s ease; } .rating-form textarea:focus::placeholder { color: #007BFF; } /* Typing effect animation */ @keyframes typing { 0% { border-color: #ccc; } 100% { border-color: #007BFF; } } .rating-form textarea:focus { animation: typing 0.5s ease-out; } .submit-btn { background-color: #4CAF50; color: white; padding: 12px 24px; border: none; border-radius: 5px; cursor: pointer; transition: 0.3s; width: 100%; font-size: 16px; } .submit-btn:hover { background-color: #45a049; transform: translateY(-2px); } .menu-btn { text-align: center; display: block; padding: 12px 18px; margin: 10px 0; width: 100%; text-align: left; background: none; border: 2px solid #444; border-radius: 8px; color: #ddd; font-size: 16px; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; background-color: #333; } .menu-btn:hover { background-color: #444; color: #fff; transform: scale(1.05); /* Finom növelés a gomb méretén hover állapotban */ } .menu-btn:focus { outline: none; border-color: #007BFF; box-shadow: 0 0 10px rgba(0, 123, 255, 0.3); } .char-counter { font-size: 12px; color: #666; text-align: right; margin-top: 5px; } .char-counter.limit { color: #ff0000; } .validation-message { color: #ff0000; font-size: 14px; margin-top: 10px; display: none; animation: fadeIn 0.3s; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .cooldown-timer { font-size: 14px; color: #666; text-align: center; margin-top: 10px; }