@import url("https://fonts.googleapis.com/css2?family=Londrina+Outline&family=Roboto:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nova+Mono&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

/* .open-sans-<uniquifier > {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}
.nova-mono-regular {
  font-family: "Nova Mono", monospace;
  font-weight: 400;
  font-style: normal;
} */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --main-color: rgb(254, 102, 1);
  --main-serif-font: "Open Sans", sans-serif;
  --main-mono-font: "Nova Mono", monospace;
  --main-color1: #f2edd5;
  --main-color2: #d9984a;
  --main-color3: #732c02;
  --main-color4: #d93d04;
  --main-color5: #0d0d0d;
}

/* but if size of img bigger than viewport than problem */
/*http://stackoverflow.com/questions/24154666/background-image-size-cover-not-working-on-ios/43058483#43058483*/
/*body:after{*/
/*  content:"";*/
/*  position:fixed; !* stretch a fixed position to the whole screen *!*/
/*  top:0;*/
/*  height:100vh; !* fix for mobile browser address bar appearing disappearing *!*/
/*  left:0;*/
/*  right:0;*/
/*  z-index:-1; !* needed to keep in the background *!*/
/*  -webkit-background-size: cover;*/
/*  -moz-background-size: cover;*/
/*  -o-background-size: cover;*/
/*  background-size: cover;*/
/*  background: var(--main-color) url(../img/polska/main1.webp) center center;*/
/*}*/

/*bug ios*/
/*.main {*/
/*  height: 100vh;*/
/*  background-image: url(../img/polska/main1.webp);*/
/*  background-attachment: fixed;*/
/*  background-position: center;*/
/*  background-repeat: no-repeat;*/
/*  background-size: cover;*/
/*  background-color: var(--main-color);*/
/*}*/

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  z-index: 99;
  margin-top: 20px;
  position: fixed;
  backdrop-filter: blur(3px) contrast(50%);
  padding: 1rem;
}

nav ul {
  display: flex;
}

.modal-menu-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 3px solid var(--main-color5);
  width: 300px;
  /*display: flex;*/
  /*flex-direction: column;*/
  /*align-items: flex-end;*/
  /*justify-content: space-around;*/
}

.modal-menu-content ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  li {
    padding: 1rem;
    list-style: none;
    font-size: 14px;
    font-family: sans-serif;
    a {
      text-decoration: none;
      background-color: transparent;
      color: black;
      border-radius: 10px;
      transition: all;
      transition-duration: 1s;
      transition-timing-function: ease-out;
    }
    a:hover {
      background-color: black;
      color: var(--main-color1);
      padding: 1.5rem;
    }
  }
}

nav ul li {
  list-style: none;
  margin-left: 40px;
  font-size: 14px;
  font-family: sans-serif;
  border-bottom: 1px solid black;
  a {
    text-decoration: none;
    background-color: transparent;
    color: black;
    /* padding: 10px; */
    border-radius: 10px;
    transition: all;
    transition-duration: 1s;
    transition-timing-function: ease-out;
  }
  a:hover {
    background-color: white;
    color: black;
    padding: 10px;
  }
}

.logo-container {
  img {
    height: 2.2rem;
    margin-right: 1rem;
  }
  a {
    text-decoration: none;
    color: var(--main-color5);
    display: flex;
    flex-direction: row;
  }
}

.logo-container h1 {
  font-family: sans-serif;
  font-weight: 900;
  font-style: normal;
  span {
    font-family: "Nova Mono", monospace;
    margin-left: 0.6rem;
    color: var(--main-color);
  }
}

.sidebar {
  background: #d75157;
  height: 100vh;
  width: 30%;
  z-index: -1;
  position: fixed;
}

.content-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: "Roboto", sans-serif;
  padding-bottom: 2rem;
}

.main-img {
  width: 40%;
  margin-top: 3rem;
  /* margin-left: 6rem; */
  backdrop-filter: blur(3px) contrast(50%);
  padding: 20px;
  border-radius: 40px;
}

.main-title {
  transform: rotate(-90deg);
  margin-top: 5rem;
  font-size: 3rem;
  font-family: "Roboto", sans-serif;
  text-shadow: 2px 2px 2px var(--main-color);
}

.main-info {
  transform: rotate(-90deg);
  font-family: sans-serif;
  text-align: center;
  width: 200px;
  margin-bottom: 5rem;
  margin-left: 7rem;
}

/* about */

.about {
  margin-top: 10px;
  background: ghostwhite;
}

.title {
  text-align: center;
  /* border-bottom: 1px solid black; */
  /* margin-top: 4rem; */
  padding: 6rem 2rem 2rem 2rem;
  font-size: 2rem;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
  font-variant-caps: all-small-caps;
}

.desc {
  padding: 30px;
  list-style: circle;
  font-family: "Open Sans", sans-serif;
}

.desc2 {
  padding: 30px 60px 0 60px;
  list-style: circle;
  font-family: "Open Sans", sans-serif;
}

ul.desc {
  padding-left: 60px;
  padding-right: 60px;
  margin-left: 30px;
}

.subtitle {
  padding: 30px;
  font-size: 1.5rem;
  font-weight: 400;
}

/* examples */

