@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Dekko";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/dekko-v19-latin-regular.woff2") format("woff2");
}

body {
  color: #222;
  margin: 0;
  font-family: "Nunito", sans-serif;
  background-image: url("../images/background.jpg");
  background-size: cover;
  --body-bg: #f5f5f5;
  --body-color: #222;
  --main-color: #702d2d;
  --light: rgb(248, 244, 244) !important;
  --facebook: #395997;
}

p {
  font-size: 1.3em;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  width: auto;
}

.list-img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  border: 1px solid #777;
}

.modal,
.modal-dialog {
  border-radius: 10px;
}
.game-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 0 10px;
  /* transition: opacity 0.4s ease; */
}
.game-modal.show {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.4s 0.4s ease;
}
.game-modal .content {
  padding: 30px;
  max-width: 420px;
  width: 100%;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.game-modal img[src="images/victory.gif"] {
  margin-left: -10px;
}

.game-modal img {
  max-width: 120px;
}
.game-modal h4 {
  font-size: 1.45rem;
}
.game-modal p {
  font-size: 1.1rem;
}
.game-modal button {
  padding: 10px 18px;
}

.game-modal p b {
  /* color: #5e63ba; */
  font-weight: 700;
}

.modal.show {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.4s 0.4s ease !important;
}

.modal-body {
  text-align: center;
}

.modal-body img {
  margin-bottom: 10px;
  max-width: 100px;
}

input,
select,
textarea {
  color: #222;
  border-radius: 10px;
}
button {
  border-radius: 4px;
}
.btn-primary {
  /* font-size: 20px !important; */
  background-color: var(--main-color);
  border: 1px solid #2d1212;
  border-radius: 4px;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  background-color: #702d2da5;
  border: 1px solid #2d1212;
}
.btn-primary:active,
.btn-primary:focus {
  box-shadow: none;
}

.list-button-div {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}
.link-list {
  margin-right: 5px;
}
.list-button {
  font-size: 1.3rem;
  margin-top: 15px;
  width: 250px;
}
.back-button {
  background-color: transparent;
  color: var(--main-color);
}
.share-button {
  box-shadow: 0 1px 2px #434242;
  width: 100px;
  height: 40px;
  border: none;
  /* text-align: right; */
  border-radius: 5px;
}

.fb-button {
  background: #3a5692;
  background-image: url("/images/facebook.svg");
  margin-right: 10px;
}

.twitter-button {
  background: #000;
  background-image: url("/images/twitter.svg");
}
.buttonDiv {
  display: flex;
  justify-content: space-between;
  margin: 10px;
}

.checkbutton,
.newbutton {
  padding: 10px 25px;
  cursor: pointer;
  color: white;
  font-size: 1.3em;
  background: #832121;
  border: none;
}

.checkbutton:hover {
  background: #702d2d;
  color: #e3e1e1;
}
.checkbutton:active {
  background: #400000;
  color: #fff;
}
.newbutton {
  display: block;
  margin: 0 auto 0 auto;
}
.newbutton:hover {
  background: #580a0a;
  color: #fff;
}
.newbutton:active {
  background: #400000;
  color: #fff;
}
#button1 {
  display: inline-block;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: var(--main-color);
  text-decoration: none;
}
a:hover {
  color: #555;
}

.youtube-video {
  width: 100%;
  max-width: 400px;
  margin: auto;
  margin-bottom: 20px;
}

.container {
  display: flex;
  flex-direction: column;
  margin: auto;
  min-height: 100vh;
  max-width: 1400px;
  background-color: #f9f8f8;
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
}
nav {
  /* height: 75px; dont use*/
  -webkit-box-shadow: 0 1px 3px #000;
  -moz-box-shadow: 0 1px 3px #000;
  box-shadow: 0 1px 3px #000;
  /* z-index: 1; */
  max-width: 1200px;
  text-align: center;
}

.bg-dark {
  background-color: var(--main-color) !important;
}
.logo {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}
.navbar-brand {
  font-size: 1.5rem;
  color: var(--light) !important;
}

