@import "comfortaa.css";

*{
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
}

html, body {
  height: 100svh;
  width: 100svw;
  margin: 0px;
  padding: 0px;
  font-family: 'Comfortaa_Regular', sans-serif;
  font-size: clamp(16px, 4vmin, 24px);
  overflow-x: hidden;
}

.bremen {
  width: 100svw;
  margin: auto;
  position: relative;
  height: 100svh;
  display: grid;
}

.hb1 {
  grid-template-columns: 1fr;
  grid-template-rows: 60px auto(repeat);
  align-items: center;
  justify-items: stretch;
  grid-template-areas:
  "nav"
  "hero-txt1"
  "hero-image"
  "hero-txt2"
  "title"
  "sec1-top"
  "sec1-bottom"
  "sec2-top"
  "sec2-bottom"
  "sec3-top"
  "sec3-bottom"
  "sec4-top"
  "sec4-bottom"
  "sec5-top"
  "sec5-bottom"
  "sec6-top"
  "sec6-bottom"
  "sec7-top"
  "sec7-bottom"
  "footer-txt"
  "footer-links";
}

.hb2 {
  grid-template-columns: 1fr;
  grid-template-rows: 60px auto(repeat);
  align-items: center;
  justify-items: stretch;
  grid-template-areas:
  "nav"
  "title"
  "sec1-top"
  "sec1-bottom"
  "sec2-top"
  "sec2-bottom"
  "sec3-top"
  "sec3-bottom"
  "sec4-top"
  "sec4-bottom"
  "sec5-top"
  "sec5-bottom"
  "."
  "."
  "."
  "."
  "."
  "."
  "."
  "footer-txt"
  "footer-links";
}

.hero-image1 {
  grid-area: hero-image;
  position: relative;
}

.hero-image1 img {
  display: block;
  max-width: 70%;
  max-height: 70svh;
  left: -100%;
  position: relative;
}  

.car1 {
  animation-name: carkey;
  animation-duration: 21s;
  animation-delay: 0s;
  animation-fill-mode: forwards;  
  animation-iteration-count: infinite;
}

.hero-image2 {
  grid-area: hero-image;
  position: relative;
}

.hero-image2 img {
  display: block;
  max-width: 70%;
  max-height: 70svh;
  left: -100%;
  position: relative;
}  

.car2 {
  animation-name: carkey;
  animation-duration: 21s;
  animation-delay: 7s;
  animation-fill-mode: forwards;  
  animation-iteration-count: infinite;
}

.hero-image3 {
  grid-area: hero-image;
  position: relative;  
}

.hero-image3 img {
  display: block;
  max-width: 70%;
  max-height: 70svh;
  left: -100%;
  position: relative;
}  

.car3 {
  animation-name: carkey;
  animation-duration: 21s;
  animation-delay: 14s;
  animation-fill-mode: forwards;  
  animation-iteration-count: infinite;
}
  
@keyframes carkey {
  0% {
    transform: translateX(0%);
  }

  25% {
    transform: translateX(100%);
  }

  35% {
    transform: translateX(100%);
  }

  50% {
    transform: translateX(200%);
  }

  100% {
    transform: translateX(200%);
  }
}

.hero-txt1 {
  grid-area: hero-txt1;
  color: black;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Comfortaa_Regular', sans-serif;
  font-size: calc(8px + 5vw);
  font-weight: bold;
}

.hero-txt2 {
  grid-area: hero-txt2;
  color: black;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 1vh;
  font-family: 'Comfortaa_Regular', sans-serif;
  font-weight: bold;
  animation-duration: 3s;
  animation-name: slide-in;
}

.hero-txt1 p, .hero-txt2 p {
  text-align: center;
  font-size: calc(8px + 5vw);
}

@keyframes slide-in {
  from {
    translate: 150vw 0;
    scale: 200% 1;
  }

  to {
    translate: 0 0;
    scale: 100% 1;
  }
}

.title {
  grid-area: title;
  position: relative;
  padding-top: 1vh;
  padding-bottom: 1vh;
  height: 100%;
  width: 100%;
  color: white;
  background-color: #353C40;
}

.title h1 {
  text-align: center;
  padding-left: 15vw;
  padding-right: 15vw;
  font-family: 'Comfortaa_Regular', sans-serif;
}

.title h2, .title p {
  text-align: center;
  margin-right: auto;
  padding-left: 1vw;
  padding-right: 1vw;
  font-family: 'Comfortaa_Regular', sans-serif;
}

.footer {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 20;
  grid-row-end: 22;
  background-color: #353C40;
  height: 100%;
  width: 100vw;
}

.footer-txt {
  grid-area: footer-txt;
  justify-self: center;
  z-index: 1;
  padding-top: 1vh;
}

.footer-txt p {
  color: white;
  text-align: center;
}

