<div class="pagewrap">
<header>
<h1>Your New Baby's Name</h1>
<div class="generator-wrap">
<div class="generator-main">
<h2>Baby Name Generator</h2>
<p>Find the perfect brand to set your child apart.</p>
<p>Just select your baby's gender.</p>
<button> Boy </button><button> Girl </button>
<p class="baby-name">your new baby name is:</p>
</div>
</div>
</header>
<img class="page-pig" src="" />
</div>
.generator-wrap {
background: rgb(242, 201, 236);
background: linear-gradient(170deg, rgba(242, 201, 236, 1) 23%, rgba(184, 228, 246, 1) 100%);
border-radius: 20px;
margin: 0 auto;
width: 90%;
margin-top: 3.8rem;
height: 28em;
max-width: 800px;
}
.generator-main {
padding: 50px 40px 10px;
}
.generator-main>h2 {
text-align: center;
line-height: 1.5;
font-size: 26px;
}
h3 {
font-size: 18px;
}
.pagewrap {
max-width: 1625px;
width: 100%;
min-height: 60vh;
margin: 0 auto;
}
html {
overflow-x: hidden;
}
::-webkit-scrollbar {
width: 20px;
}
::-webkit-scrollbar-thumb {
width: 20px;
background: linear-gradient(to bottom, #f2c9ec 60%, rgb(255, 244, 190));
border-radius: 50px;
}
::-webkit-scrollbar-track-piece {
background: #B8E4F6;
}
:root {
font-size: 16px;
}
body {
min-height: 100vh;
}
img {
width: 100%;
border-radius: 30px;
}
body {
font-family: 'Open Sans', sans-serif;
font-weight: 300;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'moholregular';
font-weight: 500;
}
h1 {
font-size: 90px;
margin-bottom: 20px;
text-align: center;
padding-top: 1.8em;
color: #B8E4F6;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.