/* Base */
body {
  font-kerning: normal;
  font-feature-settings: "kern" 1, "pnum" 1;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus input:-webkit-autofill,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: white;
  -webkit-box-shadow: none;
  transition: background-color 5000s ease-in-out 0s;
}


/* Cursor Follower */
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  opacity: 0;
  z-index: 10000;
  user-select: none;
	pointer-events:none;
}


/* Scribbles */
[data-scribble] {

}
[data-scribble]::after {
  content: attr(data-scribble);
  position: absolute;
  font-size: calc(100%/4);
  font-family: Biroscript;
  color: #131211;
  line-height: 1.4;
  display: inline-flex;
  transform: rotate(-5deg) translateY(2rem);
  max-width: calc(100%/4);
  transition: all 0.3s ease;
}
@media screen and (max-width: 640px) {
  [data-scribble] {
    position:relative; 
  }
  [data-scribble]::after {
    max-width: 290px;
    left: 0;
    font-size: 1.2rem;
    bottom: 1.8rem;
    line-height: 1.2;
  }
}
[data-component="meta"] {
  transform: rotate(-3deg) translateX(-2rem);
}
@media screen and (max-width: 640px) {
  [data-component="meta"] {
    transform: rotate(-3deg) translateX(0);
    font-size:1rem;
  }
}


.bottombrush {
  position: relative;
  display: inline-block;
}
.bottombrush::after {
  content: "";
  background: url(/wp-content/themes/mindmittens/img/bottombrush.svg) no-repeat center bottom;
  position: absolute;
  width: 100%;
  z-index: 1;
  height: auto;
  inset: 0 0 -0.5rem 0;
  display: flex;
}

/* Quoteslider */

.quoteslider .el-item .el-title {
  order: 3;
  margin-top: 1rem !important;
}
.quoteslider .el-item .el-meta {
  order: 4;
}
@media screen and (max-width: 640px) {
  .quoteslider .el-content {
    font-size:1rem;
  }
}

/* Typography */
@media screen and (max-width: 640px) {
  .uk-text-lead,
  .uk-text-large {
    font-size: 1.2rem;
  }
  h1,h2,h3,h4,h5,h6 {
    hyphens: auto;
    hyphenate-limit-chars: auto 5;
    hyphenate-limit-lines: 2;
    overflow-wrap: break-word;
  } 
}

/* Navigation */
@media screen and (max-width: 960px) {
  .uk-nav-default > li > a {
  font-size: 2rem;
}
.uk-nav-default .uk-nav-sub li > a { 
  font-size: 1.5rem;
}
}
@media screen and (max-width: 640px) {
.uk-nav-default > li > a {
  font-size: 1.5rem;
}
.uk-nav-default .uk-nav-sub li > a { 
  font-size: 1rem;
}
.uk-nav-default .uk-nav-parent-icon svg {
  height: 1.5rem;
  width: 1.5rem;
}
}

/* Form */
.hidden-fields-container {
  display: none
}
.dna__form .wpcf7-text,
.dna__form .wpcf7-textarea {

  padding: 1rem;
  height: auto;
}
.dna__form .wpcf7-select {

  padding: 1rem;
  height: auto !important;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNyA3TDE3IDE3TTE3IDE3VjdNMTcgMTdINyIgc3Ryb2tlPSIjNDA0MDQwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPgo=")!important;
  background-size: 1.5rem;
  background-position: right 1rem center!important;

}

.dna__form .wpcf7-form-control-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}
.dna__form .wpcf7-not-valid-tip {
  font-size: 1rem;
  position: absolute;
  color: #ff073a;
  right: 1rem;
}
.dna__form .wpcf7-textarea + .wpcf7-not-valid-tip {
  top:1.25rem;
  right: 1rem;
}



.dna__form .wpcf7-form-control.wpcf7-text:focus,
.dna__form .wpcf7-form-control.wpcf7-text:active,
.dna__form .wpcf7-form-control.wpcf7-select:focus {
  box-shadow: none;
}
.dna__form .wpcf7-form-control.uk-textarea {
  height: 15rem;
  min-width: 100%;
}
.dna__form .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item label input {
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  background-repeat: no-repeat;
  display: flex;
  background-size: 1.2rem;
  background-position: center center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0 1rem 0 0;
  background-color: transparent;
}
.dna__form
  .wpcf7-form-control.wpcf7-acceptance
  .wpcf7-list-item
  label
  input:checked {
  background-color: white;
}
.dna__form .wpcf7-spinner {
  display: none;
}
.dna__form input,
.dna__form textarea {
  caret-color: #ff073a;
}
.wpcf7 form.invalid .wpcf7-response-output {
  border: none;
  background: white;
  margin: 2rem 0px;
  box-sizing: border-box;
  padding: 2rem;
  font-size: 1.4rem;
}
.wpcf7 form.sent .wpcf7-response-output {
  box-sizing: border-box;
  padding: 2rem;
  text-align: center;
  font-size: 2rem;
}
.wpcf7 form.sent .wpcf7-response-output::before {
  display: flex;
  justify-content: center;
  font-size: 6rem;
}
.wpcf7 .screen-reader-response {
  display: none;
}
.dna__form .uk-form-icon {
  width: auto;
  bottom: 3px;
  left:1rem;
  height: 100%;
  color:#ff073a;
}
.dna__form .attachment {
  position: absolute;
  bottom: 2rem;
  right: 0;
  display: flex;
}
.dna__form .attachment .wpcf7-form-control-wrap {
  display: none;
}
.dna__form .attachment label {
  background: rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  border-radius: 100rem;
  font-size: 80%;
  cursor: pointer;
  transition: 0.2s ease all;
}
.dna__form .attachment label .uk-icon {
  margin-left: 0.5rem;
}
.dna__form .attachment label.success {
  background: #ff073a;
  color: white;
  padding: 0.5rem;
  font-size: 0;
}
.dna__form .attachment label.success .uk-icon {
  margin: 0;
}

@media screen and (max-width: 640px) {
  .dna__form .wpcf7-text,
  .dna__form .wpcf7-textarea,
  .dna__form .wpcf7-select {
    font-size: 1rem;
  }
  #kontakt .uk-tile {
    padding: 0;
    background: none;
  }
}