:root {
    --black: #000000;
    --dark-grey: #969696;
    --grey-bg: #F0F0F4;
    --grey: #B6B6B6;
    --grey-light: #EEEEF1;
    --white: #FFFFFF;
    --dark-white: #FAFAFB;
    --pink: #103996;
}

body {
    margin: 0;
    padding: 0;
}
input {
    border: none;
    outline: none;
}
input:-webkit-autofill { 
    font-family: 'Libre Franklin';
    font-size: 13px;
    -webkit-background-clip: text;
}

/* GENERIC */
.up-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
}
.up-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* SECTION 1 */
.up-header {
    padding: 110px 0 110px 150px;
    background-image: url("./assets/Cabecera.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.up-header_title {
    width: 50%;
    margin: 0 0 30px;
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 600;
    font-size: 50px;
    line-height: 61px;
    color: var(--black);
    mix-blend-mode: normal;
}
.up-header_logo {
    max-width: 250px;
}
/* SECTION 2 */
.up-quantitys {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 100px;
    padding: 0 9%;
}

.up-section2_title {
    margin: 100px 0;
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 600;
    font-size: 50px;
    line-height: 61px;
    text-align: center;
    color: #000000;
}

.up-section2_container {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 100px;
}

.up-section2_row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.up-section2_element {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 15px;
    gap: 10px;
}

.up-section2_border {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 15px;
    gap: 10px;
    border-left: 1px solid var(--grey);
    border-right: 1px solid var(--grey);
}

.element_padding {
    padding: 0 30px;
}

.up-section2_flags {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-top: 15px;
    gap: 30px;
}

.up-section2_text {
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    text-align: center;
    font-feature-settings: 'kern' off;
    color: #000000;
}

.up-section2_pink {
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 600;
    font-size: 75px;
    line-height: 91px;
    text-align: center;
    color: #103996;
    mix-blend-mode: normal;
}

#eurasia_img {
    max-height: 130px;
}

.up-section2_container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-top: 100px;
}

.flags_img {
    max-width: 90px;
}

.up-section2_line {
    border-right: 1px solid var(--grey);
}

.pd-right {
    padding: 0 70px 0 0;
}

.pd-left {
    padding: 0 0 0 70px;
}
/* SECTION 3 */
.up-contact {

}
.up-world {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    background: var(--grey-light);
}
.up-world_container {
    padding: 18.1% 18.28%;
}
.up-world_img {
    width: 100%;
    height: auto;
}

/* FORMULARIO */
.up-form_container {
    display: flex;
    align-items: center;
    flex: 1;
    background: var(--dark-white);
}
.up-form_content {
    padding: 16.71% 18.28%;
}
.up-subText {
    margin: 0 0 30px;
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    font-feature-settings: 'kern' off;
    color: var(--black);
}
.up-form_items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.875rem 0;
}
.up-form_row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.25rem;
}
.up-form_element {
    position: relative;
    width: 100%;
}
  
.up-input {
    width: 100%;
    border-bottom: 0.5px solid var(--dark-grey);
    background-color: transparent;
    font-size: 13px;
    font-family: 'Libre Franklin';
    line-height: 1.5em;
}
  
.up-label {
    position: absolute;
    opacity: 0.6;
    top: 0;
    left: 0.125rem;
    cursor: text;
    transition: all 0.5s ease-in-out;
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 400;
    font-size: 0.813rem;
    line-height: 1.5rem;
    color: var(--dark-grey);
}
  
input.has-value + .up-label,
input:focus + .up-label {
  opacity: 1;
  transform: translate(-2px, -1.5em);
  font-size: 0.8em;
  cursor: default;
  color: var(--pink);
}
.up-terms {
    margin-top: 1.875rem;
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 400;
    font-size: 0.688rem;
    line-height: 0.813rem;
    color: var(--dark-grey);
}
.up-terms_link {
    text-decoration: none;
    color: var(--dark-grey);
}
.up-terms_link:hover {
    color: var(--pink);
}
.up-form_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.up-btn {
    min-width: 7.5rem;
    height: 2.5rem;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid var(--black);
    border-radius: 100px;
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: var(--black);
    transition: 0.4s;
}
.up-btn:hover {
    color: var(--white);
    background-color: var(--black);
}

#msg_sended {
    display: none;
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: var(--pink);
}

