/* Basic CSS Reset */
@font-face {
    font-family: "RB Rational Neue Mono";
    src: url("NeueRationalMono-Regular.woff") format('woff');
}

@font-face {
    font-family: "RB Kreol Display";
    src: url("KreolDisplay-Regular.woff") format('woff');
}

a {
    color: #000;
    text-decoration: none;
}


body {
    font-family: 'RB Rational Neue Mono', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0 20px;
    padding: 0;
    font-size: 17px;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 60px 0;
}

nav ul {
    list-style-type: none;
    font-size: 20px;
    display: flex;
    gap: 40px;
    text-transform: uppercase;
}

nav ul li a {
    text-decoration: none;
    color: #000;
}


.book-label {
    margin-top: 340px;
    margin-bottom: 30px;
    font-size: 16px;
}

.book-label .subject {
    font-family: "RB Kreol Display", 'Helvetica Neue', sans-serif;
    margin-right: 30px;
}

.logo {
    position: fixed;
    width: 100%;
    color: #000;
    font-family: "RB Kreol Display", 'Helvetica Neue', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 200px 0;
    z-index: 0;
    left: 0;
}

.logo .carina {
    max-width: 620px;
    margin-left: 10px;
}


.logo .work-in-progress {
    margin-left: 10px;
    font-family: 'RB Rational Neue Mono', 'Helvetica Neue', sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.intro {
    color: #000;
    font-size: 16px;
}

.gallery {
    position: relative;
    z-index: 100;
}

.gallery img {
    max-width: 100%;
    height: auto;
    /*
    filter: blur(4px);
    transition: 1.5s filter linear;
     */
}

.gallery img.is-visible {
    /*
    filter: blur(0);
     */
}

@media (min-width: 1400px) {
    .gallery .image-2 { margin-top: -200px; }

    .gallery .image-3 { margin: 120px 0; }

    .gallery .image-4 { margin-left: 50px; }

    .gallery .image-5 { margin-top: 200px; }

    .gallery .image-6 { margin-top: 800px; margin-left: 130px; }

    .gallery .image-7 { margin-top: 280px; }

    .gallery .image-8 { margin-top: 200px; }
}

@media (max-width: 1399.98px) {
    .gallery img {margin-bottom: 45px;}

    .gallery .image-2 { margin-top: 0; }

    .gallery .image-3 { }

    .gallery .image-4 { }

    .gallery .image-5 { }

    .gallery .image-6 { margin-top: 200px; }

    .gallery .image-7 { margin-top: 80px; }

    .gallery .image-8 { }
}

.back-to-top {
    display: block;
    text-align: center;
    margin: 30px 0 100px 0;
    text-decoration: none;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #000;
}

.back-to-top .icon {
    font-size: 20px;
}

.text-box-with-header {
    position: relative;
    background: #fff;
    z-index: 101;
    margin-top: 350px;
    font-size: 20px;
}

.text-box-with-header h1 {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 20px;
}

.text-box-with-header p {
    font-family: "RB Kreol Display", 'Helvetica Neue', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 1.8px;
    margin-bottom: 50px;
}


footer {
    margin-top: 50px;
    margin-bottom: 60px;
}

footer .subject {
    font-family: "RB Kreol Display", 'Helvetica Neue', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 30px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    footer .subject {
        margin-bottom: 0;
    }
}

footer .content {
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 141.176% */
}
