/*!
Theme Name: Marylin
Author: Victor
Description: Description
Version: 1.0.0
Text Domain: marylin
*/

/* -- Normalize -- */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
/* END Normalize */

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

body {
    font-family: 'Questrial', sans-serif;
    font-size: 16px;
    line-height: 1.63;
    color: #2b2b2d;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 16px;
    margin-bottom: 16px;

    font-family: 'Inter', sans-serif;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
}

h1 {
    font-size: 56px;
    line-height: 1.29;
}

h2 {
    font-size: 32px;
}

h1 a,
h1 a:hover,
h2 a,
h2 a:hover,
h3 a,
h3 a:hover,
h4 a,
h4 a:hover,
h5 a,
h5 a:hover,
h6 a,
h6 a:hover {
    color: inherit;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
    margin-bottom: 0;
}

p {
    margin-top: 16px;
    margin-bottom: 16px;

    color: rgba(43, 43, 45, 0.85);
}

p:first-child {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

figure {
    margin: 0!important;
}

img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    text-decoration: none;
    color: #2b2b2d;

    transition: color 0.35s;
}

input,
textarea {
    display: block;
    width: 100%;
    min-height: 40px;
    padding: 10px;
    background: none;
    border: solid 1px #3e4147;
    border-radius: 2px;
}

.btn,
.btn-white,
input[type="submit"],
button {
    display: inline-block;
    padding: 19px 64px 18px;
    border: 0;
    border-radius: 2px;
    background-color: #141417;

    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    color: #ffffff;

    transition: color 0.35s, background-color 0.35s;
    
    cursor: pointer;
}

.btn-white {
    background-color: #ffffff;
    color: #141417;
}

.btn-white:hover {
    background-color: #dfdfdf;
}

.wrapper {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 100vh;
}

.content {
    flex: 1 0 auto;
}

.footer {
    flex: 0 0 auto;
}

