body {
	padding: 20px;
	background-color: #fff;
}

footer {
	border-top: 2px solid #eee;
	padding-top: 15px;
}

.block {
	margin-bottom: 20px;
}

.block img {
	max-width: 100%;
	height: auto;
}

@font-face {
    font-family: Oswald;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Oswald-Regular.ttf);
}
@font-face {
    font-family: Oswald;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/Oswald-Bold.ttf);
}
@font-face {
    font-family: Oswald;
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/Oswald-Light.ttf);
}

@font-face {
    font-family: Oswald;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/Oswald-Medium.ttf);
}

@font-face {
    font-family: PTSans;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/PTSans-Regular.ttf);
}
@font-face {
    font-family: PTSans;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/PTSans-Bold.ttf);
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/OpenSans-Regular.ttf);
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/OpenSans-Light.ttf);
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/OpenSans-Medium.ttf);
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/OpenSans-Bold.ttf);
}


:root {
    --body-background-color: rgba(255, 255, 255, 1);
    --block-color1: rgba(255, 255, 255, 1);
    --block-color2: rgba(253,237,231, 1);
    --block-color3: rgba(243,248,250, 1);
    --text-color: rgba(17, 17, 17, 1);
    --title-color: rgba(85, 92, 102, 1);
    --bottom-bg: rgba(17, 17, 17, 1);
    --bottom-color: rgba(255, 255, 255, 1);
    --button-color: rgba(246, 109, 55, 1);
    --button-hover-color: #abd0d8;
}

html {
    min-height: 100vh
}

body {
    padding: 0;
    margin: 0;
    background-color: var(--body-background-color);
    min-height: 100vh
}

h1 {
    font-family: Oswald, sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--text-color);
    margin: 32px 0;
}

h2 {
    color: var(--title-color);
    font-family: "PT Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    height: 24px;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.cell ul {
    list-style: none;
    color: var(--text-color);
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    padding-left: 0;
}

ul li {
    margin-bottom: 15px;
    color: var(--text-color);
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
}
ul li:before {
    content: '\2713';
    margin: 0 1em 0 10px;    /* any design */
}


.bottom-wrapper {
    flex-grow: 1;
    flex-basis: 0;
    background-color: var(--bottom-bg);
}

.page-button {
    position: relative;
    display: inline-block;
    background-color: var(--button-color);
    color: var(--block-color1);
    border-radius: 11px;
    padding: 12px 50px 12px 30px;
    margin-top: 20px;
    text-decoration: none;

    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.page-button:after {
    content: "\27A2";
    position: absolute;
    right: 30px;
    top: 50%;
    margin-top: -10px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.page-button:hover, .page-button:focus, .page-button:active {
    background-color: var(--button-hover-color);
    text-decoration: none;
}

.text {
    color: var(--title-color);
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.bottom-wrapper {
    background-color: var(--bottom-bg);
    color: var(--bottom-color);
    text-align: center;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

.header-wrapper {
    margin-top: 30px;
    max-height: 30px;
    text-align: right;
    width: 75vw;
    max-width: 1400px;
}

.phone {
    font-family: Oswald, sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
}

.phone:hover, .phone:active, .phone:focus {
    text-decoration: none;
}

.bottom-wrapper div {
    display: block;
    font-family: Oswald, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--bottom-color);
    text-decoration: none;
    margin-bottom: 5px;
}

.bottom-wrapper a {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--bottom-color);
    text-decoration: none;
}

.bottom-wrapper a:hover {
    text-decoration: underline;
}
.main-wrapprer {
    display: flex;
    place-items: center;
    min-height: 100vh;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.center-wrapper {
    display: grid;
    flex-grow: 1;
    flex-basis: 0;
    grid-gap: 40px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    justify-content: space-between;
    align-items: stretch;
    justify-items: center;
    align-content: stretch;
    width: 75vw;
    max-width: 1400px;
    padding: 50px 0 100px;
}

.cell {
    flex-grow: 1;
    flex-basis: 0;
    width: 100%;
    background-color: #f00;
}

.cell.top-left {
    background-color: var(--block-color1);
}

.cell.top-right {
    background-color: var(--block-color2);
}

.cell.bottom-left {
    background-color: var(--block-color3);
}

.cell.bottom-right {
    background-color: var(--block-color3);
}

.cell-wrapper {
    margin: 40px;
}

/******************************************/

@media all and (max-width: 1200px) {
    .center-wrapper {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: auto;
        width: 90vw;
    }
}
