/* Fonty */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');
@import url("https://use.typekit.net/qto5qzj.css");

/* Style ogólne oraz zmienne */

:root {
  --primary-color: rgb(39, 53, 131);
}

html {
  scroll-behavior: smooth;
  font-family: schoolbook, serif;
  color: var(--primary-color);
}



.first-screen {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding: 30px;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 10vh;
  padding-bottom: 0;
  margin-bottom: 40px;
}

.logotypes-area {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navigation-area {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navigation-area>a,
.navigation-area>span {
  text-decoration: none;
  font-family: 'PT Sans', sans-serif;
  font-weight: bold;
  font-size: max(20px, 2vw);
  color: var(--primary-color);
  letter-spacing: .2vw;
  font-weight: 200;
  transition: all .5s ease-in-out;
  cursor: pointer;
}

.navigation-area>a:hover,
.navigation-area>span:hover {
  opacity: .5;
}

.hero {
  width: 80%;
  max-width: 1196px;
  height: calc(70vh - 120px);
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero>img {
  object-fit: contain;
  height: 100%;
  width: auto;
}


.arrow,
.arrow-up {
  width: 100%;
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow>a,
.arrow-up>a {
  font-size: min(4vh, 80px);
  color: var(--primary-color);
  transition: all .5s ease-in-out;
}

.arrow>a:hover,
.arrow-up>a:hover {
  opacity: .5;
  transform: translateY(10px);
}

.cytat {
  display: flex;
  align-items: center;
  justify-content: end;
  text-align: right;
  font-style: italic;
  font-size: max(1.2vw, 11px);
  width: 60%;
  padding-top: 40px;
  margin: 0 auto;
}

.narrow {
  font-size: max(1.2vw, 11px);
  width: 60%;
  margin: 0 auto;
  margin-top: 60px;
  margin-bottom: 60px;
}

span.inner-cite {
  display: block;
  font-style: italic;
  font-size: max(1.2vw, 11px);
  margin-top: 20px;
}

span.authors {
  display: block;
  text-align: right;
  font-size: max(1vw, 11px);
  margin-top: 20px;
}

.title {
  font-weight: bold;
  display: block;
  font-size: min(3vw, 42px);
  margin-bottom: 40px;
}

.title>.bigger {
  font-size: min(3vw, 50px);
}

.credits,
.stopka {
  text-align: center;
  font-size: 1vw;
}

/* Menu */
.overlay,
.overlay-2,
.overlay-3 {
  height: 0;
  width: 100%;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  display: flex;
  flex-flow: column nowrap;
  background-color: rgb(255, 255, 255);
  background-color: rgba(255, 255, 255, .95);
  backdrop-filter: blur(5px);
  overflow: hidden;
  transition: all .5s;
}

.overlay-2,
.overlay-3 {
  height: 100%;
  width: 0;
  z-index: 2;
}

.closebtn {
  font-size: min(10vw, 60px);
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
  transition: all .5s;
}

.closebtn:hover {
  transform: rotate(90deg);
}

.top-bar-overlay {
  display: flex;
  align-items: center;
  justify-content: end;
  padding-right: 45px;
}

.overlay-content {
  width: 100%;
  height: 90vh;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
}

.overlay-content details {
  margin-bottom: 20px;
}

.overlay-content details summary {
  display: block;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: 'PT Sans', sans-serif;
  font-size: max(2vw, 40px);
  color: var(--primary-color);
  letter-spacing: .5ch;
}

.outgoing {
  font-weight: bold;
  text-decoration: none;
  color:rgb(39, 53, 131);
}

.overlay-content details a {
  text-align: center;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  opacity: .75;
  font-family: 'PT Sans', sans-serif;
  font-size: max(1.5vw, 30px);
  color: var(--primary-color);
  margin-right: 20px;
}

.logos a img {
  object-fit: cover;
}

/* Slideshow container */
.slideshow-container {
  width: 100%;
  height: calc(90vh - 30px);
  font-family: 'PT Sans', sans-serif;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
}

/* Hide the images by default */
.mySlides1,
.mySlides2,
.mySlides3,
.mySlides4,
.mySlides5,
.mySlides6,
.mySlides7,
.mySlides8,
.mySlides9,
.mySlides10,
.mySlides11,
.mySlides12,
.mySlides13,
.mySlides14 {
  display: none;
}

.mySlides1>img,
.mySlides2>img,
.mySlides3>img,
.mySlides4>img,
.mySlides5>img,
.mySlides6>img,
.mySlides7>img,
.mySlides8>img,
.mySlides9>img,
.mySlides10>img,
.mySlides11>img,
.mySlides12>img,
.mySlides13>img,
.mySlides14>img {
  object-fit: contain;
  height: 70vh;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  width: 10%;
  color: var(--primary-color);
  font-size: 68px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
}


/* Caption text */
.text {
  color: var(--primary-color);
  font-size: 20px;
  padding: 8px 12px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: var(--primary-color);
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.title-nav {
  font-weight: bold;
  display: flex;
  flex-flow: row nowrap;
  font-size: 24px;
  align-items: center;
  justify-content: center;
}

.subtitle {
  opacity: .75;
}

.other-links {
  display: flex;
  align-items: center;
  justify-content: center;
}

.other-links a {
  text-decoration: none;
  color: var(--primary-color);
  margin-right: 20px;
}

.other-links a:last-of-type {
  margin-right: 0;
}

.top-gal-content {
  width: 100%;
  height: 60px;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding-left: 30px;
  padding-right: 30px;
}

.logos {
  display: flex;
  align-items: center;
  gap: 40px;
}

.theme-close a {
  font-size: min(10vw, 60px);
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
  transition: all .5s;
}

.dash-title {
  font-size: min(5vw, 40px);
  color: var(--primary-color);
  letter-spacing: .5ch;
  font-family: 'PT Sans', sans-serif;
  text-transform: uppercase;
  text-align: right;
  font-weight: bold;
}

.gal {
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
  width: 85%;
  margin: auto;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
}

.left-slider>a,
.right-slider a {
  transition: all .5s ease-in-out;
  display: block;
}

.left-slider>a:hover {
  opacity: .5;
  transform: translateX(-10px);
}

.right-slider>a:hover {
  opacity: .5;
  transform: translateX(10px);
}

.slides {
  width: 100%;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 48px;
}

.menu-item:last-of-type {
  margin-bottom: 0;
}

.menu-item span {
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: 'PT Sans', sans-serif;
  font-size: min(4vw, 40px);
  color: var(--primary-color);
  letter-spacing: .5ch;
  text-align: center;
  transition: all .5s;
}

.menu-item span:hover {
  opacity: .5;
}

.menu-item a {
  transition: all .5s;
  display: none;
}

.menu-item a:hover {
  transform: scale(1.5);
}

.pl-flag,
.ua-flag {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, .25);
}

.pl-flag {
  background: #f7f7f7;
  background: -moz-linear-gradient(top, #f7f7f7 0%, #f7f7f7 50%, #d61239 50%);
  background: -webkit-linear-gradient(top, #f7f7f7 0%, #f7f7f7 50%, #d61239 50%);
  background: linear-gradient(to bottom, #f7f7f7 0%, #f7f7f7 50%, #d61239 50%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#d61239', GradientType=0);
}

.ua-flag {
  background: #0058b5;
  background: -moz-linear-gradient(top, #0058b5 51%, #f6ce00 51%);
  background: -webkit-linear-gradient(top, #0058b5 51%, #f6ce00 51%);
  background: linear-gradient(to bottom, #0058b5 51%, #f6ce00 51%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0058b5', endColorstr='#f6ce00', GradientType=0);

}

.theme-close {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 850px) {
  .menu-ov {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
}

@media only screen and (max-width: 600px) {
  .top-bar {
    flex-flow: column nowrap;
  }

  .hero {
    width: 100%;
  }

  .hero>img {
    width: 100%;
  }

  .cytat {
    width: 80%;
  }

  .narrow {
    width: 80%;
  }

  .credits,
  .stopka {
    font-size: max(1vw, 11px);
  }

  .text {
    width: 100%;
    text-align: center;
    bottom: -40px;
  }

  .top-gal-content {
    flex-flow: column nowrap;
    width: 100%;
    height: 40px;
    align-items: center;
    justify-content: center;
  }

  .theme-close {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logotypes-area {
    margin-bottom: 20px;
  }

  .top-bar-overlay {
    margin-top: 25px;
  }

  .menu-ov {
    display: flex;
  }

  .gal {
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .left-slider,
  .right-slider {
    position: absolute;
    top: 25%;
  }

  .left-slider {
    left: 35%;
  }

  .right-slider {
    right: 35%;

  }

  #walka-pl .gal .right-slider,
  #walka-ua .gal .right-slider {
    top: calc(25% + 5px);
  }
}