.list-reset {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
        padding-right: 80px;
        padding-left: 80px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1440px;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-4,
.col-6 {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .col-4,
    .col-6 {
        margin-bottom: 60px;
    }

    .col-4:last-of-type,
    .col-6:last-of-type {
        margin-bottom: 0;
    }
}
/* END Base */

/* -- Header -- */
.header {
    padding: 32px 0;
    background: #e1d4c5;
}

.header--bg-white {
    background: #ffffff;
}

.header__container {
    display: flex;
    flex-wrap: wrap;
}

.header__logo {
    margin-right: auto;
}

.logo {
    display: inline-block;

    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.header__nav {
    margin-left: auto;
}

.nav__list {
    display: flex;
    flex-wrap: wrap;
}

.nav__list li {
    margin-right: 45px;
}

.nav__list li:last-of-type {
    margin-right: 0;
}

.nav__list a {
    text-transform: uppercase;
}
/* END Header */

/* -- First -- */
.first {
    padding-top: 61px;
    padding-bottom: 144px;
    background-color: #e1d4c5;
}

.first--home {
    padding: 0;
}

.first__container--bg {
    padding-top: 114px;
    padding-bottom: 208px;
    background-image: url(img/main-bg.jpg);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: auto 120%;
}

.first h1 {
    text-align: center;
}

h1.first__title {
    max-width: 624px;

    font-size: 72px;
    line-height: 1.32;
    text-align: left;
    text-transform: none;
}
/* END First */

/* -- Second -- */
.second {
    padding: 80px 0;
}

.second__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.second__col-left {
    max-width: 580px;
    margin-right: 75px;
}

.second__col-right {
    max-width: 625px;
}

.second__subtitle {
    margin-bottom: 7px;

    font-weight: 500;
    text-transform: uppercase;
    color: #a89b8d;
}

.second__title {
    margin-top: 0;
}
/* END Second */

/* -- Review -- */
.review {
    padding: 107px 0;
    background: #e1d4c5;
}

.review__text {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 64px;
    background-image: url(img/quote.svg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 40px 32px;

    font-size: 24px;
    line-height: 1.42;
    text-align: center;
}
/* END Review */

/* -- Post -- */
.post {
    padding: 80px 0;
}

.post img {
    margin-top: 32px;
    margin-bottom: 32px;
}

.post img:last-of-type {
    margin-bottom: 0;
}

.post--current {
    padding-top: 19px;
}

img.post__first-picture {
    margin-top: 0;
}

.post__wrapper-text {
    max-width: 1060px;
    margin-top: 32px;
    margin-right: auto;
    margin-left: auto;
}

.post__date {
    margin-bottom: 16px;

    line-height: 1;
    color: rgba(43, 43, 45, 0.38);
}

.post__title {
    font-size: 32px;
}

.releated-posts {
    max-width: 1220px;
    margin-top: 80px;
    margin-right: auto;
    margin-left: auto;
}

.releated-posts__title {
    margin-bottom: 32px;
    font-size: 20px;
    line-height: 1;
}
/* END Post */

/* -- Posts -- */
.posts {
    padding: 80px 0;
}

.posts__item {
    margin-bottom: 80px;
}

.posts__item-picture {
    display: block;
    width: 100%;
    height: 240px;
    margin-bottom: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.posts__item-picture--small {
    height: 198px;
}

.posts__item-play {
    width: 100%;
    height: 100%;
    background-image: url(img/icon-play.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 56px;
}

.posts__item-play--small {
    background-size: 48px;
}

.posts__item-date {
    margin-bottom: 8px;

    font-size: 14px;
    color: rgba(43, 43, 45, 0.38);
}

.posts__item-title {
    margin-top: 8px;
    margin-bottom: 8px;

    font-size: 16px;
}

.posts__item-title:hover {
    color:#727272;
}

.posts__item-text {
    margin-top: 8px;
    margin-bottom: 8px;
}

.posts__item-read-more {
    margin-top: 9px;

    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.14;
    color: #b4aaa0;
}

.posts__item-read-more:hover {
    color: #2b2b2d;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.page-numbers {
    display: block;
    width: 36px;
    margin-right: 16px;
    padding: 11px 0;
    border: solid 1px #d8d5d5;
    border-radius: 4px;

    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    color: #2b2b2d;
}

.page-numbers:last-child {
    margin-right: 0;
}

.current.page-numbers {
    border-color: #2b2b2d;
    background: #2b2b2d;

    font-weight: 900;
    color: #ffffff;
}
/* END Posts */

/* -- Personal-awards -- */
.personal-awards {
    max-width: 1220px;
    margin-top: 64px;
    margin-right: auto;
    margin-left: auto;
}

.personal-awards__list {
    margin-top: 32px;
}

.personal-awards__item {
    display: flex;
    align-items: center;

    margin-bottom: 32px;
}

.personal-awards__item:last-of-type {
    margin-bottom: 0;
}

.personal-awards__item-year {
    width: 90px;
    padding: 6px 0;
    margin-right: 24px;
    background: #e1d4c5;

    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.personal-awards__item-text {
    
}
/* END Personal-awards */

/* -- Footer -- */
.footer {
    padding: 56px 0;
    background: #202022;

    text-align: center;
}

.footer__logo {
    margin-bottom: 32px;

    letter-spacing: 2.67px;
    text-transform: uppercase;
    color: #ffffff;
}

.footer__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__item {
    margin-right: 24px;
}

.footer__item:last-of-type {
    margin-right: 0;
}

.footer__link {
    display: block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.footer__link--linkedin {
    background-image: url(img/icon-linkedin.svg);
}

.footer__link--pinterest {
    background-image: url(img/icon-pinterest.svg);
}

.footer__link--crunchbase {
    background-image: url(img/icon-crunchbase.svg);
}

.footer__link--twitter {
    background-image: url(img/icon-twitter.svg);
}
/* END Footer */