/*---------- General Rules ----------*/

:root {
    --primary-color: rgb(54, 64, 65);
    --secondary-color: rgb(83, 97, 98);
    --tertiary-color: rgb(32, 164, 243);
    --transparent-primary: rgba(54, 64, 65, 0.5);
    --text-color: rgb(255, 255, 255);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Baskervville', serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
}


/*----------Preloader-------------*/


/* Downloaded from https://loading.io/css/ */

#preloader {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

#preloader h2 {
    position: absolute;
    top: 60%;
    font-family: Baskervville;
    font-weight: 400;
    font-size: 20px;
}

.lds-default {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-default div {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fdd;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
}

.lds-default div:nth-child(1) {
    animation-delay: 0s;
    top: 37px;
    left: 66px;
}

.lds-default div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22px;
    left: 62px;
}

.lds-default div:nth-child(3) {
    animation-delay: -0.2s;
    top: 11px;
    left: 52px;
}

.lds-default div:nth-child(4) {
    animation-delay: -0.3s;
    top: 7px;
    left: 37px;
}

.lds-default div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11px;
    left: 22px;
}

.lds-default div:nth-child(6) {
    animation-delay: -0.5s;
    top: 22px;
    left: 11px;
}

.lds-default div:nth-child(7) {
    animation-delay: -0.6s;
    top: 37px;
    left: 7px;
}

.lds-default div:nth-child(8) {
    animation-delay: -0.7s;
    top: 52px;
    left: 11px;
}

.lds-default div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62px;
    left: 22px;
}

.lds-default div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66px;
    left: 37px;
}

.lds-default div:nth-child(11) {
    animation-delay: -1s;
    top: 62px;
    left: 52px;
}

.lds-default div:nth-child(12) {
    animation-delay: -1.1s;
    top: 52px;
    left: 62px;
}

@keyframes lds-default {
    0%,
    20%,
    80%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
}


/*---------- Navigation ----------*/

.navWrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

#navbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 9vh;
    min-height: 40px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: 0.35s;
    transition: 0.35s;
    overflow: hidden;
}

#logo {
    text-shadow: 1px 1px 2px black;
    font-size: calc(0.6vw + 0.6vh + .6vmin);
    text-decoration: none;
    font-family: "Fondamento";
    color: rgb(255, 255, 255);
    margin-left: 5vw;
}

.navLinks {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-right: 5vw;
    overflow: hidden;
}

.navItem {
    text-decoration: none;
    color: var(--text-color);
    font-family: "Fondamento";
    font-size: calc(0.6vw + 0.6vh + .6vmin);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 1px 1px 2px black;
    width: 12vw;
    transition: all 150ms ease-in;
}

.navItem:hover {
    color: var(--tertiary-color);
}

#mobile {
    background-color: var(--tertiary-color);
    background: linear-gradient(66deg, rgba(61, 61, 61, 1) 0%, rgba(121, 108, 108, 1) 40%, rgba(61, 61, 61, 1) 100%);
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    overflow: hidden;
    z-index: 100;
    width: 100%;
    transition: 0.35s;
}

.navItemMobile {
    text-decoration: none;
    color: white;
    font-size: calc(1.3vw + 1.3vh + 1vmin);
    padding: 15px;
    text-align: center;
    font-family: Fondamento;
    text-shadow: 1px 1px 4px black;
}

#hamburgerMenu {
    display: none;
    height: 40px;
    width: 40px;
    z-index: 21;
    margin-left: auto;
    margin-right: 2vh;
    cursor: pointer;
}

#hamburgerMenu img:hover {
    background: none;
}

#hamburgerMenu img {
    height: 100%;
    width: 100%;
}

#mobile a:hover {
    background-color: rgb(5, 102, 141);
}


/*----------- Main page -----------*/

#mainWrapper {
    display: none;
}

#showcase {
    background-color: rgba(0, 0, 0, 0.75);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    background-position: center;
    position: relative;
}

