body, html {
  max-width: 100%;
  height: 100%;
}

@font-face {
  font-family: firstFont; 
  src: url(Fonts/first/Comfortaa-SemiBold.ttf);
  src: url(Fonts/first/Comfortaa-Medium.ttf);
  src: url(Fonts/first/Comfortaa-Light.ttf);
  src: url(Fonts/first/Comfortaa-Regular.ttf);
}

@font-face {
  font-family: secondFont;
  src: url(Fonts/second/Montserrat-Black.ttf);
  src: url(Fonts/second/Montserrat-BlackItalic.ttf);
  src: url(Fonts/second/Montserrat-SemiBold.ttf);
  src: url(Fonts/second/Montserrat-Bold.ttf);
  src: url(Fonts/second/Montserrat-ExtraBold.ttf);
  src: url(Fonts/second/Montserrat-Regular.ttf);
}

@font-face {
  font-family: firstFontBold;
  src: url(Fonts/first/Comfortaa-Bold.ttf);
  font-weight: bold;
}

@font-face {
  font-family: secondFontBold;
  src: url(Fonts/second/Montserrat-Medium.ttf);
  font-weight: bold;
}

@font-face {
  font-family: secondFontBlack;
  src: url(Fonts/second/Montserrat-Black.ttf);
}

body {
  font-family: firstFont;
  font-family: secondFont;
  font-size: 14px;
  padding: 0 0 0 0;
  margin: 0;
  overflow-x: hidden;
  background-color: #2A4B7C;
}

header {
  max-width: 100%;
}

footer {
  height: 100%;
  background-color: #142339;
}

h1, h2 {
  margin: 0;
}

h4 {
  margin-top: 8px;
  margin-bottom: 5px;
}

img {
    max-width: 100%;
    height: auto;
}

header, div, img {
  box-sizing: border-box;
}

/* HEADER */
.header_container {
  display: grid;
  grid-template-columns: 1fr;
}

.header_mobile {
  background-color: #142339;
  display: none;
}

.mobile_container {
  display: grid;
  grid-template-columns: 1fr auto; 
}

.logo_mobile {
  font-family: firstFontBold;
  color: white;
  font-size: 15px;
  text-transform: uppercase;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.mobile_menu_container {
  position: relative;
  overflow: hidden;
}

.mobile_menu_container #links {
  display: none;
}

#links {
  width: 100%;
}

.mobile_menu_container a {
  padding: 10px 0 10px 20px;
  color: #fff;
  background-color: #111;
  text-decoration: none;
  font-size: 17px;
  font-family: secondFont;
  display: inline-block;
  background-color:  #142339;
  width: 100%;
  text-transform: uppercase;
}

.nav_list {
  text-decoration: none;
  text-transform: uppercase;
  list-style: none;
  padding-top: 31px;
  padding-right: 30px;
  position: absolute;
  color: white;
  justify-self: end;
  display: block;
}

.nav_list a {
  display: inline-block;
  margin-left: 10px;
  font-family: secondFontBold;
  font-size: 18px;
  vertical-align: middle;
  font-weight: bolder;
}

.nav_list a:hover {
  text-decoration-line: underline;
}

 .menu_icon {
  position: absolute;
  display: none;
  width: 80px;
  margin: 10px 10px;
  justify-self: end;
}

.menu_icon_mobile {
  display: none;
  width: 30px;
}

.item1 {
  display: grid;
  grid-template-columns: auto 1fr; 
  position: relative;
  background-color: #2A4B7C;
  margin: 15px 15px;
  border-radius: 10px;
  box-shadow: 4px 4px 11px 3px rgba(0,0,0,0.3);
  overflow: hidden;
}

.item1 a {
  text-decoration-line: none;
  color: #fff;
}

