@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playball&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100vh;
    width: 100vw;
    background-color: #042864;
    background-image: url(black-felt.png);
}

main{
    position: relative;
    height: 100vh;
    width: 100vw;
}

.header{
    margin-bottom: 40px;
}

#ornament{
    margin: -30px 0 10px 0;
    width: 210px;
}

.header p{
    font-size: 1.2em;
    font-weight: 600;
    color: #bb892b;
}

.confirma-presenca {
    display: flex; 
    overflow: hidden;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f5f5f5 url(vecteezy_gold-sparkling-splatter-border_24854406.png) no-repeat;
    width: 75%;
    height: 85vh;
    padding-bottom: 30px;
    background-size: contain;
    background-position: bottom;
    border-radius: 10px;
    box-shadow: 2px 2px 10px #01112cd3;
    text-align: center;

    transition: width .3s, height .3s;
    transition-timing-function: ease;
}

#div-form {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

h2{
    font-family: 'Playball', serif;
    color: #bb892b;
    margin: 20px;
    font-size: 3em;
}

#presenca-form{
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin-bottom: 20px;
}

#label-numero{
    padding: 0px 10px;
}

input{
    width: 80%;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    padding: 8px;
    margin: 10px;
}

.convidados{
    margin: 20px 5%;
    padding: 10px 0 30px 0;
    background: #e6e6e6;
    border-radius: 10px;
}

.hidden{
    display: none;
}

.input-convidado{
    margin: 3px 0 20px 0;
}

#numero{
    width: 15%;
    margin-top: -10px;
    font-size: 16px;
    align-self: center;
    text-align: center;
}

#botao-confirmar {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    align-self: end;
    display: block;
    margin: 20px auto;
    font-size: 16px;
    font-weight: 500;
    background: #042864;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 20px 20px 0 0;
    color: white;
    cursor: pointer;
    border: none;
}

#botao-confirmar:hover {
    background: #02183f;
}


#loading-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.spinner {
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

input[type=number]::-webkit-inner-spin-button { 
    -webkit-appearance: none;
    
}
input[type=number] { 
   -moz-appearance: textfield;
   appearance: textfield;

}
