:root {
--Green500: hsl(171, 66%, 44%);
--Blue100: hsl(233, 100%, 69%);

/*### Neutral*/

--Gray700: hsl(210, 10%, 33%);
--Gray500: hsl(201, 11%, 66%);
}

/* ####### GLOBAL STYLES ####### */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Bai Jamjuree', sans-serif;
}
h1, h2, h3 {color: var(--Gray700);}
p {color: var(--Gray500);}

/*======== END =======*/

/* ####### HEADER STYLES ####### */
.heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('./images/bg-header-desktop.png');
    background-repeat: no-repeat;
    background-size: cover;
}
.heading img {
    margin: 2.5rem 0;
    width: 7%;
}
.heading h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--Gray700);
}
.heading p {
    text-align: center;
    padding-inline: 23em;
    padding-bottom: 2.5em;
    margin-top: .6em;
    font-size: 1.1rem;
    line-height: 1.6;
}
.heading .buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.heading .buttons .btn {
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6.25rem;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
}
.heading .btn-primary {
    background-color: var(--Green500);
}
.heading .btn-secondary {
    background-color: var(--Blue100);
}
/* ####### END ####### */

/*========= HERO =========*/
.hero {
    margin-top: 3em;
}
.hero h2 {
    text-align: center;
    margin-top: 3em;
    margin-bottom: 1rem;
    font-weight: 600;
}
.hero p {
    font-size: 1.1rem;
    text-align: center;
    padding-inline: 21em;
    line-height: 1.6;
}

/*######## END ########*/

/* ========== FIRST IMAGE SECTION ===========*/
.images-content-section {
    display: flex;
    margin-top: 3rem;
}
.images-content-section .first-image-container {
    flex: 0 0 auto;
    margin-left: -5em;
}
.images-content-section .first-image-container img {
    width: 85%;
}
.images-content-section .first-content-container {
    display: flex;
    flex-direction: column;
    margin: 2rem 0 0 2.5rem;
    gap: 2em;
}
.content {
    margin-bottom: 1rem;
}
.content h3 {
    margin-bottom: .4rem;
}
.content p {
    margin: 0 23em 0 0;
    line-height: 1.6;
}
/* ######## END #######*/

/* ========== CLIPBOARD SECTION ===========*/
.clipboard-section {
    margin-top: 5rem;
    text-align: center;
}
.clipboard-section h2 {
    margin-bottom: 1.4rem;
}
.clipboard-section p {
    margin: 0 25em;
    line-height: 1.6;
}
/*=========== END ===========*/

/*========= Images Section ===========*/
.images-section { 
    text-align: center;
    margin-top: 4rem;
}
.images-section img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    max-height: 80vh;
}
/*######## END ########*/

/* =======WORKFLOW SECTION ======= */
.workflow-section {
    margin-top: 2em;
    text-align: center;
    line-height: 2;
}
/* ######## END ######## */

/* BENEFITS SECTION */
.benefits-section {
  display: flex;
  justify-content: space-between; 
  align-items: flex-start;
  padding: 3.75rem 2.5rem;
  gap: 2.5rem; 
  text-align: center;
  width: 85%;
  margin: 0 auto;
}

.benefit-container {
  flex: 1; 
  max-width: 21.75rem;
}

.benefit-icon img {
  margin-bottom: 1.25rem;
  height: 2.5rem;
}

.benefit-text h3 {
  font-weight: bold;
  margin-bottom: 0.625rem
}
.benefit-text p {
  line-height: 1.6;
}
/*######## END #########*/

/* ========= LOGOS ==========*/
.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    margin-top: 4rem;
}
.logos img {
    width: 10%;
    height: auto;
}
/*========= END =========*/

/*====== DOWNLOAD SECTION ========*/
.stores {
    text-align: center;
    margin-top: 5rem;
    width: 75%;
    margin: 0 auto;
    padding: 6rem 0;
}
.stores p {
    margin: 0 auto;
    width: 60%;
    padding: 1rem 0;
    line-height: 1.6;
}
#download-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
}
.botones {
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6.25rem;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
}
#blue-btn {
    background-color: var(--Blue100);
    border-radius: 6.25rem;
 
}
#green-btn {
    background-color: var(--Green500);
}
/* ======= END ======= */

