@font-face {
  font-family: 'Frutiger Next for EVN';
  src: url('../font/FrutigerNextforEVN-Light.woff2') format('woff2'),
    url('../font/FrutigerNextforEVN-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Frutiger Next for EVN';
  src: url('../font/FrutigerNextForEVN-Bold.woff2') format('woff2'),
    url('../font/FrutigerNextForEVN-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}


html {
  overflow: hidden;
}


body {
  font-family: 'Frutiger Next for EVN';
  margin: 0;
  padding: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  transition: background-color 0.5s;
  overflow: hidden;
}


#overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
 background-color: rgba(0, 0, 0, 0.9); /* Start fully opaque black */
  z-index: 1;
  transition: background-color 0.5s, opacity 0.5s;
  height: 100%;
  width: 100%;
}


#wrap {
  background: url(../img/E-cestitka1.jpg);
  background-size: contain;
  background-repeat: no-repeat;
 background-position: 49% 50%;
  width: 100%;
  height: 100%;
}


#wrap1 {
  background: url(../img/E-cestitka2.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 49% 50%;
  width: 100%;
  height: 100%;
  display: none;
}


#slider-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border-radius: 20px;
  padding: 0px 0px;
  position: absolute;
  bottom: 15%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  z-index: 9;
}

#slider {
    height: 65px;
    width: 260px;
    transition: opacity 0.5s;
    border-radius: 30px;
    overflow: hidden;
    border: 0px solid #5e5c64;
    position: relative;
    background: url(../img/swipe-btn-bg.png);
    display: block;
    background-size: cover;
    background-position: center;


}

#slider:after {
  content: '2024';
  position: absolute;
  top:0px;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, 0%);
  color: #fff;
  font-size: 52px;
  font-weight: bold;
  z-index: 99999;
}


#slider.year:after {
  content: '2025';
  position: absolute;
  top:0px;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, 0%);
  color: #fff;
  font-size: 52px;
    font-weight: bold;
  z-index: 99999;
}

.ui-slider .ui-slider-range {
 position: absolute;
    z-index: 1;
    font-size: .7em;
    display: block;
    border: 0;
    background-position: 0 0;
    background: transparent;
    border-radius: 30px 0px 0px 30px;  
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border: 0px solid #7d7d7d;
    background: transparent;
    font-weight: normal;
    color: #454545;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    z-index:99999999;
    cursor: pointer;
    outline: none;
}

.ui-slider-horizontal .ui-slider-handle {
    top: 0px;
    margin-left: -2em;
}

 .ui-slider-handle::before {
      content: "";
      display: block;
      width: 100%;
      height: 100%;
      background-image: url('../img/swipe-btn.png'); /* Replace with your image URL */
      background-size: cover;
      background-position: center;
      border-radius: 50%; /* Makes it round */
    }


.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
  border: 1px solid #c5c5c5;
  background: #ccc;
  font-weight: normal;
  color: #ffffff;
}


.swipe {
  font-size: 24px;
    font-weight: bold;
    color: #fff;
    padding-top: 10px;
}

.swipe img {
  width: 27px;
}



.content {
  text-align: center;
  color: #fff;
  margin-top: 20px;
  opacity: 1;
  /* Initially hide the text */
  display: none;
  z-index: 0;
}

.content p {
  margin: 0px;
}


.sub_title {
  font-size: 50px;
}

.main_title {
  font-size: 130px;
  font-weight: bold;
}

.main_title1 {
  font-size: 118px;
  line-height: 50px;
}

.date {
  font-size: 130px;
  padding-top: 40px;

}

.location {
  font-size: 47px;
  color: #000;
  font-weight: 600;
}

.email {
  font-size: 39px;
  padding-top: 30px;
}

.email a {
  font-size: 36px;
  color: #fff;
  text-decoration: none;
}


.icon {
  width: 30px;
}

.top-icon {
  margin-bottom: 10px;
}

.bottom-icon {
  margin-top: 10px;
}