.main-wrapper{
    width: 80%;
    margin-inline: auto;
    margin-top: 20%;
    margin-bottom: 10%;
}

.main-wrapper form{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-contct-us-wrapper{
    width: 100%;
    display: grid;
    justify-items: center;
    grid-template-columns: auto auto;
    row-gap: 20%;
    column-gap: 1%;
}

.input-contct-us{
    display: flex;
    width: 100%;
}

.main-wrapper-label{
    width: 20%;
    background-color: var( --primary-color);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--primary-font-bold);
    font-size: 1.3rem;
    color: var(--white-color);
}

.input-contct-us input{
    width: 80%;
    height: 3.5rem;
    border: 3px solid var(--primary-color);
    border-radius: 30px;
    padding: 1rem;
    font-size: 1.2rem;
    outline: none;
    color: var(--primary-color);
}

input[type=file]::-webkit-file-upload-button {
    display: none;
}

.main-wrapper textarea{
    width: 100%;
    height: 10rem;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    margin-top: 5%;
    font-size: 1rem;
    padding: 1%;
    outline: none;
    color: var(--primary-color);
    font-family: var(--primary-font);
    resize:none;
}
.main-wrapper textarea::placeholder{
    opacity:0.7;
}

.form-submit{
    width: 30%;
    height: 4rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    font-family: var(--primary-font-bold);
    border: none;
    border-radius: 30px;
    margin-top: 3%;
    cursor: pointer;
    font-size: 1.5rem;
}

/* -----media query----- */

@media screen and (max-width:1000px) {
    .main-wrapper-label {
        font-size: 1rem;
        width: 30%;
    }

    .form-submit[value="ثبت"] {

        font-size: 1.3rem;
    }
}

@media screen and (max-width:768px) {
    .main-wrapper {
        width: 90%;
        margin-top: 30%;
    }
}

@media screen and (max-width:600px) {
    .main-wrapper {
        margin-top: 40%;
        width: 80%;
    }

    .input-contct-us-wrapper {
        display: flex;
        flex-direction: column;
    }

    .main-wrapper-label {
        width: 20%;
    }

    .input-contct-us {
        margin-top: 5%;
    }
}


@media screen and (max-width:500px) {
    .main-wrapper-label {
        width: 30%;
    }

    .form-submit {
        width: 40%;
        height: 3rem;
    }
}
