* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

header {
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-bottom: 2px solid #ccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  background-position: 10px 10px;
  background-repeat: no-repeat;
  padding: 12px 20px 12px 40px;
  text-align: center;
}

footer {
  display: flex;
  width: 100%;
  background-color: #ccc;
  color: #333;
  padding: 20px;
  height: 10vh;
  box-sizing: border-box;
  position: fixed;
  justify-content: space-between;
  bottom: 0;
  margin-top: 30px;
}

main {
  min-height: 90vh;
  height: auto;
  margin-bottom: 30px;
  width: 100%;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 20px 0;
}

body {
  background: #fff;
  min-height: 100vh;
  height: 100%;
  display: -webkit-grid;
  display: -ms-grid;
  display: grid;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-grid-template-columns: 1fr;
  -ms-grid-template-columns: 1fr;
  grid-template-columns: 1fr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sigmar-regular {
  font-family: 'Sigmar', serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  font-size: 90px;
}

.title,
.author {
  font-size: 20;
  font-weight: bold;
  margin-top: 0;
}

.description {
  font-size: 15;
  font-weight: lighter;
  margin-bottom: 20px;
}

.custom-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  font-size: 1rem;
  background-color: #fff;
  border: 1px solid #caced1;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  color: #000;
  cursor: pointer;
  text-align: center;
}

.video-container {
  position: absolute;
  top: 100%;
  left: 30%;
  width: calc(100%-250px);
  height: 80%;
  margin-top: 120px;
  margin-left: 400px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 25%);
  grid-gap: 20px 5px;
  overflow-x: hidden;
}

.video {
  min-height: 250px;
  height: auto;
  text-align: center;
}

.thumbnail {
  width: 100%;
  height: 150%;
  object-fit: cover;
}

.container {
  position: relative;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 20px;
  -webkit-box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  width: 85%;
  max-width: 600px;
  text-align: center;
  color: black;
}

.book-container {
  position: sticky;
  top: 100%;
  left: 0%;
  width: calc(500%-650px);
  height: 80%;
  margin-left: 200px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 25%);
  grid-gap: 20px 5px;
  overflow-x: hidden;
}

.parent {
  display: -webkit-grid;
  display: -ms-grid;
  display: grid;
  -webkit-grid-template-columns: 25% 75%;
  -ms-grid-template-columns: 25% 75%;
  grid-template-columns: 25% 75%;
  padding: 4px;
  position: relative;
  padding: var(--padding);
  border: 1px double hsla(204, 7%, 86%, 0.936);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  grid-auto-rows: auto;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  height: auto;
  min-height: 400px;
}

.parent::after {
  content: '';
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: calc(25% + var(--padding) / 2 - 1px);
  border-left: 2px dashed hsl(210deg 8% 50%);
}
.child {
  display: -webkit-grid;
  display: -ms-grid;
  display: grid;
  height: 70vh;
  border: 2px solid hsl(210deg 8% 50%);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background: #fff;
  color: rgb(0, 0, 0);
  font-size: 1.3125rem;
  font-weight: bold;
  -webkit-grid-template-rows: auto auto auto;
  -ms-grid-template-rows: auto auto auto;
  grid-template-rows: auto auto auto;
}

