:root{

--red:#e30045;
--dark:#8c8e91;
--light:#e2e4e5;
--white:#fff;
--radius:14px;

}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{

font-family:Arial,Helvetica,sans-serif;
background:light;
color:dark;
line-height:1.6;

}

.container{

width:min(1200px,92%);
margin:auto;

}

header{

background:#e30045;
color:white;
padding:90px 0;

}

header h1{

font-size:52px;
margin-bottom:20px;

}

header p{

font-size:22px;
max-width:700px;
margin-bottom:35px;

}

.button{

display:inline-block;
background:white;
color:#d71920;
padding:18px 36px;
font-size:20px;
text-decoration:none;
font-weight:bold;
border-radius:50px;
transition:.3s;

}

.button:hover{

transform:translateY(-3px);
box-shadow:0 15px 35px rgba(0,0,0,.2);

}

.info{

padding:80px 0;

}

.cards{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
margin-top:40px;

}

.card{

background:white;
padding:30px;
border-radius:14px;
box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.generator{

display:grid;
grid-template-columns:420px 1fr;
gap:40px;
padding:80px 0;

}

.form{

background:white;
padding:35px;
border-radius:14px;
box-shadow:0 10px 25px rgba(0,0,0,.1);

}

.form input,
.form textarea,
.form select{

width:100%;
padding:14px;
margin-bottom:18px;
border:1px solid #ddd;
border-radius:8px;
font-size:16px;

}

.form button{

width:100%;
background:#e30045;
color:white;
padding:18px;
font-size:18px;
border:none;
border-radius:10px;
cursor:pointer;

}

.preview{

background:white;
padding:40px;
border-radius:14px;
box-shadow:0 10px 25px rgba(0,0,0,.1);

min-height:700px;

font-family:"Times New Roman",serif;

}

footer{

padding:50px 0;
text-align:center;
background:#222;
color:white;

}

@media(max-width:900px){

.generator{

grid-template-columns:1fr;

}

header h1{

font-size:38px;

}

}