/*Padrões de cores*/
:root {
    --titulo: rgb(0, 0, 0);
    --subtitulo: rgb(36, 36, 36);
    --texto: rgb(0, 0, 0);
    --accent: #6fe440;
    --opção: #6fe440;
    --fundogr: #FFDE00;
    --fundosec: none;
    --fundosecnav: #242424;
    --border: #fff;
    --fundopt: rgba(0, 0, 0, 0.7);
    --luz: 0 4px 5px rgba(255, 255, 255, 0.7);
    --fundoblur: blur(3px);
    --sec: #ffffff;
}


/*Zerando CSS*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Overflow */
html {
    overflow: auto;
}

.overflow-hidden {
    overflow: hidden !important;
}


/* Padrões cor e texto */
body {
    scroll-behavior: smooth;
    margin: 0;
    font-family: Calibri;
    background: var(--fundogr);
    box-sizing: border-box;
}

.sec-form {
    background: var(--sec);
}

h1,
h2,
h3,
h4,
h5,
h6,
.title {
    color: var(--titulo);
    font-size: clamp(20px, auto, 32px);
}

.subtitle {
    color: var(--subtitulo);
    font-size: clamp(12px, auto, 20px);
}

p,
.text {
    color: var(--texto);
    font-size: clamp(10px, auto, 10px);
}

img {
    width: 100%;
}

a {
    color: var(--accent);
    text-decoration: none;
}

/* Botões */
.btn {
    font-size: inherit;
    border: none;
    font-family: inherit;
    text-transform: capitalize;
    border-radius: 3px;
    text-decoration: none;
    color: var(--titulo);
    background: var(--accent);
    padding: 8px 10px;
    font-weight: 600;
    line-height: 25px;
}

.btns {
    margin-top: 20px;
    display: flex;
    column-gap: 10px;
    text-align: center;
    justify-content: center;
}

.btns .btn {
    overflow: hidden;
    max-height: 100px;
}

.btn:hover {
    transition: 0.3s ease;
    color: var(--accent);
    background: var(--titulo);
}




/*Navgation*/
/*logo*/
.logo a {
    font-size: 30px;
    text-decoration: none;
    font-weight: bold;
    color: inherit;
}

/* Navgation Menu */
.nav {
    color: var(--titulo);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    top: 0;
    z-index: 1000;
    height: 60px;
    width: auto;

    background: transparent;
    position: sticky;
    font-size: 20px;
    text-transform: capitalize;

    border-bottom: 1px solid transparent;
    transition: 0.3s ease;
}

.nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(5px);
    z-index: -1;
}

/*cor da nav ao scrolar*/
.nav.scrolled {
    border-bottom: 1px solid var(--titulo);
}








/* Menu geral - fonte e estilos */

.menu,
.musicmenu {
    display: none;
}

.menu.active,
.musicmenu.active {
    display: block;
}

.menu {
    list-style: none;
    display: flex;
}

.menu li:not(:last-child) {
    margin-right: 40px;
}

.menu li a {
    color: var(--titulo);
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
    align-content: center;
    font-weight: bold;
}

.menu li a:hover {
    color: var(--opção);
}

/* Menu Musicas */
.sounds {
    display: block;
    cursor: pointer;
}

.musicmenu {
    position: absolute;
    top: 60px;
    right: 0;
    left: calc(100% - 450px);

    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    
    overflow-y: auto;
    height: calc(100vh - 60px);

    transition: height 0.3s ease, padding 0.3s ease;

    max-width: 450px;
}


.musicmenu.active {
    display: flex;
}

.musicmenu.active.with-player {
    height: calc(100vh - 150px);
}





/* Animações do menu */
.menu li {
    animation-duration: 0.5s;
    animation-name: slidein;
    animation-fill-mode: forwards;
    opacity: 0;
}

.menu li:nth-child(1) {
    animation-delay: 0.1ms;
}

.menu li:nth-child(2) {
    animation-delay: 0.2s;
}

.menu li:nth-child(3) {
    animation-delay: 0.4s;
}

.menu li:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes slidein {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0%);
    }
}

/* Icone hamburguer */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.hamburger.default::before {
    content: "\2630";
    font-size: 40px;
}

.hamburger.active::before {
    content: "\26CC";
    font-size: 30px;
}


.sounds.default::before {
    content: "\266C";
    font-size: 40px;
}