.footer-links {
  grid-area: footer-links;
  justify-self: center;
  color: white;
  z-index: 1;
  padding-bottom: 1vh;
}

.footer-links, .footer-txt, p {
  font-weight: normal;
}

.menu-item {
  display: inline-block;
  font-weight: normal;
  font-size: clamp(16px, 4vmin, 24px);
  text-decoration: none;
  margin: 2vh 2vw;
  background-color: rgba(255,0,0,0);
  cursor: pointer;
}

.midcont {
  justify-self: stretch;
  align-self: stretch;
  padding: 1rem;
  display: flex;
  font-family: 'Comfortaa_Regular', sans-serif;
}
  
.midcont1-text {
  grid-area: sec1-bottom;
  padding: 1rem;
  font-family: 'Comfortaa_Regular', sans-serif;
}

.midcont1-text-content, .midcont2-text-content, .midcont3-text-content, .midcont4-text-content, .midcont5-text-content, .midcont6-text-content, .midcont7-text-content {
  margin: auto;
}

.midcont1-image {
  grid-area: sec1-top;
  padding: 1rem;
}

.img-right, img {
  margin-left: auto;
}

.img-left, img {
  margin-right: auto;
}

.midcont2-text {
  grid-area: sec2-bottom;
  background-color: #d3d3d3;
}

.midcont2-image {
  grid-area: sec2-top;
  background-color: #d3d3d3;
}

.midcont3-text {
  grid-area: sec3-bottom;
  padding: 1rem;
}

.midcont3-image {
  grid-area: sec3-top;
  padding: 1rem;
}

.midcont4-text {
  grid-area: sec4-bottom;
  background-color: #d3d3d3;
}

.midcont4-image {
  grid-area: sec4-top;
  background-color: #d3d3d3;
}

.midcont5-text {
  grid-area: sec5-bottom;
}

.midcont5-image {
  grid-area: sec5-top;
}
  
.midcont6-text {
  grid-area: sec6-bottom;
  background-color: #d3d3d3;
}

.midcont6-image {
  grid-area: sec6-top;
  background-color: #d3d3d3;
}

.midcont7-text {
  grid-area: sec7-bottom;
}

.midcont7-image {
  grid-area: sec7-top;
}

.midcont1-image img, .midcont2-image img, .midcont3-image img, .midcont4-image img, .midcont5-image img, .midcont6-image img, .midcont7-image img {
  display: block;
  max-width: 100%;
  height: 100%;
  max-height: 80svh;
}

.midcont1-image, .midcont2-image, .midcont3-image, img {
  align-self: start
}

.midcont1-text h2, .midcont2-text h2, .midcont3-text h2, .midcont4-text h2, .midcont5-text h2, .midcont6-text h2, .midcont7-text h2 {
  text-align: center;
}

.midcont1-text p, .midcont2-text p, .midcont3-text p, .midcont4-text p, .midcont5-text p, .midcont6-text p, .midcont7-text p {
  text-align: justify;
  padding-top: 0.5rem;
}

.midcont1-text-hb2 {
  grid-area: sec1-bottom;
  padding: 2vw;
  font-family: 'Comfortaa_Regular', sans-serif;
}

.midcont1-text-hb2, .midcont3-text-hb2, .midcont5-text-hb2, .midcont7-text-hb2 {
  margin: auto;
}

.midcont2-text--hb2, .midcont4-text--hb2, .midcont6-text--hb2 {
  margin: auto;
}

.midcont1-image-hb2 {
  grid-area: sec1-top;
  padding: 1rem;
}

.img-right, img {
  margin-left: auto;
}

.img-left, img {
  margin-right: auto;
}

.midcont2-text-hb2 {
  grid-area: sec2-bottom;
  padding: 1rem;
}

.midcont2-image-hb2 {
  grid-area: sec2-top;
  padding: 1rem;
}

.midcont3-text-hb2 {
  grid-area: sec3-bottom;
  padding: 1rem;
  padding: 1rem;
}

.midcont3-image-hb2 {
  grid-area: sec3-top;
  padding: 1rem;
}

.midcont4-text-hb2 {
  grid-area: sec4-bottom;
  padding: 1rem;
}

.midcont4-image-hb2 {
  grid-area: sec4-top;
  padding: 1rem;
}

.midcont5-text-hb2 {
  grid-area: sec5-bottom;
  padding: 1rem;
}

.midcont5-image-hb2 {
  grid-area: sec5-top;
  padding: 1rem;
}
  
.midcont6-text-hb2 {
  grid-area: sec6-bottom;
  padding: 1rem;
}

.midcont6-image-hb2 {
  grid-area: sec6-top;
  padding: 1rem;
}

.midcont7-text-hb2 {
  grid-area: sec7-bottom;
  padding: 1rem;
}

