﻿:root {
    --red: #FF0000;
    --blue: #082F95;
    --lBlue: #4a72d8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

html,
body {
    font-size: 16px;
    color: var(--blue);
    font-family: 'Roboto', sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

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

h1 {
    font-size: 46px;
}

h2 {
    font-size: 34px;
}

@media(max-width:767px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 24px;
    }   
}

a {
    text-decoration: none;
    color: var(--blue);
}
a,
button {
    cursor: pointer;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding-top: 60px;
}

.btn {
    display: inline-block;
    position: relative;
    text-decoration: none;
    border: none;
    z-index: 1;
    text-transform: uppercase;
    padding: 20px 40px;
    font-size: 18px;
    border: 1px solid var(--blue);
    color: var(--blue);
    transition: all 0.3s ease-out;
}

.btn_white {
    border: 1px solid #fff;
    color: #fff;
}

.btn:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background-color: var(--blue);
    transition: all 0.3s ease-out;
}

.btn:hover {
    color: #fff;
}

.btn:hover:after {
    left: 0;
    width: 100%;
}


.header__body {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 15px 0;
}

.header__item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__logo {
    max-width: 160px;
}

.header__contact {
    display: block;
    position: relative;
    font-weight: bold;
    color: var(--blue);
    text-decoration: none;
    padding-left: 20px;

}

.header__contact::before {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-position: 50% 50%;
    top: 50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
}

.header__item_adress {
    position: relative;
    padding-left: 24px;
}

.header__item_adress::before {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-position: 50% 50%;
    top: 50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-image: url('../img/icons/geo.png');
}

.header__contact_mail::before {
    background-image: url('../img/icons/mail.svg');
}

.header__contact_tel::before {
    background-image: url('../img/icons/tel.svg');
}

.header__item_adress {
    font-size: 14px;
}

@media(max-width:1100px) {
    .header__body {
        
    }


    .header__item_adress {
        display: none;
    }
}

@media(max-width:767px) {
    .header__item_social {
        display: none;
    }
}

@media(max-width:550px) {
     .header__logo {
max-width: 68px;
     }
     .header__contact {
        font-size: 12px;
     }
     .header__item {
        gap:10px;
     }

}



main {
    background-color: #FCFCFF;
}

.page1__body {
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.page1__item:first-child {
    flex-basis: 40%;
}

.page1__item:last-child {
    flex-basis: 60%;
    position: relative;
    z-index: 10;
}

.page1__item video {
    display: block;
    width: 100%;
}

.page1__item img {
    transform: scale(2.2);
}

.page1__item .btn {
    margin-top: 40px;
}


.page1-rotate {
    position: relative;
    max-width: 420px;
    backface-visibility: hidden;
    transform: rotateY(180deg);

}

.page1-rotate::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../img/diplom/diplom-cover-bottom.jpg');
    background-size: cover;
    background-position: 50% 50%;
    backface-visibility: visible;
}

.animate__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
}

.diplom-signs {}

.diplom-signs .red {
    font-size: 1.5em;
}

@media(max-width:550px) {
    .diplom-signs .red {
    font-size: 1.2em;
}
}

.diplom-signs .bookAnime {
    opacity: 0;
    transition: all 3s;
}

.diplom-signs .bookAnime.bookOpen {
    opacity: 1;
}



.diplom-page {
    background-image: url('../img/diplom/diplom-top.jpg');
    background-position: 1%;
    background-repeat: no-repeat;
}

.diplom-signs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    font-weight: bold;

}

.diplom-signs span:first-child {
    text-align: left;
}

.diplom-signs span:last-child {
    text-align: right;
}





@media(max-width:1024px) {
    .page1__body {
        min-height: 100%;
        padding: 100px 0;
    }
}


@media(max-width:767px) {
    .page1__body {
        flex-direction: column-reverse;
        overflow: hidden;
        padding: 60px 0; 
    }

    .page1__item:first-child {
        margin-top: 50px;
    }
    .page1__item img {
        transform: scale(1.2);
    }
}








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

PAPERBACK
Table of Contents

1. container
2. background & color
3. opening cover, back cover and pages
4. position, transform y transition
5. events
6. Bonus
	- Ribbon
	- Figcaption
7. mini-reset

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

/*
	1. container
*/

