@charset "UTF-8";

/*
Theme Name: Ovakim Book
Author: Mger Martirosian
Author URI: https://wordpress.org/
*/

/* Bebas Neu */
@font-face {
    font-family: 'Bebas Neu';
    src: url('./assets/fonts/Bebas_Neue/BebasNeue-Bold.ttf') format('truetype');
}

/* Gilroy */
@font-face {
    font-family: 'Gilroy';
    src: url('./assets/fonts/Gilroy/Gilroy-Regular.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'Gilroy';
    src: url('./assets/fonts/Gilroy/Gilroy-Bold.ttf') format('truetype');
    font-weight: 700;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    max-height: 100%;
}

.container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

/* header */
header {
    background-color: #E6391E;
    padding: 16px;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}
.header__nav ul li a {
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    line-height: 22px;
    color: #fff;
    text-decoration: none;
    display: block;
}
.header__nav ul li:last-child a {
    padding: 10px 20px;
    background-color: #000000;
    font-weight: 700;
    border-radius: 40px;
}
.header__logo a {
    font-family: 'Bebas Neu', sans-serif;
    font-size: 24px;
    line-height: 24px;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
}
.header-burger-menu , .header-menu-dropdown {
    display: none;
}

main {
    overflow: hidden;
}
/* intro */
.book-intro {
    background: #fff;
    padding-top: 170px;
}
.book-intro .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.book-intro__label {
    font-family: 'Bebas Neu', sans-serif;
    font-size: 36px;
    color: #fff;
    background-color: #E6391E;
    padding: 12px 20px 8px;
    border-radius: 60px;
    transform: rotate(-2deg);
}
.book-intro h1 {
    font-family: 'Bebas Neu';
    font-size: 86px;
    color: #000;
    text-align: center;
    margin: 26px 0 30px;
}
.book-intro h4 {
    font-family: 'Gilroy', sans-serif;
    font-size: 36px;
    line-height: 160%;
    font-weight: 400;
    color: #000;
    text-align: center;
}
.book-intro__buy-btn {
    background-color: #000;
    border-radius: 50px;
    padding: 20px 40px;
    font-family: 'Gilroy', sans-serif;
    font-size: 28px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    margin: 30px 0 50px;
}
.book-intro__pic {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}
.book-intro-right {
    position: absolute;
    right: 33%;
    bottom: -15%;
    transform: rotate(-13.53deg);
    width: 190px;
    display: block;
}
/* about-book */
#about-book {
    background: #000;
    position: relative;
}
#about-book .container {
    position: relative;
    z-index: 2;
}
.about-book-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
}
.about-book__text {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 570px;
    position: relative;
}
#about-book h2 {
    font-family: 'Bebas Neu';
    font-size: 86px;
    color: #fff;
    text-transform: uppercase;
}
#about-book p {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: #fff;
}
.about-book__advantages {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 90%;
}
.about-book__advantages li {
    background-color: #141414;
    padding: 15px 30px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 300;
    line-height: 160%;
    color: #fff;
}
.about-book__but-btn {
    background-color: #E6391E;
    padding: 20px 40px;
    border-radius: 50px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #fff;
    text-decoration: none;
    width: max-content;
    margin-top: 50px;
}
.book-pen {
    position: absolute;
    left: -20px;
    bottom: -75px;
}
.about-book__pic {
    position: absolute;
    right: -16%;
    top: 0;
    max-width: 800px;
}

