* { margin: 0; padding: 0; box-sizing: border-box; } body { background: #d3b09d; height: 100%; } .navbar { background-color: #775860; font-size: 20px; backdrop-filter: blur(30px); } .navbar-brand { font-size: 25px; text-align: center; } .banner { margin-top: 10px; justify-content: center; display: block; text-align: center; color: #775860; } .container-fluid h1 { font-size: 60px; text-align: center; padding-top: 7%; padding-left: 5%; } .btn-beauty { background-color: #775860; border: 2px solid #775860; font-size: 30px; border-radius: 15px; color: white; } .about_text { text-align: left; color: #775860; font-size: 40px; } h2 { color: #775860; font-size: 60px; } .card { padding: 2em; margin-bottom: 1rem; } @media (max-width: 650px) { h2 { font-size: 30px; margin: 20px; } .about_text { font-size: 25px; } .navbar-brand { font-size: 15px; } img { align-items: center; justify-content: center; display: flex; max-width: 85%; } .img_options { max-width: 250px; display: flex; align-items: center; } .col { display: flex; flex-direction: column; align-items: center; } .container-fluid h1 { font-size: 30px; } .btn-beauty { max-width: 80%; } .card { align-items: center; justify-content: center; } .col p { font-size: 20px; text-align: center; } .rounded-img { max-width: 80%; } } p { font-size: 25px; text-align: center; } @media (min-width: 768px) { /* Для экранов шириной 768px и больше */ input[type="text"], input[type="email"], input[type="password"], input[type="datetime-local"], textarea { width: 50%; /* Уменьшенная ширина на больших экранах */ margin: 0 auto; /* Центрирует элемент горизонтально */ } } @media (max-width: 767px) { /* Для экранов шириной 767px и меньше */ input[type="password"], input[type="email"], input[type="text"], input[type="datetime-local"] { max-width: 90%; } h2 { margin: 20px; font-size: 25px; } } .form-text { margin-top: 10px; text-align: center; } form { margin-top: 30px; text-align: center; } form div { margin-bottom: 30px; } button[type="submit"] { background-color: #775860; border: 2px solid #775860; margin-top: 15px; width: 150px; height: 70px; color: white; font-size: 25px; border-radius: 15px; } .form-text { border-radius: 15px; } input[type="password"], input[type="email"], input[type="text"], input[type="datetime-local"], textarea { border-radius: 15px; padding: 10px; border: 1px solid #775860; width: 90%; margin: 0 auto; /* Центрирует элемент горизонтально */ } @media (min-width: 768px) { /* Для экранов шириной 768px и больше */ input[type="password"], input[type="email"], input[type="text"], input[type="datetime-local"], textarea { width: 50%; /* Уменьшенная ширина на больших экранах */ margin: 0 auto; /* Центрирует элемент горизонтально*/ } } table, th, td { margin: auto; margin-top: 60px; border: 3px solid; border-color: black; text-align: center; color: white; } @media (max-width: 836px) { table, th, td { margin: 20px; } button[type="submit"] { width: 120px; height: auto; } } .img_options { height: auto; width: 350px; margin-top: 20px; border-radius: 25px; } @media (max-width: 400px) { button[type="submit"] { width: 140px; height: auto; } } add { align-items: center; text-align: center; } add .container { width: 90%; }