.sub-brand {
  font-size: 0.9rem;
  position: relative;
  top: -5px;
  color: var(--light);
}
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5) !important;
  padding: 8px 10px;
}
.navbar-collapse {
  background-color: #793232;
}
.nav-link {
  color: rgba(255, 255, 255, 0.893) !important;
  font-size: 1.1rem !important;
  padding-left: 25px !important;
  text-align: left !important;
  border-bottom: 1px solid #805e5ec3;
}
.nav-link:hover {
  color: rgba(255, 255, 255) !important;
}
.dropdown-item {
  color: rgba(241, 240, 240, 0.7) !important;
  font-size: 1.1em !important;
  padding: 7px 0 7px 25px !important;
  text-align: left !important;
  border-bottom: 1px solid #805e5e;
}
.dropdown-item:hover {
  color: rgb(252, 250, 250) !important;
  background-color: transparent;
}
.dropdown-menu {
  background-color: #5a2a2a;
  padding-bottom: 0;
}

.header {
  /* height: 100%; */
  display: flex;
  margin-left: 5px;
  align-items: center;
}

.heading {
  display: flex;
  flex-direction: column;
  margin-left: 30px;
}
.title {
  font-size: 26px;
}
.title a {
  color: #fff;
  text-decoration: none;
}
.title a:hover {
  color: #ccc;
  text-decoration: none;
  background: none;
}
.sub-head {
  font-size: 14px;
  color: #fff;
}
.couk {
  font-size: 0.4em;
  display: none;
}

.body-container {
  min-height: 100vh;
  max-width: 1200px;
  background-color: #f8f7f5;
}

article {
  padding: 10px;
  flex-grow: 1;
}
article h1 {
  margin: 30px 0;
  font-weight: bold;
}
.frame {
  min-height: 600px;
}
.exercise-list-div {
  width: 100%;
  max-width: 500px;
  margin: 30px auto;
  text-align: center;
  border: 1px solid #ccc;
}
.exercise-list-div p {
  margin: 0;
  padding: 5px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.list-page-row {
  display: flex;
  flex-direction: column;
}
.card {
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgb(233, 231, 231);
  padding: 15px 1px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0);
  max-width: 550px;
}
.accordion-div {
  margin-top: 30px;
  margin-bottom: 0;
}

.accordion {
  margin: auto;
}

.accordion-item {
  border: 1px solid rgb(75, 75, 75);
}

.accordion-button {
  font-size: 1.2rem;
  padding: 10px 20px;
  font-weight: 600 !important;
}
.accordion-button.collapsed {
  background-color: var(--light);
  color: var(--main-color) !important;
}
.accordion-button:not(.collapsed) {
  background-color: var(--light);
  color: var(--main-color) !important;
  box-shadow: none !important;
  border: 1px solid var(--body-color);
}

.accordion-button:hover {
  background-color: rgb(197, 176, 176) !important;
  /* color: var(--light); */
}

.accordion-body {
  padding: 0;
  background-color: var(--body-bg);
  color: var(--body-color);
}

.accordion-link {
  font-size: 1.2rem;
  padding: 5px 0 0 30px;
  border-bottom: 1px solid #ccc;
}
.accordion p:hover {
  background-color: rgb(197, 176, 176);
}

#featured-3 h3 {
  margin-top: 20px;
  margin-bottom: 20px;
}
.feature-icon {
  background-color: var(--main-color);
}
.feature h2 {
  margin-top: 20px;
}

.share-bottom {
  margin-top: 20px auto;
  display: flex;
  justify-content: center;
}
aside {
  padding: 20px 10px 10px 10px;
  background-color: #ebe8e8;
}

.youtube-channel {
  max-width: 450px;
  background-color: #fff;
  padding: 10px;
  text-align: center;
  margin: 10px auto;
}

.youtube-image-link {
  max-width: 400px;
  border-radius: 10px;
}

.app-div {
  max-width: 450px;
  margin: 10px auto;
  background-color: #fff;
  padding: 10px;
  text-align: center;
}

/* home page */

.home-section {
  text-align: center !important;
}
.home-image {
  margin-bottom: 15px;
  width: 250px;
  height: 150px;
  box-shadow: 0 1px 3px #777;
}

.indent10 {
  margin-left: 10px;
}

