﻿html, body {
    margin-top: 10px;
    padding: 0;
/*    display: grid;
    place-items: center;*/
}

body {
    background: #ffffff;
    font-family: Frutiger, "Frutiger Linotype", Univers, Arial, sans-serif;
    margin-bottom: 40px;
}

main {
    margin-top: 15px;
    text-align: center;
}

.site-header {
    max-width: 965px;
    width: 100%;
    display: flex;
    justify-self: center;
    align-items: center;
    justify-content: space-between;
}

.site-nav {
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    gap: 32px;
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

    .site-nav a {
        color: #171513;
        text-decoration: none;
        white-space: nowrap;
        font-size: 12px;
    }

        .site-nav a:hover {
            color: #7a5138;
        }

.site-nav a {
    position: relative;
    color: #171513;
    text-decoration: none;
}

    .site-nav a.active {
        color: #171513;
        border-bottom: 1px solid #a64b2a;
        padding-bottom: 8px;
        pointer-events: none;
    }



.archive-page {
    display: grid;
    grid-template-columns: 230px 1px 1fr;
    gap: 40px;
    text-align: left;
    width: 915px;
    margin-top: 20px;
}

.archive-rule {
    background: #9a6849;
}

.volume-title {
    margin: 0px 0 15px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.15;
}

.volume-mark {
    width: 28px;
    margin-top: 26px;
    margin-bottom: 26px;
    border-top: 1px solid #171513;
}

.volume-label {
    font-family: Frutiger, "Frutiger Linotype", Univers, Arial, sans-serif;
    color: #7a5138;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.book-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

    .book-list a {
        border-left: 3px solid transparent;
        padding-left: 15px;
        color: #171513;
        font-family: Frutiger, "Frutiger Linotype", Univers, Arial, sans-serif;
        font-size: 14px;
        letter-spacing: 0.16em;
        line-height: 1;
        text-decoration: none;
        text-transform: uppercase;
    }

        .book-list a:hover {
            color: #287d80;
            border-left-color: #287d80;
        }

        .book-list a.active {
            color: #287d80;
            border-left-color: #287d80;
            pointer-events: none;
        }

.book-title {
    margin: 15px 0 50px;
    text-align: center;
    font-family: Raleway, Arial, sans-serif;
    font-size: 32px;
    font-weight: 150;
}

.journey-item {
    display: inline-block;
    padding: 10px 10px 10px 10px;
    color: #666666;
    font-family: Raleway, Arial, sans-serif;
    font-size: 12px;
    font-weight: 300;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
}

    .journey-item div {
        display: inline-block;
        display: flex;
        align-items: flex-end;
    }

    .journey-item img {
        /*        display: block;*/
        width: 100%;
    }

    .journey-item a {
        display: block;
        width: 100%;
        color: #666666;
        font-family: Raleway, Arial, sans-serif;
        font-size: 12px;
        font-weight: 300;
        text-align: center;
        text-decoration: none;
    }

        .journey-item a:hover {
            color: orange;
        }


    .journey-item span {
        display: block;
        min-height: 3em;
        padding-top: 4px;
        transition: color 160ms ease;
    }

    .journey-item:hover {
        color: orange;
    }

        .journey-item:hover img {
            transform: scale(1.04);
        }

    .journey-item span {
        margin-top: 8px;
        font-size: 16px;
    }


.journey-item-banner-one {
    width: 600px;
}

.journey-item-banner-half {
    width: 287px;
}

.journey-item-banner-third {
    width: 183.33333px;
}

.journey-item-banner-quarter {
    width: 130px;
}



@media (max-width: 700px) {
    .site-header {
        flex-direction: column;
        gap: 14px;
        padding: 14px;
        box-sizing: border-box;
    }

    .site-logo {
        width: 180px;
    }

    .site-nav {
        gap: 18px;
        font-size: 11px;
    }