.slide {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.slide h1 {
    font-size: calc(8px + 1.3vw + 1.3vh + .6vmin);
    text-shadow: 1px 1px 2px black;
    z-index: 3;
    font-family: "Fondamento", cursive;
    height: 8vh;
}

.slide h1:hover {
    background-color: none;
}

.slide h3 {
    text-align: center;
    text-shadow: 0px 0px 20px black;
    font-size: calc(5px + 0.4vw + 0.4vh + .4vmin);
    z-index: 3;
    width: 100%;
    font-weight: 500;
    height: 8vh;
    padding: 10px;
    font-family: "Fondamento", cursive;
    margin-bottom: 20vh;
}

.topButton {
    font-size: calc(12px + 0.3vw + 0.3vh + .3vmin);
    height: 8vh;
    z-index: 3;
    position: absolute;
    bottom: 10vh;
    box-shadow: 0px 0px 5px black;
    width: 14%;
    min-width: 150px;
}

.btn {
    background-color: transparent;
    text-align: center;
    color: white;
    border: 2px white solid;
    text-transform: lowercase;
    text-decoration: none;
    font-weight: lighter;
    transition: all ease 0.25s;
    text-shadow: 1px 1px 10px black;
    font-family: "Fondamento", cursive;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2em 0;
    cursor: pointer;
}

.btn:hover {
    -webkit-transition: ease 0.15s;
    transition: all ease 0.25s;
    text-shadow: 3px 3px 10px black;
    background-color: rgb(5, 102, 141);
}

#audiobook {
    background: url(../images/tree.jpg);
    background-size: cover;
    background-position: center;
}

#textbook {
    background: url(../images/skycastle.jpg);
    background-size: cover;
    background-position: 50% 35%;
}

#stories {
    background: url(../images/book1.jpg);
    display: flex;
    background-size: cover;
    background-position: 50% 35%;
    background-position: 50% 75%;
    mix-blend-mode: lighten;
}

#audiobook::before,
#textbook::before,
#stories::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

#buttonHolder {
    position: absolute;
    bottom: 0;
    left: 42.5%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15%;
    height: 8vh;
    border-top-right-radius: 2em;
    border-top-left-radius: 2em;
}

.buttons {
    cursor: pointer;
    height: calc(5px + 0.3vw + 0.3vh + .4vmin);
    width: calc(5px + 0.3vw + 0.3vh + .4vmin);
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.65);
    padding: 3px;
    margin: 0 1vw;
    border-radius: 50%;
    -webkit-box-shadow: 0.5px 0.5px rgba(255, 255, 255, 0.73);
    box-shadow: 0.5px 0.5px rgba(255, 255, 255, 0.73);
    z-index: 19;
}

#firstButton {
    background-color: rgba(255, 255, 255, 0.73);
}

#secondButton,
#thirdButton,
#fourthButton {
    background-color: rgba(0, 0, 0, 0.65);
}


/* ---------News section--------- */

.news {
    width: 70%;
    margin: 0 auto;
}

#news {
    min-height: 90vh;
    padding-top: 10vh;
    position: relative;
}

.top-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.empty-container {
    width: 30%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.top-container h1,
.news h1 {
    text-align: center;
    font-size: calc(5px + 1vw + 1vh + 1vmin);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-family: "Fondamento", cursive;
}

.top-container h1 {
    width: 30%;
    font-size: calc(5px + 1vw + 1vh + 1vmin);
    font-weight: lighter;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;
    min-width: 50px;
}

#page-number {
    width: 100%;
    text-align: center;
    margin-top: 5px;
    font-size: calc(5px + 0.4vw + 0.4vh + .3vmin);
}

.arrows {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 30px;
    background-color: rgb(115, 115, 115);
    overflow: hidden;
}

.arrow {
    min-width: 45%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow img {
    width: 70%;
}

.newsbox {
    background-color: var(--secondary-color);
    color: white;
    padding: 0 0 1em 0;
    margin-bottom: 1em;
    font-size: calc(10px + 0.2vw + 0.2vh + .2vmin);
    line-height: 1.6em;
    -webkit-box-shadow: 6px 5px 11px 1px rgba(0, 0, 0, 0.4);
    box-shadow: 6px 5px 11px 1px rgba(0, 0, 0, 0.4);
    position: relative;
    text-justify: auto;
    text-align: justify;
}

.newsHeader {
    padding: 0.75em 1em;
    display: inline-block;
    font-family: "Fondamento", cursive;
}

.publishDate {
    padding: 1em 1.5em;
    font-size: calc(10px + 0.2vw + 0.2vh + .2vmin);
    float: right;
}

.page {
    width: 100%;
}

.newsbox .newsText {
    padding: 0.5em 1.5em;
}

.newsText a {
    color: white;
}

.parallax {
    margin-top: 2em;
    background-attachment: fixed;
    background-position: center;
    background-image: url(../images/motyle1.jpg);
    width: 100%;
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bottom-container {
    display: flex;
    width: 100%;
}


/* -------- Books section -------- */

#books {
    padding-bottom: 15vh;
    padding-top: 2vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#books h1 {
    text-align: center;
    padding-top: 10vh;
    padding-bottom: 0.5em;
    font-family: "Fondamento", cursive;
    font-weight: lighter;
}

#twoColumn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: var(--secondary-color);
    margin: 1em;
    font-size: calc(10px + 0.2vw + 0.2vh + .2vmin);
    line-height: 1.5em;
    -webkit-box-shadow: 6px 5px 11px 1px rgba(0, 0, 0, 0.4);
    box-shadow: 6px 5px 11px 1px rgba(0, 0, 0, 0.4);
    position: relative;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 60vh;
    width: 100%;
}

