* {
    box-sizing: border-box;
}

html {
    height: 100%;
    position: relative;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
    padding: 0;
    margin: 0;
    font-family: Manrope;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: #38393F;
}

.center.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    margin: auto 0;
    box-sizing: border-box;
    padding-top: 40px;
}

footer {
    margin-top: 40px;
    padding-bottom: 10px;
    height: 40px;
    animation: appear 4s;
}

footer .text-red {
    color: #D14A4A;
    animation: appear 4s;
}

button {
    cursor: pointer;
}

input, textarea, button {
    font-family: inherit;
    font-style: normal;
}

input, textarea {outline:none;}
input:active, textarea:active {outline:none;}
:focus {outline:none;}



.validation-errors {
    text-align: left;
    width: fit-content;
    margin: auto;
}

/* ------------------------ site/index ------------------------ */

/* footer.promo {
    animation: appear 4s;
} */

.promoframe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.promoframe .logo {
    margin-bottom: 40px;
}

.promoframe .logo .logo-adp {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 87px;
    margin-bottom: 26px;
    justify-content: space-between;
    width: 300px;
}

.promoframe .logo .logo-a {
    animation: logo-a 3s cubic-bezier(0, 0, 0, 0);
}

.promoframe .logo .logo-d {
    animation: logo-d 3s cubic-bezier(0, 0, 0, 0);
}

.promoframe .logo .logo-p {
    animation: logo-p 3s cubic-bezier(0, 0, 0, 0);
}

@keyframes logo-a {
    0% {
        transform: rotate(0deg);
        opacity: 0;
    }
    33% {
        opacity: 0;
    }
    100% {
        transform: rotate(360deg);
        opacity: 1;
    }
}

@keyframes logo-d {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

@keyframes logo-p {
    0% {
        transform: rotate(0deg);
        opacity: 0;
    }
    33% {
        opacity: 0;
    }
    100% {
        transform: rotate(-360deg);
        opacity: 1;
    }
}

.promoframe .logo .logo-alldatapro {
    position: relative;
    animation: appear 3.4s;
}

.promoframe .logo .icon-alldatapro {
    font-size: 31px;
}

.promoframe .logo .icon-alldatapro-dot {
    font-size: 5px;
    position: absolute;
    right: 114.5px;
    bottom: 10px;
}

.promoframe .hands {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 42px;
    width: 42px;
    animation: appear 3.6s;
}

.promoframe .hands .icon {
    font-size: 42px;
    cursor: pointer;
    transition: all .7s ease;
    color: #38393F;
    
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.85);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.85);
    }
}

.hands .icon:hover {
    color: #D14A4A;
}

.promoframe .text {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(419px, 82vw);
    flex-direction: column;
    margin-top: 40px;
    animation: appear 3.8s;
}

.promoframe .text p {
    margin-top: 0;
    margin-bottom: 0;
}

.promoframe .text p:first-child {
    margin-bottom: 22px;
}

.highlight-on-hover {
    position: relative;
}

.highlight-on-hover::after {
    background: #D14A4A;
    content: "";
    inset: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s ease-in-out .1s;
    z-index: -1;
}

.promoframe .text:hover .highlight-on-hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

@keyframes appear {
    0% {
        opacity: 0;
    }

    67% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ------------------------ pop-up -------------------------------- */

.modal {
    display: none;
    height: 100%;
    transition: all 0.6s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.modal.modal-visible {
    animation: open 0.6s ease 1;
    display: flex;
}

.modal.no-animation {
    animation: none;
}

@keyframes open {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal::before {
    content: '';
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0.8;
    background-color: #27292b;
}

.modal-content {
    position: relative;
    z-index: 11;
    margin: auto 0;
    padding: 30px 0;
}

.modal-header, .modal-footer button {
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
}

.modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 38px;
    background-color: #484A4D;
    color: white;
    border-radius: 13px 13px 0 0;
    
}

.modal-header .icon {
    font-size: 24px;
}

.modal-header span {
    margin: 0 8px;
    letter-spacing: 0.02em;
}

.modal-content button {
    letter-spacing: 0.02em;
    padding: 0;
    margin: 0;
    border: none;
}

.modal-header button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 10px;
    background: none;
    color: white;
}

.modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    font-size: 14px;
    line-height: 19px;
    background-color: white;
}

.modal-body p {
    width: min(165px, 70%);
    margin: 30px 0;
}

.modal-footer {
    border-radius: 0 0 13px 13px;
    overflow: hidden;
}

.modal-footer button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    border-top: 1px solid #E3E9EE;
    background-color: #ffffff;
    color: #38393F;
    transition: color 0.3s, background-color 0.3s;
}

.modal-footer button:hover,
.modal-footer button:active {
    background-color: #5D5F63;
    color: #ffffff;
}

.modal-footer button:disabled {
    cursor: not-allowed;
    background-color: white;
    color: #38393F;
}

.modal-footer button .icon {
    font-size: 20px;
    margin-right: 8px;
    pointer-events: none;
}

/* ---------------------- modal-form ------------------------------ */

.input-group {
    width: min(420px, 90vw);
}

.form-group {
    display: flex;
    align-items: center;
    margin: 0 auto;
    margin-top: 20px; /* |16px */
    position: relative;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #6F7078;
    width: 89%;
    color: #6F7078;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
}

.form-group:last-child {
    margin-bottom: 20px; /* |16px*/
}

.form-group .icon {
    pointer-events: none;
    position: absolute;
    font-size: 18px;
    top: 9px;
    left: 10px;
}

.form-group.has-error {
    color: #D14A4A;
}

.form-group.has-success {
    color: #1C8D5E;
}

.input-group input:focus~.icon, .input-group textarea:focus~.icon {
    color: #38393F;
}

.input-group input {
    height: 36px;  
}

.input-group textarea {
    height: 148px; 
}

.input-group input, .input-group textarea {
    width: 100%;
    resize: none;
    border: 1px solid #E3E9EE;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 9px;
    padding-left: 38px;
    margin: 0;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
}

.has-success input, .has-success textarea {
    border-color: #1C8D5E;
}

.has-error input, .has-error textarea {
    border-color: #D14A4A;
}

input:focus, textarea:focus {
    border-color: #38393F;
}



@media (max-width: 400px) {
    
    body {
        font-size: 14px;
        line-height: 19px;
    }

    .promoframe .logo .logo-adp {
        font-size: 46px;
        margin-bottom: 14px;
        width: 160px;
    }

    .promoframe .logo .icon-alldatapro {
        font-size: 17px;
    }

    .promoframe .logo .icon-alldatapro-dot {
        font-size: 3px;
        right: 60.4px;
        bottom: 7px;
    }

    .form-group {
        margin-top: 16px;
    }

    .form-group:last-child {
        margin-bottom: 16px;
    }
}

.cog-rotation {
    animation: rotation 3s cubic-bezier(0,0,0,0) infinite;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}