* { margin: 0; padding: 0; box-sizing: border-box; } body { font-size: 18px; font-family: sans-serif; margin: 0; padding: 0; height: 100%; } .content{ min-height: 100%; display: flex; flex-direction: column; } a { text-decoration: none; } a:hover { color: white; } a:visited, a:link { color: #dbe2ef; } .header { position: fixed; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 90px; background: #112d4e; color: #dbe2ef; top: 0; left: 0; padding: 0 20px; z-index: 10; } .logo{ display: flex; align-items: center; } .logo img { width: 60px; height: 60px; border-radius: 15px; } .header h1 { font-size: 1.5em; margin-left: 20px; } .menu { display: flex; align-items: center; list-style: none; position: relative; z-index: 2; } .menu li { margin-left: 20px; position: relative; } .features-menu { display: none; flex-direction: column; background: #b2d6ff; border-radius: 5px; position: absolute; top: 100%; left: 0; z-index: 1; padding: 10px 0; } .features-menu a { color: #112d4e; } .dropdown { position: relative; } .dropdown:hover .features-menu { display: flex; } .features-menu li { padding: 10px 20px; text-align: center; border-bottom: 1px solid #fff; } .features-menu li:last-child { border-bottom: none; } .main{ flex: 1 1 auto; } .promo-section { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 100px 20px 20px; background-color: #f9f9f9; } .image-container, .text-container { flex: 1 1 300px; margin: 10px; text-align: center; color:#00264d } .image-container img { width: 100%; height: auto; border-radius: 8px; } .text-container h2 { font-size: 2.5em; color: #003366; margin-bottom: 20px; } .button { display: inline-block; padding: 10px 20px; background-color: #003366; color: #fff; text-decoration: none; border-radius: 4px; } .page { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); padding-bottom: 20px; } .page img { width: 100%; height: auto; } .feedback { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); padding: 20px; background: #eef3f9; } .feedback h1 { text-align: center; margin-bottom: 20px; } .column { background-color: #b2d6ff; border-radius: 8px; padding: 15px; margin: 20px } .avatar { width: 60px; height: 60px; border-radius: 50%; background-color: #d6e9fe; margin-bottom: 10px; } .footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 20px; background-color: #00264d; color: #b2d6ff; } .social-container { display: flex; flex-wrap: wrap; } .social { display: flex; align-items: center; margin-right: 20px; } .contact-info { margin-left: auto; text-align: right; } @media (max-width: 400px) { .header { flex-direction: column; align-items: flex-start; padding: 10px; height: auto; } .logo { display: flex; align-items: center; margin-bottom: 10px; } .logo img { width: 45px; height: 45px; margin-left: 0; margin-right: 10px; } .header h1 { margin: 0; font-size: 1.2em; white-space: nowrap; } .menu { display: flex; flex-wrap: wrap; justify-content: flex-start; width: 100%; margin-left: 0; gap: 5px; padding-left: 10px; font-size: smaller } .menu > li { margin-right: 0; } .dropdown .features-menu { position: absolute; top: 100%; left: 0; background: #b2d6ff; border-radius: 5px; display: none; flex-direction: column; z-index: 1000; padding: 10px 0; min-width: 150px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); } .dropdown:hover .features-menu { display: flex; flex-direction: column; } .promo-section{ padding-top: 150px; } footer{ font-size: small; } } @media (min-width: 400px) and (max-width: 767px) { .header { flex-direction: column; align-items: flex-start; padding: 10px; height: auto; } .logo { display: flex; align-items: center; margin-bottom: 10px; } .logo img { width: 50px; height: 50px; margin-left: 0; margin-right: 10px; } .header h1 { margin: 0; font-size: 1.2em; white-space: nowrap; } .menu { display: flex; flex-wrap: wrap; justify-content: flex-start; width: 100%; margin-left: 0; gap: 10px; padding-left: 10px; } .menu > li { margin-right: 0; } .dropdown .features-menu { position: static; background: #b2d6ff; display: none; } .dropdown .features-menu { position: absolute; top: 100%; left: 0; background: #b2d6ff; border-radius: 5px; display: none; flex-direction: column; justify-content: center; z-index: 1000; padding: 10px 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); } .promo-section{ padding-top: 150px; } } @media (min-width: 768px) and (max-width: 1023px) { .text-container h2 { font-size: 2em; } } @media (min-width: 1024px) and (max-width: 1365px) { .text-container h2 { font-size: 2.5em; } } @media (min-width: 1366px) { .text-container h2 { font-size: 3em; } }