:root {
    --book-height: 500px;
}

body {
    background: #faa51a;
    /* background: linear-gradient(to bottom, #faa51a 0%, #faa51a 50%, #145369 51%, #145369 100%); */
    text-shadow: 0px 1px #145369;
}

.intro {
    position: relative;
    height: calc(100vh - var(--nav-height));
    /* height: 900px; */
    max-height: 1024px;
    min-height: 900px;
    background-color: #5289c8;
    background: linear-gradient(to bottom, #faa51a 0%, #faa51a 100%);
    z-index: 9;
    color: #fff;
}

.intro a {
    color: #fff;
}

.intro a:hover {
    color: #009fb2;
}

@media screen and (max-width: 800px) {
    .intro {
        max-height: unset;
        /* padding-bottom:500px; */
        min-height: 1100px;
    }
}

.intro .container {
    position: absolute;
    max-width: 1110px;
    margin: 0 auto;
    right: 0;
    left: 0;
    text-align: center;
    padding-top: 50px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 2;
    /* border: 1px solid red; */
}

.intro .container p {
    text-transform: initial;
    letter-spacing: 0em;
    width: 80%;
    margin: 0 auto;
    /* border: 1px solid red; */
    position: relative;
}

@media screen and (max-width: 800px) {
    .intro .container p {
        width: 80vw;
        margin: 0 auto;
        left: 0;
    }
}

.container h1 {
    font-size: 50px;
    font-weight: normal;
    margin-bottom: 30px;
}

@media screen and (max-width: 800px) {
    .container h1 {
        font-size: 20px;
    }
}

.intro .container div:nth-child(3) {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 40px;
    /* text-shadow: 0px 1px #145369; */
}

@media screen and (max-width: 800px) {
    .intro .container div:nth-child(3) {
        grid-template-columns: repeat(2, 1fr);
    }
}

.book {
    overflow: hidden;
    /* border:5px solid red; */
}

.book, .book::after {
    background-image: url("../images/book-of-cities.svg");
    background-repeat: no-repeat;
    background-position: center bottom;
    position: absolute;
    width: 100%;
    height: var(--book-height);
    bottom: 0;
    padding: 0;
    margin: 0;
    background-size: 1100px var(--book-height);
}


@media screen and (max-width: 800px) {
    .book, .book::after {
        /* position: relative; */
        /* border: 1px solid red; */
    }
}

.book::after {
    content: "";
    background-image: url("../images/book-mask.svg");
}

.book .rays, .book .rays::before, .book .rays::after {
    content: "";
    position: absolute;
    width: 200px;
    height: calc(var(--book-height) - 50px);
    background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB2aWV3Qm94PSIwIDAgMTA4My4zNyA5NTQuMzkiPjxkZWZzPjxzdHlsZT4uY2xzLTF7b3BhY2l0eTowLjU7ZmlsbDp1cmwoI2xpbmVhci1ncmFkaWVudCk7fTwvc3R5bGU+PGxpbmVhckdyYWRpZW50IGlkPSJsaW5lYXItZ3JhZGllbnQiIHgxPSI1NDEuNjkiIHkxPSI5NTQuMzkiIHgyPSI1NDEuNjkiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj48c3RvcCBvZmZzZXQ9IjAuMDEiIHN0b3AtY29sb3I9IiNmOGVkM2IiLz48c3RvcCBvZmZzZXQ9IjAuMzMiIHN0b3AtY29sb3I9IiNmYmY0ODMiIHN0b3Atb3BhY2l0eT0iMC42MyIvPjxzdG9wIG9mZnNldD0iMC42NiIgc3RvcC1jb2xvcj0iI2ZkZmFjNSIgc3RvcC1vcGFjaXR5PSIwLjMiLz48c3RvcCBvZmZzZXQ9IjAuODkiIHN0b3AtY29sb3I9IiNmZWZlZWYiIHN0b3Atb3BhY2l0eT0iMC4wOCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHBvbHlnb24gY2xhc3M9ImNscy0xIiBwb2ludHM9IjU0OC45MyAwIDUzNC40NCAwIDAgMCAyNjcuMzcgOTU0LjM5IDUzNC40NCA5NTQuMzkgNTQ4LjkzIDk1NC4zOSA4MTYgOTU0LjM5IDEwODMuMzcgMCA1NDguOTMgMCIvPjwvc3ZnPg==");
    background-repeat: no-repeat;
    background-position: center;
    bottom: 50px;
    left: calc(50% - 100px);
    z-index: -1;
    animation: beaming 5s ease-in-out infinite;
}

.book .rays::before {
    width: 400px;
    left: calc(50% - 200px);
    animation-delay: 1s;
}

.book .rays::after {
    width: 700px;
    left: calc(50% - 350px);
    animation-delay: 2s;
}

@keyframes beaming {
    0% {
        opacity: 0.9;
    }
    10% {
        opacity: 0.4;
    }
    20% {
        opacity: 0.6;
    }
    30% {
        opacity: 0.5;
    }
    40% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
    60% {
        opacity: 0.9;
    }
    70% {
        opacity: 0.4;
    }
    80% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        opacity: 0.9;
    }
}

.book .clouds {
    position: absolute;
    display: block;
    background-image: url("../images/cloud-a.svg");
    background-repeat: no-repeat;
    background-position: top center;
    width: 100px;
    height: calc(var(--book-height) * 2);
    bottom: -600px;
    left: calc(50% - 50px);
    animation: drift 120s linear infinite;
    animation-delay: -60s;
}

.book .clouds:nth-child(2) {
    animation-delay: -00s;
    width: 80px;
}

@keyframes drift {
    0% {
        transform: rotate(-60deg);
    }
    100% {
        transform: rotate(65deg);
    }
}

.book .birds {
    position: absolute;
    /* border: 1px solid red; */
    display: block;
    width: 100px;
    height: calc(var(--book-height) * 2);
    bottom: -600px;
    left: calc(50% - 50px);
    animation: drift 12s linear infinite;
    animation-delay: -2s;
}

.book .birds:nth-child(2) {
    animation: drift 12s linear infinite;
    animation-delay: -1.5s;
}

.book .birds:nth-child(2)::after {
    animation-duration: .6s, 20s;
    /* top:60px; */
    top: 20px;
}

.book .birds:nth-child(3) {
    animation: drift 12s linear infinite;
    animation-delay: -1.3s;
}

.book .birds:nth-child(3)::after {
    animation-duration: .65s, 20s;
    top: 50px;
}

.book .birds::after {
    content: "";
    margin: 0;
    padding: 0;
    width: 50px;
    height: 50px;
    position: absolute;
    background-image: url("../images/flying-birds.svg");
    background-size: auto 100%;
    will-change: background-position;
    animation-name: flap, fly;
    animation-duration: .7s, 20s;
    animation-delay: -0.5s;
    animation-timing-function: steps(9), linear;
    animation-iteration-count: infinite;
    transform: scale(0.5) rotate(17deg);
    top: 55px;
    left: 25px;
    filter: grayscale();
}

@keyframes flap {
    100% {
        background-position: -450px 0;
    }
}

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

.list {
    /* height: 1000px; */
    background: linear-gradient(to bottom, #faa51a 0%, #ffe300 100%);
    position: relative;
}

.list .container {
    max-width: 1110px;
    min-height: 1000px;
    margin: auto;
    padding: 100px;
    background-image: url("../images/book-of-cities.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
}

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

.footer .share {
    background-color: #ff9600;
}

.footer {
    background-color: #c57401;
}