.book {
    position: relative;
    width: 370px;
    height: 510px;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

/*
	2. background & color
*/

/* HARDCOVER FRONT */

.paperback_front {
    background-color: #000;
}

.paperback_front::after {
    background-image: -webkit-linear-gradient(-135deg, rgba(255, 255, 255, 0.45) 0%, transparent 100%);
    background-image: -moz-linear-gradient(-135deg, rgba(255, 255, 255, 0.45) 0%, transparent 100%);
    background-image: linear-gradient(-135deg, rgba(255, 255, 255, 0.45) 0%, transparent 100%);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.paperback_back {
    background-color: #333;
}

/* page */



/*
	3. opening cover, back cover and pages
*/

.paperback_front {
    -webkit-transform: rotateY(-38deg) translateZ(0px);
    -moz-transform: rotateY(-38deg) translateZ(0px);
    transform: rotateY(-38deg) translateZ(0px);
    z-index: 100;
}

.paperback_back {
    -webkit-transform: rotateY(-25deg);
    -moz-transform: rotateY(-25deg);
    transform: rotateY(-25deg);
}

.ruled_paper li:nth-child(1) {
    -webkit-transform: rotateY(-27deg);
    -moz-transform: rotateY(-27deg);
    transform: rotateY(-27deg);
}

.ruled_paper li:nth-child(2) {
    -webkit-transform: rotateY(-29deg);
    -moz-transform: rotateY(-29deg);
    transform: rotateY(-29deg);
}

.ruled_paper li:nth-child(3) {
    -webkit-transform: rotateY(-31deg);
    -moz-transform: rotateY(-31deg);
    transform: rotateY(-31deg);
}

.ruled_paper li:nth-child(4) {
    -webkit-transform: rotateY(-33deg);
    -moz-transform: rotateY(-33deg);
    transform: rotateY(-33deg);
}

.ruled_paper li:nth-child(5) {
    -webkit-transform: rotateY(-35deg);
    -moz-transform: rotateY(-35deg);
    transform: rotateY(-35deg);
}

/*
	4. position, transform y transition
*/

.paperback_front,
.paperback_back,
.paperback_front li,
.paperback_back li {
    position: absolute;
    top: 0;
    left: 0px;
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.paperback_front,
.paperback_back {
    -webkit-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
}

.paperback_front {
    -webkit-transition: all 1.9s ease, z-index 2s;
    -moz-transition: all 1.9s ease, z-index 2s;
    transition: all 1.9s ease, z-index 2s;
}

.paperback_front li img,
.paperback_back li img {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}





/*
	5. events
*/

.book.bookOpen .paperback_front {
    -webkit-transform: rotateY(-180deg) translateZ(0px);
    -moz-transform: rotateY(-180deg) translateZ(0px);
    transform: rotateY(-180deg) translateZ(0px);
    z-index: 0;
}

.paperback_back {
    transition: all 2s;
}

.book.bookOpen .paperback_back {
    transform: rotateY(0);
    z-index: 0;
}

.book {
    transform: scale(0.2);
}

.book.bookOpen {
    transform: translateX(50%) scale(1);
    transition: all 2s;
}


/*
	6. Bonus
*/

/* Basic ribbon */

.ribbon {
    background: #c0392b;
    color: #fff;
    display: block;
    font-size: 0.7em;
    position: absolute;
    top: 11px;
    right: 1px;
    width: 40px;
    height: 20px;
    line-height: 20px;
    letter-spacing: 0.15em;
    text-align: center;
    -webkit-transform: rotateZ(45deg) translateZ(1px);
    -moz-transform: rotateZ(45deg) translateZ(1px);
    transform: rotateZ(45deg) translateZ(1px);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 10;
}

.ribbon::before,
.ribbon::after {
    position: absolute;
    top: -20px;
    width: 0;
    height: 0;
    border-bottom: 20px solid #c0392b;
    border-top: 20px solid transparent;
}

.ribbon::before {
    left: -20px;
    border-left: 20px solid transparent;
}

.ribbon::after {
    right: -20px;
    border-right: 20px solid transparent;
}

/* figcaption */

figcaption {
    padding-left: 40px;
    text-align: left;
    position: absolute;
    top: 0%;
    left: 160px;
    width: 310px;
}

figcaption h1 {
    margin: 0;
}

figcaption span {
    color: #16a085;
    padding: 0.6em 0 1em 0;
    display: block;
}

figcaption p {
    color: #63707d;
    line-height: 1.3;
}


.paperback_front {
    position: relative;
}

.paperback_front_li {
    position: relative;
    z-index: 10;
    transform: translateX(105%) rotateY(180deg) !important;
    font-weight: bold;
    font-size: 18px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
}

.paperback_front_li_right {
    transform: translateX(105%) rotateY(0) !important;
    text-align: left;
}

.paperback_front_li span {
    opacity: 0;
}

.bookOpen .paperback_front_li span {
    opacity: 1;
    animation: 3s linear figUp;
    transition: all .3s;
    max-width: 60%;
}

.paperback_front_li {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@keyframes figUp {
    from {
        opacity: 0;
        transform: translateY(50%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.animate__item:nth-child(2) {
    width: 100%;
    max-width: 730px;
    margin-left: auto;
    margin-right: auto;
}

.align {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 20px 0;
}

@media(max-width:800px) {
    .book {
        width: 365px;
        height: 510px;
    }

    .book.bookOpen {
        transform: translateX(50%) scale(.9);
    }

}

@media(max-width:767px) {

    .book.bookOpen {
        transform: translateX(33%) scale(.7);
    }

}

@media(max-width:560px) {

    .book.bookOpen {
        transform: translateX(25%) scale(.5);
    }

}

@media(max-width:550px) {
    .animate__body {
        gap: 40px;
    }
    .diplom-signs:first-child {
        margin-bottom: -130px;
    }
    .diplom-signs:last-child {
        margin-top: -130px;
    }
}

@media(max-width:420px) {

    .book.bookOpen {
        transform: translateX(20%) scale(.4);
    }

}

.advantages__body {
    display: flex;
    align-items: center;
    gap: 40px;
}

.advantages__ul {
    margin-top: 30px;
}

.advantages__li:not(:first-child) {
    margin-top: 20px;
}

.advantages__li h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.section-promo {
    background-color: #779DFF;
    color: #fff;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

.section-promo .btn_white {
    margin-top: 30px;
}


.licens__body {
    margin-top: 40px;
}

.licens__item img {
    margin-left: auto;
    margin-right: auto;
}

.reviews__body {
    margin-top: 40px;
}

.reviews__body .btn {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
    max-width: 400px;
}


@media(max-width:767px) {
    .advantages__body {
        flex-direction: column;
    }
    .advantages__li h3 {
        font-size: 19px;
    }
}





.accordion {
    list-style: none;
    position: relative;
    z-index: 10;
}
.accordion_no-border .accordion__item {
    border-bottom: none;
}
.accordion_no-border .accordion__item:first-child {
    border-top: none;
}
.accordion_mt50 {
    margin-top: 50px;
}
@media (max-width: 767px) {
    .accordion_mt50 {
        margin-top: 30px;
   }
}
.accordion__item {
    position: relative;
    overflow: hidden;
}
.accordion__item:last-child::before {
    background-color: transparent;
}
.accordion__title {
    position: relative;
    padding: 40px;
    font-variation-settings: "wght" 500;
    cursor: pointer;
    transition: all 0.3s;
}
@media (max-width: 550px) {
    .accordion__title {
        padding-left: 30px;
   }
}
.accordion__price {
    font-size: 15px;
}
.accordion__title:hover {
    background-color: var(--lBlue);
    color: #fff;
}
.accordion__title:hover .accordion__price {
    color: #fff;
}
.accordion__title::before {
    content: "";
    position: absolute;
    right: 35px;
    width: 36px;
    height: 2px;
    background-color: var(--red);
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
    border-radius: 25px;
}
@media (max-width: 550px) {
    .accordion__title::before {
        left: 5px;
        right: auto;
        width: 16px;
   }
}
.accordion__title::after {
    content: "";
    position: absolute;
    right: 35px;
    width: 36px;
    height: 2px;
    background-color: var(--red);
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transition: all 0.3s;
    border-radius: 25px;
}
@media (max-width: 550px) {
    .accordion__title::after {
        left: 5px;
        right: auto;
        width: 16px;
   }
}
.accordion__title.acc-active::before {
    transform: translateY(-50%) rotate(45deg);
}
.accordion__title.acc-active::after {
    transform: translateY(-50%) rotate(-45deg);
}
.accordion__txt {
    padding-left: 20px;
    margin-left: 20px;
    padding-bottom: 0;
    overflow: hidden;
    transform-origin: top;
    max-height: 0;
    transition: max-height 2s cubic-bezier(0, 1, 0, 1), margin 0.1s ease;
    border-left: 1px solid transparent;
    border-left: 1px solid var(--red);
}
.accordion__txt .btn-ml {
    margin-left: 40px;
}
@media (max-width: 767px) {
    .accordion__txt .btn-ml {
        margin-left: 0;
   }
}
.acc-active {
    background-color: var(--lBlue);
    color: #fff;
}
.acc-active .accordion__price {
    color: var(--blue);
}
.acc-active + .accordion__txt {
    max-height: 1000px;
    transition: max-height 2s ease, margin 0.1s ease;
    margin-bottom: 20px;
    margin-top: 20px;
}
.accordion__list {
    list-style: none;
    font-family: "Montserrat";
    font-style: normal;
    font-variation-settings: "wght" 500;
}
.accordion__li {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.acc-active + .accordion__list .accordion__li {
    border-bottom: 1px solid var(--red);
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.acc-active + .accordion__list .accordion__li:first-child {
    padding-top: 30px;
}
.acc-active + .accordion__list {
    padding-bottom: 1px;
    padding-left: 40px;
}
@media (max-width: 767px) {
    .accordion__li {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
   }
    .acc-active + .accordion__list .accordion__li:first-child {
        padding-top: 20px;
   }
    .acc-active + .accordion__list {
        padding-bottom: 1px;
        padding-left: 40px;
   }
    .acc-active + .accordion__list .accordion__li-span:last-child {
        font-variation-settings: "wght" 700;
        margin-top: 12px;
   }
}
.accordion-price-list {
    list-style: none;
    margin-top: 20px;
}
.accordion__price-list-li {
    position: relative;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Montserrat";
}
.accordion__price-list-span:last-child {
    flex-shrink: 0;
    flex-basis: 20%;
    position: relative;
    padding-left: 30px;
}
.accordion__price-list-span:last-child::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -5px;
    width: 15px;
    height: 15px;
    background-color: var(--red);
    opacity: 0.5;
}


.faq__body {
    display: flex;
    gap: 40px;
}

@media(max-width:767px) {
    .faq__body {
        flex-direction: column-reverse;
    }
}

/* footer */




.footer {
    position: relative;
}

.footer-block {
    display: flex;
    align-items: center;
    background: #041741;
    color: #fff;
    width: 50%;
    height: auto;
    position: absolute;
    z-index: 100;
    margin-left: 50%;
    top: 0;
    bottom: 0;
    height: 100%;
    font-size: 18px;
}

.footer-content {
    padding: 40px 20px;
}

.footer-content__body {
    display: flex;
}

.footer-content__item {
    flex-basis: 50%;
    display: grid;
    gap: 15px;
}

.footer a {
    color: #fff;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.716);
}

.footer__link {
    text-decoration: underline;
}

.footer-content__item:last-child {
    margin-left: 20px;
}

.footer-content-data {
    margin-top: 20px;
}

.footer-content-data p:not(:first-child) {
    margin-top: 10px;
}

.footer-content-data p span:first-child {
    font-weight: bold;
}

.footer-content__sub {
    max-width: 80%;
    margin-top: 60px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media(max-width:1280px) {
    .footer-content__sub {
        margin-top: 30px;
    }
}

.footer__call {
    background-color: rgba(255, 0, 0, 1);
    transition: all .3s;
    padding: 10px 0;
    text-align: center;
    border-radius: 5px;
    align-self: flex-start;
    border: none;
    color: #fff;
    cursor: pointer;
}

.footer__call:hover {
    background-color: rgb(168, 0, 0);
}

.footer__partner {
    display: block;
    background-color: rgba(156, 16, 226, 1);
    transition: all .3s;
    padding: 10px 0;
    border-radius: 5px;
    text-align: center;
    align-self: flex-start;
}

.footer__partner:hover {
    background-color: rgb(113, 0, 169);
}

.footer-block-text {
    display: flex;
    flex-direction: column;
    line-height: 35px;
    margin: 10px;
    text-align: center;
}

@media(max-width:1280px) {
    .footer-block {
        font-size: 16px;
    }
}

@media(max-width:1024px) {
    .footer-block {
        width: 50%;
        margin-left: 50%;
    }

    .footer-content__sub {
        margin-top: 30px;
    }
}



@media(max-width:900px) {
    .footer {
        display: flex;
        flex-direction: column;
    }

    .footer-block {
        position: relative;
        width: 100%;
        margin-left: 0;
    }

    .footer-content__body {
        flex-direction: column;
    }

    .footer-content__item:last-child {
        margin-left: 0;
        margin-top: 30px;
    }
}

@media(max-width:605px) {
    .footer-block-text>br {
        display: none;
    }


}

@media(max-width:605px) {
    .footer-block-text>br {
        display: none;
    }

}