.sounds.active::before {
    content: "\26CC";
    font-size: 30px;
}


/* Resposividade Navgation */
@media screen and (max-width: 768px) {
    .nav {
        justify-content: space-between;
    }

    footer .nav {
        justify-content: center;
    }

    /* ativo menu */
    .menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        padding: 0;
        right: 0;
        left: 0;
        height: calc(100vh - 150px);
        border-top: 1px solid var(--border);
        justify-content: space-around;

        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(5px);
        background: transparent;
        overflow-y: auto;
    }

    .menu.active ul {
        overflow-y: auto;
    }

    .menu.active li {
        overflow-y: auto;
        padding: 20px;
        cursor: pointer;
        margin: 0;
        height: 100%;
        align-content: center;
    }

    .menu.active li:not(:last-child) {
        border-bottom: 1px solid var(--border);
    }

    .menu.active li a {
        display: block;
    }

    .menu.active li a:hover {
        color: inherit;
    }

    .menu.active li:hover {
        display: block;
        background: var(--opção);
    }

    .musicmenu {
        left: 20%;
    }

}


/* Main */
.main-content {
    padding: 20px;
    width: 100%;
    text-align: center;
    align-items: center;
    align-content: center;
    min-height: 60vh;
    justify-content: center;
    align-items: center;
}

.imge {
    text-align: center;
    max-width: 100%;

}

.imge img {
    max-width: 450px;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    align-items: center;
    object-fit: cover;
    margin: 20px 0 20px;
    border: 1px solid var(--border);
}

.main-content .title {
    margin-bottom: 10px;
}


.main-content .text {
    margin-bottom: 10px;
}


.imge img {
    display: none;
}

.imge img.active {
    display: initial;
}




/* Alinhamento sections */
.sec {
    padding: 20px 30%;
    margin: 20px 0;
    align-content: start;
    min-height: 40vh;
    text-align: center;
}

.sec .subtitle {
    text-align: center;
    margin: 20px 0px 10px 0px;
    color: var(--titulo);
}

@media screen and (max-width: 1400px) {
    .sec {
        padding: 20px 20%;
    }
}

@media screen and (max-width: 768px) {
    .sec {
        padding: 20px;
    }
}





/*Cadeado*/
.cadeado {
    font-size: 100px;
    cursor: pointer;
    margin-top: 40px;
}

/*Mensagem cadeado*/
.alicont {
    width: 100%;
    height: 100%;
    position: relative;
    margin-top: -130px;
    scale: 0.6;
    opacity: 0;
    z-index: -1000;
    transition: 0.2s ease-in;
}

.alicont.active {
    scale: 1;
    z-index: inherit;
    opacity: 1;

}

