@font-face {
  font-family: Onest;
  font-display: swap;
  src: url("../fonts/Onest-Black.woff2") format("woff2"), url("../fonts/Onest-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: Onest;
  font-display: swap;
  src: url("../fonts/Onest-Bold.woff2") format("woff2"), url("../fonts/Onest-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: Onest;
  font-display: swap;
  src: url("../fonts/Onest-ExtraBold.woff2") format("woff2"), url("../fonts/Onest-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: Onest;
  font-display: swap;
  src: url("../fonts/Onest-ExtraLight.woff2") format("woff2"), url("../fonts/Onest-ExtraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: Onest;
  font-display: swap;
  src: url("../fonts/Onest-Light.woff2") format("woff2"), url("../fonts/Onest-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: Onest;
  font-display: swap;
  src: url("../fonts/Onest-Medium.woff2") format("woff2"), url("../fonts/Onest-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: Onest;
  font-display: swap;
  src: url("../fonts/Onest-SemiBold.woff2") format("woff2"), url("../fonts/Onest-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: Onest;
  font-display: swap;
  src: url("../fonts/Onest-Regular.woff2") format("woff2"), url("../fonts/Onest-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: Onest;
  font-display: swap;
  src: url("../fonts/Onest-Thin.woff2") format("woff2"), url("../fonts/Onest-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
}

/* html */
:root {
  --white: #fff;
  --black: #000;
  --pink: #e29cb4;
  --brown: #cd9a7a;
  --primary: #28374d;
  --primary-light: #4b8bd1;
  --grey-primary: #5c5c5c;
  --grey-primary-light: #8798a5;
  --grey-primary-lighter: #d2d8dd;
  --btn-hover: #3f587c;
  --btn-active: #1d2838;
  --btn-light-hover: #57a5f8;
  --btn-light-active: #3a6ca1;
}

html {
    line-height: 1.15; 
    -webkit-text-size-adjust: 100%;
}
  
body {
    margin: 0;
    color: var(--grey-primary);
    min-height: 100vh;
    font: 16px/22px 'Onest', Helvetica, sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--white);
}

/* main */
*, *:before, *:after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

/* grid */
.container {
    width: 100%;
    max-width: 1280px;
    padding: 0 16px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 20px;
    }
}

/* text */
* {
    -ms-hyphens: none;
    -webkit-hyphens: none;
    hyphens: none;
}

p {
    padding: 0;
    margin: 0;
}


a {
    text-decoration: none;
    cursor: pointer;
    background-color: transparent;
    transition: all .2s ease-in-out;
    color: var(--primary);
}

a:hover {
    color: var(--primary-light);
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none; 
}

b,
strong {
    font-weight: 800;
}

small {
    font-size: 80%;
}

details {
    display: block;
}

summary {
    display: list-item;
}

.underline {
    text-decoration: underline;
}

h1, .h1 {
    font-size: 35px;
    line-height: 1em;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    padding: 0;
}

h1 span,
.h1 span {
	font-size: inherit;
	font-weight: inherit;
	color: var(--primary);
    margin: 0;
    padding: 0;
}

h2, .h2 {
    font-size: 30px;
    line-height: 1.2em;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    padding: 0;
}

h3, .h3 {
    font-size: 22px;
    line-height: 1.3em;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    padding: 0;
}

h4, .h4 {
    font-size: 18px;
    line-height: 1.3em;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    padding: 0;
}

.content h1,
.content h2,
.content h3,
.content h4 {
    margin: 0;
    padding: 1em 0 .5em 0;
}

.fs__s {
    font: 14px/17px 'Onest', Helvetica, sans-serif;
}

.fs__m {
    font: 16px/22px 'Onest', Helvetica, sans-serif;
}

.fs__l {
    font: 18px/24px 'Onest', Helvetica, sans-serif;
}

.fw__n {
    font-weight: 400;
}

.fw__m {
    font-weight: 600;
}

.fw__b {
    font-weight: 800;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: .05em;
}

.content p {
    margin: 0;
    padding-bottom: 1em;
}

.content ul {
    padding-bottom: 1em;
}

.content ul li {
    padding: 0 0 15px 30px;
    position: relative;
}

.content ul li::before {
	position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: "✓";
    border-radius: 50%;
    background: #aebd63;
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    padding: 4px 0 0 4px;
}

.content a:not(.button):not(.button-secondary) {
    color: #4b8bd1;
    text-decoration: underline;
}

.nowrap {
    white-space: nowrap;
}

.through {
    text-decoration: line-through;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

@media (min-width: 1024px) {
    h1, .h1 {
        font-size: 44px;
        line-height: 1em;
    }
    
    h2, .h2 {
        font-size: 37px;
        line-height: 1.2em;
    }
    
    h3, .h3 {
        font-size: 24px;
        line-height: 1.3em;
    }
    
    h4, .h4 {
        font-size: 20px;
        line-height: 1.3em;
    }
}

/* colors */
.white {
    color: var(--white);
}
.white__bkg {
    background: var(--white);
}

.pink {
    color: var(--pink);
}

.pink__bkg {
    background: var(--pink);
}

.primary {
    color: var(--primary);
}

.primary__bkg {
    background: var(--primary);
}

.primary-light {
    color: var(--primary-light);
}

.primary-light__bkg {
    background: var(--primary-light);
}

.grey-primary {
    color: var(--grey-primary);
}

.grey-primary__bkg {
    background: var(--grey-primary);
}

.grey-primary-light {
    color: var(--grey-primary-light);
}

.grey-primary-light__bkg {
    background: var(--grey-primary-light);
}

.grey-primary-lighter {
    color: var(--grey-primary-lighter);
}

.grey-primary-lighter__bkg {
    background: var(--grey-primary-lighter);
}

/* forms */
:focus {
    outline: 0;
}

input,
textarea {
	display: block;
	border: 1px solid #d7d7d7;
	border-radius: 12px;
	padding: 18px 16px;
	background: var(--white);
	width: 100%;
	font-weight: 400;
	font-size: 15px;
	line-height: 133%;
	color: var(--primary);
	transition: all 300ms ease;
}

input:focus,
textarea:focus {
	border-color: var(--primary);
}

form>textarea {
	height: 108px;
}

form button {
	margin-top: 40px;
}

.button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-weight: 400;
	font-size: 18px;
	line-height: 111%;
	color: var(--white);
    border: 0;
	border-radius: 40px;
	background: var(--primary);
	padding: 18px 28px;
	transition: all 300ms ease;
}

.button:hover {
	background: var(--btn-light-hover);
    color: var(--white);
}

.button:active {
	background: var(--btn-light-active);
    color: var(--white);
}

button {
    border: 0;
}

/* breadcrumbs */
.breadcrumb {
    display: flex;
}

.breadcrumb li {
    padding-right: 10px;
    color: var(--grey-primary-lighter);
}

.breadcrumb li a {
    color: var(--grey-primary-light);
}
