html {
    scroll-behavior: smooth;
  }
  
  body {
      font-family: 'Lato', sans-serif;
      margin: 0;
      padding: 20px;
      background-color: #dbdbdb;
      background-image: linear-gradient(to bottom, rgba(211, 211, 211, 0.65), rgba(255, 255, 255, 0.831)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
      position: center;
      background-size: 182px;
      line-height: 25px;
      animation-name: fadein;
      animation-duration: 1s;
      animation-iteration-count: 1;
      animation-fill-mode: forwards;
  }

  @keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }

  }
  
  .container {
      max-width: 1200px;
      margin: 0 auto;
      background-color: white;
      background
      padding: 10px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 55px;
      padding-left: 20px;
      padding-right: 20px;
  }
  
  .logo {
      height: 80px;
      width: auto;
  }
  
  .btn {
      font-family: 'Lato', sans-serif;
      background-color: #131517;
      color: #fff;
      border: none;
      padding: 0;
      border-radius: 12px;
      cursor: pointer;
      font-weight: 700;
      font-size: 14px;
      box-shadow: rgba(0, 0, 0, 0.34) 0px 2px 2px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      height: 45px;
      width: 170px;
      text-align: center;
      align-items: center;
      line-height: 44px;
  }
  
  .btn:hover {
      transform: scale(1.05);
  }
  
  .btn:active {
      transform: scale(0.95);
  }
  
  .download-link {
      text-decoration: none;
  }
  
  .intro-text { 
      padding-left: 35px;
      padding-right: 35px;
      margin-bottom: 70px;
      font-weight: 400;
      text-align: center;

  }
  
  .highlight {

      padding: 2px 5px;
      font-weight: 600;
  }

  #guide.highlight {
    background-color: white;
    color: #131517;
    font-weight: 900;
  }
  
  .input-row {
      display: flex;
      justify-content: space-between;
      gap: 60px;
      margin-bottom: 25px;
  }
  
  .input-row .input-group {
      flex: 1;
      margin-bottom: 0;

  }
  
  .input-row .input-wrapper {
      display: flex;
      height: 45px;
  }
  
  .input-group {
      margin-bottom: 25px;
      
  }
  
  .input-group label {
      display: block;
      margin-bottom: -10px;
      font-weight: 300;
      font-size: 16px;
      
  }
  
  .input-wrapper {
      display: flex;
      border-radius: 17px;
      overflow: hidden;
      border: 2px solid #131517;
      transition: border-color 0.3s ease;
      align-items: stretch;
      box-shadow: rgba(0, 0, 0, 0.34) 0px 2px 2px;
      position: relative;
      
      
  }
  
  .input-field, .textarea-field {
      flex-grow: 1;
      padding: 10px;
      border: none;
      border-radius: 12px 0 0 12px;
      font-family: 'Lato', sans-serif;
      font-weight: 400;
      height: 28px;
      outline: none;
      height: 100%;

  }
  
  .input-field {
      height: 28px;
  }
  
  .textarea-field {
      resize: none;
      overflow-y: auto;
  }
  
  input[type="number"] {
      -moz-appearance: textfield;
  }
  
  input[type="number"]::-webkit-outer-spin-button,
  input[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
  }
  
  #last-mouth-duration {
      width: 90px;
      height: 43px;
      font-size: 16px;
      text-align: center;
      padding: 0 5px;
      border: none;
      outline: none;
  }
  
  #last-mouth-duration-wrapper {
      width: auto;
      display: inline-flex;
  }
  
  .paste-btn {
    font-family: 'Lato', sans-serif;
    background-color: #131517;
    color: #ffffff;
    border: none;
    padding: 0px 30px;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.34) 0px 2px 2px;
    margin-left: 5px;
    margin-right: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    line-height: 1;
    font-size: 14px;
    height: 33px;
    width: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    font-weight: 600;    
    letter-spacing: 0.02em;
    margin-top: 5.5px;
  }

  #visemes-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;

}
  
  .paste-btn:hover {
      transform: scale(1.05);
  }
  
  .paste-btn:active {
      transform: scale(0.95);
  }
  
  .input-wrapper.error {
      border-color: #d65959;
      border-width: 2px;
  }
  
  .input-wrapper.success {
      border-color: #6bd151;
      border-width: 2px;
  }
  
  #done-btn {
      display: block;
      margin: 20px auto;
      margin-left: 0px;
      margin-top: 50px;
      transition: all 0.3s ease;
      width: 170px;
      height: 47px;
      border-radius: 16px;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.5px;
      box-shadow: rgba(0, 0, 0, 0.34) 0px 2px 2px;
  }
  
  #done-btn.success {
      background: linear-gradient(to right, #70d059, #3da870);

  }


  
  #done-btn.switchBack {
      background-color: #131517;
      animation-name: BackToBlack;
      animation-duration: 0.8s;
  }
  
  @keyframes BackToBlack {
      from {background: linear-gradient(to right, #70d059, #3da870);}
      to {background-color: #131517;}
  }
  
  .video-section {
      margin-top: 100px;
      text-align: center;
      font-weight: 900;
      font-size: 28px;
  }
  
  .video-section h2 {
      font-weight: 700;
      margin-bottom: -20px;;
  }
  
  .video-container {
      position: relative;
      padding-bottom: 56.25%;
  }
  
  .video-container iframe {
      position: absolute;
      width: 80%;
      height: 80%;
      border-radius: 14px;
      filter: drop-shadow(0px 3px 2px #999999);
      top: 0; right: 0;
      bottom: 0; left: 0;
      margin: auto;
  }
  
  .logos {
      display: flex;
      justify-content: space-around;
      align-items: center;
      margin-top: 40px;
  }
  
  .logo-img {
      height: 30px;
  }
  
  .chryfi-logo {
      width: 110px;
      height: auto;
  }
  
  .bb-logo {
      width: 120px;
      height: auto;
  }
  
  .footer {
      text-align: center;
      margin-top: 20px;
      font-size: 0.8em;
      font-weight: 400;
      text-decoration: none;
  }
  
  .impressum, .datenschutz, .donation {
      text-decoration: none;
      color: #131517;
      
  }
  
  span {
      background: #131517;
      color: #fff;
      padding: 7px 10px;
      border-radius: 5px;
      margin: 0 2px;
      -webkit-box-decoration-break: clone;
      -moz-background-inline-policy: clone;
      box-decoration-break: clone;
  }
  
  .error-message {
      color: #d65959;
      font-size: 12px;
      margin-bottom: 5px;
      font-weight: 600;
      height: 15px;
  }
  
  .button-group {
      font-family: 'Lato', sans-serif;
      float: right;
      padding-top: 20px;
  }
  
  .button-group a.presets {
      color: #ffffff;
      background-color: #131517;
      display: block;
      margin: 20px auto;
      margin-left: 0px;
      margin-top: 0px;
      transition: all 0.3s ease;
      width: 170px;
      height: 47px;
      border-radius: 16px;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.5px;
      box-shadow: rgba(0, 0, 0, 0.34) 0px 2px 2px;
      text-decoration: none;
      float: right;
      line-height: 47px;
      text-align: center;
  }
  
  .button-group a.help-btn {
      font-family: 'Lato', sans-serif;
      text-decoration: none;
      color: #131517;
      padding: 10px 0px;
      display: inline-block;
      transition: all 0.3s ease;
      font-weight: 300;
  }
  
  .seperator {
      color: rgb(202, 202, 202);
      background-color: #ffffff;
      padding: 10px 10px;
  }
  
  .presets:hover, .help-btn:hover {
      transform: scale(1.05);
  }
  
  .presets:active, .help-btn:active {
      transform: scale(0.95);
  }
  
  #prefs-popup {
      position: fixed;
      bottom: 20px;
      left: 20px;
      background-color: white;
      background-image: linear-gradient(to bottom, rgba(184, 184, 184, 0.674), rgba(255, 255, 255, 0.715)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      z-index: 10000;
      max-width: 300px;
  }
  
  #prefs-popup p {
      margin: 0 0 15px 0;
      font-size: 14px;
  }
  
  #prefs-popup button {
      background-color: #131517;
      color: #fff;
      border: none;
      padding: 10px 20px;
      margin-right: 10px;
      border-radius: 5px;
      cursor: pointer;
      font-weight: 700;
      font-size: 14px;
      transition: background-color 0.3s ease;
  }
  
  #prefs-popup button:hover {
      background-color: #333;
  }
  
  #decline-prefs {
      background-color: #888 !important;
  }
  
  #decline-prefs:hover {
      background-color: #666 !important;
  }
  
  .prefs-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 9999;
 
  }
  
  .guide-section {
    margin-top: 60px;
    margin-bottom: 100px;
    background-color: #131517;
    padding-top: 20px;
    padding-left: 40px;
    padding-right: 5px;
    border-radius: 27px;
    padding-bottom: 20px;
    background-image: linear-gradient(to bottom, rgba(19, 21, 23, 0.883), rgba(19, 21, 23, 0.883)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
    position: center;
    background-size: 182px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin-left: 10px;
    margin-right: 10px;
}


.guide-item {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    margin-left: -43px;
    margin-top: -5.5px;
}

.guide-item.reverse {
    flex-direction: row-reverse;
    text-align: right;
}

.guide-image {
    width: 350px;
    height: 250px;
    background-color: #ddd;
    margin-right: 25px;
    flex-shrink: 0;
    margin-left: 18px;
    border-radius: 17px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 122%;
    transition:transform 0.5s ease;
    box-shadow: rgba(0, 0, 0, 0.34) 0px 2px 2px;
}

.guide-image:hover {
    -webkit-transform:scale(1.05);
    box-shadow: 0 10px 10px rgba(0,0,0,0.2);

}

#image01.guide-image {
    background-image: url(../assets/images/01.avif);
    background-size: 450px;
    background-position-x: left;
}

