html,
body {
    height: 100%;
    margin: 0 auto;
}

body {
    font: 16px/22px Roboto, Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
}

header,
footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0 auto;
}

header {
    border-bottom: dotted 1px lightgray;
    padding: 15px;
    background: linear-gradient(#3B64F417, white);
}

.logo {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.logo img {
    width: 175px;
    height: 100px;
    filter: contrast(300%);
}

.mailto {
    margin: 40px 0px auto 0px;
}

.mailto a {
    color: black;
    font-size: 17px;
}

.mailto i {
    color: #296bee;
}

main {
    width: 1200px;
    margin: 0 auto;
}

.main__wrap {
    width: 1200px;
    display: grid;
    grid-template-columns: 400px 800px;
    margin: 25px;
}

.main__wrap h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3em;
}

.h2-mob {
    visibility: hidden;
}

.main__wrap p {
    color: gray;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
}

.tameron-image img {
    width: 100%;
    height: 100%;
    border: solid lightgray 1px;
    border-radius: 5px;
}

.tameron-image img:hover {
    transform: translateY(5%);
    transition: all ease-in-out .6s;
}

.contacts-text a {
    color: #296bee;
}

.contacts-map {
    margin: 20px 0px;
    filter: grayscale(1);
}

.contacts-map:hover {
    filter: grayscale(0);
}

footer {
    display: flex;
    flex-direction: row;
    border-top: dotted 1px lightgray;
    height: 100px;
    padding: 15px;
}

.footer__info {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.scrUp i {
    font-size: 60px;
    color: #296bee;
}

.scrUp i:hover {
    color: gray;
}

@media screen and (max-width: 1080px) {

    main,
    .main__wrap,
    .main__wrap p {
        width: 100%;
    }
    main,
    .main__wrap {
        display: flex;
        flex-direction: column;
    }
    .main__wrap p {
        font-size: 15px;
        text-align: left;
        margin-bottom: -150px;
    }
    .h2-desc {
        visibility: hidden;
    }
    .h2-mob {
        visibility: visible;
    }
    .main__wrap p,
    .tameron-image img {
        max-width: 95%;
    }
    .contacts-map {
        margin-top: 200px;
        max-width: 95%;
    }
}