.midcont7-image-hb2 {
  grid-area: sec7-top;
  padding: 1rem;
}

.midcont1-image-hb2 img, .midcont2-image-hb2 img, .midcont3-image-hb2 img, .midcont4-image-hb2 img, .midcont5-image-hb2 img, .midcont6-image-hb2 img, .midcont7-image-hb2 img {
  display: block;
  max-width: 100%;
  height: 100%;
  max-height: 80svh;
}

.midcont1-image-hb2, .midcont2-image-hb2, .midcont3-image-hb2, img {
  align-self: start
}

.midcont2-text-hb2 h2, .midcont4-text-hb2 h2, .midcont6-text-hb2 h2 {
  text-align: left;
}

.midcont1-text-hb2 p, .midcont2-text-hb2 p, .midcont3-text-hb2 p, .midcont4-text-hb2 p, .midcont5-text-hb2 p, .midcont6-text-hb2 p, .midcont7-text-hb2 p {
  text-align: justify;
}

  * h1 {
  font-size: 170%;
  justify-self: center;
}

  * h2 {
  font-size: 140%;
}

  * h3 {
  font-size: 115%;
}

  * p, ul {
  text-align: left;
  font-size: 100%;
  hyphens: none;
}

.footer-txt, .footer-links a {
  font-size: 80%;
}

.hamburger {
  grid-area: nav;
  align-self: start;
  z-index: 1;
  background-color: #353C40;
  color: white;
}

#menu-btn {
  position: absolute;
  top: -100%;
  left: -100%;
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: right;
  margin-right: 2rem;
  position: absolute;
}

.menu a {
  text-decoration: none;
  color: black;
}

.menu-btn {
  display: none;
}

.menu-icon {
  cursor: pointer;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  padding: 30px 20px 30px 0;
  position: relative;
  user-select: none;
  visibility: visible;
}
    
.navicon {
  background: white;
  display: block;
  height: 4px;
  width: 33px;
  position: relative;
  right: 5vw;
}
    
.navicon:before {
  top: 10px;
}
    
.navicon:after {
  top: -10px;
}
    
.navicon:before,
.navicon:after {
  display: block;
  background: white;
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  transition: all 0.2s ease-out;
}
    
.menu {
  max-width: unset;
  max-height: 0;
  transition: max-height 0.2s ease-out;
  overflow: hidden;
  margin-top: 2vh;
  padding: 0;
  color: white;
  right: 3vw;
  background-color: #353C40;
*/  opacity: 0.9; */
  display: flex;
  flex-direction: column;
  position: absolute;
}

.menu a {
  padding: 20px 20px;
/*  border-right: 1px solid #f4f4f4;  */
  color: white;
/  background-color: white; */
/*  opacity: 0.7; */
  width: 15ch;
  text-align: center;
  font-size: 100%;
}

.menu-btn:checked ~ .menu {
  max-height: 200vh;
}

.menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}
    
.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}
   
.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}
  
.menu-btn:checked ~ .menu-icon .navicon:before,
.menu-btn:checked ~ .menu-icon .navicon:after {
  top: 0;
}

  * ul {
  padding-left: 1.5rem;
  list-style-position: outside;
}

  * ul ul {
  padding-left: 2.5rem;
  list-style-position: outside;
}
  
  .la {
  list-style-type: lower-alpha;
}

  .link-list {
  line-height: 2.5;
}

  a:link {
  color: inherit;
}

  .link-list {
  line-height: 2.5;
  
}

  a:link {
  color: inherit;
}

a:link {
  color: white;
}

a:visited {
  color: white;
}

a:hover {
  color: white;
}

a:active {
  color: white;
} 

  .link-list {
  line-height: 2.5;
}

  .text ul {
  padding-left: 2vw;
  color: black;
}

  table {
   border-collapse: collapse;"
}
  
  tr:nth-child(1), tr:nth-child(3), tr:nth-child(7), tr:nth-child(11) {
  border-bottom: solid 2px black;
}

a:link {
  color:inherit;
}

/* navigation */

.nav {
  display: none;
}

.lgt {
  color: white;
}

.drk {
  color: black;
}

#modal {
  position: fixed;
  top: 25svh;
  left: 15svw;
  height: 0%;
  width: 65svw;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
}

.platform-popup {
  position: relative;
  background-color: #d3d3d3;
  padding-top: 7svh;
  padding-left: 2svw;
  padding-right: 2svw;
  padding-bottom: 2svw;
  border-style: solid;
  border-color: #353C40;
  border-width: thick;
  z-index: 4;
}

.close-popup {
  position: absolute;
  top: 4svh;
  right: 6svw;
  z-index: 4;
}


#modal:not(:target) {
    visibility: hidden;
    opacity: 0;
}
