@import url('https://fonts.cdnfonts.com/css/menlo');

* {
  margin: 0;
  padding: 0;
  font-family: 'Menlo', sans-serif;
  box-sizing: border-box;


}

:root {
  --white: rgb(255, 255, 255);
  --border-image-color: rgb(60, 60, 60);
  --black: rgb(0, 0, 0);
  --bgc-gray: rgb(128, 128, 128);
  --bs-darkgray: rgb(82, 82, 82);
  --bs-rgba: rgba(255, 255, 255, 0.4);
  --footer-bg-dark: #282d32;
  --footer-color: #f0f9ff;
  --none: none;
  --text-under-image: rgb(160, 160, 160);
  --cr-bg-color: rgb(50, 50, 50);
  --footer-lightmode-color: rgb(180, 180, 180);
  --arrow: #717171;
  --gallery-links-color: rgb(207, 142, 22);
  --sidebar-label-color: #7e7e7e;
  --sidebar-a: #818181;
  --label-bgc: rgb(150, 150, 150);
}





body {
  background-color: var(--black);
  color: var(--white);
}


body::-webkit-scrollbar {
  display: none;
}


.light-mode {
  background-color: var(--white);
  color: var(--black);
}

.light-mode a {
  color: var(--black);
  border-color: var(--black);
}

.light-mode p {
  color: var(--black);
}

.light-mode ul {
  color: var(--black);
  border-color: black;
}

.light-mode li {
  color: var(--black);
  border-color: black;
}

.light-mode .infoUl {
  color: var(--black);
  border-color: black;
}

.infoUl-lightmode a {
  color: var(--black);
  border-color: black;
}

.light-mode h1 {
  color: var(--black);
}

.light-mode .infoUl li a {
  color: var(--black);
  border-color: black;
}

.light-mode .infoUl li a:hover {
  background-color: var(--black);
  color: var(--white);
  border-color: black;
}

.light-mode .countup {
  color: var(--black);
}

.light-mode .h3Gallery {
  color: var(--black);
}

.light-mode .prev:hover {
  background-color: var(--black);
  color: var(--white);
}

.light-mode .next:hover {
  background-color: var(--black);
  color: var(--white);
}

.light-mode article {
  border-color: var(--black);
}

.light-mode #load-more {
  color: var(--black);
}
  
.light-mode #load-less {
  color: var(--black);
}

.hightlight {
  background-color: var(--black);
}


.footer-lightmode {
  background-color: var(--footer-lightmode-color);
  color: var(--black);
}

body {
  margin: 0;
  padding: 0;
}

#loading-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: 9999;
}

#loading-screen::after {
  display: none;
}
  
  #loading-text {
  top: 50%;
  left: 50%;
  font-size: 3rem;
  text-align: center;
  }
  
  #loading-image {
  width: 100px;
  height: 100px;
  margin-top: 40px;
  }
  
  #rocket {
  width: 4%;
  height: 15%;
  bottom: -500px;
  }


.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: var(--black);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}


.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: var(--none);
  font-size: 25px;
  color: var(--sidebar-a);
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  cursor: pointer;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  padding: 10px 15px;
  border: var(--none);
}
.toggle-container {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

label {
  width: 100px;
  height: 40px;
  position: relative;
  display: block;
  background: var(--label-bgc);
  border-radius: 200px;
  cursor: pointer;
}

label:after {
  content: "";
  width: 35px;
  height: 35px;
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  background-color: var(--black);
  border-radius: 180px;
}

input {
  width: 0;
  height: 0;
  visibility: hidden;
}

input:checked+label {
  background: var(--label-bgc);
}

input:checked+label:after {
  left: 97px;
  transform: translateX(-100%);
  background-color: var(--white);
}

label, label:after {
  transition: 0.3s;
}

label:active:after {
  width: 40px;
}


#toggle-container {
  position: relative;
  padding-top: 20px;
  padding-left: 50px;
}

