@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap'); * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Roboto', sans-serif; } body { margin: 0; padding-top: 80px; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .header { position: fixed; top: 0; left: 50%; transform: translateX(-50%); background-color: #fff; z-index: 10; padding: 20px 40px; border-bottom: 1px solid #e0e0e0; max-width: 1160px; width: 100%; } .header-container { margin: 0 auto; display: flex; align-items: center; justify-content: space-between; } .logo-and-nav { display: flex; align-items: center; gap: 40px; } .logo { display: flex; align-items: center; gap: 3px; cursor: pointer; } .logo-icon { width: 32px; height: 32px; } .logo-text { font-size: 20px; font-weight: 700; color: #6c5fbc; } .nav a { margin: 0 10px; text-decoration: none; color: #333; font-weight: 500; transition: all 0.3s ease; } .nav a:hover{ color: #6c5fbc; } .auth a { margin-left: 20px; text-decoration: none; font-weight: 600; } .login { color: #6c5fbc; } .signup { background-color: #6c5fbc; color: white; padding: 12px 24px; border-radius: 12px; font-weight: bold; text-align: center; font-size: 16px; border: 2px solid transparent; transition: all 0.3s ease; } .signup:hover { background-color: transparent; color: #6c5fbc; border-color: #6c5fbc; } .burger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1100; } .burger span { width: 24px; height: 3px; background-color: #6c5fbc; border-radius: 2px; transition: all 0.3s ease; } .burger.active span:nth-child(1) { transform: rotate(45deg) translate(6.3px, 6.3px); } .burger.active span:nth-child(2) { opacity: 0; } .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(6.3px, -6.3px); } .mobile-menu { position: fixed; top: 0; left: -100%; width: 60%; height: 100vh; background-color: #fff; box-shadow: 2px 0 10px rgba(0,0,0,0.1); transition: left 0.4s ease; z-index: 1050; padding: 40px 20px; display: flex; flex-direction: column; justify-content: center; opacity: 0; } .mobile-menu.active { left: 0; opacity: 1; } .mobile-nav { display: flex; flex-direction: column; gap: 20px; } .mobile-nav a { color: #333; text-decoration: none; font-size: 25px; font-weight: 500; transition: color 0.3s; } .mobile-nav a:hover { color: #6c5fbc; } .mobile-nav .signup { background-color: #6c5fbc; color: white; padding: 12px 24px; border-radius: 12px; font-weight: bold; text-align: center; font-size: 16px; border: 2px solid transparent; transition: all 0.3s ease; } .mobile-nav .signup:hover { background-color: transparent; color: #6c5fbc; border-color: #6c5fbc; } @media (max-width: 768px) { .nav, .auth { display: none; } .burger { display: flex; } .container { max-width: 1200px; margin: 0 auto; padding: 0; } } .promo-banner { display: flex; justify-content: space-between; align-items: center; background: #6c5fbc url('Group\ 34844.png') no-repeat center; background-size: cover; padding: 40px 50px; border-radius: 16px; color: white; position: relative; overflow: hidden; max-width: 1000px; margin: 40px auto; z-index: 1; } .promo-content h2 { font-size: 50px; font-weight: 900; margin-bottom: 20px; z-index: 10; } .subscribe-form { display: flex; gap: 10px; background: white; border-radius: 30px; padding: 6px 10px; align-items: center; z-index: 101; } .subscribe-form input { border: none; padding: 10px 16px; border-radius: 30px; outline: none; font-size: 14px; flex: 1; min-width: 220px; z-index: 10; } .subscribe-form button { background-color: #6c5fbc; color: white; padding: 10px 20px; border-radius: 25px; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all 0.3s ease; z-index: 10; } .subscribe-form button:hover { background-color: transparent; color: #6c5fbc; border-color: #6c5fbc; z-index: 10; } @media (max-width: 600px) { .promo-banner { flex-direction: column; padding: 30px 20px; text-align: center; } .promo-content h2 { font-size: 36px; } .subscribe-form { flex-direction: column; gap: 10px; width: 100%; } .subscribe-form input, .subscribe-form button { width: 100%; min-width: unset; } } .latest-articles { font-family: sans-serif; padding: 2rem; } .latest-articles h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; } .latest-articles h2 span { color: #6c5fbc; } .articles-viewport { overflow: hidden; width: 100%; max-width: 1200px; margin: 0 auto; } .articles-pages { display: flex; transition: transform 0.5s ease; width: 200%; } .articles-page { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, auto); gap: 1rem; padding: 1rem; width: 100%; box-sizing: border-box; } .article-card { background: #fff; border-radius: 1rem; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07); padding: 1rem; cursor: pointer; } .article-card img { width: 100%; height: 150px; object-fit: cover; border-radius: 1rem; } .article-card h3 { font-size: 1rem; margin: 0.8rem 0; } .article-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: #666; } .author { display: flex; align-items: center; } .author img { width: 24px; height: 24px; border-radius: 50%; margin-right: 0.5rem; } .nav-buttons { display: flex; justify-content: center; margin-top: 1rem; } .latest-articles .nav-buttons button { background: #ffffff; border: none; margin: 0 0.5rem; padding: 0.5rem 1rem; font-size: 1.2rem; cursor: pointer; border-radius: 0.5rem; transition: background 0.3s; } .latest-articles .nav-buttons button:hover { background: #ddd; } @media (max-width: 570px) { .articles-pages { width: 200%; } .articles-page { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; gap: 1rem; } .article-card img { height: auto; } } .faq-section { max-width: 800px; margin: 0 auto; padding: 2rem; } .faq-section h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; } .faq-section h2 span { color: #6c5fbc; } .faq-item { border-bottom: 1px solid #ddd; padding: 1rem 0; } .faq-question { display: flex; justify-content: space-between; font-weight: bold; cursor: pointer; } .faq-toggle { background: #6c5fbc; color: #fff; border: none; border-radius: 50%; width: 36px; height: 36px; cursor: pointer; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; transition: background-color 0.3s ease; } .faq-item.open .faq-toggle { transform: rotate(45deg); } .faq-answer { max-height: 0; opacity: 0; transition: max-height 0.4s ease, opacity 0.4s ease; margin-top: 0.5rem; } .faq-item.open .faq-answer { max-height: 200px; opacity: 1; } .footer { background-color: #ffffff; padding: 20px 40px; font-size: 14px; color: #555; } .footer-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; } .logo { display: flex; align-items: center; gap: 8px; } .logo img { width: 30px; height: 30px; } .logo span { font-size: 18px; color: #6c5fbc; font-weight: bold; } .footer-nav a { margin-left: 20px; color: #333; text-decoration: none; font-weight: 600; } .footer-nav a:hover { text-decoration: underline; } hr { margin: 20px 0; border: 0; height: 1px; } .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; } .social-icons a { margin-left: 15px; } .social-icons img { width: 16px; height: 16px; opacity: 0.7; transition: opacity 0.2s ease; } .social-icons img:hover { opacity: 1; } .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 999; } .modal { background: #fff; width: 90%; max-width: 960px; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); position: relative; display: flex; flex-direction: column; } .hidden { display: none; } .close-btn { position: absolute; top: 20px; right: 25px; background: none; border: none; font-size: 28px; cursor: pointer; color: #999; transition: 0.3s ease; } .close-btn:hover { color: #333; } .modal-body { display: flex; flex-direction: row; } .modal-left { flex: 1; padding: 50px 40px; } .modal-left h2 { font-size: 28px; font-weight: 700; margin-bottom: 30px; } .brand { color: #6c5fbc; } .socials { display: flex; gap: 16px; margin-bottom: 20px; } .social-btn { background: #f0f0f0; padding: 12px; border-radius: 10px; flex: 1; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; transition: background 0.2s; } .social-btn:hover { background: #e0e0e0; } .modal-overlay input { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid #ddd; font-size: 15px; transition: 0.2s; margin: 5px 0; } form input:focus { border-color: #6c5fbc; outline: none; } .primary-btn { width: 100%; padding: 14px; background: #6c5fbc; color: white; border: none; border-radius: 12px; font-weight: bold; font-size: 16px; cursor: pointer; transition: 0.3s; border: 2px solid transparent; } .primary-btn:hover { background-color: transparent; color: #6c5fbc; border-color: #6c5fbc; } .alt-auth { margin-top: 20px; text-align: center; font-size: 14px; } .alt-auth a { color: #6c5fbc; text-decoration: none; } .modal-right { flex: 1; background: #6c5fbc; color: white; padding: 50px 40px; text-align: center; display: flex; flex-direction: column; justify-content: center; } .food-img { width: 80%; max-width: 280px; margin: 0 auto 20px; } .food-info h3 { font-size: 22px; margin-bottom: 10px; } .food-info p { font-size: 14px; opacity: 0.9; } @media (max-width: 768px) { .modal-body { flex-direction: column; } .modal-left, .modal-right { width: 100%; padding: 30px; } } .divider { margin: 30px 0; border: none; border-top: 1px solid #ddd; }