.logo {
  font-family: firstFontBold;
  position: absolute;
  color: white;
  font-size: 15px;
  text-transform: uppercase;
  padding-top: 10px;
  padding-left: 10px;
  display: block;
  transition-property: all;
  transition-duration: 5s;
  transition-delay: 2s;
  -webkit-transition-property: all;
  -webkit-transition-duration: 5s;
  -webkit-transition-delay: 2s;
}

  #name, #name2 {
   text-transform: lowercase;
   font-size: 1em;
   font-family: secondFontBlack;
   color: #fff;
   border: 4px solid #fff;
   border-radius: 15px;
   text-align: center;
 } 

 #name2 {
  border: 3px solid #fff;
  border-radius: 20px;
 }

.drop_container {
  position: relative;
  display: inline-block;
}

.drop_content {
  position: absolute;
  display: none;
  background: rgba(0, 0, 0, 0.3);
  margin-left: 3px;
  height: auto;
  z-index: 1;
  border-radius: 10px;
}

.drop_content a  {
  text-transform: none;
  font-size: 17px;
  font-family: secondFontBold;
  text-align: left;
  color: #fff;
  text-decoration: none;
  padding: 3px 10px 5px 10px;
  margin: 3px; 
  font-weight: bolder;
  display: block;
}

 .drop_container:hover .drop_content {
  display: block;
}

.drop_container:hover .drop_btn {
  font-family: firstFontBold;
  font-size: 25px;
  font-weight: bold;
  text-decoration-line: none;
}

.drop_btn {
 position: relative;
}

.drop_btn a:hover {
  font-size: 25px;
}

.drop_content a:hover {
  font-family: secondFontBold;
  font-size: 17px;
  border-radius: 10px;
  background-color: #fff;
  color: #142339;
  text-decoration-line: none;
}

.item2-2 {
  display: grid;
  grid-gap: 15px;
  grid-template-columns: 400px 400px;
  margin-right: 15px;
  margin-left: 15px;
  color: #fff;
  justify-self: end;
  position: absolute;
  align-self: end;
}

.outer_quote {
  padding: 0px 0px 5px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  margin-bottom: 10px;
}

.outer_quote p {
  padding-left: 10px;
  padding-right: 10px;
  font-size: 16px;
  font-family: secondFont;
}

.author {
  font-size: 14.5px;
  font-family: firstFont;
  color: #fff;
  text-align: right;
  padding-right: 10px;
  padding-bottom: 5px;
}

/* CONTENT */

.content_container {
  border-radius: 20px 20px 20px 20px;
  padding-top: 25px;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 350px));
  grid-gap: 25px 25px;
  justify-content: center;
  background-color: #2A4B7C;
}

.item3 {
  background-color: #2A4B7C;
  font-size: 14px;
  color: #eee;
}

.foreword {
  font-size: 15.8px;
  padding-top: 10px;
  padding-right: 15px;
  padding-left: 15px;
  display: grid;
  grid-gap: 25px;
  grid-template-columns: 1fr auto;
}

.intro {
  color: #eee;
  align-self: center;
  padding-right: 10px;
  padding-left: 10px;
  line-height: 130%;
  border-radius: 10px;
  box-shadow: 4px 4px 11px 3px rgba(0,0,0,0.3);
}

.intro .rubrik4 {
  padding-left: 0px;
}

.title_item {
  font-family: firstFontBold;
  font-weight: bold;
}

.title_item2 {
  font-family: secondFont;
  font-weight: bold;
}

.rubrik {
  color: #ff751a;
  font-size: 14px;
  position: absolute;
  padding-left: 10px;
  padding-top: 8px;
}


.rubrik2 {
  color: #ff751a;
  font-family: firstFont;
  font-size: 14px;
  position: relative;
  padding-left: 10px;
  padding-top: 5px;

}

.rubrik2 a {
  color: #ff751a;
  font-family: firstFont; 
}

.rubrik3 {
  position: absolute;
  font-size: 14px;
  padding-left: 10px;
  padding-top: 8px;
  color: #111;
}

.rubrik4 {
  color: #ff751a;
  font-family: firstFont;
  font-size: 14px;
  padding-left: 10px;
  padding-top: 8px;
}


