@import url('https://fonts.googleapis.com/css?family=Nunito:200,300,400,600,700,800,900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");

@keyframes girar {
    0% {
      transform: rotate(0deg); /* Comece a rotação a partir de 0 graus */
    }
    100% {
      transform: rotate(360deg); /* Complete uma rotação completa (360 graus) */
    }
}

@keyframes openInfo {
    0% {
        opacity: 0;
        transform: translate(-50%, -100%);
    }
    40% {
        opacity: 1;
        transform: translate(-50%, 80%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes closeInfo {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, 60%);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -100%);
    }
}
body {
    overflow: hidden;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    overflow-y: auto;
    margin: 0px;
    padding: 0px;
    min-height: 100vh;
    color: #fff;
    background-image: linear-gradient(to bottom, #2f0049, #0a0010)
}

/* Largura e altura da barra de rolagem */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
  
/* Cor de fundo da barra de rolagem */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    margin: 10px;
    border-radius: 4px;

}

/* Cor do preenchimento da barra de rolagem */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

dialog::backdrop {
    backdrop-filter: blur(5px);
    box-decoration-break: none;
}

dialog:modal {
    display: flex;
    width: 350px;
    padding: 1em;
    flex-direction: column;
    box-shadow: 0px 10px 100px 10px rgba(0, 0, 0, .8);
    border-radius: 5px;
    border: none;
}

dialog h3 {
    margin: 0 0 1em;
}

dialog div.content {
    display: flex;
    flex-direction: column;
    max-height: 350px;
    overflow-y: auto;
    
}

dialog footer {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: end;
    margin-top: 1em;
}

dialog footer button {
    margin: .3em;
    font-family: 'Nunito',sans-serif;
    font-weight: 700;
    padding: .4em .8em .4em .8em;
    border-radius: 4px;
    border: none;
    background-color: #169e44;
    color: #fff;
    cursor: pointer;
}

dialog footer button:last-of-type {
    margin-right: 0;
    color: buttontext;
    background-color: buttonface;
}

.timer {
    width: 25px;
    height: 25px;
    border-top: 5px solid #169e44;
    border-radius: 50%;
    margin: 4px;
    overflow: hidden;
    animation: girar 1s linear infinite; /* Use a animação 'girar' indefinidamente */
}

div.hidden {
    opacity: 0;
}

#info-sucess {
    position: fixed;
    z-index: 99;
    top: 3rem;
    left: 50%;
    width: auto;
    min-width: 340px;
    padding: 0 1em 0 1em;
    background-color: #d00;
    box-shadow: 2px 4px 6px 0 rgba(0,0,0,.4);
    border-radius: 5px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    cursor: default !important;
    transform: translate(-50%, -100%);
    opacity: 0;
}

.show {
    animation: openInfo .5s ease forwards;
}

.close {
    animation: closeInfo .5s ease forwards
}

form {
    display: flex;
    flex-direction: column;
}

.adicionar {
    position: fixed;
    background-color: #169e44;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 20px;
    right: 20px;
    color: #fff;
    border-radius: 50%;
    font-weight: 800;
    text-align: center;
    padding: 0;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .5);
    cursor: pointer;
}

.group-column {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    margin: 1em 0 0 0;
    padding-bottom: 5px;
    width: 100vw;
}

.column {
    height: 90vh;
    max-height: 90vh;
    min-width: 325px;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    border: .8px solid #adadad;
    border-radius: 5px;
    margin: 5px;
    padding: 5px 5px 15px 5px;
    
}

.column-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.content-group {
    display: flex;
    flex-direction: column;
    min-width: 250px;
    width: 100%;
    overflow-y: auto;
}

.content-group .content {
    display: flex;
    flex-direction: column;
    width: auto;
    margin: 5px;
    padding: 15px;
    background-color: #1a343d;
    color: #fff;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0);
    transition: .3s background-color, .5s margin-top, .5s margin-bottom, .3s color, .3s border;
}

.content-group .content:hover {
    /* background-color: #fff; */
    margin-top: 10px;
    margin-bottom: 10px;
    /* color: #000; */
    border: 1px solid #0f0f0f;
}

.tag {
    min-width: 50px;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    margin: -3px -3px 7px -3px;
}

.id {
    background-color: rgb(255, 179, 0);
    color: #021740;
    width: auto;
    font-size: .5em;
    font-weight: 800;
    padding: .4em;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 3px;
    padding: 0 10px 0 10px;
}

.tag .ok {
    background-color: rgb(0, 255, 51);
    color: #021740;
    width: auto;
    font-size: .5em;
    font-weight: 800;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 3px;
    padding: 0 10px 0 10px;
}

.tag .nope {
    background-color: rgb(198, 23, 23);
    color: #fff;
    width: auto;
    font-size: .5em;
    font-weight: 800;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 3px;
    padding: 0 10px 0 10px;
}

.tag .hidden {
    display: none;
}

.dados {
    display: flex;
    flex-direction: column;
}

.dados .value {
    display: flex;
    flex-direction: column;
    padding-bottom: .4em;
    margin-bottom: .4em;
    border-bottom: 1px solid #adadad;
}

.dados > div.value:last-of-type {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.dados span.title {
    font-size: .8em;
    font-weight: 800
}

.dados span:nth-child(2) {
    color: aquamarine;
}

#dashboard {
    background-color: #adadad;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#dashboard .row {
    display: flex;
}

#funil, #acumulado{
    display: block;
    padding: 5px;
    font-size: 13px;
}

div#funil div, div#acumulado div {
    height: 2.5em;
    padding: 5px;
    margin: 5px;
    border-radius: 4px;
    display: flex;
    font-weight: 800;
    background-color: #021740;
}

div#funil div {
    flex-direction: column;
}

div#acumulado div {
    width: 3em;
    justify-content: center;
    align-items: center;
    font: 1.3em;
}

#funil div span {
    font-size: .6em;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

div#e-1 {
    width: 270px;
}

div#e-2 {
    width: 235px;
}

div#e-3 {
    width: 200px;    
}

div#e-4 {
    width: 165px;
}

div#e-5 {
    width: 130px;
}

div#e-6 {
    width: 95px;
}

div#e-7 {
    width: 60px;
}

#funil div div.label {
    background-color: none;
    border: none;
    margin: 1px 0 0 0;
    padding: 0;
    font-size: 1.3em;
}

#conversion {
    display: flex;
    flex-direction: column;
}

#conversion div {
    display: flex;
}