#booklist {
    -ms-flex-preferred-size: 40%;
    flex-basis: 40%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-right: 3px white solid;
    text-align: center;
    color: black;
}

#booklist img {
    width: 30px;
    display: none;
}

.bookItem:nth-child(even) {
    background-color: var(--transparent-primary);
}

.bookItem,
.mobileBooklist {
    text-decoration: none;
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
    text-align: center;
    cursor: pointer;
    -webkit-transition: 0.2s ease;
    transition: 0.2s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 500;
    padding: 0 20px;
    color: var(--text-color);
    font-family: "Fondamento", cursive;
    font-size: calc(6px + 0.4vw + 0.4vh + .4vmin);
}

.bookItem:hover {
    background-color: black;
}

.mobileBooklist {
    display: none;
}

#storyOne {
    display: -webkit-box;
    display: -ms-flexbox;
    display: "flex";
}

#bookOne,
#storyTwo,
#storyThree,
#storyFourth,
#audio1,
#audio2 {
    display: none;
}

.bookcaseBody {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: var(--secondary-color);
    color: white;
    -ms-flex-preferred-size: 60%;
    flex-basis: 60%;
    padding: 1em;
    min-height: 100%;
    max-height: 100%;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
}

.bookcaseBody h3 {
    text-align: center;
    padding: 0.5em 1em 1em 1em;
    font-size: calc(10px + 0.4vw + 0.4vh + .4vmin);
    font-family: "Fondamento", cursive;
    font-weight: 500;
}

.bookDescription {
    overflow: auto;
    flex: 1;
    margin-bottom: 10px;
}

.bookDescription img {
    width: 25%;
    float: left;
    margin: 0.5vh 0.8vw 0 0;
}

.bookDescription p {
    text-justify: auto;
    text-align: justify;
    font-size: calc(10px + 0.2vw + 0.2vh + .2vmin);
}

.download {
    padding: 1em;
    font-size: calc(7px + 0.3vw + 0.4vh + .3vmin);
    min-width: 25%;
    max-width: 40%;
}

.framebox {
    -ms-flex-preferred-size: 85%;
    flex-basis: 85%;
    border: none;
    min-height: 85%;
    text-align: center;
    width: 100%;
    position: relative;
}

.framebox iframe {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 80%;
}


/* -------- Contact section -------- */

#contact {
    width: 100%;
    height: 85vh;
    background-image: url(../images/whitepapers.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contactBox {
    display: flex;
    flex-direction: column;
    height: 60%;
    width: 35%;
    margin: 0 auto;
    background-color: var(--secondary-color);
    border-radius: 2em 0;
}

#contactBox h2 {
    font-family: "Fondamento", cursive;
    font-weight: lighter;
    font-size: calc(9px + 0.7vw + 0.7vh + .7vmin);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contactBox form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    height: 70%;
    margin: 0 auto;
    padding: calc(1vw + 1vh + .7vmin);
    background-color: var(--primary-color);
    text-align: left;
    font-family: 'Baskervville', serif;
    align-items: center;
    flex: 1;
    border-bottom-right-radius: 2em;
    -webkit-box-shadow: 6px 5px 11px 1px rgba(0, 0, 0, 0.4);
    box-shadow: 6px 5px 11px 1px rgba(0, 0, 0, 0.4);
}

.formRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.name,
.mail {
    width: 48%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.name input,
.mail input {
    font-family: Georgia, 'Times New Roman', Times, serif, serif;
    font-size: calc(10px + 0.2vw + 0.2vh + .2vmin);
    padding: 0.5em;
    border: none;
}

.rest {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 0.8em;
    height: 50%;
    width: 100%;
    flex: 1;
}

.rest textarea {
    font-family: Georgia, 'Times New Roman', Times, serif, serif;
    resize: none;
    font-size: calc(10px + 0.2vw + 0.2vh + .2vmin);
    height: 100%;
    padding: 0.5em;
}

.name label,
.mail label,
.rest label {
    font-size: calc(10px + 0.3vw + 0.3vh + .3vmin);
    margin-bottom: 10px;
}

input[type=submit] {
    min-width: 25%;
    font-size: calc(10px + 0.25vw + 0.25vh + .25vmin);
    margin: 20px auto 0 auto;
    cursor: pointer;
    padding: 0.5em 1.5em;
    border-radius: 0;
}

input[type=submit]:hover {
    background-color: rgb(5, 102, 141);
}


/* ----- Footer section ------*/

footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 1.5em 0 1em 0;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    width: 100%;
    margin: 0 auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: calc(10px + 0.2vh + 0.2vw + 0.25vmin);
}