#new_title {
  color: #ff751a;
}

.preview_content {
  padding-left: 10px;
  padding-right: 5px; 

}

.preview_content a {
  text-decoration: none;
  outline: none;
}

.preview_content2 {
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 5px; 
  font-family: secondFont;
}


.preview_content a {
  color: #fff;
}

.preview_content3 {
  display: grid;
  align-self: end;
}


.preview_content3 h4 {
  padding-left: 8px;
}

.preview_content3 img {
  margin-bottom: -5px;
}

.preview_quote {
  display: grid;
  grid-template-rows: auto;
  font-size: 15.5px;
  padding-left: 10px;
  align-self: end;
  padding-right: 10px;
}

.preview_quote p {
  margin-top: -25px;
}

.btn {
  border: 2px solid black;
  background-color: #111;
  color: #ff751a;
  padding: 3px 5px;
  font-size: 15px;
  cursor: pointer;
  border-color: #ff751a;
  outline: none;
}

.btn:hover {
  color: #111;
  background-color:  #ff751a; 
}

#begin {
  display: none;
  justify-content: center;
}

.mark {
  font-size: 250px;
  font-family: firstFont;
  font-weight: normal;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
}


.mat1 a, .mat2 a, .mat3 a, .mat4 a, .mat5 a, .mat6 a, .mat7 a, .mat8 a, .mat9 a, .mat10 a, .mat11 a,
.quest1 a, .quest2 a, .quest3 a, .quest4 a, .quest5 a, .game1 a, .game2 a, .art1 a, .art2 a, .art3 a, 
.item_photo a {
  color: #fff;
  text-decoration: none;
}

.mat1 .rubrik a, .mat2 .rubrik a, .mat3 .rubrik a, .mat4 .rubrik a, .mat5 .rubrik a, .mat6 .rubrik a, .mat7 .rubrik a,
.mat8 .rubrik a, .mat9 .rubrik a, .mat10 .rubrik a, .mat11 .rubrik a,
.quest1 .rubrik2 a, .quest2 .rubrik2 a,  .quest3 .rubrik2 a, .quest4 .rubrik2 a, .quest5 .rubrik2 a,
.game1 .rubrik2 a, .game2 .rubrik2 a, .item_photo .rubrik2 a, .art1 .rubrik4 a, .art2 .rubrik4 a, .art3 .rubrik4 a {
  color: #ff751a;
}

.item_photo .rubrik3 a {
  color: #111;
}


.rubrik a:hover, .rubrik2 a:hover, .rubrik4 a:hover {
  text-decoration-line: underline;
}

/* Questions images */

.quest1 img, .quest2 img, .quest3 img, .quest4 img, .quest5 img {
   opacity: 0.6;
}

/* Questions and Articles hovers */
.quest1:hover, .quest2:hover , .quest3:hover, .quest4:hover, .quest5:hover, .art1:hover, .art2:hover, .art3:hover {
  box-shadow: 4px 4px 11px 3px rgba(255,255,255,0.8);
}


