* {
  box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: black;
    font-family: "Nunito Sans", sans-serif;
    font-size: 22px;
    text-rendering: optimizelegibility;
}
h1 {
    font-family: "Rubik", sans-serif;
    font-size: 48px !important;
    line-height: 52px !important;
    /* font-family: nx-bold !important; */
    /* font-family: "Nanum Gothic"; */
    font-weight: 500 !important;
    text-transform: uppercase;
    margin-bottom: 1em;
    width: 100%;
    color: #ead6bb;
    line-height: 1;
}

header h1 {
    opacity: 1!important;
    margin-bottom: -0.3em;
    line-height: 1.2!important;
}

ul {
  padding: 0;
  margin: 0;
}


p {
  font-size: 18px !important;
  line-height: 1.5;
}

.ps {
  font-size: 14px !important;
  line-height: 1.3;
}

.wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 20vw;
  padding-right: 20vw;
}
.container {
  max-width: 1400px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  height: auto;
  /* position: relative; */
}
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-half, .bottom-half {
    width: 100%;
    height: 50%;
    position: absolute;
    transition: transform 1s ease-in-out;
    background-color: #0c0c0c;
}
.top-half {
    top: 0;
}
.bottom-half {
    bottom: 0;
}
.loaded .top-half {
    transform: translateY(-100%);
}
.loaded .bottom-half {
    transform: translateY(100%);
}
.loading-logo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.logo-transition {
    position: absolute;
    z-index: 10;
    transition: transform 1s ease-in-out;
    transform: translateY(-100%); /* Move it off-screen initially */
    top: 49%;
}
.logo-trans {
    -transition: transform 0.2s ease-in-out;
    z-index: -1;
}
.loaded2 .logo-trans {
    transform: translateY(100%);
    opacity: 0; /* Set opacity to 0 */
    transition: transform 1s ease-in-out, opacity 2.4s ease-in-out; /* Separate transitions with commas */
}
header {
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: -1;
     overflow: auto;
    color: white;
    /* padding-top: 120px; */
    height: calc( 100vh - 120px );
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(11, 12, 14);
}
.loaded-header {
  opacity: 0.9;
}
.header-bg {
  position: absolute;
  /* background-image: url('../img/bg_old2.jpg');  */
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  margin-top: -120px;
}

nav::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: rgba(0, 0, 0, 0); /* Adjust background color as desired */
    /* backdrop-filter: blur(4px);  */
    z-index: -1; /* Ensure it's behind the navigation */
  }
nav {
    position: fixed;
    top: -100%; /* Initially hide the nav off-screen */
    left: 0;
    width: 100%;
    height: 120px;
    /* background-color: rgba(255, 255, 255, 0.5); */
    color: white; /* Adjust text color as desired */
    text-align: center;
    /* padding: 10px 0; */
    transition: top 1s ease-in-out, opacity 1s ease-in-out; /* Add transitions for top and opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: 1000!important;
    color: #ff896c;
    color: #ead6bb;
}
  .loaded3 {
    top: 0; /* Slide in effect */
    opacity: 1; 
    /* background-color: blue; */
  }
  .container-nav {
    padding-left: 2em;
    padding-right: 2em;
    width: 100%;
    display: flex;
    justify-content:space-between;
    align-content: center;
    align-items: center;
    /* height: 70px; */
    /* background-color: pink; */
  }

  section {
    color: white;
    width: 100%;
    display: flex;
    justify-content: center;
    /* padding-top: 5em; */
    /* padding-bottom: 5em; */
    /* height: calc(100vh - 220px); */
    height: 100%;
    height: 100vh;
    overflow: hidden;
    /* border: 1px solid red; */
    position: relative;
    overflow: hidden;
  }

  .nav-logo {
    cursor: pointer;
    transition: all 0.4s;
    display: flex;
  }

  .nav-logo:hover {
    filter: brightness(0) saturate(100%) invert(82%) sepia(26%) saturate(6232%) hue-rotate(314deg) brightness(101%) contrast(101%);
  }

  .nav-burger {
    display: flex;
    position: fixed;
    right: 2em;
    top: 2.4em;
  }

  .lang {
    display: flex;
    position: fixed;
    right: 4.4em;
    top: 2.35em;
    opacity: 0.5;
    transition: all 0.4s;
    cursor: pointer;
  }

  .lang:hover {
    opacity: 1;
    transition: all 0.4s;
  }
  
  
#nav-icon1 {
  width: 34px;
  height: 34px;
  position: relative;
  /* margin: 50px auto; */
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  /* background-color: aquamarine; */
}

#nav-icon1:hover span:nth-child(1)  {
  top: -3px;
}
#nav-icon1:hover span:nth-child(3)  {
  top: 19px;
}