footer img {
    opacity: 0.6;
}

footer img:hover {
    opacity: 2;
    -webkit-transition: ease 0.2s;
    transition: ease 0.2s;
}

.footerStrip {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.linkbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.linkbox a,
.copyright a {
    display: block;
    text-decoration: none;
    color: white;
    margin: 0 0.5em
}

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

.socialMedia {
    margin: 0;
    padding: 0;
    max-width: 4vh
}

.copyright {
    padding-top: 0.5vh;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.copyright a {
    display: inline-block;
}


/* -------Media queries-------- */

@media only screen and (max-width: 480px) {
    #buttonHolder {
        width: 50%;
        left: 25%;
    }
    .buttons {
        width: 16px;
        height: 16px;
        margin: 0 10px;
    }
    .topButton {
        width: 35%;
    }
    .navItem {
        display: none;
    }
    #logo {
        margin-left: 20px;
    }
    .publishDate {
        display: block;
        float: none;
        padding: 0;
        margin-left: 1.85em;
    }
    #hamburgerMenu {
        display: block;
    }
    .news {
        width: 95%;
    }
    #page-number {
        display: none;
    }
    #books {
        padding-bottom: 5vh;
    }
    .bookDescription p {
        text-align: justify;
        text-align: left;
    }
    #twoColumn {
        flex-direction: column;
        width: 100%;
        min-height: fit-content;
        /* zrobic, żeby działało na firefoxie (caniuse.com) */
    }
    #booklist {
        border-bottom: 2px solid white;
        border-right: none;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .bookItem {
        flex-basis: 50%;
    }
    .framebox {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        min-height: 55vh;
    }
    .framebox iframe {
        flex: 1;
    }
    .bookcaseBody {
        min-height: 55vh;
    }
    .bookDescription img {
        margin: 0 10px 0 0;
    }
    #contactBox {
        width: 85%;
    }
    #contactBox form {
        padding: 20px;
    }
}

@media only screen and (max-width: 766px) {
    #logo {
        font-size: calc(1vw + 1vh + 1vmin);
    }
    .publishDate {
        display: block;
        float: none;
        padding: 0;
        margin-left: 1.85em;
    }
    #hamburgerMenu {
        display: block;
    }
    .navItem {
        display: none;
    }
    .news {
        width: 95%;
        min-height: 90vh;
    }
    #page-number {
        display: none;
    }
    .bookDescription p {
        text-align: left;
    }
    #twoColumn {
        flex-direction: column;
        width: 100%;
        min-height: fit-content;
    }
    #booklist {
        border-right: none;
        flex-direction: row;
        border-bottom: 2px solid white;
    }
    .mobileBooklist {
        font-size: calc(15px + 0.4vw + 0.4vh + .4vmin);
        flex: 1;
        display: flex;
        background-color: var(--secondary-color);
        height: 8vh;
    }
    .bookItem {
        display: none;
    }
    #booklist img {
        display: block;
        cursor: pointer;
        margin: 0 20px;
    }
    .framebox {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        min-height: 55vh;
    }
    .framebox iframe {
        flex: 1;
    }
    .bookcaseBody h3 {
        display: none;
    }
    .bookDescription img {
        width: 20%;
        margin-right: 10px;
    }
    #contactBox {
        width: 75%;
    }
    #contactBox h2 {
        padding: 10px;
        height: 10%;
    }
    input[type=submit] {
        min-width: 25%;
    }
}

@media only screen and (min-width: 767px) and (max-width: 1024px) {
    .publishDate {
        display: block;
        float: none;
        padding: 0;
        margin-left: 1.85em;
    }
    #mobile {
        display: none;
    }
    .news {
        width: 90%;
    }
    #twoColumn {
        flex-direction: column;
        width: 100%;
        min-height: fit-content;
    }
    #booklist {
        border-bottom: 2px solid white;
        border-right: none;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .bookItem {
        flex-basis: 33.3%;
        padding: 20px;
    }
    .framebox {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        min-height: 55vh;
    }
    .framebox iframe {
        flex: 1;
    }
    input[type=submit] {
        min-width: 25%;
    }
    .bookDescription img {
        width: 16%;
        margin-right: 10px;
    }
    #contactBox {
        width: 60%;
        height: 50%;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1599px) {
    #mobile {
        display: none;
    }
    .news {
        width: 80%;
    }
}

@media only screen and (min-width: 1600px) {
    #mobile {
        display: none;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .topButton {
        width: 20%;
        height: 12vh;
    }
    #contact {
        height: 100vh;
    }
    #contactBox {
        height: 90%;
        width: 60%;
    }
    #contactBox form {
        height: 100%;
        padding: 20px;
    }
}