/* Questions background */
.quest1, .quest2, .quest3, .quest4, .quest5 {
  position: relative;
  background-image: linear-gradient(transparent, #111, #111, #111);
  border-radius: 10px;
  font-size: 14.5px;
  color: white;
  overflow: hidden;
  box-shadow: 4px 4px 11px 3px rgba(0,0,0,0.3);
}

/* Articles */
.art1, .art2, .art3 {
  font-size: 14.5px;
  padding-bottom: 0px;
  margin-bottom: 0px;
  min-height: 450px;
  display: grid;
  grid-template-rows: auto;
  border-radius: 10px;
  color: #fff;
  font-family: secondFont;
  overflow: hidden;
  box-shadow: 4px 4px 11px 3px rgba(0,0,0,0.3);
}

.mat1, .mat2, .mat3, .mat4, .mat5, .mat6, .mat7, .mat8, .mat9, .mat10, .mat11 {
  background-image: linear-gradient(transparent, #111, #111);
  font-size: 14.5px;
  font-family: firstFont;
  border-radius: 10px;
  color: white;
  overflow: hidden;
  box-shadow: 4px 4px 11px 3px rgba(0,0,0,0.3);
}

.mat1:hover, .mat2:hover, .mat3:hover, .mat4:hover, .mat5:hover, .mat6:hover, .mat7:hover, 
.mat8:hover, .mat9:hover, .mat10:hover, .mat11:hover {
   box-shadow: 4px 4px 11px 3px rgba(255,117,26,0.8);
}

/* Games */
.game1, .game2, .item_photo {
  background-image: linear-gradient(transparent, #fff, #fff);
  font-size: 14.5px;
  font-family: firstFont;
  border-radius: 10px;
  color: #fff;
  overflow: hidden;
  box-shadow: 4px 4px 11px 3px rgba(0,0,0,0.3);
}

.item_photo {
  max-width: 350px;
  max-height: auto;
}

.game1 .preview_content, .game2 .preview_content, .item_photo .preview_content {
  color: #111;
  padding-top: 5px;
}

.game1:hover, .game2:hover, .item_photo:hover {
   box-shadow: 5px 5px 14px 4px rgba(152,221,222,0.8);
}


/* FOOTER */

.footer_container {
  padding-top: 20px;
  padding-bottom: 20px;
  display: grid;
  grid-template-columns: auto auto;
  background-color: #142339;
 
}

.footer_contact {
  font-family: secondFont;
  font-size: 15px;
  color: #fff;
  display: grid;
  grid-template-columns: 350px auto;
  margin-left: 15px;
  margin-right: 25px;
}

.attention {
  font-family: secondFont;
  font-size: 15px;
  color: #eee;
  padding-top: 3px;
  padding-bottom: 3px;
  text-align: center;
  align-self: center;
  background-color: #111;
  border-radius: 10px;
}

.footer_nav {
  margin-left: 0px;
}
 
.footer_list {
  list-style: none;
  font-family: firstFont;
  text-align: left;
  padding-left: 25px;
}

.footer_list2 {
  list-style: none;
  text-align: right;
  align-self: center;
}

.footer_list a {
  padding: 5px 10px;
  font-size: 15px;
  color: #F3E0BE;
  text-decoration-line: none;
  text-transform: uppercase;
}

.footer_list a:hover {
  text-decoration-line: underline;
}

.footer_list li {
  display: inline-block;
  padding-top: 5px;
}

.footer_list2 li {
  padding: 5px 10px;
  font-family: secondFont;
}



/* Responsive header */

@media  (max-width: 1197px)  {
  .nav_list {
    padding-top: 28px;
  } 
  .nav_list a {
    font-size: 15px;
  }
   .logo {
    font-size: 13px;
  }
   #name {
    font-size: 0.96em;
  }
  .drop_container:hover .drop_btn {
    font-size: 20px;
  }
  .drop_btn {
    font-size: 20px;
  }
  .nav_list a:hover {
    font-size: 20px;
  }
  .drop_content a {
    font-size: 15px;
  }
  .drop_content a:hover {
    font-size: 15px;
  }
  .drop_content {
    margin-left: 3px;
  }
}

@media (max-width: 990px) {
  .nav_list {
    display: none;
  }
  .menu_icon {
    display: block;
  }
  .item1 {
    grid-template-columns: 1fr;
    margin: 10px 10px;
  }
}

@media (max-width: 499px) {
  .header_mobile {
    display: block;
    padding-bottom: 10px;
  }
  .item1 {
    margin: 0px 0px;
    border-radius: 0px;
  }
  .logo {
    display: none;
  }
  .menu_icon {
    display: none;
  }
  .menu_icon_mobile {
    display: block;
  }
  .logo_mobile {
    font-size: 12px;
  }
  #name2 {
    font-size: 0.95em;
  }
}

@media (max-width: 400px) {
  .logo_mobile {
    text-align: left;
  }
}

@media (min-width: 2000px) {
  .logo {
    font-size: 23px;
  }
  #name {
    font-size: 1em;
    border-radius: 25px;
    border: 6px solid #fff;
  }
  .nav_list a {
    font-size: 23px;
    margin-left: 25px;
  }
  .nav_list {
    padding-top: 48px;
    padding-right: 48px;
  }
  .drop_content a, .drop_content a:hover {
    font-size: 20px
  }
  .drop_content a {
    margin: 0;
  }
  .drop_container:hover .drop_btn {
    font-size: 30px;
  }
  .drop_content {
    margin-left: 23px;
  } 
  .item1 {
    border-radius: 15px;
    width: 2000px;
    justify-self: center;
  }
}

