html {
    scroll-behavior: smooth;
}

p {
    margin-top: 0;
}

.postContainer {
    width: 60%;
    background-color: hsla(0, 0%, 100%, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5em;
}

.downloadLinksContainer {
    display: flex;
    justify-content: flex-end;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -2rem;
}

.downloadLink{
    width: 4rem;
    padding: 0.5rem;
}


.postData {
    margin-bottom: 3em;
}

.postTitle {
    font-family: titles, fantasy;
    text-transform: uppercase;
    font-size: 1.5em;
    margin-bottom: -0.5em;
    text-align: center;
}

.postUnderTitle1 {
    font-family: titles, fantasy;
    text-align: center;
}

.postUnderTitle2 {
    letter-spacing: initial;
    line-height: 1.4em;
    font-weight: bold;
    font-family: "Kelly Slab", serif;
    font-size: 0.8em;
    text-align: center;

    margin-top: 1.5em;
}

.postUnderTitle3 {
    font-weight: normal;
}

.postDefaultContent {
    max-width: 40rem;
}

.postText {
    text-align: justify;
    box-sizing: border-box;
    padding-bottom: 0;
}

.postIllustrationWrapper {
}

.postIllustration {
    max-height: 19rem;
    max-width: 100%;
    box-sizing: border-box;
    background-color: white;
    padding: 0.25rem;
    box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.postIllustration p {
    margin-bottom: -1em;
}

.secondaryText {
    font-family: "Kelly Slab", serif;
    font-size: 0.7em;
    padding-left: 1em;
    padding-right: 1em;
    letter-spacing: initial;
    text-align: center;
}

.fadedText {
    font-size: 0.8em;
    font-style: italic;
    color: hsl(0, 0%, 50%);
}

.postGallery {
    display: grid;
    grid-template-columns: auto;
    column-gap: 1rem;
    row-gap: 1rem;
    justify-items: center;
    align-items: center;
    text-align: center;
}

.postGalleryImageWrapper {
    width: 95%;
    height: auto
}

.postGalleryImageWrapper:hover {
    width: 97%;
    height: auto;
    transition: 0.6s;
}

.autahvel {
    text-align: center;
    padding: 3em 1em 1em;
    margin-bottom: 5rem;
    font-family: "Kelly Slab", serif;
    font-size: 0.8em;
    background-image: url("/pildid/kivi.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.autahvel ul {
    list-style: none;
}

.rating {
    text-align: center;
    font-family: "Kelly Slab", serif;
    font-weight: bold;
    margin-top: 2em;
    margin-bottom: 4em;
}

.thumbNailSource {
    display: none;
}

.postEnd {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, auto);
    align-items: center;
    height: 8.5rem;
    padding-top: 2.5em;
}

.navigationLeft {
    justify-self: start;
}

.hoverLeft:hover {
    margin-left: -1rem;
    padding-right: 1rem;
}

.navigationTop {
    justify-self: center;
}

.hoverTop:hover {
    margin-top: -1rem;
    padding-bottom: 1rem;
}

.navigationRight {
    justify-self: end;
}

.hoverRight:hover {
    margin-right: -1rem;
    padding-left: 1rem;
}

.navigationIcon {
    display: block;
    margin-top: auto;
    margin-bottom: auto;
    width: 3rem;
    opacity: 0.75;
    transition: 0.3s;
}

.navigationIcon:hover {
    opacity: 1;
}


@media screen and (max-width: 1280px) {
    .postContainer {
        width: 90%;
        padding-left: 1em;
        padding-right: 1em;
        margin-top: -2rem;
    }

    .downloadLinksContainer {
        width: 90%;
        padding-bottom: 2rem;
    }

}

@media screen and (max-width: 1080px) {
    .postPureTextContent {
        width: 100%;
    }
}

@media screen and (max-width: 800px) {
    .postDefaultContent {
        grid-template-columns: auto;
    }

    .secondaryText {
        margin-bottom: 2.5em;
    }

    .downloadLinksContainer {
        justify-content: space-between;
    }
}