header h1, header p { margin: 0; } body { margin: 0; font-size: 16px; font-family: Verdana, sans-serif; color: #333; } header { background: orange; color: #fff; text-align: center; padding-top: 64px; } header img { width: 280px; vertical-align: bottom; } .btn { text-decoration: none; background: #fff; color: orange; width: 140px; line-height: 44px; display: block; margin: 30px auto 40px; border-radius: 4px; font-size: 14px; font-weight: bold; } .btn:hover { opacity: 0.8; } .features img { width: 100% } .features > h1 { text-align: center; padding: 64px 0; font-weight: normal; } .container { margin: 0 32px; } .features p { line-height: 1.8; } .features section { padding-bottom: 64px; } .members { background: #f2f2fe; } .members > h1 { text-align: center; padding: 64px 0; font-weight: normal; } .members ul { list-style: none; text-align: center; margin: 0; padding: 0; } .members img { width: 160px; border-radius: 50%; } .members li { padding-bottom: 64px; } .call-to-action { background: orange; color: #fff; text-align: center; padding: 64px 0; } .call-to-action h1 { font-weight: normal; } .call-to-action .btn { margin: 0 auto; } footer { padding: 64px 0; background: #323135; color: #98969c; text-align: center; } @media (min-width: 900px) { header .container { display: flex; width: 800px; margin: 0 auto; } .info { width: 60%; align-self: center; } .pic { width: 40%; } .features .container { width: 800px; margin: 0 auto; display: flex; justify-content: space-between; } .features .container:nth-child(even) { flex-direction: row-reverse; } .features .pic { width: 50%; } .features .info { width: calc(50% - 32px); } .members ul { width: 800px; margin: 0 auto; display: flex; justify-content: space-between; } .members li { width: 250px; } }