.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9998;
}

.popup {
    background-color: #A2D9A8;
    padding: 20px;
    position: absolute;
    line-height: 2rem;
    border-radius: 8px;
    text-align: center;
    overflow: none !important;
    color: black;
}

.popup h2 {
    margin-top: 0;
    font-weight: 700;
}

.close-btn {
    background-color: #292733;
    color: #fff;
    padding: 6px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
}

.close-btn:hover {
    background-color: #292733a4;
}


.contato__form {
    margin-left: 12%;
    margin-bottom: 3.4rem;
}

.conteudo__form {
    margin-left: 19%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10rem;
}

.descricao__formulario {
    width: 90%;
    line-height: 1.56rem;
    margin-bottom: 2rem;
}

.form-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    margin: 0 auto;
}

form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 18rem;
}

.form-left {
    width: 220%;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.2rem;
}

.form-right {
    width: 260%;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.2rem;
}


.form-container input, form textarea, select {
    background-color: #f0ece6;
    border: 0;
    outline: hidden;
    padding: 0.5em;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    display: block;
    width: 100%;
    color: #2e2e2e;
    font-weight: 500;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    resize: none;
}

#name, #email, #reason {
    margin-bottom: 0.7rem;
    padding: 0.6rem;
}

textarea:focus, input:focus, select:focus, input:active, textarea:active, select:active, select:focus, .nice-select:active, .nice-select:focus {
    outline: auto;
    outline-color: #9471c4 !important;
    outline-style: double !important;
    outline-offset: hidden;
}

textarea {
    line-height: 1.5rem;
}

#message {
    margin-top: 0.8rem;
    margin-bottom: 1.5rem;
    height: 9rem;
    padding: 0.8rem;
}

.botao__form {
    width: 7rem;
    font-family: inherit;
    font-size: 16px;
    background: linear-gradient(90deg, #A2D9A8 0%, #6B9369 100%) !important;
    color: white;
    height: 3rem;
    padding-left: 0.75em;
    display: flex;
    text-align: center;
    align-items: center;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.5s;
}

.botao__form:hover {
    background: linear-gradient(90deg, #574b66 0%, #483d57 100%);
}

.botao__form span {
    display: block;
    margin-left: 0.5em;
    transition: all 0.3s ease-in-out;
}

.botao__form svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

.botao__form:hover .svg-wrapper {
    animation: fly-1 0.6s ease-in-out infinite alternate;
}

.botao__form:hover svg {
    transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

.botao__form:hover span {
    transform: translateX(5em);
}

.botao__form:active {
    transform: scale(0.95);
}

@keyframes fly-1 {
    from {
        transform: translateY(0.1em);
    }

    to {
        transform: translateY(-0.1em);
    }
}

#name::placeholder, #email::placeholder, #message::placeholder {
    color: #1a1a1ac0;
    padding-left: 1%;
    font-weight: 400;
}

.nice-select {
    color: #1a1a1af1 !important;
    height: 2.8rem;
    /* altura do select */
    border-radius: 8px;
    /* este valor deve ser o mesmo acima */
    /* cor da borda do select*/
    background-color: #f0ece6;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    float: left;
    font-size: 16px;
    outline: hidden;
    font-weight: 500;
    padding: 0.7rem;
    position: relative;
    text-align: left !important;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    width: auto;
}


.nice-select:after {
    border-bottom: 2px solid #000000bd;
    border-right: 2px solid #000000bd;
    content: '';
    display: block;
    height: 8px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
    -ms-transform-origin: 66% 66%;
    transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 8px;
}

.nice-select.open:after {
    -webkit-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.nice-select.open .list {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
    -ms-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
}

.nice-select.disabled {
    border-color: #000;
    color: #1a1a1ade;
    pointer-events: none;
}

.nice-select.disabled:after {
    border-color: #000;
}

.nice-select.wide {
    width: 100%;
}

.nice-select.wide .list {
    left: 0 !important;
    right: 0 !important;
}

.nice-select.right {
    float: right;
}

.nice-select.right .list {
    left: auto;
    right: 0;
}

.nice-select.small {
    font-size: 14px;
    height: 36px;
    line-height: 34px;
}

.nice-select.small:after {
    height: 4px;
    width: 4px;
}

.nice-select.small .option {
    line-height: 34px;
    min-height: 34px;
}

.nice-select .list {
    border-radius: 8px;
    background-color: #f0efef;
    color: #1a1a1ae5;
    box-shadow: 0 0 0 1px rgba(68, 68, 68, 1);
    /* cor da borda dos options em RGB */
    box-sizing: border-box;
    margin-top: 8px;
    opacity: 0;
    overflow: hidden;
    padding: 0.2rem;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    -webkit-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scale(0.75) translateY(-21px);
    -ms-transform: scale(0.75) translateY(-21px);
    transform: scale(0.75) translateY(-21px);
    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    z-index: 9;
}

.nice-select .list:hover .option:not(:hover) {
    background-color: transparent !important;
}

.nice-select .option {
    cursor: pointer;
    font-weight: 400;
    line-height: 30px;
    /* altura das options */
    min-height: 22px;
    /* este valor deve ser o mesmo do acima */
    list-style: none;
    outline: hidden;
    padding-left: 18px;
    padding-right: 29px;
    text-align: left;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {
    background-color: #D8B9C3;
    /* corde fundo da option selecionada e ao passar o mouse */
    color: #292733;
    /* cor da option ao passar o mouse e do item selecionado*/
}

.nice-select .option.selected {
    font-weight: bold;
}

.nice-select .option.disabled {
    background-color: transparent;
    color: #222222;
    cursor: default;
}

.no-csspointerevents .nice-select .list {
    display: none;
}

.no-csspointerevents .nice-select.open .list {
    display: block;
}



/** MEDIA QUERIE FORMULARIO **/


@media only screen and (max-width: 580px) and (min-width: 0px) {

    body {
        overflow-x: hidden;
    }

    .contato__form {
        margin-top: 16% !important;
        margin-left: 6% !important;
    }

    .conteudo__form {
        display: flex;
        margin-bottom: 12%;
        flex-direction: column;
        width: 54%;
    }

    .descricao__formulario {
        width: 90% !important;
        margin-bottom: -0.6rem !important;
    }

    .form-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        margin: 0 auto;
    }

    form {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-gap: 1rem !important;
    }

    .form-left {
        width: 100% !important;
        grid-gap: 0.6rem;
    }

    .form-right {
        width: 100% !important;
        grid-gap: 0.1rem;
    }

    #contact {
        margin-top: 10%;
    }
}


@media only screen and (max-width: 720px) and (min-width: 580px) {
    .contato__form {
        margin-top: 20% !important;
        margin-left: 8% !important;
        display: block;
    }

    .form-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-gap: 2rem !important;
        margin: 0 auto;
        margin-bottom: 2rem;
        margin-right: 20% !important;
        width: 100%;
    }

    .conteudo__form {
        margin-right: 30% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 4rem;
    }

    .descricao__formulario {
        width: 90% !important;
        margin-bottom: -0.6rem !important;
    }

    form {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-gap: 1rem !important;
    }

    .form-left {
        width: 140% !important;
        grid-gap: 0.6rem;
    }

    .form-right {
        width: 140% !important;
        grid-gap: 0.1rem;
    }

    #contact {
        margin-top: 12%;
    }
}

