@import '../global.css';

.cont_header{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 90px;
    position: absolute;
    z-index: 99;
    background-color: var(--bg-primario);
  }
  
  .header_items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1400px;
    max-width: 1400px;
    height: inherit;
  }
  
  .header_items span {
    color: var(--texto-primario);
    font-size: 2rem;
    font-family: var(--font-principal);
  }
  
  .lista { 
    display: flex;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }

  .logo a {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  
  .logo img {
    width: 70px;
  }
  
  
  .lista li a{
      color: var(--grey);
      font-weight: 600;
      font-size: 1rem;
      padding: 0 1rem 0 1rem;
      font-family: var(--font-secundaria); 
      position: relative;
      transition: all ease .4s;
  }
  
  .lista li a:hover {
    color: var(--texto-primario);
  }
  
  .lista li a::after{
    content: '';
    width: 0%;
    height: 2px;
    left: 50%;
    right: 50%;
    background-color: var(--cor-primaria);
    position: absolute;
    bottom: -10px;
    transition: all ease .4s;
  }
  
  .lista li a:hover::after{
    width: 100%;
    left: 0%;
    right: 0%;
    
  }
  
  .lista li a.active {
    color: var(--cor-primaria);
    background-color: rgba(255, 128, 128, .17);
    padding: .4rem .6rem;
    border-left: 4px solid var(--cor-primaria);
    font-weight: 400;
    box-shadow: 0px 0px 10px rgba(255, 128, 128, 0.2); 
    z-index: -1;
    
  }
  
  .acesso {
    display: flex;
    align-items: center;
    flex-direction: row;
  }
  
  .btn-entrar {
    background-color: transparent;
    border: 1px solid var(--cor-primaria);
    font-family: var(--font-secundaria);
    color: var(--cor-primaria);
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px;
    border-radius: 3px;
    margin-left: 20px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0px 0px 15px rgba(255, 128, 128, 0.3);
    transition: all ease .4s;
    z-index: 1;
  }
  
  .btn-entrar:hover {
    background-color: var(--cor-primaria);
    color: var(--texto-primario);
  }
  
  .btn-criar {
    font-family: var(--font-secundaria);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--grey);
    transition: all ease .2s;
  }
  
  .btn-criar i {
    margin-right: 3px;
    color: var(--cor-primaria);
  }
  
  .btn-criar:hover {
    color: var(--texto-primario);
  }

  .btn_mobile {
    display: none;
    padding: 7px;
    border: none;
    background-color: var(--bg-secundario);
    border-radius: 3px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
  }

  .menu_mobile {
    display: none;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    background-color: var(--bg-secundario);
    padding: 8px;
    width: 90%;
    bottom: 0;
    margin: 25px 0;
    border-radius: 8px;
    z-index: 99;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  }

 .menu_mobile a {
    height: 30px;
    width: 35px;
 }

  .mobile_home, .mobile_salvo, .mobile_pesq, .mobile_user {
    border-radius: 5px;
    height: 30px;
    width: 35px;
    margin: 0;
    padding: 0;
    background: transparent;
  }

 
  .iconHome {
    background-image: url(../../img/iconHome.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 45%;
    width: 100%;
    height: 100%;
  }


  .iconPesq{
    background-image: url(../../img/searchIcon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 45%;
    width: 100%;
    height: 100%;
  }

  .iconSalvo {
    background-image: url(../../img/iconSalvo.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 45%;
    width: 100%;
    height: 100%;
  }

  .iconUser {
    background-image: url(../../img/iconUser.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 55%;
    width: 100%;
    height: 100%;
  }

  .iconSalvoAtivo {
    background-image: url(../../img/salvoAtivo.svg);
  }

  .iconPesqAtivo {
    background-image: url(../../img/searchAtivo.svg);
  }

  .iconHomeAtivo {
    background-image: url(../../img/iconHomeAtivo.svg);
  }
  
  .iconUserAtivo {
    background-image: url(../../img/iconUserAtivo.svg);
  }

  .backgroundIconAtivo {
    background: linear-gradient(7.43deg, #FF3370 -11.25%, #FF8080 157.79%);
  }



/* --- Responsive header --- */

/* Extra small devices (portrait phones, less than 576px)*/
@media screen and (max-width: 575.98px) {
      .cont_header {
        width: 100%;
    }

    .header_items {
        width: 90%;
        margin: 0 20px;
        max-width: 90%px;
    }

    .acesso {
        display: none;
    }

    .btn_mobile {
        display: block;
        background-image: url(../../img/Group\ 22.png);
        background-repeat: no-repeat;
        background-position: center;
        width: 30px;
        height: 30px;
    }

    .btn_mobileActive {
        background-image: url(../../img/btn_mobileIconAtivo.png);
        background-repeat: no-repeat;
        background-position: center;
    }

    .lista {
        flex-direction: column;
        justify-content: center;
        text-align: left;
        position: fixed;
        top: 90px;
        right: -100%;
        margin: 0 20px;
        height: 250px;
        background-color: var(--bg-secundario);
        border-radius: 5px;
        transition: all ease .4s;
    }

    .lista li  {
        font-size: 1rem;
        padding: .8rem 1rem;
    }

    .lista li a{
        color: var(--cor-primaria);
        font-weight: 400;
    }

    .lista li a.active {
        color: var(--bg-secundario);
        background-color: var(--cor-primaria);
        border-left: none;
        border-radius: 5px;
        padding: .4rem 4rem;
        z-index: 1;
        text-align: left;
    }

    .lista.menuActive {
        right: 0;
    }

    .logo img {
        width: 40px;
    }

    .btn-entrar {
        font-size: 10px;
        width: 85%;
    }

    .btn-criar {
        font-size: 10px;
    }

    .menu_mobile {
        display: flex;
    }

}

/* Small devices (tablet, 576px and up) */
@media screen and (min-width: 576px) and (max-width: 767.98px) {
      .cont_header {
        width: 100%;
    }

    .header_items {
        width: 90%;
        margin: 0 20px;
        max-width: 90%px;
    }

    .acesso {
        display: none;
    }

    .btn_mobile {
        display: block;
        background-image: url(../../img/Group\ 22.png);
        background-repeat: no-repeat;
        background-position: center;
        width: 30px;
        height: 30px;
    }

    .btn_mobileActive {
        background-image: url(../../img/btn_mobileIconAtivo.png);
        background-repeat: no-repeat;
        background-position: center;
    }

    .lista {
        flex-direction: column;
        justify-content: center;
        text-align: left;
        position: fixed;
        top: 90px;
        right: -100%;
        margin: 0 20px;
        height: 250px;
        background-color: var(--bg-secundario);
        border-radius: 5px;
        transition: all ease .4s;
    }

    .lista li  {
        font-size: 1rem;
        padding: .8rem 1rem;
    }

    .lista li a{
        color: var(--cor-primaria);
        font-weight: 400;
    }

    .lista li a.active {
        color: var(--bg-secundario);
        background-color: var(--cor-primaria);
        border-left: none;
        border-radius: 5px;
        padding: .4rem 4rem;
        z-index: 1;
        text-align: left;
    }

    .lista.menuActive {
        right: 0;
    }


    .logo img {
        width: 40px;
    }


    .btn-entrar {
        font-size: 10px;
        width: 85%;
    }

    .btn-criar {
        font-size: 10px;
    }
}

/* Small devices (tablet modo paisagem) */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
    .header_items {
      width: 768px;
      margin: 0 20px;
      max-width: 768px;
    }

    .acesso {
        display: none;
    }


    .btn_mobile {
        display: block;
        background-image: url(../../img/Group\ 22.png);
        background-repeat: no-repeat;
        background-position: center;
        width: 30px;
        height: 30px;
    }

    .btn_mobileActive {
        background-image: url(../../img/btn_mobileIconAtivo.png);
        background-repeat: no-repeat;
        background-position: center;
    }

    .lista {
        flex-direction: column;
        justify-content: center;
        text-align: left;
        position: fixed;
        top: 90px;
        right: -100%;
        margin: 0 20px;
        height: 250px;
        background-color: var(--bg-secundario);
        border-radius: 5px;
        transition: all ease .4s;
    }

    .lista li  {
        font-size: 1rem;
        padding: .8rem 1rem;
    }

    .lista li a{
        color: var(--cor-primaria);
        font-weight: 400;
    }

    .lista li a.active {
        color: var(--bg-secundario);
        background-color: var(--cor-primaria);
        border-left: none;
        border-radius: 5px;
        padding: .4rem 4rem;
        z-index: 1;
        text-align: left;
    }

    .lista.menuActive {
        right: 0;
    }


    .logo img {
        width: 40px;
    }



    .btn-entrar {
        font-size: 10px;
        width: 85%;
    }

    .btn-criar {
        font-size: 10px;
    }
}

/* Large devices (desktops, 992px and up)*/
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
  .header_items {
    width: 992px;
    margin: 0 20px;
    max-width: 992px;
  }

  .logo img {
      width: 40px;
  }

  .lista li a {
      font-size: .7rem;
  }

  .btn-entrar {
      font-size: 10px;
      width: 85%;
  }

  .btn-criar {
      font-size: 10px;
  }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media screen and (min-width: 1200px) and (max-width: 1399px) {
  .header_items {
    width: 1200px;
    margin: 0 40px;
    max-width: 1200px;
  }

  .logo img {
      width: 60px;
  }

  .lista li a {
      font-size: .9rem;
  }

  .btn-entrar {
      font-size: 11px;
      width: 90%;
  }

  .btn-criar {
      font-size: 11px;
  }
}