@import "./Theinhardt/Theinhardt-Bold/fonts.css";
@import "./Theinhardt/Theinardt-Italic/fonts.css";
@import "./Theinhardt/Theinhardt-Medium/fonts.css";
@import "./Theinhardt/Theinhardt-Regular/fonts.css";

:root {
  --dark: #000000;
  --white: #ffffff;
  --bg-footer: #f8f8f8;
  --border: 2px solid #000000;
  --intro-top: 250px;
}

body {
  background-color: #ffffff;
  color: var(--dark);
  margin: 0;
  font-family: "Theinhardt", monospace;
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 24px;
}
body > * {
  box-sizing: border-box;
}
section {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}
.w50 {
  flex: 1 0 50%;
  min-width: 300px;
  padding: 40px 80px;
  box-sizing: border-box;
  overflow: hidden;
}
.w50--text {
  max-width: 700px;
  margin: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 70px;
}
.w50--img {
  height: 100%;
}
.img-first {
  display: flex;
  flex-wrap: wrap-reverse;
  width: 100%;
}
.img-last {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
a {
  text-decoration: none;
  color: var(--dark);
}
button {
  border: var(--border);
  background-color: transparent;
  color: var(--dark);
  border-radius: 80px;
  height: 29px;
  font-size: 18px;
  line-height: 22px;
  padding: 0 15px;
}
button:hover {
  background-color: var(--dark);
  color: var(--white);
  transition: background-color 0.5s linear, color 0.5s linear;
}
td:first-of-type {
  min-width: 100px;
}
td:last-of-type {
  text-align: right;
}
.invert {
  filter: invert(1);
}
/* Intro */
.intro {
  color: var(--white);
  margin-top: -250px;
  background-image: url("/images/MA1990-1999/Petr_Nikl_W6B9973-lg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  animation: blur 2s;
  overflow: hidden;
}
.navigation {
  color: black;
  padding: 5vh 5vw 0vh;
  min-height: auto;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  height: 250px;
  z-index: 10;
}
.intro--text {
  width: 100%;
  position: relative;
}
.h1-img {
  /* height: auto;
  width: 90vmin;
  max-width: 825px; */
  max-height: 90vh;
  max-width: 100vw;
  transform: translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
}
.hamburger {
  /* z-index: 5;
  position: relative; */
}
.hamburger:hover + .menu-hidden {
  transform: translateX(0);
}
.menu-hidden {
  transition: transform 0.75s linear;
  position: absolute;
  right: 10px;
  top: 5vh;
  transform: translateX(500px);
  z-index: 2;
}
.menu-hidden:hover {
  transform: translateX(0px);
}
.menu-hidden__link {
  background: #ffffff;
  border-radius: 39px;
  font-weight: 400;
  font-size: 24px;
  line-height: 29px;
  color: black;
  padding: 8px 26px 2px;
  display: block;
  width: 185px;
  box-sizing: border-box;
  text-align: center;
  margin-bottom: 12px;
}
.nav__p {
  font-size: 40px;
  line-height: 45px;
  margin: 0;
}
.intro__p {
  font-size: 50px;
  line-height: 55px;
  margin: 0;
  position: absolute;
  bottom: 5vh;
  right: 5vw;
}
.divider {
  height: 4px;
  width: 39px;
  background-color: var(--white);
  display: block;
  margin: 28px 0;
}
h1 {
  font-size: 80px;
  line-height: 80px;
  font-size: 10vmax;
  line-height: 9vmax;
  font-weight: normal;
  margin: 0;
}
.logo--fixed {
  position: fixed;
  top: 43px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}
p {
  font-size: 22px;
  line-height: 32px;
  margin: 0;
}
.p--smaller {
  font-size: 18px;
  line-height: 20px;
}
.p--caption {
  font-size: 18px;
  line-height: 20px;
  margin-top: 20px;
}
.glider--half-page {
  width: 100%;
  width: calc(100% - 80px);
}
.main-img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  max-height: 100vh;
}
.glider-svg {
  position: absolute;
  cursor: pointer;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  /* top: calc(50% - 50px); */
  top: 50%;
}
.glider-svg--prev {
  left: 0px;
}
.glider-svg--next {
  right: 0px;
  transform: rotate(180deg) translateY(50%);
}
.glider-slide {
  text-align: center;
}
.glider-slide img {
  object-fit: contain;
}

.side-events {
  padding: 50px 0;
}
.side-img {
  height: auto;
  width: 100%;
  /* max-width: 676px; */
  object-fit: contain;
}
.side-img__p {
  font-size: 24px;
  line-height: 29px;
  margin: 20px 0;
  text-align: left;
}
h2 {
  font-size: 50px;
  line-height: 60px;
  font-weight: normal;
  margin: 0;
}
h3 {
  font-weight: normal;
  font-size: 35px;
  line-height: 40px;
  margin: 0;
  margin-bottom: 10px;
}
.event {
  margin: 50px auto;
}
.event__p {
  margin: 0;
  font-size: 20px;
  line-height: 24px;
}

/* Footer */
footer {
  background-color: var(--bg-footer);
  min-height: 50vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  padding: 100px 5vw;
}
.footer__div {
  min-width: 300px;
  margin-top: 40px;
}
footer p {
  margin: 15px 0;
  font-size: 20px;
  line-height: 24px;
}
footer p:last-of-type {
  margin: 0;
}
.footer__h3 {
  /* margin: 20px 0 0; */
  margin: 0;
  text-decoration: underline;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}
.footer__media {
  margin-right: 15px;
  width: 40px;
  position: relative;
}
.footer__media__svg {
  fill: transparent;
}
.jt-in-circle {
  position: absolute;
  top: -15px;
  left: 6px;
}
@media screen and (min-width: 1500px) {
  h1 {
    font-size: 200px;
    line-height: 175px;
  }
  h2 {
    font-size: 70px;
    line-height: 82px;
  }
  h3 {
    font-size: 35px;
    line-height: 40px;
  }
  p {
    font-size: 28px;
    line-height: 38px;
  }
  .w50 {
    padding: 80px;
  }
  .p--smaller {
    font-size: 22px;
    line-height: 30px;
  }
  .p--caption {
    font-size: 24px;
    line-height: 29px;
  }
  .intro--text {
    padding: 80px;
  }
}
@media screen and (max-width: 1280px) {
  .intro__p {
    font-size: 30px;
    line-height: 30px;
  }
}
@media screen and (max-width: 1024px) {
  .w50 {
    padding: 80px 40px;
  }
  .w50--text {
    gap: 20px;
  }
}
@media screen and (max-width: 800px) {
  p {
    font-size: 20px;
    line-height: 30px;
  }
  .logo img {
    width: 100px;
    height: 100px;
  }
  .logo--fixed {
    position: absolute;
    top: 0;
    z-index: 1;
  }
  .w50, .footer__div {
    padding: 30px 15px;
  }
  .footer__div {
    min-width: auto;
  }
  .homepage .hamburger, .homepage .menu-hidden {
    top: 5vh;
    right: 5vw;
  }
  .homepage .menu-hidden {
    right: 2vw;
  }
  .navigation {
    justify-content: flex-end;
  }
  .nav__p {
    display: none;
  }
}
@media screen and (max-width: 450px) {
  h1 {
    line-height: 7vmax;
    font-size: 7vmax;
  }
  .glider-slide img {
    height: 80%;
  }
  .p--caption-car {
    margin: 0;
  }
  .glider-svg {
    top: 40%;
  }
  .divider {
    margin: 20px 0;
  }
}