.toggle-button {
  position: absolute;
  top: 0;
  right: 0;
}




#main {
  transition: margin-left .5s;
  position: fixed;
  width: 100%;
  top: 0px;
  z-index: 1;
}



/*Animation textwriter*/
.typing p {
  text-shadow: 3px 3px var(--black);
  font-family: 'Courier New', Courier, monospace;
  font-size: 30px;
  white-space: nowrap;
  overflow: hidden;
  width: 80rem;
  -webkit-animation: type 2s steps(40, end);
  animation: type 2s steps(40, end);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

}

.short-facts {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 30px;
}

@keyframes type {
  0% {
    width: 0;
  }

  99.9% {
    border-right: .15em solid var(--white);
  }

  100% {
    border: var(--none);
  }
}

@-webkit-keyframes type {
  0% {
    width: 0;
  }

  99.9% {
    border-right: .15em solid var(--white);
  }

  100% {
    border: var(--none);
  }
}

/*Bilden och vart texten ska stå*/
.container {
  position: relative;
  text-align: center;
  color: var(--white);
}

.typing {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*Search bar*/
.topnav {
  overflow: hidden;
  background-color: var(--black);
}


.topnav a {
  float: left;
  display: block;
  color: var(--white);
  text-align: center;
  padding: 14px 16px;
  margin-right: 0;
  text-decoration: var(--none);
  font-size: 17px;
}

.topnav a:hover {
  color: var(--black);
  background-color: var(--white);
  cursor: pointer;
}

.wrapper {
  margin: 0 200px;
  padding-top: 50px;
}

.infoUl {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;  
  justify-content: center;
  padding: 0;
}

.infoUl li {
  margin: 10px;
}

.infoUl li a {
  display: block;
  padding: 10px 20px;
  border: 2px solid var(--white);
  border-radius: 20px;
  text-align: center;
  font-size: 18px;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.infoUl li a:hover {
  background-color: var(--white);
  color: var(--black);
}


@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .infoUl {
    flex-direction: row;
    justify-content: center;
  }
}

@media only screen and (min-width: 1024px) {
  .infoUl {
    flex-direction: row;
    justify-content: center;
  }
}



/*CSS för gallery*/


#h1Gallery {
  padding: 20px;
  padding-top: 50px;
  font-size: 60px;
}


.galleryImgs {
  border: 2px solid var(--bgc-gray);
  border-radius: 20px;
}



.mySlides {
  display: none;
}

#slide1 {
  display: block;
}

.slideshow-container {
  position: relative;
  padding-left: 275px;
  padding-right: 275px;
}

.numbertext {
  color: var(--white);
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

#slide {
  color: var(--white);
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 175px;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: var(--white);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

.galleryLinks {
  color: var(--gallery-links-color);
  font-weight: bold;
}



.prev {
  right: 90%;
}

#textImgInfo {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-size: 20px;
  margin-top: 40px;
}


br {
  display: block;
  content: "";
  margin: 20px;
}

.next {
  left: 90%;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: var(--white);
  color: var(--black);
}


.active, .dot:hover {
  background-color: var(--arrow);
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 2s;
  animation-name: fade;
  animation-duration: 2s;
}

@-webkit-keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

@media (max-width: 1024px) {
  #h1Gallery {
  font-size: 40px;
  padding-top: 55px;
  padding-left: 10px;
  padding-right: 10px;
  }
  

  .slideshow-container {
  padding-left: 10px;
  padding-right: 10px;
  }
  
  
  #textImgInfo {
  font-size: 16px;
  margin-top: 20px;
  }
  }

/* information */

#h1Information {
  padding: 20px;
  padding-top: 50px;
  font-size: 60px;
}



.bild1 {
  float: right;
  margin-right: 350px;
  margin-left: 20px;
  margin-bottom: 20px;
  border: 2px solid var(--bgc-gray);
  border-radius: 10px;
}

