@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


:root {
/* color */
  --dark:				#000000;
  --light:				#ffffff;
  --greysh:				#a4a0b2;
  --medium:         	#003366;
  --nav-background:		#003366;
  --footer-background:	#003366;
/* layout */
  --content-column-max-width: 45rem;  
/* fonts */
  --main-font:        Roboto, Sans-Serif;
  --header-font:      Roboto, Sans-Serif;
  --navingation-font: 'Roboto Condensed', Sans-Serif;
}





* { 
  box-sizing: border-box; 
}

html {
  font-family: var(--main-font);
  font-size: 100%;
  vertical-align: top;
}

body {
  background-color: var(--light);
}

h1 {
  font-family: var(--header-font);
  font-weight: 700;
  line-height: 150%;
  color: var(--dark);
  font-size: clamp(1.5rem, 1.75vw, 2.5rem);
  border-bottom: .5px solid var(--dark);
  margin: -.333rem 0 .667rem;
  padding-bottom: .333rem;
}
h2 {
  font-family: var(--header-font);
  font-size: clamp(1.5rem, 1.25vw, 2rem);
  font-weight: 700;
  line-height: 150%;
  color: var(--dark);
}
h3 {
  font-family: var(--header-font);
  font-size: clamp(1.25rem, 1.0vw, 1.5rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--dark);
}
h4 {
  font-family: var(--header-font);
  font-size: clamp(1rem, 0.9vw, 1.25rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--dark);
}
h5 {
  font-family: var(--header-font);
  font-size: clamp(0.90rem, 0.8vw, 1.2rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--dark);
}
h6 {
  font-family: var(--header-font);
  font-size: clamp(0.75rem, 0.7vw, 1rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--dark);
}
p {
  font-family: var(--main-font);
  font-size: clamp(1rem, 0.8vw, 1.5rem);
  font-weight: 400;
  line-height: 175%;
  color: var(--dark);
}

li {
  font-family: var(--main-font);
  font-size: clamp(1rem, 0.8vw, 1.5rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--dark);
}

a {
  color: var(--medium);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* header */
header {
  background-color: var(--dark);
  background-image: url('../images/pattern-small.gif');
  color: var(--light);
  margin: 0;
  padding: 0;
}

#top-logo {
  padding: 4rem 1rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

#top-logo img {
  width: 100%;
  height: auto;
}


/* end header */

/* navigation start */
#menu-toggle {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 25px;
  height: 25px;
}

#main-header nav {
  min-height: 40px;
}
#menu-toggle .menu-line {
  fill:var(--light);
  visibility: visible;
}
.sm-active #menu-toggle .menu-line {
  visibility: hidden;
}
#menu-toggle .menu-x {
  fill: var(--light);
  visibility: hidden;
}
.sm-active #menu-toggle .menu-x {
  visibility: visible;
}

#main-header nav ul {
  display: none;
}

#main-header.sm-active nav ul {
  display: block;
}
#main-header nav {
  position: relative;
  background-color: var(--nav-background);
  color: var(--light);
}
#main-header nav a {
  font-family: var(--navingation-font);
  font-weight: bold;
  color: var(--light);
}

#main-header nav > ul, #main-header nav > ul > li > ul  {
  list-style-type: none;
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 1rem;
}

#main-header nav > ul > li > ul {
  padding: 0.75rem;
}

@media (min-width:1024px) {
  #main-header nav ul {
    display: block;
  }
  #menu-toggle {
    display: none;
  }
  #main-header > nav > ul {
    margin: 0 auto;
    text-align: center;
  }
  #main-header > nav > ul > li {
    display: inline-block;
    border-bottom: 0;
    text-align: center;
    padding: 0.75rem 2rem;
  }
  #main-header > nav li.nav-sections > a {
    display: none;
  }
}



/* navigation end */




.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
 
.clearfix {
  display: block;
}

/* main content section  */

#page-home .content-wrapper {
  background-color: var(--dark);
  background-image: url('../images/pattern-small.gif');
  color: var(--light);
  margin: 0;
  padding: 4rem 0;
}

