@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&display=swap');

:root {
  --wht: #ffffff;
  --drck: #000000;
  --gr: #262525;
  --yellow: #ffe02e;
}


body {
color: var(--wht);
direction: ltr;
font-family: 'Comfortaa', sans-serif !important;
font-size: 17px;
line-height: 1.4;
margin: 0;
padding: 0px;  
}
li {
  margin: 4px;
}
ul {
padding-left: 0;
padding-right: 0;
}
a {
text-decoration: none;
}

.container-marg {
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
}

.container-pad {
  padding: 72px 0;
}


.head-block{
background-color: var(--drck);
}
.head-menu{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.header-logo{
  display: flex;
  align-items: center;
  margin: 7px;
  justify-content: center;
}
.header-title{
  margin:7px;
  color: var(--wht);
  font-size: 25px;
  transition: 1s;
}
.header-title:hover{
  transform: scale(1.1);
}
.head-items{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.head-item{
  position: relative;
  float: left;
  margin: 7px;
  padding: 7px;
  border: 1px solid var(--drck);
  list-style: none;
}
.head-item:hover > .menu-top-head {
  display: initial;
  z-index: 10;
}
.head-item:hover{
  border: 1px solid var(--yellow);
}
.header-item-link{
  color: var(--wht);
  font-size: 16px;
  text-transform: uppercase;
  display: block;
}
.menu-top-head{
  position: absolute;
  left: 0;
  width: 180px;
  background: var(--drck);
  display: none;
 }
 .menu-item{
  list-style: none;
  padding: 7px;
  background-color: black;
  border-bottom: 1px solid #ffe02e72;
  transition: background-color 0.3s ease;
 }
 .menu-link{
  color: var(--wht);
  transition: color 0.3s ease;
 }
 .menu-item:hover{
background-color: var(--yellow);
 }
 .menu-item:hover .menu-link {
  color: black; 
}
.head-text-btn-block{
  background-image: url(pics/pattern-bg-Ps0.webp);
    background-color: #ffe02ec2;
    background-blend-mode: overlay;
    background-size: cover; 
    background-position: center; 
    color: var(--wht);
    padding: 45px;
    height: auto;
    clip-path: polygon(50% 5%, 100% 0%, 100% 100%, 0 100%, 0 0);
    display: flex;
    align-items: center;
}
.head-text-btn-block h1{
  text-align: center;
  color: var(--drck);
  font-size: 30px;
}
.text-btn-link{
  display: flex;
}
.how-work-title h2{
  font-size: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  border-bottom: 1px solid var(--yellow);
}
.how-work-title {
  text-align: center;
}
.head-title-img{
  display: flex;
    align-items: center;
    flex-direction: column;
}
.head-button{
  text-align: center;
}
.howwork-service-section{
  background-color: var(--drck);
}
.how-work-items{
  display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 45px;
    padding-top: 15px;
}
.how-work-item{
  display: flex;
    align-items: center;
    flex-direction: column;
    width: 300px;
    gap: 15px;
}
.how-work-svg{
  margin: 15px;
    padding: 29px;
    border: 3px solid var(--wht);
    background-color: var(--yellow);
    border-radius: 100px;
    transition: transform 0.3s ease-in-out;
}
.how-work-svg:hover {
  transform: scale(1.2); 
}
.how-work-svg svg{
  width: 70px;
  height: 70px;
  color: var(--drck);
}

.box-service-items{
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 11px;
}

.service-block{
  background-color: var(--yellow);
  clip-path: polygon(50% 2%, 100% 0%, 100% 100%, 0 100%, 0 0);
}
.service-title h2{
  font-size: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--drck);
}
.service-item {
  width: 450px; 
}

.service-img-card img{
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.service-read-more{
  display: flex;
    width: 50%;
    justify-content: center;
}
.service-img-card{
  transition: transform 0.3s ease-in-out;
}
.service-img-card:hover{
  transform: scale(1.05); 
}
.servic-card {
  background-color: var(--drck); 
  color: white; 
  padding: 15px; 
  display: flex;
  flex-direction: column;
  align-items: center;
}
.servic-card div {
  display: flex;
    flex-direction: column;
    align-items: center;
}
.service-text{
  font-size: 24px;
}
.service-text a{
  color: var(--yellow);
}
.service-content {
  color: white; 
}

.service-read-more {
  color: white; 
}
.main-images{
  text-align: center;
}
.main-images img{
  width: 75%;
  height: 350px;
  object-fit: contain;
}
.main-block{
  background-color: var(--drck);
}
.main-text{
  font-size: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  border-bottom: 1px solid var(--yellow);
}
.main-title{
  padding: 15px;
}
.price-title{
  color: var(--drck);
  text-align: center;
  padding: 7px;
  background-color: var(--yellow);
  clip-path: polygon(0 0, 100% 0%, 100% 48%, 50% 100%, 0 48%);
}
.articles-block{
  background-color: var(--yellow);
}
.pop_articles h2{
  font-size: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  color: var(--wht);
}
.articles-items{
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
  justify-content: center;
}
.articles-img{
  width: 300px;
  height: 350px;
  object-fit: cover;
}
.card {
  position: relative;
  width: 300px;
  height: 350px;
  aspect-ratio: 16/9;
  background-color: #f2f2f2;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  box-shadow: 0 0 0 5px #ffffff80;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card svg {
  width: 48px;
  fill: #333;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card__image {
  width: 100%;
  height: 100%;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
  background-color: #f2f2f2;
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .card__content {
  transform: rotateX(0deg);
}

.card__title {
  margin: 0;
  font-size: 20px;
  color: #333;
  font-weight:  800;
}
.articles-title{
  color: var(--drck);
}
.card:hover svg {
  scale: 0;
}

.card__description {
  margin: 7px 0 7px;
  font-size: 14px;
  color: #777;
  line-height: 1.4;
  display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 4;
            overflow: hidden;
            text-overflow: ellipsis;
}

.card__button {
  padding: 11px;
  border-radius: 8px;
  background: #777;
  border: none;
}
.card__button a{
color: var(--drck);
}

.team-section{
  background-color: var(--drck);
}
.team-wrap{
  display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 11px;
}
.our-worker-title h2{
  font-size: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  color: var(--wht);
}

.card-ourteam {
  width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background: var(--drck);
  border: 1px solid var(--wht);
 }
 .card-ourteam:hover{
  border: 1px solid var(--yellow);
 }
 .card-ourteam .img-ourteam {
  height: 150px;
  margin-top: 1.6em;
  aspect-ratio: 1;
  border-radius: 30%;
  background: #f2f2f3;
  margin-bottom: 0.4em;
  box-shadow: -5px -5px 8px #ffffff7a, 
               5px 5px 8px #a9a9aa7a;
 }
 .img-ourteam img{
  width: 150px;
  height: 150px;
  border-radius: 30%;
 }
 .card-ourteam .info-ourteam {
  text-align: center;
  margin-top: 0.4em;
  padding: 22px;
  background: linear-gradient(120deg, rgb(255 242 0) 0%, rgb(23 23 12) 100%);
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
 }
 
 .name-ourteam{
  font-weight: 800;
  font-size: 20px;
  margin: 5px;
 }
 .job-ourteam{
  font-size: 14px;
  margin: 5px;
 }
 .about-block {
  background-image: url( pics/pattern-bg-Ps1.webp);
    background-color: #ffe02ec2;
    background-blend-mode: overlay;
    background-size: cover; 
    background-position: center; 
    color: var(--wht);
    height: auto;
    display: flex;
    align-items: center;
}
 .about-wrap{
  display: flex;
  flex-direction: column;
 }
.aboutus-title{
  color: #000;
  font-size: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  color: var(--wht);
}
 .aboutus-text{
  display: flex;
  flex-direction: column;
  align-items: center;

 }
.aboutus-text-2{
  color: #000;
  margin: 29px;
}
.aboutus-image{
text-align: center;
margin: 16px;
}
.about-page-block{
  background-color: var(--drck);
  padding: 36px;
}

.about-page-text h2{
  font-size: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  color: var(--wht);
  padding: 29px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0%, 100% 80%, 50% 100%, 0 80%);
}
.page-content-block{
  background-color: var(--drck);
  padding: 36px;
}
.page-content-item h2{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 7px 37px;
  text-align: center;
  color: var(--wht);
}
.page-content-item div{
  color: var(--wht);
}
.page-content-box{
  display: flex;
  flex-direction: column;
}
.page-content-image{
  text-align: center;
}
.page-content-item{
  color: var(--drck);
}
.page-content-image img{
  width: 66%;
  height: 350px;
  object-fit: contain;
}

.clip{
  width: 50%;
  clip-path: polygon(50% 5%, 100% 0%, 100% 100%, 0 100%, 0 0);
}
.comment-block{
  background-color: var(--drck);
}
.comment-title{
  font-size: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  border-bottom: 1px solid white;
}
.comment-box{
  gap: 11px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.comment-wrap {
  display: flex;
    text-align: center;
    flex-direction: column;
    align-items: flex-start;
}
.comment-content{
  padding: 29px;
    width: 300px;
    background-color: var(--yellow);
    color: black;
    clip-path: polygon(0% 0%, 100% 0%, 100% 88%, 20% 89%, 10% 100%, 12% 89%, 0 89%);

}
.comment-ava-name{
  display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.comment-ava-name img{
  width: 60px;
  height: 60px;
  margin: 7px;
}
.comment-ava-name p{
  color: var(--yellow);
    margin: 7px;
}
.logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.form-control {
  margin: 15px;
  background-color: #ffffff96;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 22px;
  color: grey;
}
.form-page-control {
  margin: 15px;
  background-color: #ffffff96;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 25px;
  color: grey;
}
.writeus-content{
  font-size: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-field {
  margin: 7px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  width: 100%;
}
.input-fieldholder-group{
  margin-top: 11px;
  width: 100%;
  outline: none;
  border-radius: 8px;
  height: 45px;
  border: 1.5px solid #c2cdc2;
  background: transparent;
  padding-left: 7px;
}
.textarea-fieldholder-group{
  margin-top: 11px;
  width: 100%;
  outline: none;
  border-radius: 8px;
  height: 45px;
  border: 1.5px solid #c2cdc2;
  background: transparent;
  padding-left: 7px;
}
.input-group,
.input-group-textarea {
  display: flex;
}
.input-group input{
  margin-top: 11px;
  width: 100%;
  outline: none;
  border-radius: 8px;
  height: 45px;
  border: 1.5px solid #c2cdc2;
  background: transparent;
  padding: 0 11px;
}
.input-group-textarea textarea {
  margin-top: 11px;
  width: 100%;
  outline: none;
  border-radius: 8px;
  height: 45px;
  border: 1.5px solid #c2cdc2;
  background: transparent;
  padding: 0 11px;
}
.input-field .label {
  position: absolute;
  top: 25px;
  left: 15px;
  color: #ccc;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.contact-wrap{
  flex: 1;
}
.page-contact-wrap{
  overflow: hidden;
  display: flex;
  flex-direction: row;
    width: 100%;
    overflow: hidden;
    flex-direction: row;
    align-items: center;
}

.form-block {
  overflow: hidden;
  background-color: var(--yellow);
}
.check {
  cursor: pointer;
  position: relative;
  margin: 9px;
  width: 18px;
  height: 18px;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(0, 0, 0);
}

.check:before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(34,50,84,0.03);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.check svg {
  position: relative;
  z-index: 1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #c8ccd4;
  stroke-width: 1.5;
  transform: translate3d(0, 0, 0);
  transition: all 0.2s ease;
}

.check svg path {
  stroke-dasharray: 60;
  stroke-dashoffset: 0;
}

.check svg polyline {
  stroke-dasharray: 22;
  stroke-dashoffset: 66;
}

.check:hover:before {
  opacity: 1;
}

.check:hover svg {
  stroke: #4285f4;
}

#cbx:checked + .check svg {
  stroke: #4285f4;
}
#cbx:checked + .check svg path {
  stroke-dashoffset: 60;
  transition: all 0.3s linear;
}

#cbx:checked + .check svg polyline {
  stroke-dashoffset: 42;
  transition: all 0.2s linear;
  transition-delay: 0.15s;
}
.writeus-adres-wrap{
  display: flex;
  flex-direction: row;
  align-items: center;
}
.writeus-box{
  flex: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}
.adres-box{
  flex: 1;
  text-align: center;
}
.adres-item {
  list-style: none;
  padding: 7px;
  margin: 7px;
  transition: border 0.3s ease, background-color 0.3s ease;
}

.adres-item a {
  word-break: break-all;
  color: #000;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.adres-item:hover {
  border: 1px solid white;
}

.adres-item:hover a {
  color: black;
}
.footer-section{
  background-color: var(--yellow);
  border-top: 1px solid var(--wht);
}
.footer-site-title{
  color: var(--wht);
  font-size: 20px;
}

.footer-menu{
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.nav-list-footer{
  margin: 0;
}
.nav-link-item,
.nav-serv-item{
  list-style: none;
}
.nav-link-item a{
color: var(--drck);

}
.privacy-block{
  background-color: var(--drck);
  padding: 15px;
}
.privacy-item{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 7px;
}
.privacy-wrap {
  overflow: hidden;
  word-break: break-all;
}
.privacy-wrap h2 {
  font-size: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.privacy-item a{
color: var(--wht);
}
.page-contact-block{
  background-color: var(--yellow);
}


.hidden-text {
transform: translate(0px, 120%);
opacity: 0;
transition: all 0.8s ease 0s;
}
.hidden-text.active{
transform: translate(0px, 0px);
opacity: 1;
}
.hidden-text-slow{
transform: translate(0px, 120%);
opacity: 0;
transition: all 0.8s ease 0s;
}
.hidden-text-slow.active{
transform: translate(0px, 0px);
opacity: 1;
transition: all 0.8 ease 0.4s;
}

@media screen and (min-width: 480px) {
    .container-marg {
      max-width: 480px;
    }
  }
  @media screen and (min-width: 768px) {
    .container-marg {
      max-width: 768px;
    }
  }
  @media screen and (min-width: 1200px) {
    .container-marg {
      max-width: 1200px;
    }
  }


  @media (max-width: 1199px) {
.head-menu {
  flex-direction: column;
}
  }

  @media (max-width: 900px) {
.work-title-text h2,
.articles-title h2,
.team-title-text h2,
.service-text h2,
.about-title {
  flex-direction: column;
}
  }

  @media (max-width: 875px) {
    h2{
      font-size: 20px;
    }
    .head-menu{
      flex-direction: column;
    }
  }
  
  @media (max-width: 780px){
    .menu-top-head{
      left: -60px;
    }
  }

  @media (max-width: 768px) {
    .head-menu{
      flex-direction: column;
    }

    .head-text-btn-block h1{
      font-size: 20px;
    }
    .clip {
      width: 100%;
  }
  .card__content {
    transform: none; 
}
  .writeus-adres-wrap {
    flex-direction: column;
  }
  .page-contact-wrap{
      flex-direction: column;
  }
  .footer-menu{
    flex-direction: column;
    align-items: center;
  }
  .nav-link-item{
    text-align: center;
  }
 
}

@media (max-width: 538px){
  .main-images img {
    width: 100%;
    height: auto;
  }
  .page-content-image img {
    width: 100%;
    height: auto;
}
.head-items {
  flex-direction: column;
}
.head-item {
  margin: 0;
  padding: 8px;
}
}


  @media (max-width: 410px){
    .card {
      width: 280px;
    }
    .comment-content{
      width: 230px;
    }
   
  }

  .button-1 {
    padding: 1.1em 2em;
    background: none;
    border: 2px solid #fff;
    font-size: 15px;
    color: #131313;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    border-radius: 12px;
    background-color: #ecd448;
    font-weight:  800;
    box-shadow: 0 2px 0 2px #000;
   }
   
   .button-1:before {
    content: "";
    position: absolute;
    width: 100px;
    height: 120%;
    top: 50%;
    transform: skewX(30deg) translate(-150%, -50%);
    transition: all 0.5s;
   }
   
   .button-1:hover {
    background-color: #4cc9f0;
    color: #fff;
    box-shadow: 0 2px 0 2px #0d3b66;
   }
   
   .button-1:hover::before {
    transform: skewX(30deg) translate(150%, -50%);
    transition-delay: 0.1s;
   }
   
   .button-1:active {
    transform: scale(0.9);
   }
  
  .button-2, .button-2::after {
    padding: 7px 50px;
    font-size: 20px;
    border: 2px solid var(--drck);
    border-radius: 5px;
    color: var(--drck);
    background-color: #ecd448ab;
    position: relative;
  }
  
  .button-2::after {
    --move1: inset(50% 50% 50% 50%);
    --move2: inset(31% 0 40% 0);
    --move3: inset(39% 0 15% 0);
    --move4: inset(45% 0 40% 0);
    --move5: inset(45% 0 6% 0);
    --move6: inset(14% 0 61% 0);
    clip-path: var(--move1);
    content: 'GLITCH';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
  }
  
  .button-2:hover::after {
    animation: glitch_4011 1s;
    text-shadow: 10 10px 10px black;
    animation-timing-function: steps(2, end);
    text-shadow: -3px -3px 0px #1df2f0, 3px 3px 0px #E94BE8;
    background-color: transparent;
    border: 3px solid rgb(0, 255, 213);
  }
  
  .button-2:hover {
    text-shadow: -1px -1px 0px #1df2f0, 1px 1px 0px #E94BE8;
  }
  
  .button-2:hover {
    background-color: transparent;
    border: 1px solid rgb(0, 255, 213);
    box-shadow: 0px 10px 10px -10px rgb(0, 255, 213);
  }
  
  @keyframes glitch_4011 {
    0% {
      clip-path: var(--move1);
      transform: translate(0px,-10px);
    }
  
    10% {
      clip-path: var(--move2);
      transform: translate(-10px,10px);
    }
  
    20% {
      clip-path: var(--move3);
      transform: translate(10px,0px);
    }
  
    30% {
      clip-path: var(--move4);
      transform: translate(-10px,10px);
    }
  
    40% {
      clip-path: var(--move5);
      transform: translate(10px,-10px);
    }
  
    50% {
      clip-path: var(--move6);
      transform: translate(-10px,10px);
    }
  
    60% {
      clip-path: var(--move1);
      transform: translate(10px,-10px);
    }
  
    70% {
      clip-path: var(--move3);
      transform: translate(-10px,10px);
    }
  
    80% {
      clip-path: var(--move2);
      transform: translate(10px,-10px);
    }
  
    90% {
      clip-path: var(--move4);
      transform: translate(-10px,10px);
    }
  
    100% {
      clip-path: var(--move1);
      transform: translate(0);
    }
  }
  
  
  
  .button-3 {
    padding: 11px 29px;
    border: 2px solid #2c2c2c;
    background-color: #edcd7c;
    color: var(--drck);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.4s ease;
    outline: none;
    position: relative;
    overflow: hidden;
    font-weight:  800;
  }
  
  .button-3::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0) 70%
    );
    transform: scale(0);
    transition: transform 0.5s ease;
  }
  
  .button-3:hover::after {
    transform: scale(4);
  }
  
  .button-3:hover {
    border-color: #666666;
    background: #292929;
  }
  
  
  
  .button-4 {
    background-color: var(--yellow);
    color: var(--drck);
    padding: 11px 29px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease-in, transform 0.3s ease;
    font-size: 18px;
    font-weight:  800;
    border: none;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
  }
  
  .button-4:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #76a6ca;
    opacity: 0;
    transition: width 0.7s ease-in-out, opacity 0.9s ease;
  }
  
  .button-4:hover {
    transform: scale(1.05);
  }
  
  .button-4:hover:before {
    width: 100%;
    opacity: 0.6;
  }
  
  .button-4:active {
    background-color: #76a6ca;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5);
    transform: scale(0.98);
  }
  
  
  .button-5 {
    position: relative;
    padding:11px;
    border: none;
    outline: none;
    color: var(--drck);
    background: var(--yellow);
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    font-weight:  800;
    font-family: 'Gruppo', sans-serif;
    transition: all .2s ease-out;
  }
  
  .button-5:before {
    position: absolute;
    content: '';
    top: -4px;
    left: -4px;
    height: calc(100% + 8px);
    width: calc(100% + 8px);
    border-radius: 6px;
    z-index: -1;
    opacity: 1;
    background: linear-gradient(90deg, hsla(141, 54%, 86%, 1) 0%, hsla(333, 73%, 85%, 1) 25%, hsla(141, 54%, 86%, 1)50%);
    background-size: 400%;
    transition: opacity 1s ease-in-out;
    animation: animate 20s linear infinite;
  }
  
  .button-5:hover {
    transform: scale(1.1);
    color: var(--yellow);
    opacity: 1;
    transition: all .3s ease-in-out;
  }
  
  .button-5:active {
    background: none;
    color: #000000;
    transform: scale(1);
    transition: all .3s ease-in-out;
  }
  
  @keyframes animate {
    0% {
      background-position: 0 0;
    }
  
    50% {
      background-position: 400% 0;
    }
  
    100% {
      background-position: 0 0;
    }
  }
  
   
   
   