.child:first-child {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.child:last-child {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
}

.view-book {
  margin-top: 10px;
  margin-right: 10px;
  float: right;
}

.heading {
  font-size: 35px;
  font-weight: 500;
  font-family: Arial, Helvetica, sans-serif;
  text-shadow: 5px 5px 2p rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}

.hobby {
  font-size: 25px;
  font-weight: 500;
  margin: 40px;
}

.btn {
  font-size: 12px;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  padding: 10px;
  background-color: rgba(10, 0, 0, 0.979);
  border-color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  color: #fff;
  float: right;
  margin: 50px 50px 75px 50px;
}

a.btn.btn-secondary {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}

.search-box {
  position: relative;
  max-width: 500px;
  width: 50%;
  height: 35px;
  display: flex;
}

.search-bar {
  width: 80;
  height: 100%;
  border: 2px solid #dbdbdd;
  padding: 0 20px;
  font-size: 16px;
  text-transform: capitalize;
}
.navbar-inner {
  width: 70%;
  height: 200px;
}

input[type='text'] {
  padding: 5px;
  border: 2px solid #ccc;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

input[type='text']:focus {
  border-color: #333;
}

input[type='submit'] {
  padding: 5px 15px;
  background: #ccc;
  border: 0 none;
  cursor: pointer;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  margin-top: 10px;
}
.button-container {
  text-align: center;
}
button {
  padding: 5px 15px;
  background: #ccc;
  border: 0 none;
  cursor: pointer;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.youtube__button {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  -o-transition-duration: 0.4s;
  transition-duration: 0.4s;
  background-color: #000;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 20px;
  -webkit-tap-highlight-color: transparent;
}

.youtube__button:hover {
  background-color: #ddd;
  color: #000;
}

.clearfix::after {
  content: '';
  clear: both;
  display: table;
}

.form-container {
  max-width: 300px;
  padding: 10px;
  background-color: white;
  margin-right: auto;
  margin-left: auto;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.container-v {
  position: initial;
  top: 0%;
  left: 10%;
}

.results > div.container__results {
  display: -webkit-grid;
  display: -ms-grid;
  display: grid;
  -webkit-grid-template-areas: 'top__nav top__nav'
    'youtube__section books__section ' 'blank blank';
  grid-template-areas:
    'top__nav top__nav'
    'youtube__section books__section '
    'blank blank';
  -webkit-grid-template-columns: 1fr 3fr;
  -ms-grid-template-columns: 1fr 3fr;
  grid-template-columns: 1fr 3fr;
  gap: 5px;
  -webkit-gap: 5px;
  background-color: #fff;
  padding: 5px;
}

.container__results > div {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
}

.container__results > div.top__nav {
  -webkit-grid-area: top__nav;
  -ms-grid-area: top__nav;
  grid-area: top__nav;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.container__results > div.youtube__section {
  grid-area: youtube__section;
  text-align: center;
}

.container__results > div.books__section {
  -webkit-grid-area: books__section;
  -ms-grid-area: books__section;
  grid-area: books__section;
  display: -webkit-grid;
  display: -ms-grid;
  display: grid;
  -webkit-grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  -ms-grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  -webkit-gap: 10px;
  grid-auto-rows: auto;
}

.child {
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
}

.child img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.tabs {
  display: flex;
  cursor: pointer;
}

.tab {
  padding: 10px 20px;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  margin-right: 5px;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  transition: background-color 0.3s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}

.tab:hover {
  background-color: #ddd;
}

.active {
  background-color: #3498db;
  color: white;
}

.tab-content {
  position: relative;
  width: 100%;
  padding: 20px;
  border: 1px solid #ccc;
  border-top: none;
  margin-top: 10px;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video iframe {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 225px;
}

.tab-content.show {
  display: block;
}

.tab-content:not(.show) {
  visibility: hidden;
  position: absolute;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.description {
  height: 30px;
}

@media only screen and (max-width: 1280px) and (max-height: 800px) {
  .sigmar-regular {
    font-size: 60px;
  }
  .container {
    width: 90%;
    padding: 15px;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 1024px) and (max-height: 600px) {
  .sigmar-regular {
    font-size: 50px;
  }
  .container {
    width: 95%;
    padding: 10px;
    margin: 0 auto;
  }
  footer {
    height: auto;
    padding: 10px;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1366px) {
  .results > div.container__results {
    -webkit-grid-template-columns: 1fr 2fr;
    -ms-grid-template-columns: 1fr 2fr;
    grid-template-columns: 1fr 2fr;
  }
  .sigmar-regular {
    font-size: 70px;
  }
}

@media only screen and (min-width: 912px) and (max-width: 1368px) {
  .results > div.container__results {
    -webkit-grid-template-columns: 1fr 2fr;
    -ms-grid-template-columns: 1fr 2fr;
    grid-template-columns: 1fr 2fr;
  }
  .parent {
    -webkit-grid-template-columns: 30% 70%;
    -ms-grid-template-columns: 30% 70%;
    grid-template-columns: 30% 70%;
  }
}

@media only screen and (min-width: 820px) and (max-width: 1180px) {
  .results > div.container__results {
    -webkit-grid-template-columns: 1fr;
    -ms-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
    -webkit-grid-template-areas: 'top__nav' 'youtube__section' 'books__section';
    grid-template-areas:
      'top__nav'
      'youtube__section'
      'books__section';
  }
  .sigmar-regular {
    font-size: 65px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .results > div.container__results {
    -webkit-grid-template-columns: 1fr;
    -ms-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
    -webkit-grid-template-areas: 'top__nav' 'youtube__section' 'books__section';
    grid-template-areas:
      'top__nav'
      'youtube__section'
      'books__section';
  }
  .sigmar-regular {
    font-size: 60px;
  }
  .parent {
    -webkit-grid-template-columns: 1fr;
    -ms-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .parent::after {
    display: none;
  }
}

@media only screen and (min-width: 1768px) and (max-width: 2560px) {
  .results > div.container__results {
    -webkit-grid-template-columns: 1fr 2fr;
    -ms-grid-template-columns: 1fr 2fr;
    grid-template-columns: 1fr 2fr;
    max-width: 2400px;
    margin: 0 auto;
  }
}

@media only screen and (min-width: 1768px) and (max-width: 2208px) {
  .results > div.container__results {
    -webkit-grid-template-columns: 1fr 2fr;
    -ms-grid-template-columns: 1fr 2fr;
    grid-template-columns: 1fr 2fr;
  }
}

@media only screen and (min-width: 712px) and (max-width: 904px) {
  .results > div.container__results {
    -webkit-grid-template-columns: 1fr;
    -ms-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
    -webkit-grid-template-areas: 'top__nav' 'youtube__section' 'books__section';
    grid-template-areas:
      'top__nav'
      'youtube__section'
      'books__section';
  }
  .sigmar-regular {
    font-size: 50px;
  }
}

@media only screen and (max-width: 539px) {
  footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000;
    height: auto;
    padding: 10px 15px;
  }
  main {
    padding-bottom: 70px;
    margin-bottom: 0;
  }
  body {
    padding-bottom: 0;
  }
}

@media only screen and (min-width: 540px) and (max-width: 720px) {
  .results > div.container__results {
    -webkit-grid-template-columns: 1fr;
    -ms-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
    -webkit-grid-template-areas: 'top__nav' 'youtube__section' 'books__section';
    grid-template-areas:
      'top__nav'
      'youtube__section'
      'books__section';
  }
  .sigmar-regular {
    font-size: 45px;
  }
  .parent {
    -webkit-grid-template-columns: 1fr;
    -ms-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .parent::after {
    display: none;
  }
  .tab {
    padding: 8px 12px;
    font-size: 14px;
  }
}

@media only screen and (min-width: 430px) and (max-width: 932px) {
  .sigmar-regular {
    font-size: 40px;
  }
  .container {
    width: 95%;
    padding: 15px;
    margin: 0 auto;
  }
  .results > div.container__results {
    -webkit-grid-template-columns: 1fr;
    -ms-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
    -webkit-grid-template-areas: 'top__nav' 'youtube__section' 'books__section';
    grid-template-areas:
      'top__nav'
      'youtube__section'
      'books__section';
  }
  .parent {
    -webkit-grid-template-columns: 1fr;
    -ms-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .parent::after {
    display: none;
  }
  .child {
    height: auto;
    min-height: auto;
  }
  .video iframe {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
  }
  .tab {
    padding: 10px 15px;
    font-size: 14px;
    -webkit-tap-highlight-color: rgba(52, 152, 219, 0.3);
  }
}

@media only screen and (min-width: 390px) and (max-width: 844px) {
  .sigmar-regular {
    font-size: 38px;
  }
  .container {
    width: 95%;
    padding: 12px;
    margin: 0 auto;
  }
  .tab {
    padding: 8px 12px;
    font-size: 13px;
    margin-right: 3px;
  }
  .tab-content {
    padding: 15px;
  }
}

@media only screen and (min-width: 412px) and (max-width: 915px) {
  .sigmar-regular {
    font-size: 42px;
  }
  .container {
    width: 95%;
    margin: 0 auto;
  }
  .results > div.container__results {
    padding: 3px;
  }
}

@media only screen and (min-width: 414px) and (max-width: 896px) {
  .sigmar-regular {
    font-size: 40px;
  }
}

@media only screen and (min-width: 360px) and (max-width: 740px) {
  .sigmar-regular {
    font-size: 35px;
  }
  .container {
    width: 98%;
    padding: 10px;
    margin: 0 auto;
  }
  .tab {
    padding: 8px 10px;
    font-size: 12px;
    margin-right: 2px;
  }
  .tab-content {
    padding: 10px;
  }
  .btn {
    padding: 8px;
    font-size: 11px;
    margin: 10px;
  }
}

@media only screen and (min-width: 375px) and (max-width: 667px) {
  .sigmar-regular {
    font-size: 32px;
  }
  .container {
    width: 98%;
    padding: 8px;
    margin: 0 auto;
  }
  .tab {
    padding: 6px 8px;
    font-size: 11px;
    -webkit-tap-highlight-color: rgba(52, 152, 219, 0.3);
  }
  .tab-content {
    padding: 8px;
  }
  .video iframe {
    min-height: 180px;
  }
  .parent {
    padding: 2px;
  }
  .child {
    font-size: 1rem;
  }
  footer {
    padding: 10px;
    font-size: 12px;
  }
}

@media only screen and (max-width: 700px) {
  #Home {
    font-size: 48px;
    text-align: center;
  }
  .sigmar-regular {
    font-size: 36px;
  }
  .container {
    width: 98%;
    margin: 0 auto;
    padding: 15px;
  }
  .results > div.container__results {
    -webkit-grid-template-columns: 1fr;
    -ms-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
    -webkit-grid-template-areas: 'top__nav' 'youtube__section' 'books__section';
    grid-template-areas:
      'top__nav'
      'youtube__section'
      'books__section';
  }
  .container__results > div.books__section {
    -webkit-grid-template-columns: 1fr;
    -ms-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .parent {
    -webkit-grid-template-columns: 1fr;
    -ms-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .parent::after {
    display: none;
  }
  .child {
    height: auto;
    min-height: auto;
  }
  .child:first-child {
    max-height: 300px;
  }
  .tab {
    -webkit-tap-highlight-color: rgba(52, 152, 219, 0.3);
    min-height: 44px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .video iframe {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
  }
  main {
    margin-bottom: 100px;
  }

  @media only screen and (min-width: 541px) {
    footer {
      position: relative;
      height: auto;
    }
  }
}

@media only screen and (max-width: 915px) and (orientation: landscape) {
  .sigmar-regular {
    font-size: 35px;
  }
  .container {
    width: 95%;
    margin: 0 auto;
  }
  main {
    height: auto;
    min-height: 90vh;
  }
  .results > div.container__results {
    -webkit-grid-template-columns: 1fr 1fr;
    -ms-grid-template-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    -webkit-grid-template-areas: 'top__nav top__nav'
      'youtube__section books__section';
    grid-template-areas:
      'top__nav top__nav'
      'youtube__section books__section';
  }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (min-resolution: 192dpi) {
  .child img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

@media print {
  .tab,
  .top__nav,
  footer {
    display: none;
  }
  .results > div.container__results {
    -webkit-grid-template-columns: 1fr;
    -ms-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
