html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    background-color: #0a0a0a;
}

.fp-tableCell {
    width: 100%;
}

.slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.card {
    width: 100%;
    height: 100%;
    display: flex;
    background: #fff;
}

.card-img {
    width: 60%;
    height: 100%;

    background-size: 110% 100%;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */

    -webkit-animation: Gradient 160s linear infinite;
    -moz-animation: Gradient 160s linear infinite;
    animation: Gradient 160s linear infinite;
}

.hero-img {
    width: 100%;
}

@-webkit-keyframes Gradient {
    0% {
        background-position: 0% 100%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 100%;
    }
}

@-moz-keyframes Gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes Gradient {
    0% {
        background-position: 0% 100%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 100%;
    }
}

.card-img--first {
    background: url('../images/sozvezdie.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.card-img--second {
    background: url('../images/tesseract.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.card-img--third {
    background: url('../images/molecule.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.card-img--fours {
    background: url('../images/camelot.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.card-img--fifth {
    background: url('../images/galo.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-img {
    background: url('../images/sozvezdie.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.card-content {
    position: relative;

    padding: 0 80px;
    box-sizing: border-box;
    width: 40%;

    background: #0a0a0a;
}

.card-content--hero {
    top: 0%;
    left: 0%;
    bottom: 0%;

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 15% 15%;
    padding-right: 0%;

    background: rgba(0, 0, 0, 0.7);
}

.card-content--hero__text {
    width: 50%;
}

.card-content--hero .card-para {
    position: relative;

    padding-left: 340px;

    font-size: 24px;
    text-transform: uppercase;
    color: #fff;
}

.card-content--hero .card-para::before {
    position: absolute;
    left: 0;
    top: 16px;

    content: '';

    display: block;
    width: 300px;
    height: 3px;

    background-color: #5c5c5c;
}

.card-theme {
    font-weight: 900;
    font-size: 1.7vmin;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 10px;
    color: grey;
}

.card-header {
    margin-top: 5em;
    margin-bottom: 1em;

    font-weight: 700;
    font-size: 56px;
    text-transform: uppercase;
    line-height: 1;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.card-content--hero h1 {
    margin-top: 1em;
}

.card-para {
    margin-bottom: 2.5vmin;
    width: 95%;
    font-size: 21px;
    line-height: 1.5;
    font-weight: 300;
    color: #9b9b9b;
    font-family: Arial, Helvetica, sans-serif;
}

.card__link {
    display: block;
    position: relative;
    margin-top: 10em;

    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.link-arrow {
    content: '';
    position: relative;
    top: -12px;

    display: block;
    width: 25px;
    height: 2px;

    background-color: #fff;
    z-index: 0;

    transition: 0.3s linear;
}

.card-content .link-arrow {
    right: -235px;
    top: -10px;
}

.card-content--hero .link-arrow {
    right: -115px;
}

.link-arrow::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -2px;

    height: 2px;
    width: 10px;

    transform: rotate(30deg);
    background-color: inherit;

    z-index: 1;
}

.link-arrow::before {
    content: '';
    position: absolute;
    right: -2px;
    top: 2px;

    height: 2px;
    width: 10px;

    transform: rotate(-30deg);
    background-color: inherit;

    z-index: 1;
}

.card__link:hover .link-arrow {
    width: 120px;
    height: 2px;
}

.additional-info {
    position: absolute;
    top: 20%;
    right: -1500px;

    width: 100%;
    height: 100%;
    padding: 25px;
    padding-left: 0;
    padding-right: 0;

    background-color: rgba(0, 0, 0, 0.95);

    transition: 0.9s ease;
}

.card__photos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card__photos img {
    height: 250px;
    width: 25%;
}

.additional-info p,
.additional-info h2 {
    padding-left: 50px;
}

.additional-info .card-theme {
    position: relative;
}

.close {
    position: absolute;
    top: -10px;
    right: 100px;

    display: block;
    width: 50px;
    height: 50px;

    cursor: pointer;
}

.close::after {
    position: absolute;
    content: '';
    top: 22px;
    right: 13px;

    display: block;

    width: 24px;
    height: 2px;
    transform: rotate(-45deg);
    transition: 0.9s ease;
    background-color: #fff;
}

.close:before {
    position: absolute;
    content: '';
    top: 22px;
    right: 13px;

    display: block;
    width: 24px;
    height: 2px;

    transform: rotate(45deg);

    background-color: #fff;
}

.additional-info.open {
    right: -0px;
}

.main-nav {
    position: fixed;

    display: flex;

    width: 40%;
    margin-left: 60%;
    padding-top: 3em;
    padding-left: 60px;

    list-style: none;
    z-index: 999;
}

.main-nav li {
    align-self: center;
}

.main-nav li a {
    padding: 20px;

    text-transform: uppercase;
    cursor: pointer;
    color: #9b9b9b;
    text-decoration: none;
    font-size: 18px;
}

.main-nav li:hover,
.main-nav li a:hover {
    color: #fff;
}

.main-nav li a:focus {
    color: #fff;
}

.logo {
    position: fixed;
    left: 14%;

    z-index: 999;

    padding-top: 3em;
}

.Logo__link {
    padding-left: 0;

    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-align: left;

    z-index: 999;
}

/*  */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.side-menu {
    position: fixed;
    left: 14%;
    bottom: 3%;

    display: block;
    margin: 0;
    padding: 0;
    width: 300px;

    z-index: 1;
    text-align: left;
}

.side-menu li {
    display: inline-block;
    margin: 10px;

    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    border: 0 solid #000;
    color: #000;

    transition: all 0.4s ease;
}

.side-menu li:hover {
    background: rgba(255, 255, 255, 0.2);
}

/*Стиль ссылки когда активен соответствующий блок*/
.side-menu li a,
.side-menu li.active a {
    display: block;
    padding: 4px 4px;

    text-decoration: none;
    color: #ccc;
    font-size: 0;
}

/*Стиль элемента списка когда активен соответствующий блок*/
.side-menu li.active {
    background: rgba(255, 255, 255, 1);
    border: 0 solid #fff;
    color: #fff;
}

.additional-info p {
    color: #fff;
    font-weight: 600;
    font-size: 19px;
    text-transform: uppercase;
}
.additional-info .card-theme {
    margin-bottom: 4em;

    font-weight: 900;
    font-size: 1.7vmin;
    font-size: 21px;
}

.additional-info a {
    padding-left: 5px;

    text-decoration: none;
    color: #9b9b9b;
}

.additional-info a:hover {
    color: #fff;
}

@media (max-width: 1919px) {
    .card-img {
        width: 50%;
        height: 100%;

        -webkit-animation: Gradient 240s linear infinite;
        -moz-animation: Gradient 240s linear infinite;
        animation: Gradient 240s linear infinite;
    }

    .card-img.hero-img {
        width: 100%;
    }

    .card-header {
        font-size: 56px;
    }
    .close {
        right: 15px;
    }

    .main-nav li a {
        font-size: 14px;
        color: #fff;
    }

    .main-nav {
        margin-top: 1em;
    }

    .card-content--hero h1 {
        font-size: 56px;
    }

    .side-menu {
        width: 50px;
        bottom: 10%;
    }

    .card-content {
        padding: 20% 5%;
        width: 50%;
    }

    .card-content.card-content--hero {
        width: 100%;
    }

    .main-nav {
        width: 50%;
        margin-left: 50%;
        padding-top: 3em;
        padding-left: 50px;
    }

    .main-nav li a {
        padding: 7px;
        font-size: 14px;
    }

    .side-menu {
        bottom: 3%;
        left: 3%;
    }

    .logo {
        left: 3%;
    }

    .additional-info .card-theme {
        padding-top: 1em;
        font-size: 19px;
    }
}

@media (max-width: 1023px) {
    .card-content {
        width: 50%;
    }

    .card-img {
        width: 50%;
        height: 100%;

        background-size: cover;
        -webkit-animation: none;
        -moz-animation: none;
        animation: none;
    }

    .card-content--hero {
        width: 100%;
    }

    .card-header {
        margin-top: 0em;
    }

    .card-content--hero__text {
        width: 100%;
    }

    .card-content--hero .card-para {
        padding-left: 250px;
        margin-bottom: 4em;

        font-size: 18px;
    }

    .card-content--hero .card-para:before {
        top: 12px;

        width: 230px;
    }

    .card-img--first {
        background: url('../images/sozvezdie_m.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .card-img--second {
        background: url('../images/tesseract_m.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .card-img--third {
        background: url('../images/molecule_m.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .card-img--fours {
        background: url('../images/camelot_m.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .card-img--fifth {
        background: url('../images/galo_m.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .hero-img {
        background: url('../images/sozvezdie_m.jpg');
        background-size: cover;
        background-repeat: no-repeat;
    }

    .main-nav {
        padding-left: 0;
    }

    .main-nav li a {
        font-size: 13px;
    }
}

@media (max-width: 765px) {
    .side-menu {
        bottom: 3%;
        left: 2%;
    }

    .main-nav {
        display: none;
    }

    .card-content--hero .card-header {
        font-size: 46px;
        margin: 0;
        margin-top: 150px;
        margin-bottom: 50px;
    }

    .card {
        flex-direction: column;
    }

    .card-img {
        width: 100%;
        height: 40%;
        background-position: center;
    }

    .card-content {
        width: 100%;
        height: 60%;
        padding: 2% 5%;
        padding-left: 15%;
    }

    .card-content--hero {
        height: 100%;
    }

    .hero-img {
        height: 100%;
    }

    .card-para {
        font-size: 14px;
    }

    .card__link {
        margin: 20px 0;
        font-size: 14px;
    }

    .additional-info {
        top: 4%;
        height: 100%;
    }

    .card__photos {
        display: none;
    }

    .card__link:hover .link-arrow {
        width: 50px;
    }

    .card-header {
        margin-top: 2em;

        font-size: 24px;
    }

    .card-content--hero .card-para {
        padding-left: 0;
        margin-bottom: 4em;

        font-size: 16px;
    }

    .card-content--hero .card-para:before {
        display: none;
    }

    .logo {
        padding-top: 0;
        margin-top: 1em;
    }

    .additional-info .card-theme {
        font-size: 18px;
        font-weight: 600;

        padding-right: 50px;
    }
}
@media (min-width: 1024px) and (max-height: 1100px) {
    .card-header {
        margin-top: 0;
    }
}

::selection {
    background: #fff;
    color: #000;
}
