main
{
    display: flex;
}
main > div:nth-of-type(1)
{
    color: #b48a78;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
form
{
    border-radius: 50px;
    width: 800px;
    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 > label
{
    font-weight: bolder;
    width: 400px;
    margin-bottom: 5px;
}
form >  div > input[type="text"],
form >  div > input[type="password"],
form >  div > input[type="email"]
{
    font-weight: bolder;
    width: 400px;
    height: 25px;
    border-radius: 25px;
    border: 1px solid #ff7fa3;
    border-radius: 8px;
}
form >  div > input[type="submit"]
{
    cursor: pointer;
    font-family: 'Delius';
    color: whitesmoke;
    font-weight: bolder;
    width: 200px;
    height: 45px;
    margin-top: 25px;
    border-radius: 25px;
    border: none;
    background-color: #ff7fa3;
    transition: 0.3s;
}
form >  div > input[type="submit"]:hover
{
    background: #ffb6c1;
    transform: scale(1.05);
}
form >  div > span
{
    width: 400px;
    color: red;
    margin-top: 5px;
    margin-bottom: 10px;
}
form >  div > a
{

    margin-top: 20px;
    font-weight: bolder;
    text-decoration: none;
    color: #b48a78;
}
.success-message
{
    background-color: #fff;
    border: none;
    color: #b48a78 !important;
    font-weight: bold;
    border-radius: 20px;
    padding: 30px;
    margin: 40px auto;
    max-width: 500px;
    text-align: center;
    font-size: 1.3em;
    letter-spacing: 0.5px;
    line-height: 1.6;
}
.success-message a
{
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    font-family: 'Delius';
    color: whitesmoke;
    font-weight: bolder;
    text-decoration: none;
    margin-top: 25px;
    border-radius: 25px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 20px;
    padding-left: 20px;
    border: none;
    background-color: #ff7fa3;
    transition: 0.3s;
}
.success-message a:hover
{
    background: #ffb6c1;
    transform: scale(1.05);
}
.success-message > div
{
    border-radius: 24px;
    padding: 30px;
    background-color: #fffbe6;
}
@media (max-width: 900px) {
    main {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    main > div:nth-of-type(1) {
        width: 100vw;
        min-width: unset;
        justify-content: center;
        align-items: center;
    }
    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,
    form > div > span {
        width: 90vw;
        max-width: 95vw;
        font-size: 1em;
    }
    form > div > input[type="text"],
    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;
    }
    .success-message {
        max-width: 95vw;
        font-size: 1em;
        padding: 15px;
        border-radius: 16px;
    }
    .success-message > div {
        padding: 15px;
        border-radius: 12px;
    }
    .success-message a {
        font-size: 1em;
        padding: 5px 10px;
        border-radius: 16px;
        margin-top: 15px;
    }
    html, body {
        overflow-x: hidden;
    }
}