* {
  margin: 0;
  padding: 0;
}

body {
  background: #ffffff url(../img/bg.png);
  color: #000;
  font:
    12px/14px arial,
    Sans-serif;
}

a {
  color: #d01326;
  text-decoration: none;
  outline: 0;
}

a:hover {
  text-decoration: underline;
}

a img {
  border: none;
}

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

h1 {
  font-size: 30px;
}

h2 {
  font-size: 14px;
}

h3 {
  font:
    bold 11px arial,
    helvetica;
  color: #bbb;
  text-transform: capitalize;
}

h4 {
  font-size: 14px;
}

p {
  font-size: 14px;
  line-height: 19px;
}

.clear {
  clear: both;
}

.clear-both {
  clear: both;
}

.container {
  max-width: 870px;
  margin: 30px auto 0;
}

.button0 {
  float: left;
  width: 200px;
  margin-top: 21px;
  margin-bottom: 9px;
  margin-left: 25px;
}

.button1 {
  float: right;
  width: 100px;
  margin-top: 20px;
  margin-bottom: 10px;
  margin-right: 30px;
}

.button2 {
  float: right;
  width: 170px;
  margin-top: 15px;
  margin-bottom: 10px;
}

.fb-like {
  float: right;
  margin-top: 5px;
  margin-bottom: 2px;
  margin-right: 20px;
}

.header {
  display: flex;
  height: 160px;
  /* background: url(../img/geography-world.png) no-repeat; */
  align-items: center;
  background-color: #fff;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  position: relative;
}

.header::before {
  content: "";
  width: 100%;
  height: 100%;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  position: absolute;
  background: linear-gradient(180deg, #059eff 0%, #1db6ff 50%, #31caff 100%);

  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-sizing: content-box;
}

.header a {
  text-decoration: none;
}

.header-text {
  display: flex;
  flex-direction: column;
  line-height: normal;
  padding: 20px 40px;
  z-index: 2;
  font-family: "Arial Black", sans-serif;
}

.header-text__main {
  color: #006666;
  font-size: 43px;
  text-shadow:
    -3px -3px 0 #fff,
    3px -3px 0 #fff,
    -3px 3px 0 #fff,
    3px 3px 0 #fff;
}

.header-text__second {
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}

@media (max-width: 540px) {
  .header-text__main {
    font-size: 32px;
  }
}

.header1 {
  display: block;
  height: 160px;
  background: url(../img/geography-world1.png) no-repeat;
}

.header h1 a {
  display: block;
  font-size: 10px;
  margin: 0px 0;
  width: 240px;
  text-indent: -999em;
}

.header h1 a:hover {
  color: #7ebe40;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  padding-top: 2px;
  padding-bottom: 0px;
  background-color: #ffffff;
  min-height: 670px;
  margin: 0 auto;
}

.main {
  width: 870px;
  margin: 0;
  padding: 0;
  float: left;
  overflow: hidden;
}

.main-wrapper h1 {
  line-height: normal;
}

.main-content {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

@media (max-width: 700px) {
  .main-content {
    justify-content: center;
  }
}

.main-content-text {
  padding: 0;
}

@media (min-width: 870px) {
  .main-content-text {
    padding: 0 200px;
  }
}

.quizb {
  background: #ffffff;
  display: block;
  width: 207px;
  overflow: hidden;
  height: 199px;
  position: relative;
  text-align: center;
}

.quiz {
  background: #ffffff;
  display: block;
  width: 152px;
  overflow: hidden;
  height: 91px;
  position: relative;
  text-align: center;
}

* a.thumb.personal {
  color: #015151;
  text-decoration: none;
  border: none;
  float: left;
  width: 100%;
  background-color: #66ccff;
  background-repeat: no-repeat;
  padding-bottom: 10px;
  -webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.7);
}

a.thumb .beeld {
  float: left;
  display: inline-block;
  opacity: 1;
  background-size: 100%;
  width: 100%;
  margin-bottom: 7px;
}

a.thumb .beeld img {
  width: 100%;
  height: auto;
  float: left;
  -webkit-transition: all 0.2s ease-out;
}

.icoon {
  background: rgba(0, 0, 0, 0.2) no-repeat center center;
  float: left;
  clear: left;
  opacity: 1;
  width: 100%;
}

a.thumb:hover .icoon img {
  opacity: 0;
  width: 100%;
}

.footer {
  color: #555;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.4em;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  align-items: center;
}

.footer ul {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.footer li {
  display: flex;
  gap: 4px;
}

.footer li::before {
  content: "|";
}

.footer a {
  color: #555;
  font-weight: normal;
  text-decoration: underline;
}

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

.demo-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.demo-window {
  height: 40vh;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: #dbdbdb;
  border-radius: 20px;
}

.demo-wrapper.js-expanded {
  background-color: #fff;
  padding: 20px;
  justify-content: center;
}

.demo-wrapper.js-expanded .demo-window {
  height: 60vh;
}

.demo-wrapper.js-expanded .demo-buttons__control--fullscreen {
  mask-image: url(../img/icon/fullscreen-close.svg);
}

.demo-window iframe {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  z-index: 22;
}

.demo-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.demo-buttons-controls {
  display: flex;
  justify-content: end;
  gap: 15px;
  width: 100%;
}

.demo-buttons__btn {
  padding: 10px;
  border-radius: 20px;
  border: 2px solid #059eff;
  color: #fff;
  background-color: #059eff;
  line-height: normal;
  font-size: 21px;
  font-weight: 600;
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  transition: 0.3s ease-in-out;
  text-align: center;
}

.demo-buttons__btn:hover {
  background-color: #fff;
  color: #059eff;
}

.demo-buttons__btn--play {
  text-decoration: none !important;
}

.demo-buttons__control {
  background-color: #555;
  border-color: #555;
  color: #fff;
  border: 1px solid;
  border-radius: 100px;
  width: 40px;
  height: 40px;
  mask-size: 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  transition: 0.3s ease-in-out;
}

.demo-buttons__control:hover {
  background-color: #006666;
}

.demo-buttons__control--fullscreen {
  mask-image: url(../img/icon/fullscreen-open.svg);
}

.demo-buttons__control--close {
  mask-image: url(../img/icon/close-btn.svg);
}

.demo-buttons__control--refresh {
  mask-image: url(../img/icon/restart-btn.svg);
}

.demo-buttons__control--refresh:hover {
  transform: rotate(180deg);
}

@media (min-width: 540px) {
  .demo-buttons-controls-wrapper {
    flex-direction: row;
  }

  .demo-window {
    height: 50vh;
  }

  .demo-wrapper.js-expanded .demo-window {
    height: 75vh;
  }

  .footer {
    flex-direction: row;
  }
  .footer ul {
    flex-direction: row;
  }
}
