
@import url('https://fonts.googleapis.com/css2?family=Farsan&family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #155f0c;
    font-family: 'Poppins', serif;
}

#header {
    overflow: hidden; 
    height: 80px; 
    width: 100%; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0 30px; 
    box-sizing: border-box;
}

#header img:nth-child(1) {
    width: 140px;
}
#header img:nth-child(2) {
    width: 250px;
}

.row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#bg {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.15;
    background-image: url(../assets/carnaval.jpg);
    background-size: 20%;
}
#bg2 {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    backdrop-filter: hue-rotate(231deg);
    transition: all 0.5s;
}

#main {
    font-family: 'Poppins', serif;
    font-weight: 300;
    min-height: 100px;
    position: relative;
    z-index: 5;
}

.max-width {
    max-width: 800px;
    margin: 0 auto;
}

.image {
    font-size: 0;
}

.image img {
    width: 100%;
}

.txc {
    text-align: center;
}

h2, h3, h4 {
    font-family: 'Poppins', serif;
    color: #333;
}

h2.title {
    font-weight: 500;
    font-size: 1.3em;
    text-align: center;
}

.button {
    padding: 15px 40px;
    border: none;
    background-color: #db006e;
    border-radius: 4px;
    box-shadow: 1px 1px 5px 0 rgba(0,0,0,0.3);
    font-size: 1.3em;
    color: white;
    transition: all 0.4s;
    min-width: 220px;
    text-align: center;
}

.button2 {
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    background: #333;
    color: white;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    min-width: 180px;
    font-size: 1.2em;
}
.button:hover, .button2:hover {
    opacity: 0.8;
    cursor: pointer;
}
.select-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.select-list > div {
    padding: 5px 10px;
    background: #ffcdd7;
    margin: 6px 6px;
    border-radius: 26px;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.select-list > div.active {
    background: #E91E63;
    color: white;
}

.select-list > div:not(.active):hover {
    background: #E91E63;
    color: white;
    cursor: pointer;
}

.subir-line {
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 0;
}

.table-row {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.table-row > div {
    flex: 1;
}

.table-row .table-separador {
    flex: 0.2;
    height: 10px;
}

.table-row .label {
    padding-left: 5px;
    padding-top: 2px;
    font-size: 0.9em;
    color: #602744;
    user-select: none;
}

.table-row .control {
    padding: 3px 3px;
    border-bottom: 1.5px solid #db006e;
}

.table-row .control:focus-within {
    border-bottom: 1.5px solid #ff83c1;
}

.table-row input:not(.button2) {
    width: 100%;
    box-sizing: border-box;
    border: none;
    font-size: 1.2em;
    outline: none;
    background-color: transparent;
    font-weight: 400;
    font-style: normal;
}

.table-row select {
    width: 100%;
    box-sizing: border-box;
    border: none;
    font-size: 1.2em;
    outline: none;
    background-color: transparent;
}

.table-row.spacer {
    margin-top: 20px;
    padding-top: 10px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.foto {
    position: relative;
    flex: 0.3 !important;
    background: #f2f2f2;
    border-radius: 10px;
    border: 2px dashed #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    margin-right: 20px;
    font-size: 0;
    overflow: hidden;
    max-width: 150px;
}

.foto-check {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: right;
    align-items: flex-end;
    padding: 10px;
}

.overlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    transition: all 0.4s linear;
    opacity: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

#float-cont {
    position:absolute;
    top:0;
    right: 100vw;
    z-index: 101;
    display: flex;
    justify-content: center;
    align-items: center;
}

.float-modal {
    max-width:350px; 
    text-align: center; 
    background: white; 
    padding: 10px 25px; 
    border-radius: 10px; 
    box-shadow: 2px 2px 20px 0 rgba(0,0,0,0.4);
}

#success p {
    font-family: 'Poppins', serif;
    font-size: 0.9em;
}

.bg-blanco {
    box-shadow: 1px 1px 8px 0 rgba(0,0,0,0.4);
    padding: 10px 40px;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 40px;
}

#cont-border {
    border: 1px solid #ccc; 
    border-radius: 4px;
}

#alert-cont {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: #745c5c85;
    backdrop-filter: blur(2px);
}

#alert-cont .alert {
    width: 100%;
    max-width: 480px;
    min-height: 30px;
    font-size: 0.8em;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 30px;
    pointer-events: all;
    user-select: none;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.15);
    margin: 0 20px 30px 20px;
}

#alert-cont .alert.success {
    background: #D6F3E9;
    border: 1px solid rgba(0, 128, 0, 0.186);
}

#alert-cont .alert.error {
    background: #f3d6d6;
    border: 1px solid rgba(128, 0, 0, 0.186);
}



.progress-bar {
    height: 4px;
    background-color: rgb(5 206 40 / 20%);
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 10px;
    left: 0;
  }
  
.progress-bar-value {
    width: 100%;
    height: 100%;
    background-color: rgb(5 206 164);
    animation: indeterminateAnimation 1s infinite linear;
    transform-origin: 0% 50%;
}
  
  @keyframes indeterminateAnimation {
    0% {
      transform:  translateX(0) scaleX(0);
    }
    40% {
      transform:  translateX(0) scaleX(0.4);
    }
    100% {
      transform:  translateX(100%) scaleX(0.5);
    }
}

.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
  }
  .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
  }
  .autocomplete-items div:hover {
    background-color: #e9e9e9;
  }
  .autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
  }



@media (max-width: 800px) {

    #button-empresa {
        margin-top: 20px;
    }

    #header img:nth-child(1) {
        width: 110px;
    }
    #header img:nth-child(2) {
        width: 180px;
    }
    .bg-blanco {
        font-size: 0.9em;
        padding: 10px 20px;
        margin: 0 20px 30px 20px;
    }

    .table-row .table-separador {
        width: 0px;
    }

    .table-row {
        display: block;
    }

    #cont-border {
        border:none;
    }

    .foto {
        margin: 0 auto;
    }
}
