main{
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}
main h1{
    text-align: center;
    font-size: 64px;
    font-weight: 600;
    margin-top: 20px;
    padding: 0 min(6vw, 60px);
}
main .contacts{
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-bottom: 30px;
    padding: 0 min(6vw, 60px);
    margin-bottom: 20px;
    margin-top: 60px;
    max-width: 1000px;
}
main .contact img{
    width: 50px;
    aspect-ratio: 1;
}
main .contact{
    width: max-content;
    align-items: center;
    justify-content: left;
    gap: 30px;
    display: flex;
    margin-bottom: 20px;
    width: 100%;
    margin: auto;
    margin-bottom: 20px;
}
main .contact a{
    text-decoration: underline;
    color: black;
    font-size: 17px;
    text-decoration-thickness: 1px;
    flex-grow: 1;
    text-align: center;
}
main .decor1, main .decor2, main .decor3{
    width: 400px;
    aspect-ratio: 1;
    position: absolute;
    border-radius: 50%;
    background-color: #277D31;
}
main .decor1{
    bottom: 0;
    right: 0;
    transform: translateX(30%) translateY(40%);
}
main .decor2{
    top: 0;
    left: 0;
    transform: translateX(-50%) translateY(-20%);
    background-color: #325c43;
    width: 200px;
}
main .decor3{
    background: url('/img/decor/checker.png');
    width: 80vw;
    height: 30vh;
    bottom: 0;
    left: 0;
    border-radius: 0;
    z-index: -1;
    transform: translateX(-10%) translateY(10%);
}
main form{
    width: 100%;
    border: 1px solid #6B6B6B;
    border-radius: 10px;
    padding: 20px min(3vw, 30px);
    background-color: white;
    margin-bottom: 60px;
    margin-top: 40px;
    max-width: 1200px;
    padding-top: 40px;
    box-shadow: 0 5px 7px 0px #000A;
}

main form input, main form textarea{
    font-size: 18px;
    color: black;
    display: block;
    width: 100%;
    padding: 10px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.288);
}
main form label{
    font-size: 23px;
    margin-bottom: 3px;
    display: block;
}
#email-span{
    margin-bottom: 10px;
    display: block;
    margin-top: 5px;
}
main form button{
    margin: 15px auto;
    margin-bottom: 0;
    display: block;
}
main form textarea{
    resize: none;
    height: 340px
}
main textarea{
    border: 1px solid #757575;
}
.formcont{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}
.privacy{
    width: 100%;
    height: max-content;
    padding: 30px min(3vw, 60px);
    /* background-color: white; */
    
    margin-bottom: 40px;
    border-radius: 10px;
    border: 1px solid #757575;
}
.privacy .sm-title{
    font-weight: 600;
    font-size: 18px;
    text-align: left;
}
.privacy h2{
    font-size: 30px;
    margin-bottom: 20px;
    text-align: left;
    margin-top: 6px;
}
.privacy p{
    font-size: 17px;
    text-align: left;
    line-height: 1.2em;
}
main form .accept{
    display: flex;
    width: 100%;
    align-items: start;
    justify-content: start;
    margin-top: 10px;
}
form .accept label{
    font-size: 15px;
}
form input[type="checkbox"]{
    width: 20px;
    height: 20px;
    aspect-ratio: 1;
    border-radius: 3px;
    margin-left: 0;
    margin-top: 0;
}
form input[type="checkbox"]:checked::before{
    width: 7px;
    transform: translateX(0) translateY(0);
}
form input[type="checkbox"]:checked::after{
    width: 16px;
    transform: translateX(-4px) translateY(-8px);
}
main form, main .privacy{
    max-width: max(90%, calc(100% - 30px));
    margin: auto;
    margin-top: 0;
    margin-bottom: 30px;
}
.formcont{
    padding: 0;
}
@media only screen and (min-width: 720px){
    main .contacts{
        flex-direction: row;
        /* flex-wrap: wrap; */
        align-items: center;
        justify-content:center;
        gap: 30px;
        margin-bottom: 40px;
    }
    main .contact{
        gap: 30px;
        width: max-content;
        margin-bottom: 0;
    }
    .formcont{
        flex-direction: row;
        flex-wrap: wrap;
        gap: 25px;
        padding: 0 min(30px, 3vw);
        width: 100%;
    }
    main .privacy{
        min-width: 500px;
        width: unset;
        max-width: calc(50% - min(3vw, 60px));
        width: 50%;
        margin: 0;
        margin-bottom: 40px;
    }
    main form{
        /* width: calc(100% - 3 * min(6vw, 60px)); */
        padding: 20px min(3vw, 30px);
        margin: auto;
        margin-bottom: 30px;
        padding-top: 40px;
        min-width: 500px;
        max-width: calc(50% - min(3vw, 60px));
        margin-right: 0;
        margin-left: 0;
    }
    main h1{
        text-align: left;
        padding-left: calc( 3/2 * min(6vw, 60px) );
        font-size: 90px;
        margin-top: 40px;
    }
}
.formcont > div, .formcont > form{
    background-color: #f2f2f2;
}
.formcont > div{
    background-color: #bcd1bf;
    box-shadow: 0 5px 7px 0px #0003;
}
.formcont .sm-title{
    color: #22402e;
}
.formcont h2{
    color: #22402e;
}

.error-span:empty{
    height: 0;
    width: 1px;
}
.error-span{
    font-size: 13px;
    color: rgb(155, 0, 0);
    font-weight: 500;
}
main .blur{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000B;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
main .blur .cont{
    display: grid;
    max-width: 500px;
    width: min(100%, 500px);
    padding: 20px min(3vw, 30px);
    background-color: white;
    border: 1px solid #6B6B6B;
    border-radius: 10px;
}
main .blur p{
    font-size: 20px;
    text-align: center;
}
main .blur .sm-title{
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    margin-top: 0;
}
main .blur button{
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #6B6B6B;
    margin: auto;
    cursor: pointer;
}
#submitBTN{
    padding-left: 10px;
    padding-right: 10px;
}