.menseger {
    background: var(--titulo);
    padding: 10px;
    text-align: right;
    max-width: 300px;
    min-height: 200px;
    margin-left: calc(50% - 150px);
    margin-top: -100px;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


@media screen and (max-width: 1400px) {
    .menseger {
        height: 100%;
    }
}

@media screen and (max-width: 768px) {
    .menseger {
        padding: 10px;
        margin-left: calc(50% - 150px);
        min-height: 150px;
    }

    .form {
        line-height: inherit !important;
    }

    label {
        font-size: 1.2rem !important;
        font-family: Arial;
        font-weight: bolder;
    }

    input:not(#progress-bar) {
        height: 40px !important;
    }

    .btts {
        display: none !important;
    }

    .player.fixed .cinfo, .musicmenu .cinfo {
        font-size: 2vmin !important;
    }
}

@media screen and (max-width: 356px) {
    .menseger {
        padding: 10px;
        margin-left: auto !important;
    }

    .form {
        line-height: inherit !important;
    }

    label {
        font-size: 1rem !important;
        font-family: Arial;
        font-weight: bolder;
    }
}

.close:before {
    content: "\26CC";
    cursor: pointer;
}

.content {
    text-align: center;
    margin: 10px 0;
    line-height: 30px;
    justify-content: space-around;
}


/*Form cadeado*/
.form {
    display: flex;
    flex-direction: column;
    line-height: 60px;
    text-align: center;
    align-items: center;
}

input {
    border: none;
    width: 90%;
    height: 40px;
    border-bottom: 3px solid var(--texto);
    text-align: center;
    font-size: 20px;
}

input:focus {
    outline: none;
    border-bottom-color: var(--accent);
    color: var(--subtitulo);
}

input:valid {
    border-bottom-color: rgb(29, 211, 29);
  }
  


  

label {
    font-size: 20px;
    font-family: Arial;
    font-weight: bolder;
}

.form.default {
    display: none;
}

.love-mensege {
    display: none;
}

.love-mensege .subtitle,
.love-mensege .text {
    color: var(--subtitulo);
}

.love-mensege.active {
    display: block;
}

/* Animação mensege */
.love-mensege h2.subtitle {
    opacity: 0;
    transition: opacity 2s ease;
}

/* Revelar */
.love-mensege h2.subtitle.reveal {
    opacity: 1;
}



/* Footer*/
.menu-foter {
    list-style: none;
    position: relative;
    padding: 8px;
}

footer .nav {
    padding: 0;
    position: initial;
    justify-content: center;
}

footer .logo a {
    background: var(--accent);
    padding: 5px;
    border-radius: 3px;
    color: var(--titulo);
}

.menu-foter li:not(:last-child) {
    margin-right: 40px;
}

.menu-foter li a {
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
    align-content: center;
    font-weight: bold;
}

/* Animações do menu - footer */
.menu-foter li {
    animation-duration: 0.5s;
    animation-name: slidein;
    animation-fill-mode: forwards;
    opacity: 0;
}

.menu-foter li {
    display: inline-block;
}

footer .sec {
    text-align: center;
}

footer .sec {
    height: auto;
    min-height: auto;
    margin: 0;
}


.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #333;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
  }
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }


  .sec-comprovante {
    margin-top: 40px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    border: 1px solid #ddd;
  }
  
  .comprovante-container {
    text-align: center;
  }
  
  .comprovante-container h3 {
    margin-bottom: 10px;
    color: #333;
  }
  
  .comprovante-container p {
    margin-bottom: 20px;
    color: #555;
  }
  
  #btnEnviarZap {
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  #btnEnviarZap:hover {
    background-color: #1ebe57;
  }
  

  .logo {
    width: 150px;
  }


  .sec-form {
    text-align: justify;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
  }
  .sec-form input {
    width: 100%;
    text-align: justify;
  }


  select {
    width: 100%;
    height: 45px;
    padding: 5px 10px;
    border: none;
    border-bottom: 3px solid var(--texto);
    background-color: #f9f9f9;
    font-size: 18px;
    color: var(--subtitulo);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='gray'%20d='M2%200L0%202h4zm0%205L0%203h4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
  }
  
  select:focus {
    outline: none;
    border-bottom-color: var(--accent);
    background-color: #fff;
  }
  
  select:valid {
    border-bottom-color: green;
    color: green;
  }
  



  .input-erro {
    border-bottom: 3px solid red !important;
    background-color: #ffe5e5 !important;
  }
  
  .div-erro {
    border: 2px solid red;
    background-color: #fff0f0;
    border-radius: 8px;
    padding: 15px;
  }
  
  .input-ok {
    border-bottom: 3px solid green !important;
    background-color: #e4ffe4 !important;
  }
  
  .div-ok {
    border: 2px solid green;
    background-color: #e0ffe0;
    border-radius: 8px;
    padding: 15px;
  }
  



  #pixContent {
    background-color: #f8f8f8;
    padding: 25px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: auto;
  }
  
  #pixContent label {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
    color: #333;
  }
  
  #pix {
    width: 100%;
    padding: 10px;
    border: 2px dashed #4CAF50;
    border-radius: 6px;
    background-color: #fff;
    font-size: 16px;
    resize: none;
    color: #444;
  }
  
  #pix:focus {
    outline: none;
    border-color: #2e7d32;
  }
  
  #copiadoMsg {
    font-weight: bold;
    margin-top: 10px;
  }
  
  #pixContent button {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    margin-top: 15px;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  #pixContent button:hover {
    background-color: #388e3c;
  }
  
  #dadosPagamento {
    background-color: #e8f5e9;
    border-left: 6px solid #4CAF50;
    padding: 15px 20px;
    margin-bottom: 20px;
  }
  
  #dadosPagamento h3 {
    color: #2e7d32;
    margin-bottom: 10px;
  }
  
  #dadosPagamento p {
    margin: 5px 0;
    color: #333;
  }
  
  #qrcode {
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }
  