/* Start Variables */
:root {

    /* Primary Colors */
    --green-color-500: hsl(171, 66%, 44%);
    --blue-color-100: hsl(233, 100%, 69%);

    --green-color-500-2: hsl(171, 55%, 38%);
    --blue-color-100-2: hsl(233, 70%, 60%);

    /* Neutral Colors */
    --gray-color-700: hsl(210, 10%, 33%);
    --gray-color-500: hsl(201, 11%, 66%);

    --gray-color-footer: hsl(220, 18%, 97%);

    --white-color: hsl(0, 0%, 100%);
    --black-color: hsl(0, 0%, 7%);
}

/* End Variables */

/* Start Global Rules */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    font-family: "Bai Jamjuree", sans-serif;
    background-color: var(--white-color);
    color: var(--gray-color-700);
    font-weight: 400;
    font-size: 18px;
}

/* End Global Rules */

.container {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .container {
        width: 280px;
    }
}

@media (min-width: 767px) {
    .container {
        width: 700px;
    }
}

.container-2 {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .container-2 {
        width: 280px;
    }
}

@media (min-width: 767px) {
    .container-2 {
        width: 760px;
    }
}

@media (min-width: 992px) {
    .container-2 {
        width: calc(100% - 200px);
    }
}


.landing {
    background-image: url("../images/bg-header-desktop.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
}

@media (max-width: 768px) {
    .landing {
        background-image: url("../images/bg-header-mobile.png");
    }
}

.landing .land-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.landing .land-content .site-logo {
    margin: 140px auto 50px;
}

.landing .land-content .header-h {
    color: var(--gray-color-700);
    font-weight: 600;
    font-size: 45px;
}

.landing .land-content .header-p {
    color: var(--gray-color-500);
    font-size: 20.5px;
    line-height: 1.5;
    margin: 30px auto 80px;
}

@media (max-width: 768px) {
    .landing .land-content .site-logo {
        margin: 90px auto 50px;
    }

    .landing .land-content .header-h {
        font-size: 26px;
    }

    .landing .land-content .header-p {
        font-size: 14.5px;
        line-height: 1.5;
        margin: 25px auto 50px;
    }
}

.btn-download {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 16px;
}

.btn-download .ios-btn,
.btn-download .mac-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-size: 18px;
    font-weight: 600;
    width: 250px;
    height: 60px;
    color: var(--white-color);
    text-decoration: none;
    border-radius: 80px;
    -webkit-border-radius: 80px;
    -moz-border-radius: 80px;
    -ms-border-radius: 80px;
    -o-border-radius: 80px;
}

.btn-download .ios-btn::before,
.btn-download .mac-btn::before {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--white-color);
}

.btn-download .ios-btn:hover::before,
.btn-download .mac-btn:hover::before {
    content: "";
    width: 100%;
    opacity: 0.2;
}

.btn-download .ios-btn {
    background-color: var(--green-color-500);
    box-shadow: 0 5px 3px -2px var(--green-color-500-2);
}

.btn-download .mac-btn {
    background-color: var(--blue-color-100);
    box-shadow: 0 5px 3px -2px var(--blue-color-100-2);
}

