@font-face {
    font-family: Afrah;
    src: url("fonts/Afrah-Regular.otf") format("opentype");
}


#video, #alternative_video {
width: 100%;
height: 100%;
    object-fit: cover;
    position: relative;; /* Change position to absolute if you don't want it to take up the whole page */
    left: 0px;
    top: 0px;
    z-index: -1;

}

#video2{
      width: 100%;
      height: 400px;
      object-fit: cover;
      position: relative;
      right: 0px;
      bottom: 0px;
      z-index: -1;
      border-top-left-radius: 60px;
      border-bottom-left-radius: 60px;
      margin-left: 60px;
      border-radius: 275px;
    width: calc(100% - 120px);


}

.hero{
  /* display: grid;
  grid-template-columns: 35% 1fr 35%;
  grid-gap: 24px; */


      }


.left{
position: relative;
height: 60vh;
min-height: 400px;
}

      .right{
        width: 35%;
        float: left;

        /* position: absolute;
        z-index: 1;
        right: 0; */
      }
body{
    padding: 0;
    margin: 0;
}
html{
  overflow: hidden;
  min-height: 700px;

}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

body::before {
    content: '';
    background: url(bg_v1.png);
    position: absolute;
    bottom: 0;
    left: 5%;
height: 670px;
    width: 300px;
    display: block;
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
    opacity: 0.2;
}


body::after {
    content: '';
    background: url(bg_v2.png);
    position: absolute;
    bottom: 0;
    right: 0.5%;
height: 670px;
    width: 500px;
    display: block;
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
        opacity: 0.2;
}



/* główna treść */
.main {
  flex: 1;
}


.logo img{
  max-width: 75%;
  text-align: center;

}
.logo{
  height: 140px;
  display: flex;
justify-content: center;
align-items: center;
padding-top: 5px;
}

.text{
height: 45%;
padding: 0 60px;
/* font-family: "Fuzzy Bubbles", sans-serif; */
 /* font-family: "Stalemate", cursive; */
  font-family: "Oooh Baby", cursive;
    font-weight: 200;
    font-size: 32px;
    letter-spacing: 0.2px;
    text-align: center;
    line-height: 48px;
    display: flex;
 justify-content: center;
align-items: center;

}
#video2{
  height: calc(100vh - 140px - 45%);
}

.video_text{
  position: absolute;
  top: 30%;
  text-align: center;
  width: 80%;
  left: 10%;
  z-index: 333;
  font-size: 80px;
  color: #fff;
  /* font-family: "Poppins", sans-serif; */
  /* font-family: "Indie Flower", cursive; */
  /* font-family: Afrah; */
 font-family: "Cormorant", serif;
font-weight: 400;
font-style: italic;
opacity: 0.8;
letter-spacing: 1px;

}




.left::after{
  content: '';
  background: radial-gradient(circle,rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;

}






@media only screen and (max-width: 1700px) {
.text{
  font-size: 32px;
    letter-spacing: 0.12px;
    line-height: 40px;
    padding: 0 50px;
}
.video_text{
  font-size: 36px;
}
}

@media only screen and (max-width: 1400px) {
.text{
  font-size: 25px;
    letter-spacing: 0.1px;
    line-height: 32px;
    padding: 0 40px;
}

.video_text{
  font-size: 32px;
}
.left, .right{
      min-height: 550px;
}
}

@media only screen and (max-width: 1100px) {
.text{
  font-size: 22px;
    letter-spacing: 0.1px;
    line-height: 29px;
    padding: 0 20px;
}

#video2 {

    margin-left: 30px;

    width: calc(100% - 60px);
}


    .left, .right{
          min-height: 500px;
    }
}

@media only screen and (max-width: 768px) {
.left, .right{
  width: 100%;
  height: auto;
}
.hero{
  height: auto;
}

#video, #alternative_video {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    min-height: 320px;
  }
  .left::after{
      height: auto;
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
              height: calc(100% - 3px);
  }
html {
    overflow: auto;
}
.logo img {
    max-width: 310px;
    text-align: center;
    padding: 0 20px;
}
.text{
  margin-bottom: 30px;
}
#video2 {
    margin-left: auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    height: auto;

    min-height: 220px;

    width: calc(100% - 40px);
    margin-bottom: 30px;
}