#image02.guide-image {
    background-image: url(../assets/images/02.avif);
    background-size: 450px;
    background-position-x: left;
}

#image03.guide-image {
    background-image: url(../assets/images/03.avif);
    background-size: 450px;
    background-position-x: left;
}

#image04.guide-image {
    background-image: url(../assets/images/04.avif);
    background-size: 450px;
    background-position-x: left;
}

.guide-item.reverse .guide-image {
    margin-right: 10px;
    margin-left: 20px;
    
}

.guide-image.reverse {
    float: right;
}

.guide-content {
    flex-grow: 1;
    font-weight: 300;
    color: #ffffff;
    padding-left: 40px;
    padding-right: 40px;
    
}

.guide-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.guide-content p {
    font-size: 16px;
    line-height: 1.5;
    
}

@media (max-width: 768px) {
    .guide-item, .guide-item.reverse {
        flex-direction: column;
    }

    .guide-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .guide-item.reverse .guide-image {
        margin-left: 0;
    }
}

.help-section {
    margin-top: 100px;
}

.help-title {
    text-align: center;
    font-weight: 900;
    font-size: 30px;
    margin-bottom: 110px;
}

.reference-image {
    text-decoration: underline;
    color: white;

}

#lectorLipsForm {
    padding-left: 35px;
    padding-right: 35px;
    margin-top: 100px;
    margin-bottom: 100px;
}

.centered-container {
    align-items: center;
    text-align: center;
    margin-bottom: 62px;
    margin-top: -70px;
    transform: rotate(90deg);
    margin-left: 10px;
}

.link {
	color: $link-blue;
    cursor: pointer;
    font-weight: 400;
	text-decoration: none;
}

.link--arrowed {
	display: inline-block;
    height: 2rem;
    line-height: 2rem;
	
	.arrow-icon {
		position: relative;
		top: -1px;
		-webkit-transition: -webkit-transform 0.5s ease;
		transition: -webkit-transform 0.5s ease;
		transition: transform 0.5s ease;
		transition: transform 0.5s ease, -webkit-transform 0.5s ease;
		vertical-align: middle;
    
	}
	
	&:hover {
		.arrow-icon {
			transform: translate3d(7px, 0, 0);
		}
	}
}

.tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #131517;
    font-size: 14px;
    font-weight: 900;
    margin-left: 10px;
    cursor: help;
    border-radius: 1000px;

    
}

:root {
    --cooltipz-border-width: 50;
}



  