section.main {
  display: inline-block;
  padding-top: 1rem;
  width: 100%;
  min-height: 80vh;
  
}

#page-home .content-wrapper section.main {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: calc(600px - 2rem);
  background-color: var(--light);
  border: 5px solid var(--dark);
  border-radius: 25px;
  padding: 25px;
  margin: 0 auto;
}




@media (min-width: 728px) {
  section.main {
    display: inline-block;
    padding: 1rem 1rem 1rem 15px;
    width: calc(100vw - 145px);
  }
}

@media (min-width: 1140px) {
  section.main {
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: calc((100vw - 850px) /2);
    max-width: calc(850px + ((100vw - 850px) /2));
  }
}

.split-content {
  display: table;
  box-sizing: border-box;
}
.split-content-elem-left {
  vertical-align: top;
  display: table-cell;
  width: 50%;
  padding: 0 1rem 1rem 0;
}

.split-content-elem-right {
  vertical-align: top;
  display: table-cell;
  width: 50%;
  padding: 0 0 1rem 1rem;
}

.image-area {
  float: left;
  display: inline-block;
  width: 33%;
  box-sizing: border-box;
  padding: 0.5rem 1.5rem 0.5rem  0;
}

.image-area.area-half {
  width: 48%;
}

.image-area.area-full {
  width: 98%;
}

.image-area img {
  width: 100%;
  height: auto;
}

.book {
  box-sizing: border-box;
  width: 100%;
  display: block;
  vertical-align: top;
}
.cover {
  width: 100%;
  height: auto;
  border: 1px solid #eeeeee;
}
.review-by {
  font-style: italic;
  color: var(--greysh);
}
.book p {
  font-size: 0.8rem;
}



.image-section {
  box-sizing: border-box;
  width: 100%;
  display: block;
  vertical-align: top;
}
.image-section-image {
  width: 100%;
  height: auto;
  border: 1px solid #eeeeee;
}
.image-section p {
  font-size: 0.8rem;
}
.essay-section {
  box-sizing: border-box;
  width: 100%;
  display: block;
  vertical-align: top;
}


.image-section-image.essay {
  border: none;
  width: 66%;
}


@media (min-width: 540px) {
  .book {
    width: 49%;
    display: inline-block;
    padding: 1rem 1rem 1rem 0;
  }
  .image-section {
    width: 49%;
    display: inline-block;
    padding: 1rem 1rem 1rem 0;
  }
  .essay-section {
    width: 49%;
    display: inline-block;
    padding: 1rem 3rem 1rem 0;
  }
}

@media (min-width: 728px) {
  .book {
    width: 49%;
    display: inline-block;
    padding: 1rem 1rem 1rem 0;
  }
  .image-section {
    width: 32%;
    display: inline-block;
    padding: 1rem 1rem 1rem 0;
  }
  .essay-section {
    width: 32%;
    display: inline-block;
    padding: 1rem 3rem 1rem 0;
  }
}

@media (min-width: 1024px) {
  .book {
    width: 49%;
    display: inline-block;
    padding: 1rem 1rem 1rem 0;
  }
  .image-section {
    width: 32%;
    display: inline-block;
    padding: 1rem 1rem 1rem 0;
  .essay-section {
    width: 32%;
    display: inline-block;
    padding: 1rem 3rem 1rem 0;
  }
  }
}

.reviews-logos {
  max-width: 300px;
  height: auto;
}

/* footer */

footer {
  background-color: var(--footer-background);
  padding: 1rem;
  color: var(--light);
}

footer p, footer a, footer h4 {
  color: var(--light);
  text-align: center;
}

/* footer nav start */
footer nav > ul {
  display: block;
  text-align: center;
}
footer > nav > ul {
  margin: 0 auto;
  text-align: center;
}
footer > nav > ul > li {
  display: inline-block;
  text-align: center;
  font-size: 0.8rem;
  padding: 0 2rem;
}
footer nav {
  padding-bottom: 3rem;
}
footer p {
  font-size: 0.8rem;
}
/* footer nav end */

@media (min-width: 1024px) {

}