/* presentation */
#presentation {
    background-color: #fff;
    padding: 125px 0 100px;
}
#presentation .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
#presentation h2 {
    font-family: 'Bebas Neu';
    font-size: 86px;
    text-align: center;
    text-transform: uppercase;
}
#presentation p {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 18px;
    text-align: center;
}
#presentation video {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    line-height: 1;
    border: none;
    /* object-fit: cover; */
    object-position: top;
}
.swiper.presentation-slider {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.presentation-slider .swiper-slide > div {
    max-height: 450px;
    overflow: hidden;
}

.presentation-slider .swiper-wrapper {
    margin-bottom: 50px;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.presentation-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #EEEEEE;
    opacity: 1;
}
.presentation-slider .swiper-pagination-bullet-active {
    background: #BBBBBB;
    opacity: 1;
}
.action-btn {
    position: absolute;
    display: inline-block;
    stroke-width: 3px;
    stroke: #FFF;
    backdrop-filter: blur(7.5px);
    -webkit-backdrop-filter: blur(7.5px);
    width: 110px;
    height: 110px;
    z-index: 3;
    background: transparent;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    border: 3px solid #fff;
    transform: translate(-50%, -50%);
    display: flex;
}
.action-btn.pause {
    opacity: 0;
}
.video-container:hover .action-btn.pause {
    opacity: 1;
}
.action-btn.pause::before {
    background: url(./assets/img/pause.svg) no-repeat;
    margin-left: -2px;
}
.action-btn::before {
    content: '';
    background: url(./assets/img/play.svg) no-repeat;
    display: inline-block;
    width: 38px;
    height: 42px;
    background-position: center;
    background-size: cover;
    left: 50%;
    position: relative;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-left: 4px;
}

/* become-partner */
#become-partner {
    background-color: #EEE;
}
#become-partner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.become-partner__text {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 590px;
}
.book-price__holder {
    background: #fff;
    padding: 15px 30px;
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    width: max-content;
}
#become-partner h2 {
    font-family: 'Bebas Neu';
    font-size: 86px;
    text-transform: uppercase;
}
#become-partner p {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 18px;
}
.social-networks {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}
.become-partner__pic {
    display: flex;
    margin-top: -20px;
}
.become-partner-right {
    position: absolute;
    right: -12%;
    bottom: -19%;
}

/* reviews */
#customer-reviews {
    padding: 150px 0 100px;
}
#customer-reviews h2 {
    font-family: 'Bebas Neu';
    font-size: 86px;
    text-transform: uppercase;
    text-align: center;
}
.swiper.customer-reviews-slider {
    width: 100%;
    height: 100%;
    margin-top: 50px;
}
.customer-reviews-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.3;
    transition: opacity .3s ease-in-out;
}
.customer-reviews-slider .swiper-slide.swiper-slide-active {
    opacity: 1;
}
.customer-reviews-slider .swiper-wrapper {
    margin-bottom: 70px;
}
.customer-reviews-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 550px;
    object-fit: cover;
}
.customer-reviews-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #EEEEEE;
    opacity: 1;
}
.customer-reviews-slider .swiper-pagination-bullet-active {
    background: #BBBBBB;
    opacity: 1;
}
.customer-reviews__content {
    display: flex;
    align-items: center;
    background-color: #EEEEEE;
    padding: 60px;
    gap: 60px;
}
.customer-reviews__pic {
    max-width: 330px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
}
.customer-reviews__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.customer-reviews__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.customer-reviews__title {
    font-family: 'Bebas Neu';
    font-size: 42px;

}
.customer-reviews__descr {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 18px;
}
.customer-reviews__author {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 18px;
}

/* buy-book */
#buy-book {
    padding: 100px 0;
    background-color: #000000;
}
#buy-book h2 {
    font-family: 'Bebas Neu';
    font-size: 86px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}


/* footer */
footer {
    background-color: #E6391E;
    padding: 16px;
}
footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 200px;
}
.footer__logo {
    min-width: max-content;
}
.footer__logo a {
    font-family: 'Bebas Neu', sans-serif;
    font-size: 24px;
    line-height: 24px;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
}
.footer__text {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #fff;
}


/* overlay */
.menu-overlay .menu-overlay__background {
    display: none;
}
.menu-overlay.active .menu-overlay__background {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 4;
}

/* form */
.buy-book__form {
    margin-top: 40px;
}
.buy-book__form form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.buy-book__form form p > span {
    display: flex;
}

.buy-book__form form p:nth-of-type(1), .buy-book__form form p:nth-of-type(2), .buy-book__form form p:nth-of-type(3) {
    width: calc((100% / 3) - 40px);
}

.buy-book__form form p:nth-of-type(2) input {
    padding: 15px 30px 15px 66px!important;
    height: 60px;
}

