body {font-family: 'Poppins', sans-serif; margin: 0; padding: 0; box-sizing: border-box; line-height: 1.6; color: #333; background-color: #f8faff; scroll-behavior: smooth;} .container { max-width: 1100px; margin: 0 auto; padding: 20px; } .hero { background: linear-gradient(rgba(0, 75, 170, 0.7), rgba(0, 75, 170, 0.7)), url('_url_') no-repeat center center/cover; color: white; text-align: center; padding: 120px 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 60vh; position: relative; overflow: hidden; } .hero::before { content: ''; position: absolute; bottom: -50px; left: 0; width: 100%; height: 100px; background: url('data:image/svg+xml;utf8,') no-repeat center bottom; background-size: cover; z-index: 1; } .hero-content { z-index: 2; } .hero-content h1 { font-size: 3.8em; margin-bottom: 15px; letter-spacing: 1px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); } .hero-content p { font-size: 1.4em; margin-bottom: 40px; max-width: 600px; opacity: 0.9; } .button { display: inline-block; background-color: #ff6f61; color: white; padding: 15px 35px; text-decoration: none; border-radius: 50px; transition: all 0.3s ease; font-weight: 600; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } .button:hover { background-color: #e65c50; transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } .section { padding: 80px 0; text-align: center; position: relative; } .section:nth-of-type(odd) { background-color: #ffffff; } .section:nth-of-type(even) { background-color: #eef2f7; } .section h2 { font-size: 3em; margin-bottom: 40px; color: #004baa; position: relative; display: inline-block; } .section h2::after { content: ''; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); width: 60px; height: 4px; background-color: #ff6f61; border-radius: 2px; } .about-section p { font-size: 1.1em; max-width: 800px; margin: 0 auto 15px auto; color: #555; line-height: 1.8; } .skills-section p { font-size: 1.1em; max-width: 800px; margin: 0 auto 15px auto; color: #555; line-height: 1.8; } .contact-section { background-color: #ffffff; } .contact-section p { font-size: 1.1em; margin-bottom: 30px; color: #555; } .contact-form { background-color: #fff; padding: 40px; border-radius: 20px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); max-width: 600px; margin: 30px auto; text-align: left; border: 1px solid #e0e0e0; } .form-group { margin-bottom: 25px; } .form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #444; font-size: 1.05em; } .form-group input[type="text"], .form-group input[type="email"], .form-group textarea { width: calc(100% - 24px); padding: 12px; border: 1px solid #cdd4e0; border-radius: 15px; font-size: 1em; outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease; } .form-group input[type="text"]:focus, .form-group input[type="email"]:focus, .form-group textarea:focus { border-color: #007bff; box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25) } .form-group textarea { resize: vertical; min-height: 120px; } .contact-form button { width: 100%; padding: 15px; background-color: #007bff; color: white; border: none; border-radius: 8px; font-size: 1.2em; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2); } .contact-form button:hover { background-color: #0056b3; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3); } .form-status { margin-top: 20px; font-weight: bold; font-size: 1.1em; } .form-status.success { color: #28a745; background-color: #d4edda; border: 1px solid #c3e6cb; padding: 10px; border-radius: 5px; } .form-status.error { color: #dc3545; background-color: #f8d7da; border: 1px solid #f5c6cb; padding: 10px; border-radius: 5px; } footer { background-color: #282932; color: #FFFFFF; text-align: center; padding: 5px; margin-top: 0px auto; font-size: 0.95em; } @media (max-width: 768px) { .hero { padding: 80px 20px; min-height: 50vh; } .hero-content h1 { font-size: 2.8em; } .hero-content p { font-size: 1.1em; } .section { padding: 50px 0; } .section h2 { font-size: 2.2em; } .contact-form { padding: 25px; } } @media (max-width: 480px) { .hero-content h1 { font-size: 2em; } .hero-content p { font-size: 1em; } .button { padding: 10px 25px; font-size: 0.9em; } .section h2 { font-size: 1.8em; } .form-group input, .form-group textarea, .contact-form button { font-size: 0.9em; } } .social-links { margin-top: 20px; margin-bottom: 10px; display: flex; justify-content: center; align-items: center; gap: 20px; } .social-links a { color: var(--white-text); text-decoration: none; font-size: 1.2em; margin: 0 10px; /* có thể bỏ */ transition: color 0.3s ease; display: inline-flex; align-items: center; } .social-links a i { margin-right: 8px; font-size: 1.5em; } .social-links a:hover { color: var(--primary-color); } #background{ position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; object-fit: cover; z-index: -1; } .main-action-buttons-container { background-color: #ffffff; text-align: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); border-radius: 10px; margin-bottom: 40px; position: relative; z-index: 2; } .action-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; } .download-button { background-color: #fff; } .external-link-button { background-color: #004baa; color: white; box-shadow: 0 4px 8px rgba(0, 75, 170, 0.2); } .external-link-button:hover { background-color: #003681; transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0, 75, 170, 0.3); } @media (max-width: 768px) { .action-buttons { gap: 15px; } } @media (max-width: 480px) { .main-action-buttons-container { padding: 20px 0; } .action-buttons { flex-direction: column; align-items: center; } .action-buttons .button { width: 90%; margin-bottom: 10px; } } /* Thêm vào Contact02.css của bạn nếu nó chưa có */ .form-group select { width: calc(100% - 24px); /* Giống với input */ padding: 12px; border: 1px solid #cdd4e0; border-radius: 15px; /* Bo tròn góc */ font-size: 1em; outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease; background-color: white; /* Đảm bảo nền trắng */ appearance: none; /* Bỏ đi kiểu dáng mặc định của trình duyệt cho select */ -webkit-appearance: none; -moz-appearance: none; background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M287%2C197.3L159.2%2C69.5c-3.2-3.2-8.3-3.2-11.6%2C0L5.4%2C197.3c-3.2%2C3.2-3.2%2C8.3%2C0%2C11.6l10.3%2C10.3c3.2%2C3.2%2C8.3%2C3.2%2C11.6%2C0l120.4-120.4l120.4%2C120.4c3.2%2C3.2%2C8.3%2C3.2%2C11.6%2C0l10.3-10.3C290.2%2C205.6%2C290.2%2C200.5%2C287%2C197.3z%22%2F%3E%3C%2Fsvg%3E'); /* Icon mũi tên xuống */ background-repeat: no-repeat; background-position: right 10px center; background-size: 12px; } .form-group select:focus { border-color: #007bff; /* Viền xanh khi focus */ box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); /* Hiệu ứng bóng */ }