/* alegreya-sans-regular - latin */
@font-face {
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 400;
    src: local(''),
         url('../fonts/alegreya-sans-v21-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/alegreya-sans-v21-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* alegreya-sans-500 - latin */
  @font-face {
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 500;
    src: local(''),
         url('../fonts/alegreya-sans-v21-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/alegreya-sans-v21-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* alegreya-sans-700 - latin */
  @font-face {
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 700;
    src: local(''),
         url('../fonts/alegreya-sans-v21-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/alegreya-sans-v21-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
html{
    box-sizing: border-box;
}
*, *::before, *::after{
    box-sizing: inherit;
}
body{
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-size: 16px;
    line-height: 1.2;
    font-weight: normal;
    color: black;
    background-color: white;
}
.wrapper{
    text-align: center;
    max-width: auto;
    margin: 0 auto;
    padding: 0 15px;
}
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: .3s linear;
  z-index: 999;
}
.header_active{
  background-color: black;
}
.header__logo-pic{
  height: 100px;
  width: 100px;
}
.header__wrapper{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.header__list{
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    padding-left: 40px;
}
.header__item{
    margin-right: 30px;
}
.header__link{
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: .3s linear;
}
.header__link:hover, .header__link:active, .header__link:focus{
    transition: .1s linear;
    color: #70B426;
}
.intro{
    width: 100%;
    height: 100vh;
    background: url(/img/svg/background.jpeg), #797979;
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding-top: 180px;
    transition: .2s linear;
}
.tiedot{
  padding-top: 30px;
  width: 100%;
}
.intro__title{
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 70px;
    color: white;
}
.intro__titlelaser{
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 70px;
    color: white;
    text-shadow: gold 1px 0 10px;
}
.intro__titlelaser span {
	display: inline-block;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.6s ease;
}

/* при активации */
.intro__titlelaser span.visible {
	opacity: 1;
	transform: translateY(0);
}
.intro__title2{
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  font-size: 25px;
  color: rgb(230, 230, 230);
  padding-top: 5px;
  padding-bottom: 15px;
}
.intro__title3{
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  color: black;
  padding-top: 5px;
  padding-bottom: 30px;
}
.floating-button {
    text-decoration: none;
    display: inline-block;
    width: 150px;
    height: 45px;
    line-height: 45px;
    border-radius: 45px;
    margin-top: 10px;
    font-family: 'Alegreya Sans';
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 700;
    color: #524f4e;
    background: white;
    box-shadow: 0 8px 15px rgba(0, 0, 0, .1);
    transition: .3s;
}
.floating-button:hover {
    background: #70B426;
    box-shadow: 0 15px 20px rgba(243, 239, 23, 0.4);
    color: white;
    transform: translateY(-7px);
}
.floating-button-act{
  position: absolute;
  right: 0;
  text-decoration: none;
  display: inline-block;
  width: 170px;
  height: 25px;
  line-height: 25px;
  border-radius: 45px;
  font-family: 'Alegreya Sans';
  font-size: 11px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 700;
  color: #524f4e;
  background: white;
  box-shadow: 0 8px 15px rgba(0, 0, 0, .1);
  transition: .3s;
}
.floating-button-act:hover {
  background: #70B426;
  box-shadow: 0 15px 20px rgba(243, 239, 23, 0.4);
  color: white;
  transform: translateY(-7px);
}
.intro__name{
    max-width: 650px;
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.6;
    color: black;
    padding-top: 30px;
    text-align: center;
    margin: auto;
    transition: .5s;
}
.intro__nameshort{
    max-width: 650px;
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 35px;
    line-height: 1.6;
    color: black;
    padding-top: 90px;
    padding-bottom: 10px;
    text-align: center;
    margin: auto;
    transition: .5s;
}
.intro__footer2{
  text-align: center;
  font-family: 'Arial', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: white;
  padding-top: 15px;
  transition: .5s;
  text-decoration: none;
}
.intro__footer{
  text-align: center;
  padding-bottom: 30px;
  font-family: 'Arial', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: .5s;
}
.intro__subtitle{
    max-width: 650px;
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    color: rgb(75, 75, 75);
    padding-top: 30px;
    margin: auto;
    transition: .5s;
}
.intro__name::after{
    display: block;
    content: '';
    width: 320px;
    height: 5px;
    background-color: #70B426;
    border-radius: 50px;
    transition: .5s;
    text-align: center;
    margin: auto;
}
.intro__nameshort::after{
    display: block;
    content: '';
    width: 50px;
    height: 5px;
    background-color: #70B426;
    border-radius: 50px;
    transition: .5s;
    text-align: center;
    margin: auto;
}
section.gallery{
  position: relative;
}
.gallery-list{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  font-size: 0;
  margin-top: 30px;
}
.gallery-item{
  border-radius: 30px;
  margin: 2px;
  display: block;
  flex: 25%;
  overflow: hidden;
  position: relative;
}
.gallery-item-hover{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.7);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  opacity: 0;
  transition: opacity .5s ease;
  z-index: 2;
}
.gallery-item:hover .gallery-item-hover{
  opacity: 1;
}
.gallery-item:hover img{
  transform: scale(1.3) rotate(3deg);
}
.gallery-item img{
  max-width: 100%;
  height: auto;
  width: auto;
  transition: all .5s ease;
}
@media (max-width: 991px){
  .gallery-item{
    flex: 33.3%;
  }
}
@media (max-width: 767px){
  .gallery-item{
    flex: 50%;
  }
}
@media (max-width: 575px){
  .gallery-item{
    flex: 100%;
  }
}
.itemcol{
  padding-top: 20px;
}
.itemcol2{
  padding-top: 20px;
}
.footer{
    background-color: black;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 30px;
    background-size:500% 500%;
}
.footerphone{
  background-color: black;
  text-align: center;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  padding: 30px;
  background-size:500% 500%;
}
.footerlogo{
  margin-bottom: 20px;
  text-align: center;
  height: 200px;
  width: 200px;
}
.contactsallcards{
  padding-top: 30px;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 100px;
}
.contactsallcards_pic{
  width: 120px;
  height: 120px;
  transition: .3s;
}
.contactsallcards_title{
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 20px;
  color: black;
  padding-top: 50px;
  padding-bottom: 30px;
  text-align: center;
  transition: .3s;
}
.contactsallcards_title2{
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 800;
  padding-bottom: 20px;
  font-size: 17px;
  color: #70B426;
  text-align: center;
  text-decoration: none;
  transition: .3s;
}
.contactsallcards_title2:hover{
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 800;
  padding-bottom: 20px;
  font-size: 17px;
  color: #70B426;
  text-align: center;
  transition: .3s;
}
.contactsallcards_title:hover{
  color: #70B426;
  transition: .3s;
}
@media (max-width: 1333px){
  .contactsallcards{
    grid-template-columns: repeat(3, 1fr);
  }
  .footer{
    grid-template-columns: repeat(3, 1fr);
  }
  .footerphone{
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991px){
  .contactsallcards{
    grid-template-columns: repeat(2, 1fr);
  }
  .footer{
    grid-template-columns: repeat(2, 1fr);
  }
  .footerphone{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px){
  .contactsallcards{
    grid-template-columns: repeat(1, 1fr);
  }
  .footer{
    grid-template-columns: repeat(1, 1fr);
  }
  .footerphone{
    grid-template-columns: repeat(1, 1fr);
  }
}
#menu__toggle {
  opacity: 0;
}

#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;
  right: 0;
}

.menu__btn {
  display: none;
  position: relative;
  top: 20px;
  right: 20px;

  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: #fff;

  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;
  right: -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: 'Alegreya Sans';
  font-size: 20px;
  font-weight: 600;

  text-decoration: none;

  transition-duration: .25s;
}
.menu__item:hover {
  background-color: #CFD8DC;
}
.blackline{
  width: auto;
  height: 100px;
  background-color: black;
}
.mapsgoogle{
  width: 1920px;
  height: 550px;
  text-align: center;
}
@media (max-width: 1024px){
  .menu__btn{
    display: block;
  }
  .header__nav{
    display: none;
  }
  .mapsgoogle{
    width: auto;
    text-align: center;
    padding-left: 50px;
  }
  .header__wrapper{
    justify-content: space-between;
  }
  .footerlogo{
    height: 200px;
    width: 200px;
  }
  .footerlogophone{
    height: 200px;
    width: 200px;
  }
  .tableinfo1{
    display: none;
  }
  .tabs{
    display: none;
  }
  .palvelumme {
    display: none;
  }
  .intro__nameshort {
    padding-top: 0px;
  }
  .footer {
    display: none;
  }
  .footerphone {
    display: grid;
  }
}

.tabs {
  margin-bottom: 30px;
  margin-top: 10px;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  background-color: rgb(233, 233, 233);
  padding: 50px;
  padding-bottom: 30px;
  width: 90%;
  height: auto;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  border-radius: 30px;
  min-width: 240px;
}
.tabs input[name="tab-control"] {
  display: none;
}
.tabs .content section h2,
.tabs ul li label {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 18px;
  color: #70B426;
}
.tabs ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}
.tabs ul li {
  box-sizing: border-box;
  flex: 1;
  width: 25%;
  padding: 0 10px;
  text-align: center;
}
.tabs ul li label {
  transition: all 0.3s ease-in-out;
  color: #929daf;
  padding: 5px auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  -webkit-touch-callout: none;
}
.tabs ul li label br {
  display: none;
}
.tabs ul li label svg {
  fill: #929daf;
  height: 1.2em;
  vertical-align: bottom;
  margin-right: 0.2em;
  transition: all 0.2s ease-in-out;
}
.tabs ul li label:hover,
.tabs ul li label:focus,
.tabs ul li label:active {
  outline: 0;
  color: #bec5cf;
}
.tabs ul li label:hover svg,
.tabs ul li label:focus svg,
.tabs ul li label:active svg {
  fill: #bec5cf;
}
.tabs .slider {
  position: relative;
  width: 50%;
  transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}
.tabs .slider .indicator {
  position: relative;
  width: 500px;
  max-width: 100%;
  margin: 0 auto;
  height: 4px;
  background: #70B426;
  border-radius: 1px;
}
.tabs .content section {
  display: none;
  animation-name: content;
  animation-direction: normal;
  animation-duration: 0.3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  line-height:1.4 ;
}
.tabs .content section h2 {
  color: #70B426;
  display: none;
}
.tabs .content section h2::after {
  content: "";
  position: relative;
  display: block;
  width: 30px;
  height: 3px;
  background: #70B426;
  margin-top: 5px;
  left: 1px;
}
.tabs
  input[name="tab-control"]:nth-of-type(1):checked
  ~ ul
  > li:nth-child(1)
  > label {
  cursor: default;
  color: #70B426;
}
.tabs
  input[name="tab-control"]:nth-of-type(1):checked
  ~ ul
  > li:nth-child(1)
  > label
  svg {
  fill: #70B426;
}
@media (max-width: 600px) {
  .tabs
    input[name="tab-control"]:nth-of-type(1):checked
    ~ ul
    > li:nth-child(1)
    > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
  transform: translateX(0%);
}
.tabs
  input[name="tab-control"]:nth-of-type(1):checked
  ~ .content
  > section:nth-child(1) {
  display: block;
}
.tabs
  input[name="tab-control"]:nth-of-type(2):checked
  ~ ul
  > li:nth-child(2)
  > label {
  cursor: default;
  color: #70B426;
}
.tabs
  input[name="tab-control"]:nth-of-type(2):checked
  ~ ul
  > li:nth-child(2)
  > label
  svg {
  fill: #70B426;
}
@media (max-width: 600px) {
  .tabs
    input[name="tab-control"]:nth-of-type(2):checked
    ~ ul
    > li:nth-child(2)
    > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
  transform: translateX(100%);
}
.tabs
  input[name="tab-control"]:nth-of-type(2):checked
  ~ .content
  > section:nth-child(2) {
  display: block;
}
.tabs
  input[name="tab-control"]:nth-of-type(3):checked
  ~ ul
  > li:nth-child(3)
  > label {
  cursor: default;
  color: #70B426;
}
.tabs
  input[name="tab-control"]:nth-of-type(3):checked
  ~ ul
  > li:nth-child(3)
  > label
  svg {
  fill: #70B426;
}
@media (max-width: 600px) {
  .tabs
    input[name="tab-control"]:nth-of-type(3):checked
    ~ ul
    > li:nth-child(3)
    > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .slider {
  transform: translateX(200%);
}
.tabs
  input[name="tab-control"]:nth-of-type(3):checked
  ~ .content
  > section:nth-child(3) {
  display: block;
}
.tabs
  input[name="tab-control"]:nth-of-type(4):checked
  ~ ul
  > li:nth-child(4)
  > label {
  cursor: default;
  color: #70B426;
}
.tabs
  input[name="tab-control"]:nth-of-type(4):checked
  ~ ul
  > li:nth-child(4)
  > label
  svg {
  fill: #70B426;
}
@media (max-width: 600px) {
  .tabs
    input[name="tab-control"]:nth-of-type(4):checked
    ~ ul
    > li:nth-child(4)
    > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ .slider {
  transform: translateX(300%);
}
.tabs
  input[name="tab-control"]:nth-of-type(4):checked
  ~ .content
  > section:nth-child(4) {
  display: block;
}
@keyframes content {
  from {
    opacity: 0;
    transform: translateY(5%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}
@media (max-width: 1000px) {
  .tabs ul li label {
    white-space: initial;
  }
  .tabs ul li label br {
    display: initial;
  }
  .tabs ul li label svg {
    height: 1.5em;
  }
}
@media (max-width: 600px) {
  .tabs ul li label {
    padding: 5px;
    border-radius: 5px;
  }
  .tabs ul li label span {
    display: none;
  }
  .tabs .slider {
    display: none;
  }
  .tabs .content {
    margin-top: 20px;
  }
  .tabs .content section h2 {
    display: block;
  }
}

.wrappermiks{
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.wrappermiks2{
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

@-webkit-keyframes ServiceAnimation{0%
  {background-position:90% 0}50%
  {background-position:10% 100%}100%
  {background-position:90% 0}
}
@-moz-keyframes ServiceAnimation{0%
  {background-position:90% 0}50%
  {background-position:10% 100%}100%
  {background-position:90% 0}
}
@-o-keyframes ServiceAnimation{0%
  {background-position:90% 0}50%
  {background-position:10% 100%}100%
  {background-position:90% 0}
}
@keyframes ServiceAnimation{0%
  {background-position:90% 0}50%
  {background-position:10% 100%}100%
  {background-position:90% 0}
}
.tabs .content {
  margin-top: 30px;
  text-align: left;;
}
.fotolaser{
  border-radius: 20px;
  width: 400px;
  text-align: left;
  box-shadow: #333 0 0 3px;
}
.fotolaserphone{
  padding-top: 5px;
  border-radius: 20px;
  width: 350px;
}
.laserinfotext{
  max-width: 400px;
  padding-top: 10px;
  padding-bottom: 8px;
  font-family: "Montserrat";
  font-weight: 700;
  font-size: 15px;
}
.laserinfotext1{
  max-width: 1000px;
  padding-top: 10px;
  padding-bottom: 8px;
  font-family: "Montserrat";
  font-weight: 700;
  font-size: 15px;
}
.laserinfotext2{
  max-width: auto;
  padding-bottom: 10px;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 16px;
}
.laserinfotext3{
  max-width: auto;
  padding-bottom: 10px;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 16px;
}
.laserinfotext4{
    max-width: 400px;
    padding-top: 70px;
    padding-bottom: 8px;
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 15px;
}
.spaser{
  width: 60px;
}
.rightinfo{
  vertical-align: top;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 1024px){
    .demo{
        display: none;
    }
    .btn-shine{
        display: none;
    }
    .intro{
        height: 100%;
        width: 100%;
        background: url(/img/svg/background.jpeg) no-repeat center, #797979;
        background-blend-mode: multiply;
        background-size: cover;
        padding-top: 170px;
        transition: .2s linear;
    }
    .intro__title{
        font-family: 'Alegreya Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 35px;
        color: white;
    }
    .intro__titlelaser{
        font-family: 'Alegreya Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 50px;
        color: white;
        text-shadow: gold 1px 0 10px;
    }
    .intro__title2{
      font-family: 'Alegreya Sans';
      font-style: normal;
      font-weight: 500;
      font-size: 15px;
      color: rgb(230, 230, 230);
      padding-top: 5px;
      padding-bottom: 15px;
    }
}

.navbar{
  min-height: 70px;
  display: flex;
  align-items: center;
}
.nav-menu{
  display: flex;
  align-items: center;
}
.hamburger{
  display: none;
  cursor: pointer;
}
.bar{
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: white;
  margin-right: 15px;
}

.hamburger-menu{
  display: none;
}

@media(max-width:1024px){
    .hamburger-menu{
        display: block;
    }
    .hamburger{
        display: block;
    }
    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav-menu{
        position: fixed;
        right: -100%;
        top: 0px;
        gap: 0;
        flex-direction: column;
        width: 300px;
        height: 100%;
        text-align: center;
        transition: 0.3s;
        list-style: none;
        background-color: #ECEFF1;
        box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
        margin: 0;
        padding: 80px 0;
    }
    .nav-item{
        padding: 12px 24px;

        color: #333;

        font-family: 'Alegreya Sans';
        font-size: 20px;
        font-weight: 600;

        text-decoration: none;
    }
    .nav-link{
        padding: 12px 24px;

        color: #333;

        font-family: 'Alegreya Sans';
        font-size: 20px;
        font-weight: 600;

        text-decoration: none;
    }
    .nav-menu.active{
        right: 0;
    }
}

#section05 a {
    padding-top: 70px;
}
#section05 a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb05 1.5s infinite;
    animation: sdb05 1.5s infinite;
    box-sizing: border-box;
}
@-webkit-keyframes sdb05 {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}
@keyframes sdb05 {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

.demo a {
    margin-top: 100px;
    display: inline-block;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: #fff;
    font : normal 700 40px/1 'Alegreya Sans', sans-serif;
    letter-spacing: .1em;
    text-decoration: none;
    transition: opacity .3s;
}
.demo a:hover {
    opacity: .5;
}

.btn-shine {
    align-items: center;
    transform: translate(-50%, -50%);
    padding: 12px 48px;
    color: #fff;
    background: linear-gradient(to right, #9f9f9f 0, #fff 10%, #868686 20%);
    background-position: 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s infinite linear;
    animation-fill-mode: forwards;
    -webkit-text-size-adjust: none;
    font-weight: 700;
    font-size: 40px;
    text-decoration: none;
    white-space: nowrap;
    font-family: "Alegreya Sans", sans-serif;
    transition: opacity .3s;
}

.btn-shine:hover {
    opacity: .5;
}


@-moz-keyframes shine {
    0% {
      background-position: 0;
    }
    60% {
      background-position: 320px;
    }
    100% {
      background-position: 320px;
    }
}
@-webkit-keyframes shine {
    0% {
      background-position: 0;
    }
    60% {
      background-position: 320px;
    }
    100% {
      background-position: 320px;
    }
}
@-o-keyframes shine {
    0% {
      background-position: 0;
    }
    60% {
      background-position: 320px;
    }
    100% {
      background-position: 320px;
    }
}
@keyframes shine {
    0% {
      background-position: 0;
    }
    60% {
      background-position: 320px;
    }
    100% {
      background-position: 320px;
    }
}

.cardpic{
    width: 100px;
    height: 100px;
}

.popup {
    width: 400px;
    background: #fff;
    border-radius: 6px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 30px 30px;
    color: #333;
}

.popup img {
    width: 100px;
    margin-top: -50px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rbga(0, 0, 0, 0.2);
}

.popup h2 {
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 500;
    font-size: 38px;
    margin: 30px 0 10px;
}

button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}
   
button.learn-more {
    width: 12rem;
    height: auto;
}
   
button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #282936;
    border-radius: 1.625rem;
}
   
button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}
   
button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}
   
button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.29rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}
   
button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #282936;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
}
   
button:hover .circle {
    width: 100%;
}
   
button:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}
   
button:hover .button-text {
    color: #fff;
}

.input-box {
  height: 50px;
  width: 100%;
  margin-bottom: 25px;
}

.input-box input,
.input-box textarea {
  height: 100%;
  width: 100%;
  border: none;
  border-radius: 5px;
  background: #f0f0f0;
  padding: 0 20px;
  margin-bottom: 2px;
  transition: .8s;
}

.input-box label {
  font-size: 14px;
  color: #afafb6;
  padding-left: 5px;
}

.input-box textarea {
  resize: none;
  padding: 20px;
  font-family: "Roboto", sans-serif;
}

.message-box {
  min-height: 110px;
}

.topic-text {
  font-size: 23px;
  font-weight: 600;
  color: #70B426;
  margin-bottom: 10px;
  margin-top: 20px;
}

.tabs5 {
  display: flex;
  position: relative;
  background-color: #fff;
  box-shadow: 0 0 1px 0 rgba(24, 94, 224, 0.15), 0 6px 12px 0 rgba(24, 94, 224, 0.15);
  padding: 0.75rem;
  border-radius: 99px;
}

.tabs5 * {
  z-index: 2;
}

.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 50px;
  font-size: .8rem;
  color: black;
  border-radius: 99px;
  cursor: pointer;
  transition: color 0.15s ease-in;
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
}

.glider {
  position: absolute;
  display: flex;
  height: 30px;
  width: 50px;
  background-color: #e6eef9;
  z-index: 1;
  border-radius: 99px;
  transition: 0.25s ease-out;
}

.translate {
  text-decoration: none;
}

.translate:focus, .translate:active {
  outline: none;
}

/* ===== Language switch (LaserPro style) ===== */
.lang-switch{
	--sw-bg:#fff;
	--sw-border:#e6e8eb;
	--sw-text:#111;
	--sw-accent:#3f7e2a;
	--sw-active:#fff;

	position:relative;
	display:inline-grid;
	grid-template-columns:1fr 1fr;
	align-items:center;
	padding:4px;
	border:1px solid var(--sw-border);
	border-radius:999px;
	background:var(--sw-bg);
	box-shadow:0 6px 16px rgba(0,0,0,.06);
	user-select:none;
}

.lang-switch__btn{
	position:relative;
	z-index:2;
	border:none;
	background:transparent;
	padding:8px 18px;
	font:700 13px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
	color:var(--sw-text);
	border-radius:999px;
	cursor:pointer;
	transition:color .25s ease;
}
.lang-switch__btn.is-active{ color:var(--sw-active); }

.lang-switch__glider{
	position:absolute;
	inset:4px auto 4px 4px;
	width:calc(50% - 4px);
	border-radius:999px;
	background:var(--sw-accent);
	box-shadow:0 8px 20px rgba(0,0,0,.12);
	transform:translateX(0%);
	transition:transform .25s ease;
}

@media (max-width:420px){
	.lang-switch__btn{ padding:8px 12px; }
}

/* Контейнер */
.container5{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	user-select:none;
	-webkit-tap-highlight-color:transparent;
}

/* Корпус переключателя */
.tabs5{
	position:relative;
	display:grid;
	grid-template-columns:1fr 1fr; /* FI | EN */
	align-items:stretch;
	width:120px;                 /* можно 110–130 */
	height:40px;
	background:#fff;
	border:1px solid #e5e7eb;
	border-radius:999px;
	box-shadow:0 2px 6px rgba(0,0,0,.08);
	padding:3px;                 /* отступы = толщина рамки/зазор для капсулы */
	overflow:hidden;
}

/* Радио скрываем — логика на твоей функции */
.tabs5 input[type="radio"]{
	position:absolute;
	opacity:0;
	pointer-events:none;
}

/* Ссылка-ячейка — убираем «синий» браузера */
.tabs5 a.translate{
	position:relative;
	z-index:2;
	display:flex;
	align-items:center;
	justify-content:center;
	text-decoration:none;
	color:#000000;               /* серый текст по умолчанию */
	transition:color .2s ease;
}

/* На всякий случай фиксируем visited/active */
.tabs5 a.translate:visited,
.tabs5 a.translate:active,
.tabs5 a.translate:hover{
	color:inherit;
}

/* Сам лейбл — делаем блоком на всю ячейку */
.tabs5 .tab{
	all:unset;
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	height:100%;
	cursor:pointer;
	font:600 13px/1 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	letter-spacing:.3px;
}

/* «Капсула» — идеально по центру */
.tabs5 .glider{
	position:absolute;
	z-index:1;
	top:3px;
	left:3px;
	width:calc(50% - 6px);       /* половина ширины минус боковые отступы */
	height:calc(100% - 6px);     /* высота минус верх/низ по 3px */
	border-radius:999px;
	background:linear-gradient(180deg,#3f7e2a,#2f631f); /* LaserPro green */
	box-shadow:0 1px 3px rgba(0,0,0,.15);
	transform:translateX(0);
	transition:transform .24s cubic-bezier(.2,.8,.2,1);
}

/* Активный язык — белый текст, без «свечения» */
:root[lang="fi"] .tabs5 #fi{ color:#fff; font-weight:700; }
:root[lang="en"] .tabs5 #en{ color:#fff; font-weight:700; }

/* Сдвиг капсулы по lang, который ставит твой JS */
:root[lang="en"] .tabs5 .glider{ transform:translateX(100%); }

/* Лёгкий hover для неактивной вкладки */
.tabs5 a.translate:not(:has(.tab:focus)):hover{ color:#111827; }

/* Если анимации не нужны */
@media (prefers-reduced-motion: reduce){
	.tabs5 .glider, .tabs5 a.translate{ transition:none; }
}