#nav-icon1 span {
  display: block;
  position: absolute;
  height: 1.5px;
  width: 100%;
  background: #fff;
  border-radius: 50px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  background: #ead6bb;
}

#nav-icon1 span:nth-child(1) {
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 8px;
}

#nav-icon1 span:nth-child(3) {
  top: 16px;
}

#nav-icon1.open span:nth-child(1) {
  top: 8px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 8px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.content {
  position: fixed;
  background-color: #070707;
  color: white;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 1.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 20;
  box-sizing: border-box;
  border-bottom: 1px solid rgb(109, 109, 109);
  flex-wrap: wrap;
  padding-top: 5vw;
}

.content.active {
  transform: translateY(0); /* Slide in when active class is added */
}

li {
  color: #EFEFEF;
  font-size: 2vw;
  width: 12vw;
  z-index: 1;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  position: relative;
  height: 3vw;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: color 1s ease-in-out;
}

li::before {
  content: "";
  position: absolute;
  width: 0;
  height: 1.2vw;
  background-color: #e9e9e9;
  background-color: #ead6bb;
  z-index: -1;
  border-radius: 0px;
  transition: 0.5s;
  right: 100%;
}

li:hover::before {
  width: 100%;
  right: 0;
  animation: linkanim 0.5s linear;
}

li:hover {
  color: #000000;
  width: 100%;
  transition: color 1s ease-in-out;
}

@keyframes linkanim {
  0% {
      width: 0;
  }

  100% {
      width: 12vw;
  }
}

.ul-dots{
  top: calc(100% / 2 - 60px);
  position: fixed;
  height: auto;
  right: 40px;
  z-index: 10;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.loaded-dots {
  opacity: 1;
}

.li-dots{
  list-style-type: none;
  width: 12px;
  height: 12px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  margin: 20px 15px;
  transition: 0.3s ease;
  border: 1px solid white;
}

.li-dots:hover {
  cursor: pointer;
}

.active-dot{
  background-color: rgba(255,255,255,0.8);
}

.vid-container {
  position: absolute;
  /* margin-top: -5em; */
  /* margin-bottom: -5em; */
  /* top: 0;
  left: 0; */
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .95;
  z-index: -1;
  /* background-color: red; */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#sec5 {
  background-image: url('../img/bg_kontakt.jpg');
  background-size: cover;
  transition: transform 2s ease;
  overflow: hidden;
  transform: scale(0.93);
}

#sec5.zoom-out {
  transform: scale(1);
}

.vid-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);

}

.container2.main {
  flex-direction: column;
  text-align: center;
  padding-top: 48px;
  transition-delay: .25s;
  display: flex;
}

.container2.main .caption {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 2.8px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2px;
}

.container2.main p {
  margin-bottom: 38px;
  letter-spacing: .2px;
  font-size: 16px;
  line-height: 26px;
}

.container2.main p a {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}


.txt-upcse {
  text-transform: uppercase;
}

a {
  outline: 0;
  text-decoration: none; /* Remove underline */
}

a.lnk::before, section.contact-wrap .container.main p a.lnk::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: -3px;
  background: rgba(255,255,255,0.4);
  -webkit-transform-origin: right;
  transform-origin: right;
  transition: -webkit-transform .5s cubic-bezier(.215,.61,.355,1);
  transition: transform .5s cubic-bezier(.215,.61,.355,1);
  transition: transform .5s cubic-bezier(.215,.61,.355,1), -webkit-transform .5s cubic-bezier(.215,.61,.355,1);
  pointer-events: none;
}

.container.main p a.lnk::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: -3px;
  background: rgba(255,255,255,0.4);
  -webkit-transform-origin: right;
  transform-origin: right;
  transition: -webkit-transform .5s cubic-bezier(.215,.61,.355,1);
  transition: transform .5s cubic-bezier(.215,.61,.355,1);
  transition: transform .5s cubic-bezier(.215,.61,.355,1), -webkit-transform .5s cubic-bezier(.215,.61,.355,1);
  pointer-events: none;
}


.container2.bottom {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-content: center;
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  right: 0;
  padding-top: 29px;
  padding-bottom: 29px;
  font-size: 8px;
  line-height: 16px;
  color: rgba(255,255,255,0.6);
}

.container2.bottom span {
  display: inline-block;
  letter-spacing: 3px;
}

section.contact-wrap .container2.bottom span.tou {
  position: relative;
  overflow: hidden;
}

section.contact-wrap .container2.bottom span.tou span {
  cursor: pointer;
  will-change: transform;
  transition: color .15s ease-in-out,-webkit-transform .4s ease .2s;
  transition: transform .4s ease .2s,color .15s ease-in-out;
  transition: transform .4s ease .2s,color .15s ease-in-out,-webkit-transform .4s ease .2s;
}

.content-adress {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: auto;
  text-align: center;
  margin: 0;
  padding: 0;
}