/* Responsive content */

@media (max-width: 1023px) {
  .item_photo {
    justify-self: center;
  }
  .foreword {
    grid-template-columns: auto;
  }
} 

@media (max-width: 1439px) {
  .item_photo {
    width: 300px;
    height: 400px;
  }
}

@media (max-width: 600px) {
  .item_photo {
    width: 350px;
    height: auto;
  }
}

@media (max-width: 990px) {
  .foreword {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 499px) {
  .intro {
    padding-left: 5px;
    padding-right: 0px;
    box-shadow: none;
  }
  .intro p {
    margin-top: 5px;
  }
  .item_photo {
    width: auto;
    height: auto;
  }
  #welcome {
    display: none;
  }
}

@media (max-width: 320px) {
  .mark {
    font-size: 210px;
  }
}

@media (min-width: 2000px) {
  .foreword {
    width: 1920px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.3rem;
  }
  .content_container {
    width: 2000px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Responsive footer */
@media (max-width: 1279px) {
  .footer_container {
    grid-template-columns: auto;
  }
  .footer_contact {
    grid-template-columns: 350px auto;
    margin-right: 15px;
  }
  .footer_nav {
    justify-self: center;
    align-self: center;
  }
  .footer_list {
    text-align: center;
  }
  .footer_list2 {
    padding-left: 5px;
    padding-right: 5px;
  }
  .attention {
    align-self: center;
    margin-left: 10px;
    margin-top: 15px;
  }
}

@media (max-width: 800px) {
  .footer_container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .footer_list {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
  }  
  .footer_contact {
    grid-template-columns: 350px auto;
  }
  .attention {
    margin-top: 0px;
  }
}

@media (max-width: 650px) {
  .attention {
    text-align: center;
    padding: 0px 0px;
  }
  .footer_contact {
    grid-template-columns: 1fr auto;
    margin-left: 5px;
    margin-right: 5px;
  }
  .footer_list2 {
    text-align: right;
  }
}

@media (max-width: 599px) {
  .footer_container {
    grid-template-columns: auto;
    grid-template-rows: auto auto;
  }
  .footer_list {
    border-bottom: 1px dashed #fff;
    padding-bottom: 20px;
    margin-top: 7px;
  }
  .footer_list li {
    padding-top: 6px;
  }
  .footer_nav {
    text-align: center;
  }
  .footer_contact {
    text-align: center;
    grid-template-columns: auto;
    margin-right: 15px;
  }
  .footer_list2 {
    padding-right: 0;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
  }
  .attention {
    text-align: center;
    margin-top: 5px;
  }
}

@media (max-width: 320px) {
  .footer_contact {
    font-size: 13.5px;
  }
  .attention {
    padding: 3px;
  }
}

@media (min-width: 2000px) {
  .footer_container {
    width: 2000px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer_list a {
    font-size: 18px;
    text-align: center;
  }
  .footer_list {
    padding-top: 5px;
    justify-content: center;
  }

  .footer_contact {
    font-size: 18px;
    grid-template-columns: 450px auto;
  }
  .attention {
    font-size: 18px;
   padding: 0 8px;
  }
  .item_photo {
    align-self: center;
    margin-right: 20px;
  }
  .intro {
    margin-right: 20px;
  }
}