@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap"); * { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; font-family: "Poppins", serif; } body { background-color: #222831; } header, .hero, .aboutMe, .worksContainer, .contactContainer { max-width: 100vw; overflow: hidden; margin: auto; padding: 0 1rem; } .navigation ul { display: flex; list-style-type: none; gap: 2rem; flex-wrap: wrap; } .navigation a { text-decoration: none; color: #eeeeee; } .navigation a:hover { color: #00adb5; } hr { opacity: 10%; } .hero { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; } .name { font-size: 3rem; color: #eeeeee; } .title { font-size: 4rem; color: #00adb5; } .heroBtns, .contact, .socialMedia { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; } .hireMe, .cv { padding: 0.5rem 1rem; font-size: 1rem; white-space: nowrap; } .works ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; } .works li { padding: 1rem 2rem; text-align: center; max-width: 100%; } .works li img { max-width: 100%; height: auto; } @media (max-width: 1023px) { .hero { flex-direction: column; text-align: center; } .aboutMe { flex-direction: column-reverse; text-align: center; gap: 2rem; } .worksContainer, .contactContainer { padding: 2rem 0; text-align: center; } }