

html {
    font-size: 62.5%;
}

a, p {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: .8rem;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

body {
    background-color: #fff;
    margin: 0;
    padding: 0;
    font-family: "Roboto", "Helvetica", sans-serif;
    color: #1E1E1E;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

.marked {
    padding: 1rem;
    position: relative;
    background-color: #F5EA14;
    margin-left: 2rem;
}

.marked::after {
    position: absolute;
    height: 100%;
    background-color: #000;
    content: '';
    top: 0;
    left: 0;
    width: 2rem;
    transform: translateX(-100%);
}

main {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    padding: 2rem;
}

main::after {
    position: absolute;
    height: 100%;
    background-color: #D9D9D9;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    transform: translateX(-100%);
    z-index: -1;
}

.header {
    padding-top: 4rem;
    margin-bottom: 10rem;
}

.logo {
    max-width: 50rem;
}

.header .top, .header .bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.header .top .top_right {
    display: flex;
    flex-direction: column;
    align-content: center;
}

.header .top .top_right img {
   max-width: 15rem;
   margin: 1rem 0;
}

.header .bottom .email a {
   display: block;
}

.gray {
    color: #7F7F7F;
}

h2 {
    font-weight: 400;
    font-size: 1.8rem;
    margin: .4rem 1rem;
}

.content .part {
    margin-bottom: 3rem;
}

.content .title {
    display: flex;
    align-content: flex-start;
    margin-bottom: 1.8rem;
}

.title .block {
    width: 4rem;
    border-left: 1.5rem solid #000;
    background-color: #F5EA14;
    height: 2.5rem;
    display: block;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

footer .offset {
    transform: translateX(-10rem);
}

@media only screen and (max-width: 1450px){
     footer .offset {
        transform: none;
    }
}

@media only screen and (max-width: 800px){
    .header .top, .header .bottom {
        flex-direction: column;
        justify-content: center;
    } 

    .address {
        margin-bottom: 2rem;
    }

    .logo {
        max-width: 100%;
        margin-bottom: 2rem
    }


    footer {
        flex-direction: column;
        justify-content: center;
    }
}