@font-face {
    font-family: Figtree-Regular;
    src: url(fonts/Figtree/Figtree-Regular.ttf);
}
@font-face {
    font-family: Figtree-Light;
    src: url(fonts/Figtree/Figtree-Light.ttf);
}
*{
    margin: 0;
    color: white;
    text-decoration: none;
    padding: 0;

}
html{
    scroll-behavior: smooth !important;
}
body{
    background-color: #141414;
    font-family: Figtree-Regular;
}
header{
    position: sticky;
    z-index: 10;
    top: 0;
}
.header-flex{
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #141414;
}
.logo{
    height: 25px;
    padding-left: 40px;
}
.classic-menu{
    display: flex;
    list-style: none;
    gap: 40px;
    padding-right: 40px;
}
.classic-menu li {
  position: relative;
  display: inline-block;
}
.classic-menu li::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px; /* tloušťka podtržení */
  left: 0;
  bottom: -4px;
  background-color: #0597F2; /* barva podtržení */
  transition: width 0.3s ease;
}
.classic-menu li:hover::after {
  width: 100%;
}
.responsive-menu{
    width: 100%;
    list-style: none;
    display: none;
    background-color: #141414;
}
.responsive-menu li{
    width: 100%;
    height: 45px;
    text-align: center;
}



.hamburger{
    display: none;
}

#menu__toggle {
  opacity: 0;
  display:none;
}

#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  left: 0;
}
.menu__btn {
  display: flex;
  align-items: center;
  position: relative;
margin-right: 40px;

  width: 26px;
  height: 26px;

  cursor: pointer;
  z-index: 1;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;

  width: 100%;
  height: 2px;

  background-color: white;

  transition-duration: .25s;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}

.menu__box {
  display: block;
  position: fixed;
  visibility: hidden;
  top: 0;
  left: -100%;

  width: 300px;
  height: 100%;

  margin: 0;
  padding: 80px 0;

  list-style: none;

  background-color: #ECEFF1;
  box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);

  transition-duration: .25s;
}

.menu__item {
  display: block;
  padding: 12px 24px;

  color: #333;

  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;

  text-decoration: none;

  transition-duration: .25s;
}
.menu__item:hover {
  background-color: #CFD8DC;
}


@media (max-width: 684px) {
    .hamburger{
        display: block;

    }
    .classic-menu{
        display: none;
    }
}

.hero{
    background-image:
    linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
    url('img/hero.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-margin-top: 80px;
}
.hero div{
    text-align: center;
}
.hero div h1{
    font-size: 70px;
}
.hero div p{
    font-family: Figtree-Light;
    font-size: 30px;
}
#lottie{
    height: 70px;
}





.activities{
    width: 100%;
    height: calc(100vh - 80px);
    display: flex;
    scroll-margin-top: 80px;
}
.list{
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
h2{
    font-size: 70px;
}
.list h3{
    margin-top: 20px;
    font-size: 30px;
    font-family: Figtree-Light;
    cursor: pointer;
}
.list h3 span{
    color: #0597F2;
}


.hover{
    position: relative;
    transition: left 0.3s ease;
    left: 0px;
}
.reactive {
    height: 100%;
    width: 50%;
    transition: 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;

    background-image:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('img/switch.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.reactive div{
    width: 70%;
}
.reactive-text2{
    margin-top: 20px;
}

@media (max-width: 1116px) {
    .reactive{
        width: 55%;
    }
    .list{
        width: 45%;
    }    
}










.about{
    width: 100%;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    background-color: white;
    scroll-margin-top: 80px;
}
.about h2{
    color: #0597F2;
}
.about p{
    width: 50%;
    font-size: 25px;
    text-align: center;
    color: #141414;
}
@media (max-width: 423px) {
    .about{
        height: min-content;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}



.contact{
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#mail{
    margin-top: 20px;
}
.contact > div{
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact p{
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.contact div img{
    height: 20px;
}




footer{
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}



@media (max-width: 955px) {
    .activities{
        flex-direction: column;
        height: auto;
    }
    .reactive{
        width: 100%;
        height: max-content;
        padding-bottom: 40px;
        padding-top: 40px;
    }
    .list{
        width: 100%;
        height: max-content;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .list h2{
        font-size: 50px;
    }
    .reactive-text1{
        font-size: 50px;
    }
    .about p{
    width: 75%;
}
.about h2{
    font-size: 50px;
}
.contact h2{
    font-size: 50px;
}
}