@keyframes moveInLeft {
    0% {
        opacity: 0;
        transform: translateX(-10rem);
    }
    80% {
        transform: translateX(4rem);
    }
    100% {
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes moveInRight {
    0% {
        opacity: 0;
        transform: translateX(10rem);
    }
    80% {
        transform: translateX(-1rem);
    }
    100% {
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateY(3rem);
    }
    100% {
        opacity: 1;
        transform: translate(0);
    }
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
}

@media only screen and (max-width: 75em) {
    html {
        font-size: 56.25%;
    }
}

@media only screen and (max-width: 56.25em) {
    html {
        font-size: 50%;
    }
}

@media only screen and (min-width: 112.5em) {
    html {
        font-size: 75%;
    }
}

body {
    box-sizing: border-box;
    padding: 3rem;
}

@media only screen and (max-width: 56.25em) {
    body {
        padding: 0;
    }
}

::selection {
    background-color: #4077ee;
    color: #fff;
}

body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    /*font-size: 16px;*/
    line-height: 1.7;
    color: #777;
}

.header-paragraph {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 6rem;
}

.header-first {
    display: block;
    font-size: 6rem;
    font-weight: 400;
    letter-spacing: 3.5rem;
    animation-name: moveInLeft;
    animation-duration: 1s;
    animation-timing-function: ease-out;

}

@media only screen and (max-width: 37.5em) {
    .header-first {
        letter-spacing: 1rem;
    }
}

.header-second {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1.75rem;
    animation: moveInRight 1s ease-out;
}

@media only screen and (max-width: 38.5em) {
    .header-second {
        letter-spacing: .5rem;
    }
}

.header-book {
    font-size: 3.5rem;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    background-image: linear-gradient(to right, #047aef, #051fe8);
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: .2rem;
    transition: transform .4s;
}

@media only screen and (max-width: 56.25em) {
    .header-book {
        font-size: 3rem;
    }
}

@media only screen and (max-width: 37.5em) {
    .header-book {
        font-size: 2.5rem;
    }
}

.header-book:hover {
    transform: translateY(-1.5rem) scale(1.03);
    text-shadow: 0.5rem 1rem 2rem rgba(0, 0, 0, 0.2);
}


.paragraph {
    font-size: 1.6rem;
}

.paragraph:not(:last-child) {
    margin-bottom: 3rem;
}

.book-center {
    text-align: center
}


.u-margin-bottom-medium {
    margin-bottom: 4rem !important;
}

@media only screen and (max-width: 56.25em) {
    .u-margin-bottom-medium {
        margin-bottom: 3rem !important;
    }
}

.book-bottom {
    margin-bottom: 8rem
}

@media only screen and (max-width: 56.25em) {
    .book-bottom {
        margin-bottom: 5rem
    }
}

.u-margin-top-big {
    margin-top: 8rem !important;
}

.u-margin-top-huge {
    margin-top: 10rem !important;
}

.botton, .botton:link, .botton:visited {
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.5rem 4rem;
    display: inline-block;
    border-radius: 10rem;
    transition: all .2s;
    position: relative;
    font-size: 1.6rem;
    border: none;
    cursor: pointer;
}

.botton:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.botton:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}

.botton:active, .botton:focus {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.botton-white {
    background-color: #fff;
    color: #777;
}


.botton-sec {
    background-color: #233f17;
    color: #fff;
}


.botton::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 10rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .4s;
}

.botton-animated {
    animation: moveInBottom .5s ease-out .75s;
    animation-fill-mode: backwards;
}

.botton-text:link, .botton-text:visited {
    font-size: 1.6rem;
    color: #4077ee;
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid #4077ee;
    padding: 3px;
    transition: all .2s;
}

.botton-text:hover {
    background-color: #4077ee;
    color: #fff;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.botton-text:active {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(0);
}

.card {
    perspective: 150rem;
    -moz-perspective: 150rem;
    position: relative;
    height: 52rem;
}

.card-side-all {
    height: 52rem;
    transition: all .8s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 3px;
    overflow: hidden;
}

.card-side-all--front {
    background-color: #fff;
}

.card-side-all--back {
    transform: rotateY(180deg);
}

.card-side-all--back-1 {
    background-image: linear-gradient(to right bottom, #8f752f, rgba(44, 196, 162, 0.55));
}

.card-side-all--back-2 {
    background-image: linear-gradient(to right bottom, #5d4281, #294f28);
}

.card-side-all--back-3 {
    background-image: linear-gradient(to right bottom, #97abaa, #3a26ea);
}

.card:hover .card-side-all--front {
    transform: rotateY(-180deg);
}

.card:hover .card-side-all--back {
    transform: rotateY(0);
}

.card-picture {
    background-size: cover;
    height: 23rem;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.card-picture--1 {
    background-image: url(img/Book1-2.png);

}

.card-picture--2 {
    background-image: url(img/Book2-2.jpg);
}

.card-picture--3 {
    background-image: url(img/Book3-2.png);
}

.card__heading {
    font-size: 2.8rem;
    font-weight: 300;
    text-transform: uppercase;
    text-align: right;
    color: #fff;
    position: absolute;
    top: 12rem;
    right: 2rem;
    width: 75%;
}

.card__heading-span {
    padding: 1rem 1.5rem;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.card__heading-span--1 {
    background-image: linear-gradient(to right bottom, rgba(75, 27, 232, 0.85), rgba(25, 165, 81, 0.85));
}

.card__heading-span--2 {
    background-image: linear-gradient(to right bottom, rgba(4, 239, 118, 0.66), rgba(175, 5, 232, 0.7));
}

.card__heading-span--3 {
    background-image: linear-gradient(to right bottom, rgba(152, 114, 255, 0.85), rgba(232, 179, 5, 0.71));
}

.card__details {
    padding: 3rem;
}

.card__details ul {
    list-style: none;
    width: 80%;
    margin: 0 auto;
}

.card__details ul li {
    text-align: center;
    font-size: 1.5rem;
    padding: 1rem;
}

.card__details ul li:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.card__cta {
    position: absolute;
    top: 20%;
    left: 6%;
    width: 90%;
    text-align: center;
}

.card__price-box {
    text-align: center;
    color: #fff;
    margin-bottom: 8rem;
}

.card__price-only {
    font-size: 1.4rem;
    text-transform: uppercase;
}

.card__price-value {
    font-size: 6rem;
    font-weight: 100;
}


.course-field {
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    border-radius: 3px;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
    transition: transform .3s;
}

@media only screen and (max-width: 56.25em) {
    .course-field {
        padding: 2rem;
    }
}

.course-field-icon {
    height: 100px;
    opacity: 0.4;
}

@media only screen and (max-width: 56.25em) {
    .course-field-icon {
        margin-bottom: 0;
    }
}

.course-field:hover {
    transform: translateY(-1.5rem) scale(1.03);
}

.popup {
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

@supports (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px)) {
    .popup {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        background-color: rgba(0, 0, 0, 0.3);
    }
}

.popup__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    background-color: #fff;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    display: table;
    overflow: hidden;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25);
    transition: all .5s .2s;
}

.popup-left {
    width: 33.333333%;
    display: table-cell;
}

.popup-right {
    width: 66.6666667%;
    display: table-cell;
    vertical-align: middle;
    padding: 3rem 5rem;
}

.popup__img {
    display: table-cell;
    width: 100%;
}

.popup-text {
    font-size: 1.4rem;
    margin-bottom: 4rem;
    column-gap: 4rem;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup:target .popup__content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.popup-close:link, .popup-close:visited {
    color: #777;
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-size: 3rem;
    text-decoration: none;
    display: inline-block;
    transition: all .2s;
    line-height: 1;
}

.popup-close:hover {
    color: #4077ee;
}

.footer {
    background-color: #333;
    padding: 10rem 0;
    font-size: 1.4rem;
    color: #f7f7f7;
}

@media only screen and (max-width: 56.25em) {
    .footer {
        padding: 8rem 0;
    }
}

.footer-navigation {
    border-top: 1px solid #777;
    padding-top: 2rem;
    display: inline-block;
}

@media only screen and (max-width: 56.25em) {
    .footer-navigation {
        width: 100%;
        text-align: center;
    }
}

.footer-list {
    list-style: none;
}

.footer__item {
    display: inline-block;
}

.footer__item:not(:last-child) {
    margin-right: 1.5rem;
}

.footer-link:link, .footer-link:visited {
    color: #f7f7f7;
    background-color: #333;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    transition: all .2s;
}

.footer-link:hover, .footer-link:active {
    color: #dee2ea;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.4);
    transform: translateY(-1.5rem) scale(1.03);
    transition: all .2s;

}

.footer-copyright {
    border-top: 1px solid #777;
    padding-top: 2rem;
    width: 80%;
    float: right;
}

@media only screen and (max-width: 56.25em) {
    .footer-copyright {
        width: 100%;
        float: none;
    }
}

.row {
    max-width: 114rem;
    margin: 0 auto;

}

.row:not(:last-child) {
    margin-bottom: 8rem;

}

@media only screen and (max-width: 56.25em) {
    .row:not(:last-child) {
        margin-bottom: 6rem;
    }
}

@media only screen and (max-width: 56.25em) {
    .row {
        max-width: 50rem;
        padding: 0 3rem;
    }
}

.row::after {
    content: "";
    display: table;
    clear: both;
}

.row [class^="col-"] {
    float: left;
}

.row [class^="col-"]:not(:last-child) {
    margin-right: 6rem;
}

@media only screen and (max-width: 56.25em) {
    .row [class^="col-"]:not(:last-child) {
        margin-right: 0;
        margin-bottom: 6rem;
    }
}

@media only screen and (max-width: 56.25em) {
    .row [class^="col-"] {
        width: 100% !important;
    }
}

.row .col-1-of-2 {
    width: calc((100% - 6rem) / 2);
}

.row .col-1-of-3 {
    width: calc((100% - 2 * 6rem) / 3);
}

.row .col-1-of-4 {
    width: calc((100% - 3 * 6rem) / 4);
    height: calc(100%);
}

.header {
    height: 85vh;
    background-image: url(img/Header.jpg);
    background-size: cover;
    background-position: top;
    position: relative;
}


@media only screen and (min-resolution: 192dpi) and (min-width: 37.5em), only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 37.5em), only screen and (min-width: 125em) {
    .header {
        background-image: url(img/Header.jpg);
    }
}


.header__logo-box {
    position: absolute;
    top: 4rem;
    left: 4rem;
}

.header__logo {
    height: 3.5rem;
}

.header__text-box {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.navigation-checkbox {
    display: none;
}

.navigation-button {
    background-color: #fdfdfd;
    height: 7rem;
    width: 7rem;
    position: fixed;
    top: 6rem;
    right: 6rem;
    border-radius: 30%;
    z-index: 2000;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

@media only screen and (max-width: 56.25em) {
    .navigation-button {
        top: 4rem;
        right: 4rem;
    }
}

@media only screen and (max-width: 37.5em) {
    .navigation-button {
        top: 3rem;
        right: 3rem;
    }
}

.navigation__background {
    height: 6rem;
    width: 6rem;
    border-radius: 50%;
    position: fixed;
    top: 6.5rem;
    right: 6.5rem;
    background-image: radial-gradient(#7f9890, #278383, #3f52a8);
    z-index: 1000;
    transition: transform 0.8s;
}

@media only screen and (max-width: 56.25em) {
    .navigation__background {
        top: 4.5rem;
        right: 4.5rem;
    }
}

@media only screen and (max-width: 37.5em) {
    .navigation__background {
        top: 3.5rem;
        right: 3.5rem;
    }
}

.nav {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1500;
    opacity: 0;
    width: 0;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navigation-list {
    position: absolute;
    top: 40%;
    left: 80%;
    transform: translate(-50%, -50%);
    list-style: none;
    text-align: center;
    width: 100%;
}

.navigation-item {
    margin: 1rem;
}

.navigation-link:link, .navigation-link:visited {
    display: inline-block;
    font-size: 3rem;
    font-weight: 300;
    padding: 1rem 2rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    background-size: 22%;
    transition: all .4s;
}

.navigation-link:link span, .navigation-link:visited span {
    margin-right: 1.5rem;
    display: inline-block;
}

.navigation-link:hover {
    background-position: 100%;
    color: #4077ee;
}

.navigation-link:active {
    background-position: 100%;
    color: #ee40c5;
    transform: translateX(1rem);
}

.navigation-checkbox:checked ~ .navigation__background {
    transform: scale(20);
}

.navigation-checkbox:checked ~ .nav {
    opacity: 1;
    width: 100%;
}

.course {
    padding: 20rem 0;
    background-image: linear-gradient(to right bottom, rgba(153, 114, 255, 0.6), rgba(5, 31, 232, 0.6), rgba(25, 165, 81, 0.6)), url(../img/Background.jpg);
    background-size: cover;
    margin-top: -10rem;

}


@media only screen and (max-width: 56.25em) {
    .course {
        padding: 10rem 0;
    }
}

.book {
    background-color: #f7f7f7;
    padding: 25rem 0 15rem 0;
    margin-top: -10rem;
}

@media only screen and (max-width: 56.25em) {
    .book {
        padding: 20rem 0 10rem 0;
    }
}
