/* mainpag content */
iframe {
    width: 100%;
    max-width: 913px;
    border-radius: 5px;
}

.contactcontent {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2em;
    padding-top: 1em;
    padding-bottom: 2em;
    margin-top: 220px;
}

.contactbackground {
    background-color: rgba(248, 248, 248, 0.793);
    box-shadow: 4px 4px 15px 4px rgba(0, 0, 0, 0.15);
    display: flex;
    padding: 1em 2em 1em 2em;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

/* contactinfo */

.cfirstimg {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.cfirstimg {
    padding: 1.5em 0 0 0;
}

.cfirstimg img {
    width: 40px;
    height: 40px;
}

.cfirstimg .maintag {
    font-size: 1.1em;
    padding-top: .2em;
    padding-bottom: .2em;
    color: #152B5E;
}

.cfirstimg p:nth-child(3) {
    color: #919191;
}

/* contcatinput */
.xazi {
    width: 2px;
    border-radius: 50%;
    height: 250px;
    background-color: #C0BFC2;
    margin: 0 5.5em 0 5.5em;
}

.contactinput {
    display: flex;
    flex-direction: column;
    gap: .5em;
}

.cnametag {
    font-size: 1.2em;
    color: #152B5E;
    padding-bottom: .5em;
    text-align: center;
}

input {
    width: 500px;
    height: 40px;
    background-color: #c0bfc22b;
    outline: none;
    border: none;
    border-radius: 5px;
    color: #9a9a9a;
    padding: 0 0 0 1em;
}

#message {
    width: 500px;
    border: none;
    background-color: #c0bfc22b;
    padding: 1em .2em .2em 1em;
    outline: none;
    color: #9a9a9a;
    resize: none;
}

input::placeholder {
    color: #5a6b7b;
}

#message::placeholder {
    color: #5a6b7b;
}

#submit {
    width: 150px;
    background-color: #9a9a9a;
    color: white;
    font-size: 1em;
    padding: 0;
    cursor: pointer;
    transition: background-color .5s ease;
}

#submit:hover {
    background-color: #616060;
}

#phonenumber[type="number"]::-webkit-outer-spin-button,
#phonenumber[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#phonenumber[type="number"] {
  -moz-appearance: textfield;
}


@media(max-width: 1000px) {
    .contactbackground {
        flex-direction: column;
        width: 100%;
    }
    .xazi {
        width: 100%;
        height: 1px;
        margin: 1em 0 1em 0;
    }
}

@media(max-width: 600px) {
    input, #message {
        width: 100%;
    }
    .contactinput {
        width: 100%;
    }
    .contactbackground {
        padding: 1em .5em 1em .5em;
    }
    .contactcontent {
        padding: 0;
    }
}