* {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
}

.nav-tabs {
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
}

.nav-tabs .nav-link {
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    white-space: nowrap;
}

.nav-tabs .navbar {
    flex: 1 1 320px;
    padding: 0;
}

.nav-tabs .container-fluid {
    padding: 0;
}

.header-search {
    margin-left: auto;
    width: min(100%, 420px);
}

.botton {
    background-color: brown;
    color: white;
    margin-top: 0;
    min-height: 42px;
    white-space: nowrap;
}

.botton:hover {
    background-color: rgb(76, 76, 240);
    color: white;
}

.brand-header {
    background-color: rgb(49, 49, 218);
    min-height: 150px;
    padding: 16px 24px;
}

.brand-header .row {
    min-height: 118px;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.site-logo {
    width: min(150px, 45vw);
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    color: white;
}

.social-links svg {
    width: clamp(34px, 5vw, 50px);
    height: clamp(34px, 5vw, 50px);
    flex: 0 0 auto;
}

/*.header2 {
    padding: 10px 16px;
    background-color:white;
    position: sticky;
    top: 0;
    z-index: 1000;
}*/

.hero-img {
    display: block;
    width: 100%;
    height: clamp(260px, 52vw, 600px);
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991.98px) {
    .nav-tabs {
        justify-content: center;
    }

    .nav-tabs .navbar {
        order: 2;
        flex-basis: 100%;
        margin-top: 6px;
    }

    .header-search {
        margin: 0 auto;
        width: 100%;
        max-width: 520px;
    }

    .botton {
        order: 3;
    }
}

@media (max-width: 767.98px) {
    .nav-tabs {
        align-items: stretch;
        flex-direction: column;
        border-bottom: 0;
        gap: 4px;
    }

    .nav-tabs .nav-item,
    .nav-tabs .navbar,
    .botton {
        width: 100%;
    }

    .nav-tabs .nav-link {
        border: 1px solid #dee2e6;
        border-radius: 6px;
        text-align: center;
    }

    .botton {
        margin-top: 6px;
    }

    .brand-header {
        padding: 18px 12px;
        text-align: center;
    }

    .brand-logo,
    .social-links {
        justify-content: center;
    }

    .social-links {
        margin-top: 12px;
    }
}

@media (max-width: 420px) {
    .header-search {
        flex-wrap: nowrap;
    }

    .header-search .form-control {
        min-width: 0;
    }

    .hero-img {
        height: 240px;
    }
}


 .header2 {
      padding: 10px 16px;
      background-color: white;
      position: sticky;
      top: 0;
      z-index: 1000;
      transition: background-color 0.3s ease;
      



  }

  .header2.pegado {
      background-color: orange;
  }


 .header2 a {
     border-bottom: none;
     color: black;
}

  