:root {
--main-bg-color: #fff;
--main-text-color: #444;
--font-serif: "adobe-jenson-pro", serif;
--font-sans-serif: Arial, sans-serif;
--font-hand: 'Nanum Pen Script', cursive;
--font-brand: "Montecatini_2-Regular";
--book1-color: #505559;
--book2-color: #542f15;
}

*, *:before, *:after {
    box-sizing: border-box;
  }

body {
    background: var(--main-bg-color);
    font-family: var(--font-serif);
    color: var(--main-text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0;
    margin: 0;
}
h1 {
    font-family: var(--font-brand);
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: normal; 
	font-style: normal;    
}
h2 {
    font-family: var(--font-brand);
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: normal; 
	font-style: normal;    
}

a:hover {
    text-decoration: none;
}
p {
    font-size: 1.4rem;
}
p a {
    text-decoration: underline;
}

ul, ol {
    font-size: 1.4rem;
}
/* header */

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.menu {
    background: rgba(255,255,255,0.98);
    height: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 80px 1fr 40px;
    overflow: hidden;
}
.phone-menu {
    display: none;
}
.menu a.menu-switch {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease-in-out 200ms;
    line-height: 1;
}
.menu a.menu-switch.close {
    grid-row: 3;
    grid-column: 2;
}
.menu a:hover {
    text-decoration: none;
    color: #000;
}
.header-menu {
    grid-column: 2 / -1;
    display: flex;
    align-items: center;
}
.header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-menu li {
    margin: 0 10px;
    line-height: 1;
    text-align: center;
}
.header-menu li a {
    text-transform: uppercase;
    font-size: 16px;
    color: rgba(0,0,0,0.8);
}
.header-menu li a:hover {
    text-decoration: underline;
}

.menu img {
    grid-row: 2;
    grid-column: 3;
    max-width: 100%;
}
.menu .author-bio {
    grid-row: 2;
    grid-column: 2 / -1;
    max-width: 100%;
    padding: 80px;
}
.menu .karin-full {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 150px;
    width: 150px;
}
.menu ul.links {
    grid-row: 2;
    grid-column: 1;
    max-width: 100%;
    margin: 0;
    padding: 80px 0 0 80px;
    list-style: none;
    
}
.menu ul.links a {
    font-family: var(--font-brand);
    font-size: 1.8rem;
}
.menu .close {
    grid-row: 3;
    grid-column: 1 / -1;
    margin: auto; 
}
.menu.expanded {
    height: auto;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.4)
}
.menu a .profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 10px;
    opacity: 0.8;
    transition: all ease-in-out 200ms;

}
.menu a:hover .profile-pic {
    opacity: 1;
}
.author {
    font-size: 24px;
    text-transform: uppercase;
}
.author-bio {
}

ul.lang-nav {
    list-style: none;
    padding: 0;
}
/* links */
a {
    text-decoration: none;
    color: var(--main-text-color);
}
a:hover {
    text-decoration: underline;
}
.large-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    font-size: 36px;
}

/* footer */
.footer {
    padding: 40px;
    height: 320px;
    background: url(../images/footer_dark.jpg) no-repeat;
    background-size: cover;
    color: #fff;
    margin-top: 40px;
}
.footer a {
    color: #fff;
}
.language {
    font-weight: 700;
    text-decoration: underline;
}
.back {
    margin: 20px 0;
    display: inline-block;
}
/* Start page */

.hero {
    background: url(../images/hero_bg.jpg) no-repeat;
    background-size: cover;
    display: grid;
    grid-template-columns: 1fr 180px;
    grid-template-rows: 90vh;
    align-items: center;
}
.hero-content {
    justify-self: center;
    width: 600px;
    height: 600px;
    background: url(../images/pearl_bg.png) no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 100px;
    grid-column: 1 / -1;
    grid-row: 1;
}
.hero-content p {
    display: block;
    text-align: center;
    margin: 0;
}
.hero .explore {
    font-size: 20px;
    background: #fff;
    padding: 4px 8px;
    margin-top: 20px;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.5);
    text-align: center;
}
.explore:hover {
    /* transform: scale(0.98); 
    box-shadow: 0px 2px 10px rgba(0,0,0,0.8); */
}
.hero .awards {
    grid-column: 2;
    grid-row: 1;
    text-shadow: 0px 0px 2px black;
    font-weight: 700; 
}

.awards .award {
    height: 160px;
    width: 160px;
    margin: 10px 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: url(../images/laurel.png) no-repeat;
    background-size: 100%;
    text-align: center;
}