.bild2 {
  float: left;
  margin-left: 350px;
  margin-right: 20px;
  margin-bottom: 20px;
  border: 2px solid var(--bgc-gray);
  border-radius: 10px;

  position: relative;
}

.text1 {

  margin: auto;
  text-align: left;
  margin-left: 350px;
  margin-right: 350px;
  color: var(--white);
  font-size: 17px;

}

.text2 {
display: block;
  margin: auto;
  text-align: left;
  margin-right: 350px;
  margin-left: 350px;
  color: var(--white);
  font-size: 17px;
  padding-bottom: 25px;
}


/* mission */
#containerMission {
  margin-left: 300px;
  margin-right: 300px;
  padding-top: 30px;
  color: var(--white);
  text-align: left;
}

#h1Mission {
  font-size: 60px;
  text-align: center;
  padding-bottom: 20px;
}

.missionImage {
  width: 90%;
  height: 35%;
  border: 2px solid var(--bgc-gray);
  border-radius: 10px;
  padding-bottom: 10px;
}

.seperationimg {
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.missionSeperationText {
  padding-top: 15px;
  padding-right: 15px;
  font-size: 14px;
  color: var(--text-under-image);
}

.h3Gallery {
  padding-top: 60px;
  font-size: 25px;
  text-align: center;
  font-weight: bold;
}

.countup {
  display: flex;
  flex-direction: row;
  font-size: 25px;
  padding-top: 30px;
  padding-right: 15px;
  font-weight: bold;
}

.timeel {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.text-and-img {
  display: flex;
}

.mission-text2 {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  float: left;
}

.missionList {

  padding-left: 75px;
  padding-right: 75px;

}



    
  
    
/* story */

#h1Story {
padding: 20px;
padding-top: 50px;
font-size: 60px;
text-align: center;
}


.Storytext {
padding: 0 350px 0 350px;
margin: auto;
color: var(--white);
text-align: left;
line-height: 1.5;
}

.bild3 {
border: 5px solid var(--border-image-color);
float: right;
margin-right: 370px;
margin-left: 10px;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
border: 2px solid var(--bgc-gray);
}

/*sources*/

#h1Sources {
  padding: 20px;
  padding-top: 50px;
  font-size: 60px;
  text-align: center;
}

#sourcesUl {
  padding: 0 350px 0 350px;
  margin: auto;
  color: var(--white);
  text-align: left;
  list-style: none;
}

.sourcesLi {
  padding-bottom: 20px;
}

.sourcesLinks {
  color: var(--gallery-links-color);
}

/*footer*/

footer {
  background-color: var(--footer-bg-dark);
  color: var(--bs-rgba);
  margin-top: 50px;
  height: auto;
  float: left;
}

footer a {
  color: var(--bs-rgba);
}



#footer-all {
  display: flex;
  flex-direction: row;
  padding: 80px;
}

.about-us-footer {
  text-align: left;
}


#links-footer {
  display: flex;
  flex-direction: column;
  list-style: var(--none);
  float: var(--none);
  padding: 0 200px 0 200px;
  text-align: justify;
}

#links-footer a {
  text-decoration: var(--none);
}

#links-footer a:hover {
  color: var(--footer-color);
}

#socials-footer {
  text-align: left;
  display: flex;
  flex-direction: column;
  list-style: var(--none);
  float: var(--none);
  padding-right: 500px;
}

#socials-footer a {
  text-decoration: none;
}

#socials-footer a:hover {
  color: var(--footer-color);
}

.contact-footer {
  text-align: left;
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}

.copyright-footer {
  text-align: center;
  padding: 7.5px;
}

hr {
  border: var(--none);
  height: 1px;
  background-color: var(--black);
}






@media screen and (max-width: 600px) {
  .topnav a, .topnav {
    float: var(--none);
    display: block;
    text-align: left;
    width: 100%;
  }
}