.scrolling {
  width: 100%;
  /*height: 100%;*/
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.examples {
  height: 100vh;
  width: 100%;
  position: relative;
}

.example1 {
  /*background-color: var(--main-color1);*/
  background: radial-gradient(circle at center, var(--main-color2), var(--main-color1));
}

.example2 {
  /*background-color: var(--main-color2);*/
  background: radial-gradient(circle at center, var(--main-color), var(--main-color2));
}

.example3 {
  /*background-color: var(--main-color1);*/
  /*background-color: #0ABAB5;*/
  background: radial-gradient(circle at center, var(--main-color1), #0ABAB5);
}

.example4 {
  /*background-color: var(--main-color1);*/
  background: radial-gradient(circle at center, var(--main-color1), var(--main-color2));
}

.art {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: row;
  height: 100%;
  padding-top: 10rem;
  padding-bottom: 1rem;
  justify-content: space-around;
  align-items: end;
  .art-image,
  .art-text {
    height: 100%;
    width: 45%;
    /* background-color: aqua; */
  }
  .art-text {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    p:before {
      content: "# ";
      color: var(--main-color5);
      font-weight: 900;
    }
  }
  .art-image {
    width: 95%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: hidden;
    justify-content: flex-end;
    align-items: flex-start;

    img {
      border: 2px solid white;
      width: 100%;
    }
    a {
      max-width: 30%;
      height: auto;
    }
  }
  .art-image > * {
    flex: 1 15%;
  }
}

/* objects */
.objects {
  position: relative;
  background: ghostwhite;
  min-height: 100vh;
  width: 100%;

  .confidential {
    flex-grow: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 3px solid var(--main-color);
    div {
      padding: 1rem;
      text-align: center;
    }
  }

  .desc {
    text-align: center;
  }
  .objects-note {
    height: 100%;
    ul {
      text-align: left;
    }
  }
  a {
    cursor: pointer;
  }
}

/* partners */

.partners {
  min-height: 100vh;
  width: 100%;
  background-color: var(--main-color1);
  position: relative;
  figure {
    background-color: #fff;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    box-shadow: 2px 2px 5px var(--main-color5);
    top: 10rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 80%;
    width: 80%;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;

    .figure-row {
      display: flex;
      flex-direction: row;
      min-height: 50%;
    }

    a {
      /* width: 30%; */
    }
    img {
      width: 100%;
      height: auto;
      object-fit: contain;
    }
  }
}

/* footer */

.footer {
  min-height: 50vh;
  background-color: var(--main-color5);
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: end;
  font-family: var(--main-serif-font);
  .w-33 {
    width: 33%;
    min-width: 300px;
    padding: 1rem;
    height: auto;
    text-align: right;
      .block {
          display: block;
      }
  }
  .w-100 {
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
  }
  a,
  p {
    color: var(--main-color1);
    text-decoration: none;
  }
  img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0) invert(1);
  }
}

/* languages */
#navbarLanguage {
  width: fit-content;
  height: auto;
  margin: auto;
  display: flex;
  justify-content: center;
  .language-menu {
    width: 160px;
    border: 3px solid var(--main-color4);
    position: relative;
    margin: 40px 0;
    border-left: 34px solid var(--main-color4);
    background-color: var(--main-color5);
    .h3 {
      font: bold 12px Sans-Serif;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #fff;
      padding: 5px 10px;
      margin: 0 0 10px 0;
      line-height: 24px;
      position: absolute;
      top: 0;
      left: 0;
      background: none;
      transform-origin: 0 0;
      transform: rotate(90deg);
    }
  }
}

#lng-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  button {
    border-radius: 2px;
    font: bold 16px Sans-Serif;
    padding: 0.9rem 0;
    cursor: pointer;
    background-color: var(--main-color3);
    color: var(--main-color1);
  }
}

/* media */

@media all and (max-width: 768px) {
  .h-xs {
    display: none !important;
  }
  .main-img {
    width: 80% !important;
  }
  .art-image {
    width: 80% !important;
    a {
      width: 30% !important;
    }
  }
}

@media all and (max-width: 992px) {
  .h-m {
    display: none !important;
  }
  .footer {
    min-height: 100vh !important;
  }
  .desktop {
    display: none !important;
    /*width: 100%  !important;*/
    /*flex-wrap: wrap;*/
    /*flex-direction: column;*/
  }
  .mobile {
    display: block !important;
  }

}

@media all and (min-width: 993px) {
  .mobile {
    display: none !important;
  }
}

@media all and (min-width: 2000px) {
  .logo-container {
    img {
      height: 4rem;
    }
    h1 {
      font-size: 3rem;
    }
  }
  nav ul li {
    font-size: 28px;
  }
  .subtitle {
    font-size: 2rem;
  }
  .desc {
    font-size: 1.5rem;
  }
  .title {
    padding-top: 7rem !important;
  }
  .footer {
    font-size: 2rem;
  }
}

/* modal */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: calc(100vh / 3); /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */

}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 3px solid var(--main-color5);
  width: 300px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-around;
  input {
    width: 100%;
    font-size: 1rem;
    background-clip: padding-box;
    height: 2rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    font-weight: 400;
    color: var(--main-color5);
  }
  button {
    float: right;
    background: var(--main-color5);
    color: var(--main-color1);
    padding: 1rem 2rem;
    cursor: pointer;
  }
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.wrapper {
  background-color: white;
}

.pe {
  background-color: var(--main-color5);
  .title {
    color: white;
  }
  .p-section {
    /*border:1px solid wheat;*/
    position: relative;
    padding-top: 20%;
    padding-bottom: 20%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .content {
    padding: 20px;
    left: 0;
    bottom: 0;
    position: absolute;
    z-index: 1;
  }

  .p-content {
    width: 65%;
    background-color: #f2edd5d0;
    /*color: white;*/
    padding: 40px 60px;
  }

  .p-image {
    width: 70%;
    position: relative;
    img {
      width: 100%;
    }
  }

  .m-section {
    /*border:1px solid red;*/
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 100px;
    a {
      width: 40%;
      img {
        width: 100%;
      }
    }
  }

}

video {
  object-fit: cover;
  width: 100%;
}