.indent20 {
  margin-left: 20px;
}

.home-img {
  max-width: 190px;
}
.home-link {
  margin: auto;
  border: 1px solid #d1cfcf;
  margin-bottom: 10px;
  padding: 5px 0;
}
.home-img-title {
  margin: 0;
  text-align: center;
}
.home-img-p {
  text-align: center;
}

.link-list {
  text-align: center;
}

.word-mix-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  margin-bottom: 20px;
  width: 80%;
  padding-bottom: 15px;
  margin: 10px auto;
}

.credit {
  margin-top: 25px;
  font-size: 0.9em;
  text-align: center;
}
.footer-container {
  margin: 0 auto;
  color: white;
  background: #4d1212;
  padding: 10px;
}
.footer-container footer {
  color: rgba(255, 255, 255, 0.7);
}

.copy {
  text-align: center;
}

.links {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

.sites,
.privacy {
  font-size: 18px;
}
.sites a,
.privacy a {
  color: rgba(255, 255, 255, 0.7);
}

.sites a:hover,
.privacy a:hover {
  color: #aaa;
}

#bottomAd {
  margin: 15px auto;
  display: block;
}

.hidden {
  display: none !important;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

#google1,
.adslot_1 {
  display: block;
  margin: 0 auto;
  width: 300px;
  height: 100px;
}

#google2,
.adslot_2 {
  height: 100px;
  margin: 10px auto;
  text-align: center;
}

#google3,
.adslot_3 {
  margin: 10px auto 20px auto;
  text-align: center;
}

#google4,
.adslot_4 {
  margin: 10px auto;
  display: none;
}

@media only screen and (min-width: 500px) {
  .couk {
    display: inline-block;
  }
  .list-button {
    margin-bottom: 20px;
  }
  .accordion {
    width: 500px;
  }
  .accordion-link {
    padding-left: 50px;
  }
  .card {
    padding: 15px;
  }
  .footer-container {
    padding: 20px;
  }
}

@media only screen and (min-width: 768px) {
  .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
  }

  hr {
    border: 0.125rem solid hsl(300, 50%, 90%);
    margin: 2rem 0;
    clear: both;
  }
  article {
    padding-left: 30px;
  }
  .list-page-row {
    flex-direction: row;
  }
  .word-mix-list {
    flex-direction: row;
    justify-content: center;
    width: 70%;
    padding-top: 15px;
  }

  .list-button {
    margin-right: 20px;
  }

  .game-modal img {
    max-width: 130px;
    margin-bottom: 20px;
  }
  .game-modal h4 {
    font-size: 1.53rem;
  }
  .game-modal p {
    font-size: 1.15rem;
    margin: 15px 0 30px;
    font-weight: 500;
  }
  .game-modal button {
    padding: 12px 23px;
  }
  #google1,
  .adslot_1 {
    width: 728px;
  }
}
@media only screen and (min-width: 992px) {
  .navbar-collapse {
    background-color: var(--main-color);
  }

  .nav-link {
    padding-left: 10px !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: 400;
    border-bottom: none;
  }
  .dropdown-menu {
    background-color: rgb(121, 56, 56) !important;
  }
  .dropdown-menu.show {
    position: relative;
    top: 45px;
  }

  .dropdown-item {
    min-width: 200px !important;
    font-size: 1em !important;
    /* color: var(--main-color) !important; */
    padding: 5px 10px 5px 25px !important;
    text-align: left !important;
    border-bottom: 1px solid #986b6b;
  }
  .dropdown-item:hover {
    /* color: #240d0d !important; */
  }

  .body-container {
    display: flex;
  }

  article {
    flex: 2;
  }

  aside {
    flex: 1;
    padding: 40px 10px 10px 10px;
  }

  #google3 {
    margin: 20px auto 0 auto;
    text-align: center;
  }

  #google4 {
    display: block;
    margin: 30px auto 0 auto;
  }
}

@media only screen and (min-width: 1200px) {
  .share-top {
    position: relative;
    right: 100px;
  }

  article {
    flex: 7;
  }
  aside {
    flex: 3;
  }
}

@media only screen and (max-width: 370px) {
  article {
    padding: 5px;
  }
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
