body { font-family: Arial, sans-serif; margin: 0; padding: 0; box-sizing: border-box; background-color: #DDFFE7; color: #131212; } header { background: #167D7F; color: white; padding: 1rem 0; display: flex; } header .logo { height: 8rem; width: 8rem; object-position: left top; border-radius: 20%; } header h1 { font-size: 2.5rem; display: flex; align-items: center; margin: 2rem; } a { list-style: none; text-decoration: underline overline #167D7F; text-decoration-style: double; color: #161515; font-size: 20px; margin: 0 1rem; cursor: pointer; transition: .2s; } .container { max-width: 1200px; margin: auto; padding: 1rem; } .profile { display: grid; align-items: center; text-align: center; padding: 10rem; } .profile h2 { border-bottom: 2px solid #98D7C2; display: inline-block; padding-bottom: 0.5rem; margin-bottom: 1rem; } .profile div { display: grid; background: #98D7C2; padding: 1rem; border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } @media (max-width: 768px) { header { flex-direction: column; align-items: center; height: auto; } }