@media (max-width: 1100px) {
  #wrapper.pretalx-com nav.navbar {
    flex-wrap: nowrap;
    ul.nav-part {
      position: relative;
    }
    .navbar-right li {
      padding-top: 0.5rem;
    }
  }
}

@media (max-width: 800px) {
  #wrapper.pretalx-com nav.navbar {
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    height: auto;
    min-height: 60px;

    .navbar-brand {
      display: flex !important;
      position: static;
      align-items: center;
      height: 60px;
      margin-left: 16px;
      img {
        height: 36px;
      }
    }

    .nav-toggle {
      display: block;
      position: absolute;
      top: 20px;
      right: 20px;
      width: 26px;
      height: 20px;
      margin: 0;
      opacity: 0;
      cursor: pointer;
      z-index: 2;
    }
    .nav-toggle:focus-visible + .nav-toggle-label .nav-toggle-bars {
      outline: 2px solid #ffffff;
      outline-offset: 6px;
    }
    .nav-toggle-label {
      display: flex;
      align-items: center;
      height: 60px;
      padding: 0 20px;
      margin-left: auto;
      cursor: pointer;
    }
    .nav-toggle-bars {
      display: block;
      position: relative;
      width: 26px;
      height: 3px;
      border-radius: 2px;
      background: #ffffff;
      &:before,
      &:after {
        content: " ";
        position: absolute;
        left: 0;
        width: 26px;
        height: 3px;
        border-radius: 2px;
        background: #ffffff;
      }
      &:before {
        top: -8px;
      }
      &:after {
        top: 8px;
      }
    }
    .nav-toggle:checked + .nav-toggle-label .nav-toggle-bars {
      background: transparent;
      &:before {
        top: 0;
        transform: rotate(45deg);
      }
      &:after {
        top: 0;
        transform: rotate(-45deg);
      }
    }

    ul.nav-part {
      position: static;
      display: none;
      height: auto;
      width: 100%;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      .nav-item {
        margin: 0;
      }
      .nav-item .nav-link {
        padding: 12px 24px;
        justify-content: flex-start;
        &.active:after {
          left: 24px;
          bottom: 4px;
          width: calc(100% - 48px);
        }
      }
    }
    .navbar-right {
      align-self: stretch;
      margin-left: 0;
      padding-right: 0 !important;
      li {
        padding-top: 0;
      }
      .locales {
        display: flex;
        flex-direction: column;
      }
    }
    &:has(.nav-toggle:checked) {
      padding-bottom: 12px;
      ul.nav-part {
        display: flex;
      }
    }
  }
  .header-image#main {
    background-position: 45% 50%;
    height: 550px;
    .tagline {
      font-size: 48px !important;
      bottom: 50px;
    }
  }
  #header-logo {
    margin-top: 80px;
    width: 120px !important;
    &.stuck {
      z-index: 100;
    }
  }
  #block-features,
  #block-buttons {
    max-width: 100%;
    overflow: scroll;
  }
  #block-conferences {
    .controls {
      display: none;
    }
  }
  #block-advantages > * {
    width: 80%;
  }
  #block-call {
    height: auto;
    padding: 5%;
    flex-direction: column;
    & > div:first-child,
    div:last-child {
      width: 100%;
    }
  }
  #block-testimonials {
    height: auto;
    h2 {
      padding: 8%;
      margin-top: 20px;
    }
    #bird {
      left: auto;
      width: 100px;
      top: 50px;
      right: 20px;
    }
    #quotemark {
      display: none;
    }
    #quote-container {
      width: 100%;
      margin: 0;
      padding: 0;
      li.quote {
        padding: 20px;
        & > * {
          width: auto;
        }
      }
    }
    #quote-navigator {
      position: relative;
      margin: 20px auto;
      margin-top: 50px;
      margin-bottom: -10px;
      left: auto;
      display: flex;
      img {
        margin: 0;
        &:first-child {
          display: none;
        }
      }
    }
  }
  #block-subscribe h4 {
    text-align: center;
    padding: 8%;
  }
  #block-subscribe form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    input,
    .btn {
      margin-bottom: 20px;
      width: auto;
    }
  }
  #block-contact .contact {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  footer {
    flex-wrap: wrap;
    justify-content: space-between;
    .footer-block {
      padding: 20px;
    }
  }
  #feature-testimonials #quote-navigator {
    display: none;
  }

  #block-features-large li .feature-image {
    display: none;
  }
  #block-features-large {
    #features-arrows {
      display: none;
    }
    #features-bullets {
      position: relative;
      margin-left: auto;
      margin-right: auto;
      width: auto;
      bottom: 0;
      left: 0;
      justify-content: space-around;
    }
    #quote-container {
      padding: 20px 30px;
      li.quote {
        display: flex;
        flex-direction: column;
        height: auto;
        justify-content: flex-start !important;
        .feature-text {
          width: 90%;
          margin: 0;
          display: flex;
          flex-direction: column;
        }
        .feature-image {
          display: none !important;
        }
      }
    }
  }
  #pretalx-content > #pricing {
    margin: 20px;
  }
  .header-image#blog {
    background-position: 70%;
    height: 500px;
    .subtitle {
      width: auto;
    }
  }
  #pretalx-content + #blog {
    .blog-post {
      flex-direction: column-reverse;
      width: 100%;
      margin: 0;
      & > div {
        width: 100%;
      }
    }
  }
  #pretalx-content #blogpost {
    padding: 20px;
  }
}
