.cinzel-decorative-regular {
    font-family: "Cinzel Decorative", serif;
    font-weight: 400;
    font-style: normal;
}

.cinzel-decorative-bold {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-style: normal;
}

.cinzel-decorative-black {
    font-family: "Cinzel Decorative", serif;
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Bell MT';
    src: url('../fonts/BellMT.woff2') format('woff2'),
        url('../fonts/BellMT.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cinzel Decorative", serif;
    font-weight: normal;
    font-style: normal;
}

h1 {
    font-size: 30px;
    text-align: center;
}

h2 {
    font-size: 25px;
    text-align: center;
}

h3 {
    font-size: 20px;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
    min-width: 0;
}

.imageShadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

body {
    font-family: 'Bell MT';
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    background-image: url('../images/background.jpg');
    background-repeat: no-repeat;
    background-color: #1c1313;
    margin: 0;
    padding: 0;
}

header,
footer {
    height: 300px;
}

.header {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header .logo {
    max-width: 992px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0 0 1rem;
    box-sizing: border-box;
}

.header nav {
    background-color: rgba(28, 19, 19, 0.7);
}

.topnav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    padding: 0;
}

.topnav a {
    font-family: "Cinzel Decorative", serif;
    font-size: 20px;
    color: white;
    text-decoration: none;
    padding: 0.5rem;
}

.topnav a:hover {
    text-decoration: underline;
}

.topnav a.active {
    border: 2px solid white;
}

main {
    background-image: linear-gradient(rgba(235, 217, 217, 0.7), rgba(235, 217, 217, 0.85), rgba(235, 217, 217, 1));
    min-height: calc(95vh - 600px);
    padding: 3rem;
}

main .mainContent {
    max-width: 992px;
    width: 100%;
    margin: 0 auto;
}

main .mainText {
    background-color: white;
    opacity: 0.6;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 1rem 2rem;
    box-sizing: border-box;
}

.about {
    display: flex;
    gap: 1rem;
}

.about .mainText,
.twoColumns .mainText {
    width: 50%;
    box-sizing: border-box;
}

.books {
    margin-bottom: 2rem;
}

.books h2 {
    text-align: center;
}

.twoColumns {
    display: flex;
    gap: 2rem;
    max-width: 720px;
    margin: 0 auto;
    justify-content: center;
    box-sizing: border-box;
}

.imageContainer {
    flex: 1 1 45%;
    max-width: 45%;
}

.imageContainer div {
    text-align: center;
    gap: 2rem;
}

.CoverRow,
.coverRow {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
    margin: 1rem auto 0;
    max-width: 992px;
    box-sizing: border-box;
}

.CoverRow .imageContainer,
.coverRow .imageContainer {
    flex: 0 0 35%;
    max-width: 350px;
    width: auto;
}

.CoverRow .imageContainer img,
.coverRow .imageContainer img {
    width: 100%;
    height: auto;
    display: block;
}


footer {
    background-color: rgba(28, 19, 19, 1);
    background-image: url('../images/footer-background.jpg');
    background-repeat: no-repeat;
}

.footer {
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer a {
    height: 50px;
}

.connect-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.connect-icons a {
    height: 50px;
    display: flex;
    align-items: center;
}

@media(max-width: 2560px) {
    body {
        background-image: url('../images/background2560.jpg');
    }

    footer {
        background-image: url('../images/footer-background2560.jpg');
    }
}

@media(max-width: 1920px) {
    body {
        background-image: url('../images/background1920.jpg');
    }

    footer {
        background-image: url('../images/footer-background1920.jpg');
    }
}

@media(max-width: 1600px) {
    body {
        background-image: url('../images/background1600.jpg');
    }

    footer {
        background-image: url('../images/footer-background1600.jpg');
    }
}

@media(max-width: 1440px) {
    body {
        background-image: url('../images/background1440.jpg');
    }

    footer {
        background-image: url('../images/footer-background1440.jpg');
    }
}

@media(max-width: 1280px) {
    body {
        background-image: url('../images/background1280.jpg');
    }

    footer {
        background-image: url('../images/footer-background1280.jpg');
    }
}

@media(max-width: 992px) {
    body {
        background-image: url('../images/background992.jpg');
    }

    footer {
        background-image: url('../images/footer-background992.jpg');
    }
}

@media(max-width: 768px) {
    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 22px;
    }

    body {
        background-image: url('../images/background768.jpg');
    }

    .header .logo {
        padding: 1rem;
    }

    .header .logo img {
        max-width: 60%;
    }

    main {
        background-image: linear-gradient(rgba(235, 217, 217, 1), rgba(235, 217, 217, 1));
        padding: 0.5rem 0.5rem 2rem 0.5rem;
    }

    main .mainText {
        padding: 1rem;
    }

    .about {
        flex-direction: column;
    }

    .about .mainText {
        max-width: 720px;
        margin: 0 auto;
        gap: 1rem;
        box-sizing: border-box;
    }

    .about .mainText,
    .about .imageContainer {
        flex: 1 1 50%;
        width: auto;
        max-width: none;
        box-sizing: border-box;
    }

    .books .mainText {
        width: 100%;
    }

    .imageContainer {
        width: 100%;
    }

    .twoColumns {
        flex-direction: column;
    }

    .CoverRow,
    .coverRow {
        flex-wrap: wrap;
    }

    .CoverRow .imageContainer,
    .coverRow .imageContainer {
        flex: 0 0 100%;
        max-width: none;
    }

    footer {
        background-image: url('../images/footer-background768.jpg');
    }
}

@media (min-width: 769px) {
    main .mainText {
        max-width: 720px;
        margin: 0 auto;
        padding: 0.5rem 3rem;
        box-sizing: border-box;
    }

    main .mainContent .about {
        max-width: 720px;
        margin: 0 auto;
        gap: 1rem;
        box-sizing: border-box;
        width: 100%;
    }

}

@media(max-width: 576px) {
    body {
        background-image: url('../images/background576.jpg');
    }

    footer {
        background-image: url('../images/footer-background576.jpg');
    }
}

@media (max-width: 480px) {

    .CoverRow .imageContainer,
    .coverRow .imageContainer {
        flex-basis: 100%;
        max-width: 320px;
    }
}

.newsletter-wrap {
    display: flex;
    justify-content: center;
}

.newsletter-wrap>* {
    max-width: 100%;
}