Загрузка данных
* {
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
}
body {
background-color: #f0f4f8;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background-color: white;
display: flex;
width: 900px;
height: 600px;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* Стили для левой панели */
.sidebar {
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
width: 35%;
padding: 40px;
color: white;
display: flex;
flex-direction: column;
}
.logo {
font-weight: bold;
font-size: 1.2rem;
margin-bottom: 50px;
}
.sidebar-content h1 {
font-size: 1.8rem;
line-height: 1.4;
}
/* Стили для формы */
.form-container {
width: 65%;
padding: 40px 60px;
}
h2 {
color: #333;
margin-bottom: 5px;
}
.subtitle {
color: #777;
font-size: 0.9rem;
margin-bottom: 30px;
}
.row {
display: flex;
gap: 20px;
margin-bottom: 15px;
}
.input-group {
flex: 1;
}
.input-group label {
display: block;
font-size: 0.85rem;
color: #555;
margin-bottom: 5px;
}
.input-group input {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
background-color: #f9f9f9;
}
.checkbox-group {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
font-size: 0.8rem;
color: #666;
}
.btn-submit {
margin-top: 20px;
background-color: #007bff;
color: white;
border: none;
padding: 12px 30px;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
transition: background 0.3s;
}
.btn-submit:hover {
background-color: #0056b3;
}
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Страница регистрации</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<!-- Левая часть с синим фоном -->
<div class="sidebar">
<div class="logo">Lotteray Display</div>
<div class="sidebar-content">
<h1>A few clicks away from creating your Lotteray Display</h1>
</div>
</div>
<!-- Правая часть с формой -->
<div class="form-container">
<h2>Register</h2>
<p class="subtitle">Manage all your Lotteray efficiently</p>
<form>
<div class="row">
<div class="input-group">
<label>First Name</label>
<input type="text" placeholder="Enter first name">
</div>
<div class="input-group">
<label>Last Name</label>
<input type="text" placeholder="Enter last name">
</div>
</div>
<div class="row">
<div class="input-group">
<label>Phone Number</label>
<input type="tel" placeholder="Enter phone number">
</div>
<div class="input-group">
<label>Email</label>
<input type="email" placeholder="Enter email">
</div>
</div>
<div class="row">
<div class="input-group">
<label>Password</label>
<input type="password" placeholder="Enter password">
</div>
<div class="input-group">
<label>Confirm Password</label>
<input type="password" placeholder="Confirm password">
</div>
</div>
<div class="checkbox-group">
<input type="checkbox" id="news">
<label for="news">Yes, I want to receive Lotteray Display email</label>
</div>
<div class="checkbox-group">
<input type="checkbox" id="terms" required>
<label for="terms">I agree to all the Terms, Policy Privacy and Fees</label>
</div>
<button type="submit" class="btn-submit">Create Account</button>
</form>
</div>
</div>
</body>
</html>