body {
    margin : 0;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 45px;
    aspect-ratio: 1;
    --c:no-repeat repeating-linear-gradient(90deg,#000 0 calc(100%/7),#0000 0 calc(200%/7));
    background: var(--c),var(--c),var(--c),var(--c);
    background-size: 140% 26%;
    animation: l27 .75s infinite linear;
  }
  @keyframes l27 {
   0%,20%   {background-position:0    calc(0*100%/3),100% calc(1*100%/3),0    calc(2*100%/3),100% calc(3*100%/3)}
   80%,100% {background-position:100% calc(0*100%/3),0    calc(1*100%/3),100% calc(2*100%/3),0    calc(3*100%/3)}
  }

  .carregamento {
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgb(85,26,139,0.8);
    align-content: center;
    justify-content: center;
    font-family: "Montserrat", serif;
}

.mensagem {
    background-color: #CFCFCF;
    width: 300px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 5px;
}

.mensagem p {
    margin-right: 10px;
}

.mensagem .loader {
    height: 40px;
    width: 40px;
    margin-top: auto;
    margin-bottom: auto;
}

.hidden {
    display:none;
}

#link-texto-whatsapp {
    text-align: center;
    margin-top: 20px;
    word-break: break-all;
}

#ico-instagram {
    height: 24px;
    width: 24px;
}

