/* 
## Layout

The designs were created to the following widths:

- Mobile: 375px
- Desktop: 1440px

18px 

*/

@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;600&display=swap');

:root {
    --primary-green: hsl(171, 66%, 44%);
    --primary-blue: hsl(233, 100%, 69%);
    --neutral-grey-700: hsl(210, 10%, 33%);
    --neutral-grey-500: hsl(201, 11%, 66%);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Bai Jamjuree", sans-serif;
}

/* Utilites Style */
.btn {
    border: none;
    padding: 12px 30px;
    border-radius: 20px;
    cursor: pointer;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--primary-green);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.primary-btn:hover {
    box-shadow: 2px 2px 15px rgba(38, 186, 164, 0.5);
}

.secondary-btn {
    background-color: var(--primary-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.secondary-btn:hover {
    box-shadow: 2px 2px 15px rgba(97, 115, 225, 0.5);
}

/* Header Start */

header {
    background: url("./images/bg-header-desktop.png") no-repeat center top;
    background-size: cover;
    width: 100%;
}

header .container {
    padding: 80px 0;
}

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

header .container .content .logo {
    max-width: 80px;
    margin-bottom: 30px;
}

header .container .content h1 {
    color: var(--neutral-grey-700);
    font-size: 30px;
    margin-bottom: 10px;
}

header .container .content p {
    font-size: 14px;
    max-width: 500px;
    text-align: center;
    margin-bottom: 30px;
    color: var(--neutral-grey-500);
}

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

/* Header End */

/* Features Start */
#features {
    align-items: center;
    text-align: center;
    margin-top: 30px;
    max-width: 1100px;
    margin: auto;
}

#features .content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#features .content h2 {
    color: var(--neutral-grey-700);
    margin-bottom: 10px;
    font-size: 27px;
}

#features .content p {
    max-width: 550px;
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--neutral-grey-500);
}

.features {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 500px;
  max-width: 100vh;
  margin: auto;
  min-height: 400px;
}

.features img {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 470px;
  height: auto;
  z-index: 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: start;
  align-items: start;
  text-align: start;
  max-width: 400px;
  z-index: 1;
}

.feature h3 {
  color: var(--neutral-grey-700);
  margin-bottom: 8px;
  font-size: 16px;
}

.feature p {
  color: var(--neutral-grey-500);
  font-size: 12px;
  line-height: 1.6;
  max-width: 260px;
}

/* Features End */

/* Access Start */
#access {
    align-items: center;
    text-align: center;
    margin-top: 70px;
}

#access .content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#access .content h2 {
    color: var(--neutral-grey-700);
    margin-bottom: 10px;
}

#access .content p {
    color: var(--neutral-grey-500);
    font-size: 14px;
    max-width: 520px;
    text-align: center;
    margin-bottom: 50px;
}

#access img {
    max-width: 600px;
}

/* Access End */

/* WorkFlow Start */
#workflow {
    align-items: center;
    text-align: center;
    margin-top: 30px;
}

#workflow .content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#workflow .content h2 {
    color: var(--neutral-grey-700);
    font-size: 26px;
    margin-bottom: 10px;
}

#workflow .content p {
    color: var(--neutral-grey-500);
    font-size: 14px;
    margin-bottom: 40px;
}

#workflow .workflow {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 90%;
    margin: auto;
}

#workflow .workflow .item {
    padding: 10px 5px;
}

#workflow .workflow .last {
    margin-top: 7px;
}

#workflow .workflow .last img {
    width: 40px;
}

#workflow .workflow .item img {
    width: 30px;
    margin-bottom: 25px;
}


#workflow .workflow .item h3 {
    color: var(--neutral-grey-700);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

#workflow .workflow .item p {
    color: var(--neutral-grey-500);
    line-height: 1.6;
    font-size: 12px;
    max-width: 260px;
}

#workflow .clients {
    margin: 80px 0;
}

#workflow .clients img {
    width: 90px;
    margin: 0 40px;
}

/* WorkFlow End */

/* Download Start */
#download {
    align-items: center;
    text-align: center;
}

#download .content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#download .content h2 {
    color: var(--neutral-grey-700);
    font-size: 22px;
    margin-bottom: 10px;
}

#download .content p {
    color: var(--neutral-grey-500);
    font-size: 12px;
    margin-bottom: 32px;
    max-width: 450px;
}

/* Download End */

/* Footer Start */
footer {
    margin-top: 100px;
    align-items: center;
    text-align: center;
    background-color: #f6f6f6;
    padding: 20px 0;
}

footer .content {
    max-width: 800px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
}

footer .content .links a {
    text-decoration: none;
    color: var(--neutral-grey-700);
    font-size: 12px;
    margin: 5px 0;
}

footer .content .links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: start;
    position: relative;
    left: -80px;
}

footer .content .footer-logo {
    width: 35px;
}

footer .content .social-media img {
    width: 15px;
    margin: 0 5px;
}
/* Footer End */

/* Responsive Start */
@media (max-width: 630px) {

    header {
        background: url("./images/bg-header-mobile.png") no-repeat center top;
        background-size: cover;
    }

    header .container .content .bottons {
        display: flex;
        flex-direction: column;
    }

    header .container .content .logo {
        max-width: 200px;
        margin-bottom: 50px;
    }

    header .container .content h1 {
        font-size: 45px;
        max-width: 470px;
        text-align: center;
    }

    header .container .content p {
        padding: 0 5px;
        font-size: 22px;
        text-align: center;
        line-height: 1.5;
        margin-bottom: 40px;
    }

    .btn {
        margin: 10px 0;
        width: 40vh;
        padding: 20px 0;
        font-size: 20px;
        border-radius: 50px;
    }

  .features {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 40px;
  }

  .features img {
    position: static;
    transform: none;
    width: 100%;
    max-width: 350px;
    height: auto;
    margin: 0 auto;
  }

  .feature-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
  }

  .feature-list .feature {
    margin-bottom: 30px;
    max-width: 400px;
  }

  .feature h3 {
        font-size: 25px;
    }

    .feature p {
        font-size: 18px;
        max-width: 500px;
    }

    #access .content h2,#workflow .content h2,#features .content h2, #download .content h2 {
        font-size: 35px;
        max-width: 350px;
    }

    #access .content p,#workflow .content p,#features .content p, #download .content p {
        font-size: 20px;
        max-width: 400px;
    }

    #access img {
        max-width: 350px;
    }

    #workflow .workflow {
        flex-direction: column;
    }

    #workflow .workflow .item img {
        width: 60px;
        margin-bottom: 50px;
    }

    #workflow .workflow .item h3 {
        font-size: 30px;
        margin-bottom: 25px;
    }

    #workflow .workflow .item p {
        font-size: 20px;
        text-align: center;
        margin: auto;
        max-width: 400px;
    }

    #workflow .clients { 
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #workflow .clients img {
        margin: 40px 0;
        width: 150px;
    }

    footer .content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: auto;
    }

    footer .content .footer-logo {
        width: 60px;
        margin: 40px 0;
    }

    footer .content .links {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        margin: auto;
        left: 0;
    }

    footer .content .links a {
        font-size: 22px;
        margin-bottom: 20px;
    }

    footer .content .social-media img {
        width: 30px;
        margin: 40px 20px;
    }

}
/* Responsive End */