@media (max-width: 768px) {
    .btn-download {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .btn-download .ios-btn,
    .btn-download .mac-btn {
        font-size: 15px;
        width: 100%;
        height: 40px;
    }
}

.section {
    margin: 150px auto 0;
}

.section .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.section .content .section-h {
    color: var(--gray-color-700);
    font-size: 35px;
    line-height: 1;
}

.section .content .section-p {
    text-align: center;
    color: var(--gray-color-500);
    font-size: 18px;
    line-height: 1.6;
    margin: 25px 0 70px;
}

@media (max-width: 992px) {
    .section .content .section-h {
        font-size: 22px;
        text-align: center;
    }

    .section .content .section-p {
        text-align: center;
        font-size: 14.5px;
        margin: 20px 0 50px;
    }

    .section .content .section-img {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .section .content .section-h {
        font-size: 22px;
        text-align: center;
    }

    .section .content .section-p {
        text-align: center;
        font-size: 14.5px;
        margin: 20px 0 50px;
    }

    .section .content .section-img {
        width: 100%;
    }
}

.section .container-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section .content-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
    margin: auto 120px auto -150px;
}

.section .content-2 .features {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.main-h {
    color: var(--gray-color-700);
    font-weight: 600;
    font-size: 26px;
}

.main-p {
    color: var(--gray-color-500);
    font-size: 18px;
    line-height: 1.7;
    margin-top: 10px;
}

@media (max-width: 1300px) {
    .section .content-2 {
        gap: 80px;
        margin: auto;
    }

    .section .content-2 .image {
        width: 150%;
    }

    .section .content-2 .image img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section .content-2 {
        flex-direction: column;
        gap: 50px;
        margin: auto;
    }

    .section .content-2 .image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .section .content-2 .image img {
        width: 100%;
    }

    .section .content-2 .features {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .main-h {
        font-size: 20px;
    }

    .main-p {
        font-size: 14.5px;
    }
}

.section .container-2 .tools {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    gap: 20px;
}

.section .container-2 .tools .tool-box {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.section .container-2 .tools .tool-box .tool-img {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .section .container-2 .tools {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .section .container-2 .tools .tool-box {
        gap: 8px;
    }

    .section .container-2 .tools .tool-box .tool-img {
        width: 32px;
        height: 32px;
    }
}

.section .container-2 .companies {
    margin: 160px auto 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 120px;
}

@media (max-width: 1250px) {
    .section .container-2 .companies {
        margin: 100px auto 40px;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .section .container-2 .companies img {
        width: 125px;
    }
}

@media (max-width: 768px) {
    .section .container-2 .companies {
        margin: 120px auto 40px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
    }

    .section .container-2 .companies img {
        width: 80%;
    }
}

.footer {
    margin-top: 150px;
    padding: 20px 0;
    background-color: var(--gray-color-footer);
}

.footer .container-2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer .container-2 .footer-1 {
    display: flex;
    align-items: center;
    gap: 100px;
}

.footer .container-2 .footer-1 .footer-logo {
    width: 70px;
}

.footer .container-2 .footer-1 .footer-logo img {
    width: 100%;
}

.footer .container-2 .footer-1 .content {
    flex: 1;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 37px);
}

.footer .container-2 .footer-1 .content a {
    color: var(--gray-color-700);
    text-decoration: none;
    width: 100%;
    font-size: 22px;
}

.footer .container-2 .footer-1 .content a:hover {
    color: var(--green-color-500);
}

.footer .container-2 .footer-1 .social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.footer .footer-1 .social a {
    color: var(--gray-color-700);
}

.footer .footer-1 .social a i {
    font-size: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.footer .footer-1 .social a:hover {
    color: var(--green-color-500);
}

@media (max-width: 1100px) {

    .footer .container-2 .footer-1 .footer-logo {
        width: 60px;
    }

    .footer .container-2 .footer-1 .content a {
        font-size: 17px;
    }

    .footer .footer-1 .social a i {
        font-size: 25px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0;
    }

    .footer .container-2 {
        gap: 5px;
    }

    .footer .container-2 .footer-1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .footer .container-2 .footer-1 .footer-logo {
        width: 50px;
    }

    .footer .container-2 .footer-1 .content {
        grid-template-rows: repeat(5, 1fr);
        text-align: center;
        gap: 25px;
    }

    .footer .container-2 .footer-1 .content a {
        font-size: 17px;
    }

    .footer .container-2 .footer-1 .social {
        justify-content: space-between;
        gap: 30px;
    }

    .footer .footer-1 .social a i {
        font-size: 25px;
    }
}

.attribution {
    text-align: center;
    margin: 50px auto;
    font-size: 25px;
}

.attribution a {
    color: var(--green-color-500);
    font-style: italic;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .attribution {
        margin: 60px auto 40;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .attribution {
        margin: 60px auto 40;
        font-size: 18px;
    }
}