@media screen and (max-height: 450px) {
  .sidebar {
    padding-top: 15px;
  }

  .sidebar a {
    font-size: 18px;
  }
}


@media only screen and (max-width: 600px) {
  .wrapper {
    margin: 0 20px;
  }

  .info a {
    font-size: 18px;
    height: 35px;
  }

  .info li {
    margin: 0;
    padding: 10px;
    padding-left: 50px;
    padding-right: 500px;
  }

  #h1Story {
    margin-top: 120px;
    margin-bottom: 0;
    font-size: 40px;
  }

  .startPageImage {
    margin-top: 102px;
  }


  .Storytext {
    width: 100%;
    padding: 0;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 20px;
  }

  .bild3 {
    width: 91%;
    float: none;
    margin: 20px auto;
    display: block;
  }

  #footer-all {
    flex-direction: column;
    padding: 40px;
    align-items: center;
  }

  #links-footer {
    padding: 0;
    padding-top: 20px;
    text-align: center;
  }

  #socials-footer {
    padding-right: 0;
    text-align: center;
    padding-top: 20px;
  }

  .contact-footer {
    text-align: center;
  }

  .about-us-footer {
    text-align: center;
  }
}


@media only screen and (max-width: 768px) {

  #h1Sources {
    padding-top: 175px;
    font-size: 40px;
  }

  #sourcesUl {
    padding: 0;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 20px;
  }
    
  #containerMission { 
    padding: 0;
    margin: 0;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 200px;
   }
 
   #h1Mission {
    margin-top: -50px;
     font-size: 40px;
   }
 
   .missionImage {
     width: 100%;
   }
 
   .missionSeperationText {
     margin: 0;
     padding: 0;
     margin-right: 10px;
     margin-top: 5px;
   }
 
 .h3Gallery {
   text-align: center;
   align-items: center;
  font-size: 20px;
 }
 
   .timeel {
     display: flex;
     flex-direction: column;
     font-size: 20px;
     align-items: center;
     text-align: center;
   }

   .countup {
    font-size: 20px;
    align-items: center;
    text-align: center;
   }
 
   .mission-text2 {
     display: flex;
     flex-direction: column;
   }
 
   .text-and-img {
     display: flex;
     flex-direction: column;
   }
 
   .missionList {
     padding: 0;
     margin: 0;
     margin-right: 30px;
     margin-left: 30px;
   }
 
   #h1Gallery {
     margin-top: 100px;
     font-size: 40px;
     padding-left: 10px;
     padding-right: 10px;
     }
     
     .slideshow-container {
     padding-left: 10px;
     padding-right: 10px;
     }
     
     .prev, .next {
       top: 45%;
       position: fixed;
       z-index: 1;
     }
     
     #textImgInfo {
     font-size: 16px;
     margin-top: 20px;
     }
 
     #h1Information {
       font-size: 40px;
       padding: 10px;
       padding-top: 160px;
     }
   
     .bild1 {
       float: none;
       margin: auto;
       width: 91%;
     }
   
     .bild2 {
       float: none;
       margin: auto;
       width: 91%;
     }
   
     .text1 {
       margin: 20px;
       margin-top: 0;
       margin-bottom: 0;
       text-align: left;
     }
   
     .text2 {
       margin: 20px;
       margin-top: 0;
       margin-bottom: 0;
       text-align: left;
     }
   
     .wrapper {
       margin: 0;
       padding: 0;
     }
   
     .container {
       padding: 0;
       margin: 0;
     }
   
     .info {
       flex-direction: column;
       align-items: center;
     }
     
     .infoUl {
       flex-direction: column;
       justify-content: center;
     }
     
     .infoUl li {
       width: 100%;
       margin: 10px 0;
     }
 
 
     #rocket {
       width: 10%;
     }

     .topnav {
      position: relative;
    }
  
    .topnav a {
      float: none;
      display: block;
      text-align: left;
    }
  

  
 }
