@import 'normalize.css';
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Raleway&display=swap');

@font-face {
    font-weight: 400;
    font-family: 'Century Gothic';
    src: url("../fonts/centurygothic/centurygothic.ttf");
}

@font-face {
    font-weight: 700;
    font-family: 'Century Gothic';
    src: url("../fonts/centurygothic/centurygothic_bold.ttf");
}

body {
    font-family: 'Century Gothic', sans-serif;
    font-size: 16px;
    font-style: normal;
    background: #fff;
}

.blog-page {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

header,
.logo,
.logo-title,
.intro,
.header-wrapper,
.header-wrapper nav,
.header-wrapper nav ul,
.buttons,
.buttons .button,
.about,
.advantages,
.advantages-list,
.advantages-list .card,
.reviews,
.review-list,
.review-item,
footer,
.footer-menu
{
    display: flex;
}

header {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid #C4C4C4;
}

header a {
    text-decoration: none;
    color: #000;
}

.nav-button-container {
    display: none;
    /*height: 100%;*/
    width: 40px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-button,
.nav-button::before,
.nav-button::after {
    display: block;
    background-color: #000;
    position: absolute;
    height: 3px;
    width: 40px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.nav-button::before {
    content: '';
    margin-top: -13px;
}

.nav-button::after {
    content: '';
    margin-top: 13px;
}

.header-wrapper {
    justify-content: space-between;
    padding-top: 4px;
    padding-bottom: 12px;
}

.header-wrapper nav {
    align-items: center;
    flex-direction: row;
}

.header-wrapper nav ul {
    list-style: none;
}

.header-wrapper nav ul li {
    text-transform: capitalize;
    font-weight: 700;
}

.header-wrapper nav ul li:first-child {
    padding-right: 40px;
}

.header-wrapper nav ul li:last-child {
    padding-left: 40px;
}

.header-wrapper nav a.active {
    color: #B83DAB;
}

.logo {
    align-items: center;
    margin-left: 11px;
    margin-top: 2px;
}

.logo span {
    margin-left: 15px;
}

.logo-image {
    width: 51px;
    height: 54px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: 37px;
    text-transform: capitalize;
}

.logo span {
    font-weight: 700;
}

.logo-title {
    align-items: center;
    margin-left: 15px;
}

.logo-title span {
    font-weight: 700;
}

.container {
    width: 1190px;
    padding-left: 15px;
    padding-right: 15px;
}

/*.blog-wrapper {
    padding: 0 20px;
}*/

main {
    color: #fff;
}

.main-content {
    flex: 1;
    color: #000;
}

.intro {
    justify-content: center;
    background: linear-gradient(0deg, #B83DAB 0%, #FF9CF5 100%);
}

.intro-wrapper {
    padding-top: 100px;
    padding-bottom: 116px;
    display: grid;
    grid-template-areas:
    "title photos"
    "subtitle photos";
    grid-template-columns: auto max(504px);
    grid-template-rows: auto auto;
}

.title {
    grid-area: title;
}

.title h1 {
    font-size: 46px;
    font-weight: 700;
    margin: 75px 0 0 0;
    /*padding-left: 10px;*/
    line-height: 59px;
}

.title h2 {
    font-size: 22px;
    font-weight: 400;
    /*padding-left: 10px;*/
    line-height: 24px;
    margin: 22px 0 0 0;
}

.photos {
    grid-area: photos;
    /*width: 100%;*/
    max-width: 504px;
    /*max-height: 568px;*/
}

.photos img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.subtitle {
    grid-area: subtitle;
    padding-left: 10px;
    margin-top: 22px;
}

.subtitle h3 {
    font-size: 22px;
    font-weight: 400;
}

.buttons {
    margin-top: 65px;
    gap: 15px;
}

.buttons .button {
    justify-content: center;
    padding: 10px 16px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.12);
}

.buttons .button > img {
    width: 153px;
    height: 40px;
}

.about, .advantages {
    color: #37373C;
    justify-content: center;
    font-size: 20px;
}

.about-wrapper {
    padding-top: 60px;
    text-align: center;
}

.about-title {
    text-transform: uppercase;
}

.about-subtitle {
    margin-top: 20px;
    font-weight: 700;
    line-height: 29px;
}

.advantages {
    padding-top: 100px;
}

.advantages-wrapper {
    text-align: center;
}

.advantages-title {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.advantages-subtitle {
    padding: 10px 0;
    margin: 0;
}

.advantages-subtitle span {
    color: #B83DAB;
    font-weight: 700;
}

.advantages-list {
    margin-top: 48px;
    padding: 81px 88px;
    border-radius: 40px;
    background: linear-gradient(274deg, #F2F2F2 31.72%, rgba(242, 242, 242, 0.26) 99.69%);
}

.advantages-list {
    flex-wrap: wrap;
    gap: 60px 0;
    justify-content: space-between;
}

.advantages-list .card {
    flex: 0 0 30%;
}

.advantages-list .card .card-check-icon, .advantages-list .card .card-check-icon img {
    width: 50px;
}

.advantages-list .card-content {
    text-align: left;
}

.advantages-list .card-content-title {
    font-size: 24px;
    font-weight: 700;
    padding-top: 5px;
}

.advantages-list .card-content-body {
    padding-top: 20px;
    line-height: 31px;
}

.blog-link {
    cursor: pointer;
}

.blog-link > a {
    display: inherit;
}

.blog-link a, .blog-link a:visited {
    text-decoration: none;
    color: #37373C;
}

.reviews {
    color: #37373C;
    justify-content: center;
    font-size: 20px;
    background: linear-gradient(180deg, #FFF 2.4%, rgba(241, 247, 254, 0.96) 18.02%, rgba(47, 128, 237, 0.44) 100%);
}

.reviews-wrapper {
    padding: 120px 0 96px;
    text-align: center;
}

.reviews-title {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    padding-bottom: 60px;
}

.review-list {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.review-item {
    padding: 20px;
    border-radius: 24px 24px 24px 0px;
    background: #FFF;
    box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.06);
    flex: 0 0 44%;
    text-align: left;
    font-size: 16px;
    flex-direction: column;
    justify-content: space-between;
}

.review-content-author {
    font-weight: 700;
    padding-top: 5px;
}

footer {
    border-top: 1px solid rgba(196, 196, 196, 0.50);
    background: #333642;
    padding: 66px 0px;
    justify-content: center;
    color: #fff;
}

.footer-menu {
    justify-content: space-between;
    font-size: 14px;
}

.footer-menu a, .footer-menu a:visited {
    color: #fff;
    text-decoration: none;
}

.footer-menu ul {
    padding: 0;
    list-style: none;
}

.footer-menu ul li.mail {
    list-style-image: url("/images/mail.svg");
}

.footer-menu ul li.tg {
    list-style-image: url("/images/telegram.svg");
}

.footer-menu li {
    padding-bottom: 20px;
}

.copyright {
    display: flex;
    justify-content: center;
    font-size: 16px;
}

.blog {
    display: flex;
    justify-content: center;
}

.blog h1 {
    text-align: center;
    text-transform: capitalize;
    font-size: 46px;
    padding-top: 76px;
    margin: 0;
}

.blog p {
    text-align: center;
    margin: 35px 0;
    font-size: 18px;
}

.blog .nav-buttons-list {
    display: flex;
    /*align-items: flex-start;*/
    gap: 50px;
    justify-content: center;
    padding: 5px 0;
}

.blog .nav-buttons-list .nav-btn {
    min-width: 86px;
    border-radius: 7px;
    border: 1px solid #A8ABD2;
    background: #FFF; 
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 4px 20px;
    width: 98px;
    text-align: center;
    cursor: pointer;
}

.blog .articles-list {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 53px;
    margin-bottom: 150px;
}

.blog .articles-list article {
    width: 300px;
    padding: 20px;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 4px 10px 30px 0px rgba(0, 0, 0, 0.04), 0px 12px 28px 0px rgba(4, 156, 221, 0.07);
    cursor: pointer;
}

.blog .articles-list article a, .blog .articles-list article a:visited {
    text-decoration: none;
    color: #000;
}

.articles-list .article-photo {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.articles-list h2 {
    font-size: 20px;
}

.articles-list img {
    border-radius: 5px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.12);
}

.article-content {
    display: flex;
    justify-content: center;
}

.article-wrapper {
    width: 820px;
    padding: 0 1em;
}

.article-head_image {
    overflow: hidden;
}

.article-head_image img {
    width: 100%;
    height: 600px;
    border-radius: 25px;
    object-fit: cover;
}

.article-head_info {
    padding: 41px 0 23px 0;
}

.article-head_info .date {
    font-size: 16px;
    color: #37373C;
}

.article-head_info .hashtag {
    font-size: 20px;
    color: #37373C;
    margin-left: 60px;
}

.article-head_copyright {
    font-size: 1.125em;
    padding-top: 15px;
}

.article-body p {
    font-size: 26px;
    line-height: 40px;
}

.article-body p > span {
    font-weight: bold;
}