.buy-book__form form input {
    width: 100%;
    padding: 15px 30px;
    background: #141414;
    color: #fff;
    outline: none;
    border: none;
    border-radius: 10px;
    height: 30px;
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.buy-book__form form textarea {
    width: 100%;
    padding: 15px 30px;
    background: #141414;
    color: #fff;
    outline: none;
    border: none;
    border-radius: 10px;
    resize: none;
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.buy-book__form form p:nth-of-type(4) {
    width: 100%;
}

.buy-book__form form p:nth-of-type(5) {
    margin: auto;
}

.buy-book__form form p:nth-of-type(5) input {
    background-color: #E6391E;
    padding: 20px 40px;
    font-family: 'Gilroy', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    height: unset;
    border-radius: 50px;
    cursor: pointer;
}

.wpcf7-response-output {
    position: relative;
    width: 100%;
    text-align: center;
    color: #fff;
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 16px;
    padding: 10px!important;
}
.wpcf7-not-valid-tip {
    position: absolute;
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 14px;
    bottom: -25px;
    left: 5px;
}

.intl-tel-input .selected-flag {
    padding: 0 0 0 20px;
}
.intl-tel-input .selected-flag .iti-flag {
    top: 50%;
    bottom: unset;
    transform: translateY(-59%);
}
.intl-tel-input .selected-flag .iti-arrow {
    right: -10px;
    margin-top: -3px;
}
/* end form */

@media (max-width: 1600px) {
    .book-intro-right {
        right: 27%;
    }
    .about-book__pic {
        right: -7%;
        max-width: 720px;
    }
    .become-partner-right {
        right: -7%;
    }
}

@media (max-width: 1365px) {

    .container {
        max-width: 960px;
    }

    /* 86 */
    .book-intro h1, #about-book h2, #presentation h2, #become-partner h2, #customer-reviews h2, #buy-book h2 {
        font-size: 72px;
    }

    /* 36 */
    .book-intro h4, .book-intro__label {
        font-size: 28px;
    }

    /* 28 */
    .book-intro__buy-btn {
        font-size: 24px;
    }
    .about-book__but-btn {
        margin-top: 30px;
        font-size: 24px;
        padding: 15px 40px;
    }

    /* 18 */
    #about-book p {
        font-size: 16px;
    }

    /* header */
    .header__nav ul li a {
        font-size: 16px;
    }
    .header__logo a {
        font-size: 22px;
    }

    /* intro */
    .book-intro {
        padding-top: 120px;
    }

    /* about-book */
    .about-book__text {
        max-width: 500px;
    }
    .about-book__pic {
        max-width: 590px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* presentation */
    .presentation-slider .swiper-slide > div {
        max-height: 370px;
    }

    /* partner */
    .become-partner__text {
        max-width: 500px;
        margin-right: 30px;
    }

    /* reviews */
    .customer-reviews__content {
        flex-direction: column;
    }

    /* footer */
    .footer__logo a {
        font-size: 22px;
    }

    /* form */
    .buy-book__form form {
        gap: 40px 20px;
    }
    .buy-book__form form p:nth-of-type(1), .buy-book__form form p:nth-of-type(2), .buy-book__form form p:nth-of-type(3) {
        width: calc((100% / 3) - 20px);
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 730px;
    }

    .book-intro h1, #about-book h2, #presentation h2, #become-partner h2, #customer-reviews h2, #buy-book h2 {
        font-size: 56px;
    }
    
    /* header */
    .header__nav {
        display: none;
    }
    .header-burger-menu {
        display: flex;
        align-items: center;
        position: relative;
        right: 0;
        width: 30px;
        height: 24px;
        z-index: 6;
        cursor: pointer;
    }
    .header-burger-menu > span, .header-burger-menu > span::before, .header-burger-menu > span::after {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition-duration: .25s;
    }
    .header-burger-menu > span::before {
        content: '';
        top: -9px;
    }
    .header-burger-menu > span::after {
        content: '';
        top: 9px;
    }  
    .header-menu-dropdown {
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
        position: fixed;
        visibility: hidden;
        top: 0;
        right: -100%;
        width: 450px;
        height: 100%;
        padding: 17px 40px 50px;
        background-color: #E6391E;
        z-index: 5;
        transition-duration: .25s;
    }
    header .container.open .header-menu-dropdown {
        visibility: visible;
        right: 0;
        overflow-y: scroll;
    }

    .header-menu-dropdown__nav {
        padding-top: 50px;
        margin-bottom: 100px;
    }
    .header-menu-dropdown__nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .header-menu-dropdown__nav ul li a {
        text-decoration: none;
        color: #fff;
        font-family: 'Gilroy', sans-serif;
        font-size: 18px;
        line-height: 22px;
        text-decoration: none;
        display: block;
    }

    /* intro */
    .book-intro-right {
        width: 22%;
        right: 34%;
    }
    .become-partner-right {
        right: -9%;
        width: 29%;
    }

    /* about-book */
    .about-book__pic {
        max-width: 520px;
        right: -20%;
    }
    .about-book__text {
        max-width: 410px;
    }
    .about-book__but-btn {
        font-size: 18px;
    }
    .book-pen {
        bottom: -45px;
    }

    /* presentation */
    .presentation-slider .swiper-slide > div {
        max-height: 430px;
    }

    /* partner */
    #become-partner p {
        font-size: 16px;
    }
    .book-price__holder {
        padding: 15px 20px;
    }
    .become-partner__text {
        max-width: 300px;
        margin-right: 20px;
        gap: 20px;
    }

    /* form */
    .buy-book__form form p:nth-of-type(1), .buy-book__form form p:nth-of-type(2), .buy-book__form form p:nth-of-type(3) {
        width: 100%;
    }
    .intl-tel-input {
        width: 100%;
    }
}

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

    #about-book h2, #presentation h2, #become-partner h2, #customer-reviews h2, #buy-book h2 {
        font-size: 42px;
    }
    .book-intro h1 {
        font-size: 42px;
        margin: 26px 0 10px;
    }

    /* header */
    header {
        padding: 16px 0;
    }

    /* intro */
    .book-intro {
        padding-top: 80px;
    }
    .book-intro h4, .book-intro__label {
        font-size: 24px;
    }
    .book-intro__buy-btn {
        font-size: 20px;
        padding: 15px 40px;
    }

    /* about-book */
    #about-book .container {
        display: flex;
        flex-direction: column;
    }
    .about-book__pic {
        position: relative;
        right: unset;
        top: unset;
        transform: unset;
        width: 92%;
        padding-bottom: 70px;
    }
    .book-pen {
        display: none;
    }
    .about-book__text {
        max-width: unset;
        padding: 100px 0 50px;
    }
    .about-book__advantages {
        width: 100%;
    }

    /* presentation */
    .presentation-slider .swiper-slide > div {
        max-height: 300px;
    }

    /* partner */
    #become-partner .container {
        flex-direction: column;
    }
    .become-partner__text {
        max-width: unset;
        margin-right: unset;
        padding: 100px 0 40px;
    }
    .become-partner__pic {
        width: 80%;
        margin-top: unset;
    }
    .become-partner-right {
        bottom: -3%;
    }
    .book-intro-right {
        bottom: -3%;
        left: -6%;
        right: unset;
        width: 23%;
    }

    /* reviews */
    #customer-reviews {
        padding: 100px 0;
    }
    .customer-reviews-slider .swiper-slide img {
        height: 500px;
    }

    /* footer */
    footer {
        padding: 16px 0;
    }
    footer .container {
        gap: 20px;
    }
    .footer__logo {
        min-width: unset;
    }
}

