nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: white; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .logo { display: flex; align-items: center; gap: 0.8rem; } .logo img { width: 40px; height: 40px; } .nav-button { background: #4285f4; color: white; padding: 0.8rem 1.5rem; border: none; border-radius: 24px; cursor: pointer; transition: all 0.3s ease; } .nav-button:hover { background: #357abd; } main { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; } .hero-section { margin-top: 3rem; } h1 { font-size: 2.5rem; color: #202124; margin-bottom: 1.5rem; line-height: 1.3; } .subtitle { font-size: 1.2rem; color: #5f6368; margin-bottom: 3rem; max-width: 600px; } .join-container { display: flex; gap: 1rem; max-width: 500px; } .code-box { margin: 0; display: flex; flex-direction: column; /* gap: 30px; */ position: relative; width: 250px; justify-content: center; } #code-input { padding: 10px; border: 1px solid rgba(0, 0, 0, 0.5); background: white; border-radius: 8px; outline: none; color: #000000; font-size: 1em; transition: 0.5s; } #code-span { position: absolute; left: 0; padding: 0 10px; pointer-events: none; font-size: 1em; color: rgba(0, 0, 0, 0.5); text-transform: uppercase; transition: all 0.5s; } #code-input:valid ~ #code-span, #code-input:focus ~ #code-span { color: #4285f4; transform: translateX(-15px) translateY(-18px) scale(0.7); /* font-size: 0.65em; */ padding: 0 10px; background: white; border-left: 3px solid #4285f4; border-right: 3px solid #4285f4; /* letter-spacing: .2em; */ } #code-input:valid, #code-input:focus { border: 3px solid #4285f4; } .join-button { background: linear-gradient(135deg, #4285f4, #34a853); color: white; padding: 1rem 2rem; border: none; border-radius: 8px; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; } .join-button:hover { opacity: 0.9; transform: translateY(-1px); } @media (max-width: 768px) { h1 { font-size: 2rem; } .join-container { flex-direction: column; } }