.left, .right{
      min-height: auto;
}
}
@media only screen and (max-width: 480px) {
  #video2 {
  margin: 0 20px;
      margin-bottom: 30px;
}
}


.content{
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
   font-family: "Roboto Condensed", sans-serif;
   font-weight: 300;
   line-height: 140%;
       padding: 0 20px;

}

img.kolko {
    margin-top: -85px;
    z-index: 2233;
    position: relative;
    margin-bottom: 6px;
    max-width: 70px;
}

.logo{
  max-width: 330px;
  height: auto;
  margin: 0 auto;
  padding-top: 5px;
}

.footer {
    font-family: "Roboto Condensed", sans-serif;
    text-align: center;
    background: #d7decf;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
     font-weight: 300;
}

/* wyśrodkowanie loadera */
.progress-loader {
  position: relative;
  inset: 0;
  display: flex;

  justify-content: center;
  z-index: 9999;
  padding-top: 30px;

}

/* obudowa paska */
.progress-bar {
  display: flex;
  gap: 3px;
  padding: 6px;
  width: 280px;
  height: 26px;
  background: rgba(255,255,255,0.25);
  border-radius: 30px;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}

/* SEGMENTY – BIAŁE */
.progress-bar span {
  flex: 1;
  background: rgba(255,255,255,0.25);
  animation: loading 2.6s infinite;
}

/* tylko LEWA strona pierwszego */
.progress-bar span:first-child {
  border-radius: 20px 0 0 20px;
}

/* tylko PRAWA strona ostatniego */
.progress-bar span:last-child {
  border-radius: 0 20px 20px 0;
}

/* opóźnienia – efekt przesuwania */
.progress-bar span:nth-child(1)  { animation-delay: 0s; }
.progress-bar span:nth-child(2)  { animation-delay: 0.15s; }
.progress-bar span:nth-child(3)  { animation-delay: 0.30s; }
.progress-bar span:nth-child(4)  { animation-delay: 0.45s; }
.progress-bar span:nth-child(5)  { animation-delay: 0.60s; }
.progress-bar span:nth-child(6)  { animation-delay: 0.75s; }
.progress-bar span:nth-child(7)  { animation-delay: 0.90s; }
.progress-bar span:nth-child(8)  { animation-delay: 1.05s; }
.progress-bar span:nth-child(9)  { animation-delay: 1.20s; }
.progress-bar span:nth-child(10) { animation-delay: 1.35s; }
.progress-bar span:nth-child(11) { animation-delay: 1.50s; }
.progress-bar span:nth-child(12) { animation-delay: 1.65s; }
.progress-bar span:nth-child(13) { animation-delay: 1.80s; }
.progress-bar span:nth-child(14) { animation-delay: 1.95s; }
.progress-bar span:nth-child(15) { animation-delay: 2.10s; }
.progress-bar span:nth-child(16) { animation-delay: 2.25s; }

/* animacja podświetlenia */
@keyframes loading {
  0% {
    background: rgba(255,255,255,0.25);
  }
  40% {
    background: rgba(255,255,255,0.9);
  }
  100% {
    background: rgba(255,255,255,0.25);
  }
}

.social_media {
    position: fixed;
    background: rgba(246, 217,115,0.7);
    padding: 7px;
    right: 0;
    top: 10%;
    z-index: 100;
        border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.social_media a{
  display: block;
  margin: 4px 0;
}

.social_media a img{
  max-width: 32px;
}

@media only screen and (max-width: 480px) {
  .progress-loader{
transform: scale(0.7);
  }
  .logo {
    max-width: 260px;
  }

  img.kolko {
     margin-bottom: 15px;
    max-width: 60px;
}

.content{
  font-size: 14px;

}
body::before{
  display: none;
}
body::after {
    bottom: 0;
    right: 0;
    height: 500px;
    width: 100%;
    background-position: bottom;
    background-repeat: no-repeat;
    opacity: 0.1;
}
}

.text_top{
  font-family: "Cormorant Garamond", serif;
z-index: 10;
    color: #fff;
    font-size: 65px;
    text-align: center;
    font-style: normal;

    }

    @media only screen and (max-width: 991px) {
      .text_top{
        font-size: 28px;
        left: auto;
    width: 100%;
    text-align: center;
      }
    }

    
    @media only screen and (max-width: 480px) {
      .text_top{
        font-size: 24px;
        left: auto;
    width: 100%;
    text-align: center;
      }
    }
