body { margin: 0; } header { display: flex; justify-content: space-between; align-items:…
- User
body { margin: 0; }
header { display: flex; justify-content: space-between; align-items: center; background-color: white; height: 156px; font-family: 'Montserrat', sans-serif; }
header img { height: 108.88px; width: 297px; margin-left: 70px; }
nav { width: 30%; margin-right: 120px; }
ul { display: flex; justify-content: space-between; align-items: center; height: 100%; font-size: 20px; list-style: none; }
ul li a { text-decoration: none; color: black; font-weight: normal; font-size: 15px; }
ul li a:hover { color: #FA4A0C; }
ul li a:active { color: #FA4A0C; }
.main { background-image: url('../img/back.png'); background-size: 100% auto; background-position: center; height: 720px; color: white; display: flex; justify-content: center; flex-direction: column; text-align: center; font-family: 'Poppins', sans-serif; font-weight: bold; margin: 0; }
.buttons2 { display: flex; justify-content: center; height: 68px; margin-bottom: 150px; }
.btn1 { border-radius:10px; background-color:#FA4A0C; color: white; border: none; width: 12%; margin-right: 30px; font-family: 'Montserrat', sans-serif; font-weight: bold; font-size: 20px;
}
.btn2 { border-radius:10px; color: white; background-color: transparent; border: 2px solid white; width: 12%; font-family: 'Montserrat', sans-serif; font-weight: bold; font-size: 20px; }
.buttons { display: flex; justify-content: center; height: 68px; margin-bottom: 150px; }
.button1 { border-radius:30px; background-color:#FA4A0C; color: white; border: none; width: 12%; margin-right: 30px; font-family: 'Montserrat', sans-serif; font-weight: bold; font-size: 20px;
}
.button2 { border-radius:30px; color: white; background-color: transparent; border: 2px solid white; width: 12%; font-family: 'Montserrat', sans-serif; font-weight: bold; font-size: 20px; }
h3 { margin-bottom: 50px; font-size:25px; }
.texto { margin-bottom: 150px; font-size: 50px; }
p span { font-size: 20px; font-family: 'Poppins', sans-serif; font-weight: normal; }
.work { font-family: 'Poppins', sans-serif; font-weight: bold; width: 100%; height: 700px; display: flex; align-items: center; flex-direction: column; justify-content: center; position: relative }
.work hr { border: 2px solid #E4E4E4; width: 70%; border-radius: 10px;
}
.work h3 { font-size: 30px; margin-bottom: 250px; color: #000000; font-size: 44px; }
.create { font-family: 'Montserrat', sans-serif; font-weight: bold; color: #FA4A0C; font-size: 24px; }
.login { font-family: 'Montserrat', sans-serif; font-weight: bold; font-size: 40px; color: #252B42; }
.account { font-family: 'Montserrat', sans-serif; color: #737373; font-size: 24px; }
- Assistant
Для оптимизации сайта под мобильную версию, можно использовать следующие изменения:
- Заменить фиксированные значения размеров элементов (например, ширина 30% для навигации и ширина 12% для кнопок) на относительные значения, такие как проценты или размеры вьюпорта (vw, vh).