@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400&display=swap');


 /* alerta personalizado */
 .alerta {
    margin-top: 20px;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    background-color: rgb(165, 0, 0);
    color: rgb(255, 255, 255);
    font-family: 'Roboto', sans-serif;
    padding: 10px;
    border-radius: 5px;
    animation: animacao-alerta-abrir 1s ease-in-out forwards;
    width: 300px;
    z-index: 9999; /* Definir o z-index para um valor alto */
  }
  
  label{
    margin-left: 10px;
    font-size: 15px;
  }

  .texto-alerta {
    font-size: 13px;
    font-weight: bold;
  }
  
    .botao-fechar  {
      position: absolute;
      top: 0;
      right: 0;
      background-color: #fff;
      color: rgb(165, 0, 0);
      border: none;
      margin-top: 5px;
      margin-right: 5px;
       padding: 5px 5px;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
  
    /* Estilo do botão quando o mouse passa por cima */
    .botao-fechar:hover {
      background-color: rgb(165, 0, 0);
      color: #fff;
      font-size: 18px;
      transform: scale(1.1);
    }
  
  .fechar-alerta {
    animation: animacao-alerta-fechar 0.5s ease-in-out forwards;
  }


  @keyframes animacao-alerta-abrir {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  }
  
  @keyframes animacao-alerta-fechar {
    0% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
    100% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.5);
    }
  }



body {
    background-color: #3B94AF;
    padding: 0px;
    margin: 0px;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}


header {
    padding: 20px;
    background: linear-gradient(-180deg, #1A2E6A, #3B94AF);
    text-align: center;
}

.logo {
    height: 50px
}

.logo img {
    width: 150px;
}

section {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rodaPe {
    display: flex;
    justify-content: center;
}


/* Estilo para o conteúdo do modal */
.modal-content {
    background-color: #fefefe;
    padding: 50px;
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    max-width: 300px;
    height: 300px;
    text-align: center;
    border: none;
    color: #808080;
}

.modal-content h1 {
    font-size: 18px;
}

.modal-content p {
    font-size: 14px;
    margin-bottom: 70px;
    color: #808080;
}

.busca {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

/* css do input do cnpj */
.form-control {
    position: relative;
    margin: 20px 0;
    width: 300px;
}

.form-control input {

    z-index: 1;
    border: 0;
    border-bottom: 2px solid #333;
    padding: 15px 0;
    font-size: 15px;
    font-family: 'Muli', sans-serif;
    width: 150px;
    transition: 0.1s ease-in;
}

.form-control input:focus,
.form-control input:valid {
    border-bottom-color: rgb(1, 28, 105);
    outline: none;
}


.form-control input:focus+label span,
.form-control input:valid+label span {
    color: rgb(1, 28, 105);
    transform: translateY(-30px);
}

.form-control input.shake {
    border-color: red;
    color: red;
    animation: shake 0.2s 2;
}

@keyframes shake {
    25% {
        transform: translate(6px, 0);
    }

    50% {
        transform: translate(-6px, 0);
    }

    75% {
        transform: translate(6px, 0);
    }
}

.form-control label {
    position: absolute;
    top: 15px;
    left: 0;
}

.form-control label span {
    display: inline-block;
    font-size: 13px;
    min-width: 5px;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}



.BuscaBoletoBotao {
    color: #808080;
    border: none;
    padding: 0.5em 1.5em;
    font-size: 18px;
    border-radius: 0.5em;
    margin-top: 10px;
    background: #f1f1f1;
    transition: all .3s;
    height: 50px;
    box-shadow: 4px 4px 10px #c5c5c5, -4px -4px 10px #fff;
}

.BuscaBoletoBotao:hover {
    box-shadow: -4px -4px 10px #c5c5c5, 4px 4px 10px #fff;
    color: rgb(1, 28, 105);
}



footer {
    height: 50px;
    background: linear-gradient(0deg, #01011B, #3B94AF);
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
}


/* responsividede */
@media screen and (max-width: 800px) {
    header {
        padding: 20px;
        background: linear-gradient(-180deg, #1A2E6A, #3B94AF);
        text-align: center;
    }

    header img{
        width: 150px;
    }

    /* Estilo para o conteúdo do modal */
    .modal-content {
        margin: auto;
        padding: 50px;
        border: 1px solid #d0d0d0;
        border-radius: 20px;
        max-width: 200px;
        max-height: 200px;
        text-align: center;
        border: none;
        color: #808080;
        margin-bottom: 3000px;  
      }

    .modal-content h1 {
        font-size: 13px;
    }
    
    .form-modal img{
        width: 60px;
    }
    .modal-content p {
        font-size: 13px;
        margin-bottom: 20px;
        color: #808080;
    }

    .busca {
        display: flex;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }

    /* css do input do cnpj */
    .form-control {
        position: relative;
        margin: 20px 0; 
        width: 200px;
    }

    .form-control input {
        border: 0;
        border-bottom: 2px solid #333;
        padding: 15px 0;
        font-size: 14px;
        font-family: 'Muli', sans-serif;
        width: 130px;
        transition: 0.1s ease-in;

    }
    
    .form-control input:focus,
    .form-control input:valid {
        border-bottom-color: rgb(1, 28, 105);
        outline: none;
    }
    
    
    .form-control input:focus+label span,
    .form-control input:valid+label span {
        color: rgb(1, 28, 105);
        transform: translateY(-30px);
    }
    
    .form-control input.shake {
        border-color: red;
        color: red;
        animation: shake 0.2s 2;
    }
    
    @keyframes shake {
        25% {
            transform: translate(6px, 0);
        }
    
        50% {
            transform: translate(-6px, 0);
        }
    
        75% {
            transform: translate(6px, 0);
        }
    }
    
    .form-control label {
        position: absolute;
        margin-left: 0px;
        left: 0;
    }
    
    .form-control label span {
        display: inline-block;
        font-size: 15px;
        min-width: 5px;
        transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
    
    
    
    .BuscaBoletoBotao {
        color: #808080;
        border: none;
        padding: 10px;
        font-size: 16px;
        border-radius: 0.5em;
        margin-top: 0px;
        background: #f1f1f1;
        transition: all .3s;
        height: 30px;
        box-shadow: 4px 4px 10px #c5c5c5, -4px -4px 10px #fff;
    }
    
    .BuscaBoletoBotao:hover {
        box-shadow: -4px -4px 10px #c5c5c5, 4px 4px 10px #fff;
        color: rgb(1, 28, 105);
    }
    

    footer {
        height: 80px;
        background: linear-gradient(0deg, #01011B, #3B94AF);
        color: white;
        position: absolute;
        bottom: 0;
        display: flex;
    }

    .rodaP {
        display: inline-block;
        justify-content: flex-end;
    }
    
    .rodaPe{
        display: flex;
        flex-direction: column;
        font-size: 12px;
        padding: 30px;
    }

	section {
        margin-top: 200px;
        height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

