/**
 * YOOtheme RB - Custom CSS
 * rb.echtagentur.net
 * 
 * Hinweis: Styling über LESS in /less/theme.rb.less
 */


body {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

html {
    background: #0F0E0E;
}


/* Pre-Headline Styling */
.ea-pre-headline {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}


/* Navbar Styling */

.uk-navbar-container .uk-container {
    background: #383D3799;
    border-radius: 10px;
    margin: 0 2rem;
    backdrop-filter: blur(60px)
}

.uk-sticky.uk-sticky-fixed {
    top: 30px!important;
}

.tm-header .uk-navbar-nav li:last-child {
  background: #DCE5DA;
  line-height: 40px!important;
  max-height: 46px!important;
  vertical-align: middle;
  margin-top: auto;
  margin-bottom: auto;
  border-radius: 45px;
  padding-left: 20px;
  padding-right: 20px;
  transition: background 0.2s ease;
}

.tm-header .uk-navbar-nav li:last-child a {
  font-size: 20px;
  text-transform: uppercase;
  min-height: 46px!important;
  color: #0F0E0E;
  font-weight: 800;
  transition: color 0.2s ease;
}

.tm-header .uk-navbar-nav li:last-child:hover {
  background: #d90909;
  animation: glitchBtn 0.25s ease;
}

.tm-header .uk-navbar-nav li:last-child:hover a {
  color: #fff !important;
  text-shadow: none !important;
  animation: none;
}

.tm-header .uk-navbar-nav a:hover {
  color: #d90909;
  animation: glitch 0.25s ease;
}

@keyframes glitch {
  0%, 100% { 
    transform: translate(0);
    text-shadow: none;
  }
  25% { 
    transform: translate(-3px, 0);
    text-shadow: 3px 0 #d90909;
  }
  50% { 
    transform: translate(3px, 0);
    text-shadow: -3px 0 #d90909;
  }
  75% { 
    transform: translate(-2px, 0);
  }
}

@keyframes glitchBtn {
  0%, 100% { transform: translate(0); }
  25% { transform: translate(-3px, 0); }
  50% { transform: translate(3px, 0); }
  75% { transform: translate(-2px, 0); }
}

@media(max-width:1400px) {
    .uk-navbar-nav>li>a {
        font-size: 25px;
    }

    .tm-header .uk-navbar-nav li:last-child a {
  font-size: 18px;
    }
}

@media(max-width:1180px) {
    .uk-navbar-nav>li>a {
        font-size: 23px;
    }

    .tm-header .uk-navbar-nav li:last-child a {
  font-size: 16px;
    }
}

@media (max-width: 1180px) {
  /* Desktop Nav verstecken */
  .tm-header {
    display: none !important;
  }
  
  /* Mobile Toggle zeigen */
  .tm-header-mobile {
    display: block !important;
  }
}

/* Mobile Dialog Styling */

#tm-dialog-mobile {
    backdrop-filter: blur(60px);
    background: #383D3799;
    top: 110px!important;
    width: calc(100vw - 60px)!important;
    left: 30px!important;
    border-radius: 10px;
    padding-top: 10px;
}

#tm-dialog-mobile a {
    color: white;
    text-transform: none;
    letter-spacing: 0px;
    font-size: 23px;
}

.uk-dropbar {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.uk-dropbar.uk-open {
  max-height: 60vh; /* Etwas mehr als dein Content braucht */
}

#tm-dialog-mobile .uk-flex.uk-flex-column > div:first-child {
    display: none;
}

#tm-dialog-mobile .uk-margin-auto-bottom {
    margin-top: auto;
}

.tm-header-mobile .uk-logo {
    width: 150px;
}

.uk-navbar-toggle-icon {
    color: white;
    width: 45px;
}

.uk-navbar-toggle-icon svg {
    width: 45px;
}

.uk-section {
    border-radius: 30px;
    margin-bottom: 10px;
}

.rb-overlay > a {
    border-radius: 10px;
}

.rb-overlay .uk-overlay-default.uk-position-cover {
    background: linear-gradient(180deg, rgba(23, 19, 19, 0) 0%, #0F0E0E 100%);
}

.rb-overlay .uk-icon {
    color: #D90909;
}

.rb-overlay .uk-icon svg {
    width: 100px;
}

.rb-overlay .uk-icon line, 
.rb-overlay .uk-icon polyline {
    stroke-width: .5!important;
}

@media (min-width: 959px) {
  .rb-overlay {
    max-height: 500px;
  }
}
  