@media (max-width: 768px){
    #formContato form{
        font-size: min(3vw, 15px);
        width: 80vw;
        padding: 15px;
    }

    #formContato form input::placeholder{
        font-size: min(3vw, 15px);
    }
}

@media (min-width: 769px){
    #formContato form{
        width: 50vw;
        padding: 50px;
    }
}


#formContato{
    width: 100%;
    display: flex;
    flex-direction: column;
    height: fit-content;
    justify-content: center;
    align-items: center;
    color: white;
    scroll-margin-top: 60px;

}

#formContato form{
    margin-top: 50px;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    height: fit-content;
    border: solid 2px white;
    border-radius: 10px;
}

#formContato form div{
    justify-content: space-between;
    width: 100%;
    display: flex;
    position: relative;
}

#formContato form input{
    color: white;
    background-color: transparent;
    border: none;
    border-bottom: solid 2px white;
    padding: 20px 0px;
    width: 100%;
    margin: 10px 0px;
    text-indent: 40px;
    border-radius: 0px;
    transition: all .5s;
}

#formContato form input:hover, #mensagem:hover{
    border-radius: 15px;
    background-color: #FFF1;
}

#formContato form input:focus, #mensagem:focus{
    border-radius: 15px;
    background-color: #FFF1;
    outline: none;
}

#formContato label{
    width: 100%;
    position: relative;
}

#formContato form input::placeholder{
    color: #FFF9;
}

.inputIcon{
    width: 20px;
    height: 20px;
    position: absolute;
    top: 25px;
    left: 5px;
}

#checkboxGroup{
    margin: 20px 0px;
}

#checkboxGroup input[type="checkbox"]{
    position: absolute;
    visibility: hidden;
}

#checkboxGroup label{
    align-items: center;
    width: fit-content;
    display: flex;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

#checkboxGroup input:hover ~ .checkbox{
    background-color: white;
    border: #10455D 1px solid;
}
    
#checkboxGroup input:hover ~ .checkbox svg polyline{
    stroke: #10455D;
    
}

#checkboxGroup input:checked ~ .checkbox svg polyline{
    stroke-dasharray: 20;
}

.checkbox{
    display: block;
    width: 20px;
    height: 20px;
    border: white 1px solid;
    margin: 0px 5px;
    border-radius: 2px;
}

.checkbox svg{
    stroke-linecap: round;
    stroke-linejoin: round;
}

.checkbox polyline{
    fill: transparent;
    stroke-dashoffset: 45;
    stroke-dasharray: 15;
    transition: stroke-dasharray .3s;
    stroke-width: 1px;
    stroke: white;
}

#mensagem{
    box-sizing: border-box;
    min-width: 100%;
    max-width: 100%;
    min-height: 150px;
    height: 150px;
    max-height: 300px;
    border-top: none;
    border-right: none;
    border-left: none;
    border-image: initial;
    background-color: transparent;
    border-bottom: 2px solid white;
    color: white;
    padding: 20px 40px;
    transition: all .5s;
}

#mensagem::placeholder{
    color: #FFF9;
}

#addInput{
    cursor: pointer;
    align-items: center;
    display: flex;
    padding: 5px 0px;
}

#altInput{
    box-sizing: border-box;
    padding: 5px 5px;
    margin: 15px 0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 15px;
    transition: all .5s;
    flex-direction: column;
    height: fit-content;
}

#altInput:hover{
    background-color: #FFF1;
}

.altInputActive{
    background-color: #FFF1;
    border-radius: 0px 0px 15px 15px !important;
}

#altInput div{
    padding: 5px 30px;
    margin: 5px 0px;
    cursor: pointer;
    width: 30% !important;
    border-radius: 5px;
    transition: all .5s;

}

#altInput div:hover{
    background-color: #FFF2;
} 


#enviar {
    background-color: white !important;
    color: #10455D !important;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    align-self: center;
    width: fit-content;
}

#enviar:hover {
    background-color: #e6e6e6 !important;
    transform: scale(1.03);
}

#enviar:active {
    transform: scale(0.97);
    background-color: #dcdcdc !important;
}


.emailAlert{
    user-select: none;
    cursor: default;
    display: block;
    opacity: 0;
    z-index: 999;
    position: fixed;
    top: 0px;
    padding: 10px;
    box-sizing:content-box;
    width:250px;
    text-align: center;
    height: 20px;
    border-radius: 7px;
    background-color: #10455DDD;
    border: white 1px solid;
    backdrop-filter: blur(3px);
    right: auto;
    transition: all 1s;
}

.emailAlertTransition{
    top: 50px !important;
    opacity: 1;
}

#emailError{
    background-color: #aa1e1edd;
}