@media only screen and (max-width: 750px) and (min-width: 720px) {
    .contato__form {
        margin-top: 22% !important;
        margin-left: 8% !important;
        display: block;
    }

    .form-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-gap: 2rem !important;
        margin: 0 auto;
        margin-bottom: 2rem;
        margin-right: 20% !important;
        width: 100%;
    }

    .conteudo__form {
        margin-right: 30% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 4rem;
    }

    .descricao__formulario {
        width: 90% !important;
        margin-bottom: -0.6rem !important;
    }

    form {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-gap: 1rem !important;
    }

    .form-left {
        width: 140% !important;
        grid-gap: 0.6rem;
    }

    .form-right {
        width: 140% !important;
        grid-gap: 0.1rem;
    }

    #contact {
        margin-top: 12%;
    }
}

@media only screen and (max-width: 800px) and (min-width: 750px) {
    .contato__form {
        margin-top: 2% !important;
        margin-left: 8% !important;
        display: block;
    }

    .form-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-gap: 2rem !important;
        margin: 0 auto;
        margin-bottom: 2rem;
        margin-right: 20% !important;
        width: 100%;
    }

    .conteudo__form {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 4rem;
    }

    .descricao__formulario {
        width: 90% !important;
        margin-bottom: -0.6rem !important;
    }

    form {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-gap: 1rem !important;
    }

    .form-left {
        width: 20rem !important;
        grid-gap: 0.6rem;
    }

    .form-right {
        width: 20rem !important;
        grid-gap: 0.1rem;
    }

    #contact {
        margin-top: 12%;
    }
}



@media only screen and (max-width: 1000px) and (min-width: 799px) {
    .contato__form {
        margin-top: 15% !important;
        margin-left: 8% !important;
    }

    .conteudo__form {
        margin-left: 7rem !important;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 4rem;
    }

    .descricao__formulario {
        width: 90% !important;
        margin-bottom: -0.6rem;
    }

    .form-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 1rem !important;
        margin: 0 auto;
    }

    form {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 1.4rem !important;
    }

    .form-left {
        width: 17rem !important;
        grid-gap: 0.3rem !important;
    }

    .form-right {
        width: 17rem !important;
        grid-gap: -0.5rem !important;
    }

    #contact {
        margin-top: 28%;
    }
}

@media only screen and (max-width: 1290px) and (min-width: 1000px) {
    .contato__form {
        margin-left: 12%;
        margin-top: 11%;
    }

    form {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 2rem !important;
    }

    .form-left {
        width: 20rem !important;
        grid-gap: 0.3rem !important;
    }

    .form-right {
        width: 22rem !important;
        grid-gap: -0.5rem !important;
    }
}

@media only screen and (max-width: 1400px) and (min-width: 1290px) {
    .contato__form {
        margin-left: 12%;
        margin-top: 11%;
    }

    form {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 2rem !important;
    }

    .form-left {
        width: 24rem !important;
        grid-gap: 0.3rem !important;
    }

    .form-right {
        width: 25rem !important;
        grid-gap: -0.5rem !important;
    }
}