:root {
    --main-bg: #FCFCFC;
    --black-color:  #011710;
    --gren-color: #B3E5BE;
    --blue-color: #DCEBF0;
  }

#contact{
    margin-top: 0;
}

.hero-contact{
    display: flex;
    justify-content: center;
    background-color: var(--black-color);
}

@keyframes slidedown {
    0% {
        transform: scale(0.9);
        margin-top: -2%;
        opacity: 0;
    }

    100%{
        transform: scale(1);
        margin-top: 6%;
        opacity: 1;
    }
  }

.container-hero-contact-content{
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
    align-items: center;
    color: var(--main-bg);
    margin-bottom: 12%;
    margin-top: -2%;
    animation: slidedown cubic-bezier(0, 0.17, 0.28, 1.01) 400ms forwards;
}

.p-banner{
    min-width: 200px;
    max-width: 550px;
    width: 100%;
    opacity: 0;
    animation: fade 1000ms cubic-bezier(0, 0.17, 0.28, 1.01) 0.4s forwards;
}

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

    100% {
        opacity: 1;
    }
}

.p-banner, .pills-banner{
    text-shadow: none;
    box-shadow: none;
}

/* FORM */

.container-img-form-contact{
    width: 100%;
    height: auto;
    max-width: 640px;
    max-height: 750px;
    position: relative;
}

.img-form-contact {
    width: 100%;
    max-height: 750px;
    min-height: 750px;
    object-fit: cover;
    opacity: 0;
    animation: width-animation cubic-bezier(0, 0.17, 0.28, 1.01) 400ms forwards;
    animation-delay: 650ms;
    height: 100%;
}


@keyframes width-animation {
    0% {
        width: 0%;
        opacity: 0;
    }

    100%{
        width: 100%;
        opacity: 1;
    }
}

.container-form-contact{
    display: flex;
    align-items: flex-end;
    gap: 40px;
    width: 95%;
    margin: auto;
    margin-bottom: 12%;
    margin-top: -3%;
    opacity: 0;
    animation: slideup cubic-bezier(0, 0.17, 0.28, 1.01) 350ms forwards;
    animation-delay: 0.35s;
}

form{
    width: 100%;
}

@keyframes slideup {
    0% {
        margin-top: -3%;
        opacity: 0;
    }

    100%{
        margin-top: -6%;
        opacity: 1;
    }
  }

#img-form{
    margin-bottom: 24px;
}


.container-input-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 72px;
}

.container-input-form-top{
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.container-input-top{
    width: 48%;
    color: var(--black-color);
    font-size: 16px;
}

input{
    width: 100%;
    height: 100px;
    padding: 0;
    border: none;
    border-bottom: 2px solid var(--black-color) !important;
    background-color: transparent;
    font-size: 18px;
    color: var(--black-color);
}

input[type="email"], input[type="text"] {
    padding-block: 0 !important;
    padding-inline: 0 !important;
}

textarea{
    width: 100%;
    min-height: 100px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--black-color) !important;
    padding-block: 0 !important;
    padding-inline: 0 !important;
    font-size: 16px;
    color: var(--black-color);
}

::placeholder{
    padding: 8px;
    font-size: 20px;
    text-transform: uppercase;
    color: #C4C4C4;
    font-family: 'porpora';
    font-weight: 600;
}



/************ POPUP ***********/

.img-popup{
    max-width: 60px;
    margin-bottom: 16px;
}

.txt-popup{
    line-height: 20px;
}

#popup-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    max-width: 350px;
}

#popup {
    background-color: var(--black-color);
    border: 1px solid var(--main-bg);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    font-family: 'porpora';
    font-weight: 600;
    padding: 32px 24px;
    display: none;
    flex-direction: column;
    color: var(--main-bg);
}

#popup.show {
    display: flex;
    animation: popupAnimation cubic-bezier(0, 0.17, 0.28, 1.01) 700ms;
}

@keyframes popupAnimation {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    50% {
        opacity: 1;
        transform: translateY(-5%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}



/************** RESPONSIVE ************/


@media (max-width: 890px) {

    .container-hero-contact-content {
        margin-bottom: 16%;
        padding-top: 5%;
    }

    .container-form-contact {
        flex-wrap: wrap;
    }

    .container-img-form-contact{
        max-width: none;
        width: 100%;
        max-height: 350px;
    }

    .img-form-contact {
        max-height: 350px;
        min-height: 350px;
    }

    .container-input-form-top{
        flex-wrap: wrap;
    }

    .container-input-top {
        width: 100%;
    }

    @keyframes popupAnimation {
        0% {
            opacity: 0;
            transform: translateY(100%);
        }
    
        50% {
            opacity: 1;
            transform: translateY(-5%);
        }
    
        100% {
            opacity: 1;
            transform: translateY(0%);
        }
    }

    #popup-container {
        top: 32px;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
        min-width: 95%;
    }

}