* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { display: flex; align-items: center; justify-content: center; background: linear-gradient(45deg, #ffecd2, #fcb69f, whitesmoke); overflow-x: hidden; } .container { display: none; color: #333; padding: 20px; width: 100%; text-align: center; } .text-section { height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; } h1 { font-size: 2.5em; font-weight: bold; color: #333; margin-bottom: 10px; } .subheading { font-size: 1.2em; color: #666; text-decoration: none; margin-bottom: 20px; cursor: pointer; transition: color 0.3s ease; } .subheading:hover { color: blue; text-decoration: underline; } .scroll-btn { padding: 10px 20px; background-color: green; color: #fff; font-size: 1.1em; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } .scroll-btn:hover { box-shadow: 10px 10px 20px 10px whitesmoke; } .image-section { display: flex; flex-direction: column; align-items: center; margin-top: 20px; opacity: 0; transform: translateY(20px); animation: fadeIn 0.5s forwards ease-in-out; } .gallery { flex-direction: row; display: flex; justify-content: space-around; width: 100%; margin: 20px 0; } .photo-box { width: 30%; padding: 10px; border: 2px solid #ddd; border-radius: 8px; overflow: hidden; background-color: #fff; box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; } .photo { width: 100%; height: auto; cursor: pointer; } .photo-box:hover { transform: scale(1.05); } .download-btn { padding: 12px 24px; background-color: green; color: #fff; font-size: 1.1em; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } .download-btn:hover { transition: background-color 0.3s ease; box-shadow: 10px 10px 20px 10px whitesmoke; } .modal { display: flex; justify-content: center; align-items: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, blue, red, yellow); background-size: 200% 200%; animation: gradientMove 6s ease-in-out infinite; } .modal-content { background-color: #fff; padding: 20px; border-radius: 10px; text-align: center; width: 90%; max-width: 400px; } .modal-content h2 { font-size: 1.5em; color: #333; margin-bottom: 15px; } .modal-content p { font-size: 1em; color: #666; margin-bottom: 15px; } .modal-content input { width: 100%; padding: 10px; font-size: 1em; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; text-align: center; outline: none; } .modal-content input:focus { border-color: #ff8c00; } .modal-content button { padding: 10px 20px; background-color: green; color: #fff; font-size: 1em; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } .modal-content button:hover { transition: box-shadow 0.3s ease; box-shadow: 0px 0px 30px 0px red; } .fullscreen-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); justify-content: center; align-items: center; cursor: zoom-out; } .fullscreen-modal img { max-width: 90%; max-height: 90%; border-radius: 8px; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @media (max-width: 768px) { .gallery { flex-direction: column; } .photo-box { width: 80%; margin: 10px auto; } }