body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* MAIN */

main {
    flex-grow: 1;
    background: rgb(0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-wrap {
    width: 100%;
    height: 100%;
    display: flex;
}
.col {
    display: flex;
    flex-direction: column;
}
.col1 {
    width: 18%;
}
.col2 {
    width: 47%;
    background: rgb(20, 20, 20);
}
.col3 {
    width: 35%;
}
.logo3 img {
    display: block;
    width: 100%;
    height: auto;
}
.logo2 img {
    display: block;
    width: 100%;
    height: auto;
}
.foto {
    background-image: url(img/20210819.jpg);
    background-position: center;
    background-size: cover;
    flex-grow: 1;
}
.h1-wrap {
    padding: 5%;
}
.curch-wrap {
    flex-grow: 1;
    background-image: url(img/cuenca3.jpg);
    background-position: center;
    background-size: cover;
    padding: 2% 5%;
}
.curch-wrap span {
    display: block;
    font-size: 2rem;
    text-align: right;
    color: #fff;
}
h1 {
    display: block;
    font-size: 5rem;
    margin: 0;
    color: #fff;
}
.h1-red {
    display: block;
    font-size: 4rem;
    text-align: right;
    color: #ff0401;
}
h3 {
    margin: 0;
    font-size: 28px;
    line-height: 42px;
    color: rgb(223, 223, 223);
}
form {
    background: rgb(48, 48, 48);
    padding: 3vh;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.form-wrap {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.col input {
    outline: none;
    height: 45px;
    width: 100%;
    display: block;
    box-sizing: border-box;
    border: none;
    margin-bottom: 2vh;
    background: rgb(235, 235, 235);
    border-left: 3px solid rgb(235, 235, 235);
    color: black;
    padding: 0 20px;
    border-radius: 5px;
    font-size: 16px;
}
.col input[type="file"] {
    outline: none;
    height: auto;
    width: 100%;
    display: block;
    box-sizing: border-box;
    border: none;
    background: rgb(48, 48, 48);
    border-left: none;
    color: rgb(255, 255, 255);
    padding: 0;
    border-radius: 5px;
    font-size: 16px;
}
label {
    color: #fff;
    display: block;
    margin: 0 0 1vh;
    font-size: 16px;
}
/* input#file-upload-button {
    background: rgb(172, 101, 101);
} */
.col input:focus {
    outline: none;
    border-left: 3px solid #ff9704;
    background: rgb(245, 245, 245);
}
.col input::placeholder {
    color: rgb(90, 90, 90);
    font-size: 16px;
}
.flex__wrap {
    display: flex;
    justify-content: space-between;
}
.flex__wrap input {
    width: 48%;
    display: block;
    box-sizing: border-box;
    border-left: 3px solid rgb(235, 235, 235);
    background: rgb(235, 235, 235);
}
.flex__wrap input:focus {
    outline: none;
    border-left: 3px solid #ff9704;
    background: rgb(245, 245, 245);
}
textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 200px;
    resize: none;
    border: none;
    background: rgb(235, 235, 235);
    border-left: 3px solid rgb(235, 235, 235);
    margin-bottom: 2vh;
    padding: 20px;
    font-size: 16px;
    border-radius: 5px;
    font-family: "Roboto", sans-serif !important;
    flex-grow: 1;
}
textarea:focus {
    outline: none;
    border-left: 3px solid #ff9704;
    background: rgb(245, 245, 245);
}
textarea::placeholder {
    color: rgb(90, 90, 90);
    font-size: 16px;
}
button {
    border: none;
    width: 100%;
    height: 45px;
    background: linear-gradient(180deg, #ffb44b 0%, #ff9704 100%);
    color: #fff;
    font-size: 24px;
    letter-spacing: 1.5px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
}

/* футер */

footer {
    width: 100%;
    box-sizing: border-box;
    padding: 30px 50px;
    background: rgb(20, 20, 20);
}
.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contacts {
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 3px solid #ff9704;
    padding-left: 30px;
}
.cont__wrap,
.cont__elem {
    display: flex;
    align-items: center;
}
.cont__elem:first-child {
    border-right: 2px solid #ff9704;
    padding-right: 20px;
}
.cont__title {
    font-size: 22px;
    color: rgb(177, 177, 177);
    font-weight: 700;
    text-transform: uppercase;
}
.cont__txt {
    font-size: 18px;
    font-weight: 300;
    color: rgb(255, 255, 255);
    text-decoration: none;
}
.cont__elem + .cont__elem {
    margin-left: 20px;
}
.cont__icon {
    margin-right: 20px;
}
.cont__icon-tel {
    width: 25px;
    height: 25px;
    background-image: url(img/tel.svg);
}
.cont__icon-email {
    width: 30px;
    height: 30px;
    background-image: url(img/mail.svg);
}

@media screen and (min-width: 1200px) and (max-height: 1024px) {
    .col input {
        height: 4vh;
        margin-bottom: 2vh;
    }
    form {
        padding: 2vh;
    }
    textarea {
        min-height: 12vh;
        margin-bottom: 2vh;
        padding: 20px;
        flex-grow: 1;
    }
}
@media screen and (max-width: 1500px) {
    h1 {
        font-size: 4rem;
    }
    .h1-red {
        font-size: 3rem;
    }
    .col input {
        padding: 0 15px;
        border-radius: 5px;
        font-size: 14px;
    }
    .col input::placeholder {
        font-size: 14px;
    }
    textarea {
        padding: 15px;
        font-size: 14px;
    }
    textarea::placeholder {
        font-size: 14px;
    }
}
@media screen and (max-width: 1080px) {
    body {
        min-height: 100vh;
        height: auto;
        overflow-y: auto;
    }
    h1 {
        font-size: 3rem;
    }
    .h1-red {
        font-size: 2rem;
    }
    .footer-wrap {
        flex-direction: column;
    }
    .contacts {
        border-left: none;
        border-top: 2px solid #ff9704;
        padding-left: 0px;
        padding-top: 15px;
        margin-top: 15px;
    }
    .cont__title {
        text-align: center;
    }
    .col1 {
        width: 25%;
    }
    .col2 {
        width: 40%;
        background: rgb(20, 20, 20);
    }
    .main-wrap {
        display: grid;
        grid-template-columns: 35% 65%;
    } 
    .logo2 {
        max-width: 300px;
        margin: 0 auto;
        padding: 15px;
    }
    .col1, .col2, .col3 {
        width: 100%;
    }
    .col3 {
        grid-area: 2/1/3/3;
    }
    .foto {
        height: 300px;
    }
}
@media screen and (max-width: 590px) {
    footer {
        padding: 20px 15px;
    }
    /* .foto {
        display: none;
    } */
    h1 {
        font-size: 2rem;
    }
    .h1-red {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    /* .curch-wrap {
        background-image: none;
    } */
    .curch-wrap span{
        font-size: 0.7rem;
    }
    .contacts {
        height: auto;
        width: 100%;
    }
    .cont__wrap {
       /* flex-direction: column; */
       flex-flow: row wrap;
       justify-content: space-between;
    }
    .cont__elem + .cont__elem {
        margin: 15px 0 0 0;
    }
    .cont__elem:first-child {
        border-right: none;
        padding-right: 0px;
    }
    .cont__title {
        margin-bottom: 25px;
    }
    .logo3 {
        background:  #ff9704;
        padding: 15px 0;
    }
    .logo2 img {
        display: block;
        width: 180px;
        margin: 0 auto;
        height: auto;
    }
    .logo3 img{
        display: block;
        width: 80px;
        margin: 0 auto;
    }
}
@media screen and (max-width: 480px) {
    /* .main-wrap {
        display: block;
    } */
    .foto {
        height: 150px;
    }
    form {
        padding: 12px 8px;
    }
    /* .flex__wrap {
        flex-direction: column;
    } */
    /* .flex__wrap input {
        width: 100%;
    } */
    .col input {
        margin-bottom: 15px;
        height: 35px;
        padding: 0 5px;
        font-size: 14px;
    }
    .col input::placeholder {
        font-size: 14px;
    }
    
    textarea {
        margin-bottom: 15px;
        padding: 10px 5px;
        font-size: 14px;
        min-height: 130px;
    }
    button  {
        height: 35px;
        font-size: 20px;
    }
    .h1-red, h1, .curch-wrap span {
        text-align: center;
    }
    h3 {
        font-size: 1rem;
    }
    .curch-wrap {
        padding: 0 5% 5%;
    }
    .cont__title {
        font-size: 17px;
        margin-bottom: 20px;
    }
    .cont__icon {
        margin-right: 12px;
    }
    .cont__icon-tel {
        width: 20px;
        height: 20px;
        background-image: url(img/tel.svg);
    }
    .cont__icon-email {
        width: 23px;
        height: 23px;
    }
    .cont__elem + .cont__elem {
        margin: 0;
    }
    .cont__txt {
        font-size: 12px;
    }
    .col input[type="file"] {
        font-size: 14px;
    }
    label {
        font-size: 14px;
    }
    
}