/* ======= FOOTER ======= */
footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 7rem;
    background-color: #f4f4f4;
    height: 9rem;
}
footer .footer-img {
    width: 15%;
}
footer .footer-img img {
    width: 40%;
    height: auto;
    margin: 0 0 0 10em;
}
footer .footer-links {
    display: flex;
    flex-direction: row;
}
footer .footer-links .footer-links-container {
    display: flex;
    flex-direction: column;
    margin: 0 2rem;
}
footer  a {
    text-decoration: none;
    color: var(--Gray700);
    margin: .5rem 2rem;
}
footer .social-media {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 10%;
  margin-right: 10rem;
}
footer .social-media img {
    width: 15%;
    height: auto;
    cursor: pointer;
}
/* ######### END ######### */

/* ======= MEDIA QUERIES ======= */
@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    /* ======= HEADER ======= */
   .heading {
        background-image: url('./images/bg-header-mobile.png');
        background-repeat: no-repeat;
        background-size: cover;
        text-align: center;
        align-items: center;
        justify-content: center;
   }
   .heading img {
        width: 30%;
        margin: 2.5rem auto;
   }
   .heading h1 {
        font-size: 1.7rem;
        font-weight: 600;
        text-align: center;
        margin: 0 auto;
        padding: 0 6rem;
   }
    .heading p {
          text-align: center;
          padding-inline: 5.3em;
          margin: 1rem 0;
          font-size: 1rem;
          line-height: 1.6;
    }
    .heading .buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    .heading .buttons .btn {
        color: white;
        border: none;
        padding: 1rem 6rem;
        border-radius: 6.25rem;
        font-size: 1rem;
        cursor: pointer;
        font-weight: 600;
        width: 100%;
    }
    /* ======= HERO ======= */
    .hero {
        margin-top: 6em;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .hero h2 {
        font-weight: 600;
        text-align: center;
        margin: 0 auto;
        padding: 0 6rem;
    }
    .hero p {
        font-size: 1rem;
        text-align: center;
        padding-inline: 5.3em;
        line-height: 1.7;
        margin-top: 1rem;
    }
    /*========= IMAGES SECTION ====================*/
    .images-content-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        width: 100%;
        margin: 0 auto;
    }
    .first-image-container {
        max-width: 375px;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    .first-image {
        margin: 3em 9em;
        align-items: center;
        justify-content: center;
        display: flex;
        width: 60%;
    }
    .first-content-container {
        margin: 0 auto;
        text-align: center;
    }
    .content h3 {
        margin: 0 auto;
        text-align: center;
        padding-bottom: .5rem;
    }
    .content p {
        margin: 0 auto;
        text-align: center;
        padding: 0 4.6rem;
        font-size: 1rem;
        line-height: 1.6;
    }
    /* ======= CLIPBOARD SECTION ======= */
    .clipboard-section h2 {
        font-size: 1.8rem;
        font-weight: 600;
        margin: 1rem 5rem;
        text-align: center;
    }
    .clipboard-section p {
        text-align: center;
        margin: 0 5rem;
        font-size: 1rem;
        line-height: 1.6;
        padding: 2rem 0;
    }
    /* ======= IMAGES SECTION - 2 ======= */
    .images-section {
        max-width: 375px;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    .images-section img {
        margin: 0 auto;
        align-items: center;
        justify-content: center;
        display: flex;
        width: 100%;
    }
    /* ======= WORKFLOW SECTION ======= */
    .workflow-section h2 {
        font-size: 1.7rem;
        font-weight: 600;
        padding: 0 5rem;
        line-height: 1.2;
    }
    .workflow-section p {
        font-size: 1rem;
        padding: .5rem 5rem;
        line-height: 1.6;
    }
    /* ======= BENEFITS SECTION ======= */
    .benefits-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    /* ===== LOGOS ===== */
    .logos {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .logos img {
        width: 30%;
        height: auto;
    }
    /* ======== STORES ======== */
    .stores h2 {
        font-size: 1.8rem;
        font-weight: 600;
        margin-right: 2rem;
    }
    .stores p {
        width: 85.4%;
    }
    #download-buttons {
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
       gap: 1.5rem;
    }
    .botones {
        padding: 1rem 5rem;
    }
    /* ======= FOOTER ======= */
    footer {
        max-width: 375px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 15rem;
        padding: 4rem 0;
        text-align: center;
    }
    .footer-img {
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        display: flex;
        text-align: center;
    }
    .logo {
        width: 50%;
        height: auto;
        align-items: center;
        justify-content: center;
    }
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        gap: 2rem;
    }
    .footer-links .footer-links-container {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        text-align: center;
        gap: 1rem;
        padding: 1rem 0;
    }
    .footer-links a {
        text-decoration: none;
        color: var(--Gray700);
        margin: 0 auto;
        font-size: 1rem;
    }
    .social-media {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        margin: 0 auto;
    }
}