/* books */
.book1 h1,
.book1 h2,
.book1 h3,
.book1 h4 {
    color: var(--book1-color);
}
.book2 h1,
.book2 h2,
.book2 h3,
.book2 h4 {
    color: var(--book2-color);
}
.books {
    display: grid;
    grid-gap: 16px;
    grid-template-columns: 1fr 1fr;
}
.book {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin: 40px 0;
}
.book-description {
    display: flex;
    flex-direction: column;
    padding: 0 24px;
}
.book-description img {
    width: 150px;
}
.book-description h2 {
    margin-top: 0;
    font-size: 2rem;
    text-transform: uppercase;
}
.book .cover {
    max-width: 150px;
}
.book a {
}
.buy {
    padding: 8px 16px;
    font-family: var(--font-sans-serif);
    font-size: 1.2rem;
    text-transform: uppercase;
    text-align: center;
}
.book1 .buy {
    color: var(--book1-color);
}
.book2 .buy {
    color: var(--book2-color);
}


/* Explore */
.explore-parent {
    height: 0;
    padding-bottom: 60%;
    position: relative;
     
}
.explore-hero {
    background: url(../images/map_overview.jpg) no-repeat;
    background-size: cover;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.ribbon {
    background: url(../images/ribbon.png) no-repeat top left;
    width: 300px;
    height: 76px;
    display: block;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    transition: all 150ms ease-in-out;
    font-family: sans-serif;
    text-transform: uppercase;
    padding-top: 23px;

}
.ribbon:hover {
    transform: rotate(-2deg) scale(1.1);    
}
.ribbon-south {
    position: absolute;
    bottom: 7%;
    left: 15%;
}
.ribbon-north {
    position: absolute;
    top: 15%;
    left: 35%;
}
.ribbon-east {
    position: absolute;
    bottom: 40%;
    right: 10%;
}
.ribbon-west {
    position: absolute;
    bottom: 50%;
    left: 10%;
}
.ribbon-lighthouse {
    position: absolute;
    bottom: 30%;
    left: 45%;
}
.section-intro {
    max-width: 960px;
    margin: auto;
    padding: 0 40px;
}
.panels {
    max-width: 960px;
    margin: auto;
}
.panels section {
    display: flex;
    align-items: center;
    padding: 36px;
}
.panels section.order-inverse {
    flex-direction: row-reverse;
}
.section-description {
    padding: 24px;
    width: 100%;
}
.section-img {
    max-width: 30vw;
}
.section-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    background-size: cover;
}
.section-hero img {
    width: 100%;
}
.main-content {
    max-width: 960px;
    margin: auto;
    margin-top: 80px;
    padding: 0 20px;
}
/* Grand children */ 
.gchildren {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-gap: 40px;
}


img.separator {
    margin: auto;
    width: 80%;
    max-width: 400px;
    display: block;
}


.audio-file {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.audio-file .description {
    font-size: 1.8rem;
}

/* Smaller screens */
@media only screen and (max-width: 900px) {
    .books {
        grid-template-columns: 1fr;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .hero .hero-content {
        width: 400px;
        height: 400px;
        padding: 70px;
    }
    .hero .awards {
        grid-column: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        align-self: end;

    }
    .menu a.menu-switch {
        grid-column: 1 / -1;
    }
    .menu .header-menu {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
    }
    .menu .author-bio {
        grid-column: 1 / -1;
        grid-row: 3;
    }
    .menu a.menu-switch.close {
        grid-row: 4;
        grid-column: 1 / -1;
    }
    .phone-menu {
        display: inline;
        color: rgba(0,0,0,0.6);
        padding-left: 10px;
    }
}

/* Mobile */
@media only screen and (max-width: 440px) {
    .books {
        grid-template-columns: 1fr;
    }
    .books .book {
        flex-direction: column;
    }
    .books .book img.cover {
        max-width: 80%;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .hero .hero-content {
        width: 370px;
        height: 370px;
        padding: 60px;
    }
    .hero .awards {
        display: none;
    }
    .menu a.menu-switch {
        grid-column: 1 / -1;
    }
    .menu .header-menu {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
        flex-wrap: wrap;
    }
    .menu .author-bio {
        grid-column: 1 / -1;
        grid-row: 3;
    }
    .menu a.menu-switch.close {
        grid-row: 4;
        grid-column: 1 / -1;
    }
    .explore-parent {
        margin-top: 80px;
    }
    .ribbon {
        transform: scale(0.6);
    }
}

