*, *::after, *::before{
    margin: 0 auto;
    box-sizing: border-box;
}
:root{
--Blue-800: hsl(234, 29%, 20%);
--Blue-700: hsl(235, 18%, 26%);
--Grey: hsl(0, 0%,58%);
--White: hsl(0, 0%, 100%);
}
body{
    height: 80vh;
    max-width: 1440px;
    min-width: 1440px;
    background: var(--Blue-800);
}
.form-wrapper{
    display: flex;
    margin: 20px;
    padding: 20px;
    border-radius: 30px;
    justify-content: center;
    background:var(--White);
}
.formblock{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}
.form-block-header{
    font-family: "Roboto" , sans-serif;
    font-size: 4rem;
    font-weight: 800;
    font-style: normal;
    color: var(--Blue-800);
    margin: 0 0 30px 0;
}
.form-block-script{
    font-family: "Roboto" , sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    font-style: normal;
    color: var(--Blue-700);
    max-width: 500px;
    margin-bottom: 15px;
}
.inner-script{
    font-family: "Roboto" , sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    font-style: normal;
    color: var(--Blue-700);
    max-width: 500px;
    margin-bottom: 15px;
    
}
#span{
    height: 15px;
    width: 15px;
}
label{
    font-family: "Roboto" , sans-serif;
    font-size: 1rem;
    font-weight: 500;
    font-style: normal;
    color: var(--Blue-700);
}
#email{
    font-family: "Roboto";
    width:400px ;
    height: 40px;
    outline: none;
    padding: 15px;
    border: 1px solid var(--Grey);
    margin-top: 10px;
    margin-bottom: 15px;
    border-radius: 3px;
}
button{
    width: 400px;
    height: 40px;
    font-family: "Roboto" , sans-serif;
    font-size: 12px;
    font-weight: 500;
    background: var(--Blue-800);
    color: #fff;
    padding:5px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
}
button:hover{
    background: hsl(4, 100%, 67%);
}
.error {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}
.success-page {
    display: none;
    text-align: left;
    font-family: "Roboto" , sans-serif;
    font-size: 1.2rem;
    max-width: 400px;
}
.success-page > h2{
    margin-top: 15px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--Blue-800);
}
.success-page > p{
    margin-top: 20px;
    color: var(--Blue-800);
}
.return {
    font-family: "Roboto" sans-serif;
    margin-top: 20px;
    padding: 10px;
    width: 100%;
    background-color: var(--Blue-800);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.return:hover{
    background: hsl(4, 100%, 67%);
}
.img-mobile{
    display: none;
}

@media(max-width: 600px){
    .form-wrapper{
        padding: 0;
        height: auto;
    }
    body{
        min-width: 600px;
    }
    .formblock{
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        width: auto;
        padding-bottom: 20px;
    }
    .img-mobile{
        display: block;
        
    }
    .img-desktop{
        display: none;
    }
    .form-block-header{
        margin-top: 10px;
        font-size: 3rem;
        
    }
    .form-block-script{
        font-size: 1rem;
        
    }
    .inner-script{
font-size: 0.7rem;
    }
    label{
        font-size: 0.7rem;
    }
    .return{
        margin-bottom: 20px;
    }
}