main
{
    display: flex;
}
main > div:nth-of-type(1)
{
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
main > div:nth-of-type(1) > div
{
    color: #b48a78;
    border-radius: 50px;
    width: 600px;
    background-color: #faf1e7;
    display: flex;
    flex-direction: column;
    align-items: center;
}
main > div:nth-of-type(1) > div > h1
{
    color: #b48a78;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
}
form
{
    color: #b48a78;
    border-radius: 50px;
    width: 600px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    box-shadow: 0 4px 24px #f3e6d8;
}
form > h1
{
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
}
form >  div
{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fffbe6;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 2px 8px #f3e6d8;
}
form >  div > span
{
    color: red;
    margin-bottom: 25px;
}
form >  div > label
{
    font-weight: bolder;
    width: 400px;
    margin-bottom: 5px;
}
form >  div > input[type="password"],
form >  div > input[type="email"]
{
    font-weight: bolder;
    margin-bottom: 25px;
    width: 400px;
    height: 25px;
    border-color: #FD6C9E;
    border: 1px solid #ff7fa3;
    border-radius: 8px;
}
form >  div > input[type="submit"]
{
    cursor: pointer;
    font-family: 'Delius';
    font-weight: bolder;
    color: whitesmoke;
    width: 200px;
    height: 45px;
    border-radius: 25px;
    background-color: #FD6C9E;
    border: none;
    transition: 0.3s;
}
form >  div > input[type="submit"]:hover
{
    background: #ffb6c1;
    transform: scale(1.05);
}
form >  div > a
{
    color: #b48a78;
    font-weight: bolder;
    text-decoration: none;
    margin-top: 20px;
}

@media (max-width: 700px) {
    main {
        flex-direction: column;
        padding: 0;
        align-items: center;
    }
    main > div:nth-of-type(1) {
        width: 100vw;
        min-width: unset;
        justify-content: center;
        align-items: center;
    }
    main > div:nth-of-type(1) > div {
        width: 95vw;
        max-width: 99vw;
        border-radius: 30px;
        padding: 0 0 10px 0;
    }
    main > div:nth-of-type(1) > div > h1 {
        font-size: 1.3em;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    form {
        width: 95vw;
        max-width: 99vw;
        border-radius: 30px;
        padding: 15px;
        box-shadow: 0 2px 8px #f3e6d8;
    }
    form > h1 {
        font-size: 1.2em;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    form > div {
        padding: 15px;
        border-radius: 16px;
        box-shadow: 0 1px 4px #f3e6d8;
    }
    form > div > label {
        width: 90vw;
        max-width: 95vw;
        font-size: 1em;
    }
    form > div > input[type="password"],
    form > div > input[type="email"] {
        width: 90vw;
        max-width: 95vw;
        font-size: 1em;
        height: 22px;
    }
    form > div > a {
        margin-top: 12px;
        font-size: 1em;
        width: 100%;
        text-align: center;
    }
    html, body {
        overflow-x: hidden;
    }
}