/* TARJETAS */
.up-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}
.up-container_image {
    background: var(--dark-white);
}
.up-design_cards {
    width: 100%;
    height: auto;
}
.up-container_text {
    background: var(--grey-light);
}
.up-design_content {
    padding: 16.71% 18.28%;
}
.up-design_text {
    margin: 0 0 40px;
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 400;
    font-size: 3.125rem;
    line-height: 3.75rem;
    color: var(--black);
    mix-blend-mode: normal;
}
.up-design_arrow {
    width: 3.438rem;
}
/* TEXTO INTERMEDIO */
.up-message {
    padding: 7.8% 19.5%;
}
.up-message_title {
    margin: 0 0 25px;
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 3rem;
    text-align: center;
    color: var(--black);
    mix-blend-mode: normal;
}
.up-message_subtitle {
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 400;
    font-size: 1.375rem;
    line-height: 1.688rem;
    text-align: center;
    font-feature-settings: 'kern' off;
    color: var(--black);
    mix-blend-mode: normal;
}
/* BANNER OF IMAGES */
.up-products {
    width: 100%;
    min-height: 250px;
    display: flex;
    justify-content: center;
    flex-direction: row;
}
.up-products_element {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px 0;
    gap: 50px;
}
.up-products_text {
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 27px;
    text-align: center;
    font-feature-settings: 'kern' off;
    color: #FFFFFF;
    mix-blend-mode: normal;
}
#iban {
    background: #8A0000;
}
#pago {
    background: #CB0B0B;
}
#crypto {
    background: #C65A11;
}
#efectivo {
    background: #DFAC27;
}
#loyalty {
    background: #558234;
}
#money {
    background: #25556B;
}
#seguros {
    background: #3A87A8;
}
#ahorros {
    background: #6E3AA8;
}
#BNPL {
    background: #461F63;
}
/* FOOTER */
.up-footer {
    padding: 9.76%;
}
.up-footer_title {
    margin: 0 0 35px;
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 600;
    font-size: 3.125rem;
    line-height: 3.75rem;
    text-align: center;
    color: var(--black);
    mix-blend-mode: normal;
}
.up-footer_logo {
    width: 12.563rem;
}
.up-footer_content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3.125rem;
    margin-top: 4.688rem;
}
.up-footer_text {
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 400;
    font-size: 1.375em;
    line-height: 1.688rem;
    font-feature-settings: 'kern' off;
    color: var(--black);
}

/* On screens that are 992px wide or less, go from four columns to two columns */
@media screen and (max-width: 700px) {
    .up-header {
        padding-left: 30px;
        padding-right: 30px;
        background-position: 70% 0%;
    }
    .up-header_title {
        width: 100%;
    }
    .up-quantitys {
        padding: 0 30px;
    }
    .up-section2_container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .up-section2_row {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }
    .up-section2_element {
        width: min-content;
    }
    .up-section2_border {
        padding: 40px 0;
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--grey);
        border-bottom: 1px solid var(--grey);
    }
    .border_eurasia {
        padding-top: 40px;
        border-top: 1px solid var(--grey);
    }
    .up-section2_container2 {
        flex-direction: column;
        margin-top: 40px;
        gap: 40px;
    }
    .up-section2_line {
        padding: 40px 0;
        border-right: none;
        border-top: 1px solid var(--grey);
        border-bottom: 1px solid var(--grey);
    }
    .pd-left {
        padding: 0;
    }
    .up-row {
        flex-direction: column;
    }

    /* FORM SECTION */
    .up-world {
        background: var(--grey-bg);
    }
    .up-world_container {
        padding: 50px;
    }
    .up-form_container {
        background: var(--grey-bg);
    }
    .up-form_content {
        padding: 0 30px 100px;
    }
    .up-subText {
        margin: 50px 0;
        font-family: 'Libre Franklin';
        font-style: normal;
        font-weight: 700;
        font-size: 22px;
        line-height: 27px;
        text-align: center;
        font-feature-settings: 'kern' off;
        color: #000000;
    }
    .up-form_row {
        flex-direction: column;
        gap: 40px;
    }
    .up-form_items {
        gap: 40px;
    }
    .up-terms {
        font-family: 'Libre Franklin';
        font-style: normal;
        font-weight: 400;
        font-size: 15px;
        line-height: 18px;
    }
    .up-form_btn {
        margin-top: 50px;
    }
    /* CARDS SECTION */
    .up-container_text {
        background: var(--dark-white);
        order: -1;
    }
    .up-design_img {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .up-design_arrow {
        margin-top: 30px;
        transform: rotate(-90deg);
    }
    .up-design_content {
        padding-bottom: 0;
    }
    .up-container_image {
        padding-bottom: 80px;
    }

    /* PRODUCTS SECTION */
    .up-products {
        flex-direction: column;
    }
    .up-products_element {
        min-height: 180px;
        padding: 0;
    }
    /* FOOTER */
    .up-footer {
        padding: 100px 30px 100px;
    }
    .up-footer_title {
        margin-bottom: 40px;
    }
    .up-footer_content {
        display: flex;
        flex-direction: column;
        margin-top: 40px;
    }
}
  
  /* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      width: 100%;
    }
  }