@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');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body,
html {
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
body {
    display: flex;
    justify-content: center;
}
.main-container {
    position: relative;
    width: 100%;
    max-height: 55rem;
    height: 50rem;
    display: flex;
    justify-content: center;
}
.main-animation {
    position: relative;
    width: 13.5625rem;
    height: 13.5625rem;
    background-image: url(../assests/circle.webp);
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}
@supports not (background-image: url('../assests/circle.webp')) {
    .main-animation {
        background-image: url('../assests/circle.png');
    }
}
.form-container {
    display: flex;
    height: 100%;
    width: 100%;
    z-index: 1;
}
.form-background {
    position: relative;
    overflow: hidden;
    width: 30%;
    display: flex;
    justify-content: center;
}
.form-background>div {
    position: relative;
    width: 90%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 16rem;
    color: #2C5DC7;
    letter-spacing: 0.2rem;
}
.form-background div span {
    color: #FF8908;
}
.form-background div .logo-desktop img {
    width: inherit;
    height: auto;
    margin-bottom: 4rem;
    max-width: 20vw;
    min-width: 70%;
}
.form-background div .logo-movil {
    display: none;
}
.form-background .ellipse_top {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    width: 20.84rem;
}
.form-background .ellipse_down {
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 0;
    width: 100%;
}
.form-inputs {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
    overflow: hidden;
    text-align: center;
}
.form-inputs.hide {
    display: none;
}
.form-success {
    position: relative;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
    overflow: hidden;
    text-align: center;
}
.dots, #animation2{
    display: none;
}
#animation2 img{
    width:8rem;
}
.dots.visible, .form-success.visible{
    display: flex;
    gap: 1rem;
}
.dot {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #F08018;
    animation: bounce 1.2s infinite ease-in-out;
}
.dot:nth-child(1) {
    animation-delay: 0s;
}
.dot:nth-child(2) {
    animation-delay: 0.2s;
}
.dot:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes bounce {
    0%,100% {transform: translateY(0);}
    50% {transform: translateY(-20px);}
}
.form-inputs::after,
.form-success::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: url('../assests/background-form.jpg');
    background-size: cover;
    z-index: -2;
}
.form-inputs::before,
.form-success::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(43, 48, 52, 0.9);
    z-index: -1;
}
h1 {
    color: #D17B12;
    font-size: 2.5rem;
    font-weight: bolder;
}
.form-input {
    position: relative;
    width: 60%;
    margin-bottom: 1.2rem;
}
label {
    display: block;
    width: 100%;
    text-align: left;
}
input,
textarea {
    outline: none;
    border: none;
    border-radius: 0.3rem;
    padding: 0.5rem 1rem;
    margin-top: 0.25rem;
    color: #54678C;
    width: 100%;
    border: 2px solid #54678C;
    font-size: 0.875rem;
    letter-spacing: 0.08rem;
}
input {
    height: 2.22rem;
}
textarea {
    height: 6.25rem;
    font-family: 'Poppins', sans-serif;
}
label {
    margin-left: 1rem;
    color: #CFD6E5;
}
.form-inputs p:nth-child(2) {
    margin-top: 1rem;
    font-size: 1.25rem;
    color: #CFD6E5;
    font-weight: 500;
}
.form-inputs p:nth-child(3) {
    margin-bottom: 3rem;
    font-size: 1.25rem;
    color: #CFD6E5;
    font-weight: 500;
}
.form-success p {
    margin-top: 1rem;
    color: #CFD6E5;
    font-size: 2rem;
    width: 80%;
}
.form-input-tel {
    position: relative;
    outline: none;
    display: flex;
    overflow: hidden;
    background-color: white;
    align-items: center;
    border-radius: 0.4rem;
    border: 2px solid #54678C;
}
.form-input-tel input {
    border-radius: 0;
    border: none;
    margin-top: 0;
}
.form-input-tel select {
    outline: none;
    border: none;
    padding: 0.25rem 1rem;
    margin-right: 0.5rem;
    background-color: white;
    font-size: 1rem;
    color: #54678C;
}
.form-input-tel option {
    font-size: 1rem;
    color: #54678C;
}
.form-input-tel .border {
    height: 1.3rem;
    border-right: 1px solid #54678C;
}
.form-input-custom {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 1.3rem;
}
.form-input-custom .ico-arrow-down {
    width: 0.6rem;
    height: 0.39rem;
}
.form-input-custom .select-custom .option {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #54678C;
    font-weight: 300;
    font-size: 0.875rem;
    gap: 0.5rem;
}
.select-options {
    display: none;
    position: absolute;
    top: 24.3rem;
    left: 52.8rem;
    z-index: 1;
    background: white;
    padding: 0.2rem 0;
    overflow-y: scroll;
    height: 40%;
}
.select-options.visible, #animation2.visible {
    display: block;
}
.select-options .option {
    width: 8rem;
    padding: 0.3rem 1rem;
    color: #54678C;
    font-weight: 300;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
}
.select-options .option:hover {
    background-color: #EEEEEE;
}
.textarea p {
    text-align: justify;
    margin: 0.2rem 0;
    color: #CFD6E5;
}
.form-btn-send {
    border: none;
    padding: 0.5rem 2rem;
    border-radius: 0.7rem;
    font-weight: bold;
    color: white;
    background-color: #51AA28;
    font-size: 1.5rem;
    box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.6);
}
.form-btn-send:hover {
    background-color: #68C93B;
}
.form-input-tel.active {
    border: 2px solid #28BCF1;
}
@media (max-width: 1370px) {
    .form-background div img {
        margin-bottom: 2rem !important;
    }
}
@media (max-width: 1162px) {
    html {
        font-size: 15px;
    }
}
@media (max-width: 990px) {
    .form-input {
        width: 80%;
    }
    .form-success p {
        width: 90%;
    }
}
@media (max-width: 984px) {
    html {
        font-size: 13px;
    }
    .form-inputs p:nth-child(3) {
        margin-bottom: 1rem;
    }
}
@media (max-width:600px) {
    html {
        font-size: 11px;
    }
    .form-container {
        flex-direction: column;
    }
    .main-container {
        max-height: 63rem;
        height: 63rem;
    }
    .form-background {
        width: 100%;
        align-items: center;
        padding: 2rem 0;
        flex-shrink: 0;
    }
    .ellipse_down {
        display: none;
    }
    .ellipse_top {
        width: 8rem !important;
    }
    .form-success,
    .form-inputs {
        width: 100%;
        height: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
    input {
        height: 2.5rem;
    }
    input,
    textarea {
        border-radius: 0.5rem;
    }
    .form-input-tel {
        border-radius: 0.5rem;
    }
    .form-input-tel input {
        height: 2.1rem;
    }
    .form-btn-send {
        width: 100%;
    }
    .form-inputs .form-input {
        width: 100%;
    }
    .form-background div {
        display: flex;
        align-items: center;
        justify-content: space-around;
        margin-top: 0;
    }
    .form-background div .logo-desktop {
        display: none !important;
    }
    .form-background div .logo-movil{
        display: block !important;
    }
    .form-background div img {
        margin-bottom: 0 !important;
    }
    .form-background .background-text {
        display: flex;
        flex-direction: column;
    }
    .form-inputs p:nth-child(3) {
        margin-bottom: 3rem;
    }
}
@media (max-width:481px) {
    .main-container {
        max-height: 68rem;
        height: 68rem;
    }
    .form-inputs p:nth-child(3) {
        margin-bottom: 1.5rem;
    }
}
@media (max-width:321px) {
    .main-container {
        max-height: 75rem;
        height: 75rem;
    }
}