@media only screen and (max-width: 768px){

    /* Dispositivos móveis */
    .container {
        margin: 0;
        height: 100dvh;
        display: flex;
        flex-direction: column;
    }
    .cabecalho {
        background-color: #836FFF;
        border-radius: 0 0 10px 10px;
        padding: 10px;
        display: flex;
    }

    img {
        width: 100px;
        height: 100px;
        margin-right: 10px;
        border-radius: 5px;
    }

    h1 {
        font-family: "VT323", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 50px;
        margin: 0;
        color: #FFFFFF;
    }

    .descricao {
        font-family: "Montserrat", serif;
        font-optical-sizing: auto;
        font-weight: 500;
        font-style: normal;
        font-size: 20px;
        margin: 10px
    }

    .conteudo {
        flex: 1;
        font-family: "Montserrat", serif;
        font-size: 20px;
    }

    form {
        background-color: #EEC900;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
        height: auto;
    }

    .tipo {
        width: 100%;
    }

    .opcao {
        background-color: #EEAD0E;
        margin-bottom: 5px;
        padding: 5px;
        border-radius: 5px;
        height: 30px;
    }

    .entrada {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 10px;
    }

    .link {
        display: flex;
    }

    textarea {
        outline: none;
        height: 112px;
        flex: 1;
        margin-top: 5px;
        border-radius: 5px;
        border-style: none;
        padding: 5px;
        resize: none;
        margin-bottom: 10px;
        font-size: 20px;
        box-sizing: border-box;
    }

    .opcao:hover {
        background-color: #CD950C;
    }

    .chave label {
        display: block;
    }

    .chave-input {
        display: flex;
    }

    select {
        height: 30px;
        border-radius: 5px 0 0 5px;
        outline: 0;
        border-style: none;
        background-color: #8B7500;
        color: #FFFFFF;
        font-size: 20px;
    }

    .chave input {
        height: 28px;
        outline: 0;
        flex: 1;
        border-radius: 0 5px 5px 0;
        border-style: none;
        padding-left: 5px;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .valor {
        display: flex;
        flex-direction: column;
    }

    .valor input {
        height: 30px;
        border-radius: 5px;
        outline: 0;
        border-style: none;
        padding-left: 5px;
        margin-bottom: 10px;
        box-sizing: border-box;
        font-size: 16px;
    }

    .whatsapp {
        display: flex;
        flex-direction: column;
    }

    .whatsapp input {
        height: 30px;
        border-radius: 5px;
        outline: 0;
        border-style: none;
        padding-left: 5px;
        margin-bottom: 10px;  
        box-sizing: border-box;  
        font-size: 16px;
    }

    button {
        font-size: 25px;
        margin: 10px auto 0 auto;
        border-radius: 5px;
        border: 0px;
        background-color: #7D26CD;
        color: #CFCFCF;
        width: 200px;
        height: 40px;
    }
    button:hover {
        background-color: #551A8B;
        color:#CFCFCF;
    }

    .resultado {
        margin-top: 10px;
        justify-items: center;
    }

    .resultado img {
        height: 200px;
        width: 200px;
    }

    footer {
        font-family: "Montserrat", serif;
        font-size: small;
        margin: auto;
        text-align: center;
    }

    a {
        text-decoration: none;
    }

    .hidden {
        display:none;
    }
}

@media only screen and (min-width: 768px) {
    /* Dispositivos desktop */
    .container {
        margin: 0;
        height: 100dvh;
        display: flex;
        flex-direction: column;
    }
    .cabecalho {
        background-color: #836FFF;
        border-radius: 0 0 10px 10px;
        padding: 10px;
        display: flex;
        align-items: center;
    }

    img {
        width: 100px;
        height: 100px;
        margin-right: 10px;
        border-radius: 5px;
        margin-left: auto;
    }

    h1 {
        font-family: "VT323", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 50px;
        margin: 0;
        color: #FFFFFF;
        margin-right: auto;
    }

    .descricao {
        font-family: "Montserrat", serif;
        font-optical-sizing: auto;
        font-weight: 500;
        font-style: normal;
        margin: 10px auto 10px auto;
        width: 90%;
    }

    .conteudo {
        flex: 1;
        width: 90%;
        margin: 0 auto 0 auto;
        font-family: "Montserrat", serif;
        font-size: 16px;
    }

    form {
        background-color: #EEC900;
        border-radius: 10px;
        display: flex;
        flex-direction: row;
        padding: 20px 10px 20px 10px;
        height: auto;
    }
    
    .tipo {
        height: 100%;
        min-width:200px;
    }

    .opcao {
        background-color: #EEAD0E;
        margin-bottom: 5px;
        padding: 5px;
        border-radius: 5px;
    }

    .opcao:hover {
        background-color: #CD950C;
    }

    .entrada {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0 10px 0 10px;
    }

    .link {
        height: 100px;
        width: 100%;
    }

    textarea {
        outline: none;
        width: 100%;
        height: 96px;
        border-radius: 5px;
        border-style: none;
        padding-left: 5px;
        resize: none;
        box-sizing: border-box;
        font-size: 16px;
    }

    .pix {
        height: 100px;
        width: 100%;
    }

    .chave {
        width: 100%;
    }

    .chave label {
        display: block;
    }

    .chave-input {
        display: flex;
    }

    select {
        height: 25px;
        border-radius: 5px 0 0 5px;
        outline: 0;
        border-style: none;
        background-color: #8B7500;
        color: #FFFFFF;
        font-size: 16px;
    }

    .chave input {
        height: 23px;
        outline: 0;
        flex: 1;
        border-radius: 0 5px 5px 0;
        border-style: none;
        padding-left: 5px;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .valor {
        display: flex;
        flex-direction: column;
    }

    .valor input {
        height: 25px;
        border-radius: 5px;
        outline: 0;
        border-style: none;
        padding-left: 5px;
        margin-bottom: 10px;
        width: 100%;
        box-sizing: border-box;
        font-size: 16px;
    }

    .whatsapp {
        height: 100px;
        width: 100%;
    }

    .whatsapp label {
        display: block;
    }

    .whatsapp input {
        width: 100%;
        height: 25px;
        border-radius: 5px;
        outline: 0;
        border-style: none;
        padding-left: 5px;
        margin-bottom: 10px;  
        box-sizing: border-box; 
        font-size: 16px;
    }

    button {
        font-size: 15px;
        margin: 10px auto 0 auto;
        border-radius: 5px;
        border: 0px;
        background-color: #7D26CD;
        color: #CFCFCF;
        width: 100%;
        height: 30px;
        font-size: 16px;
    }
    button:hover {
        background-color: #551A8B;
        color:#CFCFCF;
    }

    .resultado {
        margin: 0 10px 0 10px;
        align-content: center;
    }

    .resultado img {
        height: 200px;
        width: 200px;
        margin-right: auto;
    }

    footer {
        
        font-family: "Montserrat", serif;
        font-size: small;
        margin: auto;
        text-align: center;
    }

    a {
        text-decoration: none;
    }
}