@media (max-width: 550px) {
    .header__logo a {
        font-size: 20px;
        bottom: -2px;
        position: relative;
    }
    .header-menu-dropdown {
        padding: 17px 20px 50px;
        width: calc(100% - 40px);
    }

    .book-intro {
        padding-top: 60px;
    }
    .book-intro__label {
        font-size: 22px;
    }
    .book-intro__label {
        font-size: 20px;
        line-height: 130%;
    }
    .book-intro__buy-btn {
        font-size: 18px;
        padding: 15px 30px;
    }
    .book-intro-right {
        width: 33%;
    }

    .about-book__text {
        padding: 70px 0 50px;
    }
    .about-book__but-btn {
        margin: auto;
    }
    .about-book__pic {
        padding-bottom: 50px;
    }

    #presentation {
        padding: 70px 0;
    }
    .presentation-slider .swiper-slide > div {
        max-height: 500px;
    }
    #presentation p {
        font-size: 16px;
    }

    .become-partner__text {
        padding: 70px 0 40px;
    }
    .become-partner-right {
        width: 42%;
    }

    #customer-reviews {
        padding: 70px 0;
    }
    .customer-reviews__content {
        padding: 20px;
        gap: 40px;
    }
    .customer-reviews__title {
        font-size: 28px;
    }
    .customer-reviews__descr, .customer-reviews__author {
        font-size: 16px;
    }

    #buy-book {
        padding: 70px 0;
    }
}

@media (max-width: 440px) {
    .presentation-slider .swiper-slide > div {
        max-height: 410px;
    }

    .customer-reviews-slider .swiper-slide img {
        height: 410px;
    }
}

@media (max-width: 375px) {
    .presentation-slider .swiper-slide > div {
        max-height: 340px;
    }
}
