.modal-temp-pesquisa {
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 10000000;
    display: none;
}

.modal-temp-pesquisa .modal-temp-content {
    width: 85%;
    max-width: 610px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
}

.modal-temp-pesquisa.open {
    display: block;
}

.modal-temp-pesquisa .modal-temp-bg {
    background: rgb(0 0 0 / 95%);
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.modal-temp-pesquisa.open .modal-temp-bg {
    animation: fade 450ms linear 1 running forwards;
}

.modal-temp-pesquisa.open .modal-temp-content {
    animation: slide 350ms ease-out 250ms 1 running forwards;
}

.modal-temp-pesquisa .modal-temp-content .modal-temp-link {
    text-decoration: none;
    background: #77a8da;
    position: relative;
    z-index: 2;
    padding: 17px 26px;
    width: 180px;
    border-radius: 45px;
    text-align: center;
    font-weight: 700;
    color: #142057;
    font-size: 20px;
    transition: 250ms background;
    cursor: pointer;
    border: none;
}

.modal-temp-pesquisa .modal-temp-content .modal-temp-link:hover {
    background: #ff8a45;
}

.modal-temp-pesquisa .modal-temp-close {
    background: #fff;
    border: none;
    width: 35px;
    height: 35px;
    position: absolute;
    right: -48px;
    top: 4px;
    border-radius: 100%;
    transform: rotate(45deg);
    font-size: 49px;
    color: #142057;
    cursor: pointer;
    transition: all 250ms;
}

.modal-temp-pesquisa .modal-temp-close:before {
    content: "+";
    position: absolute;
    right: 7px;
    top: 0;
    font-size: 49px;
    line-height: 28px;
    color: #142057;
    font-weight: 600;
}

.modal-temp-pesquisa .modal-temp-close:hover {
    transform: rotate(135deg);
}

.modal-temp-box {
    background: #142057;
    background-position: center bottom 0px;
    display: flex;
    flex-direction: column;
    padding: 40px 150px 34px 50px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: 300ms background;
    transition-delay: 250ms;
}

.modal-temp-box:after {
    content: "";
    background: #1d3a8f;
    width: 800px;
    height: 380px;
    position: absolute;
    top: -30px;
    right: 30px;
    z-index: 1;
    border-radius: 100%;
    transition: 300ms background;
    transition-delay: 50ms;
}

.modal-temp-box:before {
    content: "";
    background: #182d71;
    width: 680px;
    height: 410px;
    position: absolute;
    top: -20px;
    right: -30px;
    z-index: 0;
    border-radius: 100%;
    transition: 300ms background;
    transition-delay: 150ms;
}

.modal-temp-box:hover {
    background: #0e1848;
}

.modal-temp-box:hover:after {
    background: #193485;
}

.modal-temp-box:hover:before {
    background: #132768;
}

.modal-temp-box:hover h3 {
}

.modal-temp-box h3 {
    color: #7bacdd;
    font-size: 35px;
    font-weight: 700;
    margin: 0 0 20px;
    position: relative;
    z-index: 2;
    transition: 450ms color;
}

.modal-temp-box p {
    color: #ffffff;
    font-size: 20px;
    margin: 0 0 25px;
    position: relative;
    z-index: 2;
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slide {
  from { opacity: 0; transform: translate(-50%, -70%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes spin {
    to {
        -moz-transform: translate(-50%, -50%) rotate(360deg);
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        transform: translate(-50%, -50%) rotate(360deg)
    }
}