@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Thin.ttf') format('truetype');
    font-weight: 100;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-ExtraLight.ttf') format('truetype');
    font-weight: 200;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Light.ttf') format('truetype');
    font-weight: 300;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Regular.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Medium.ttf') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-SemiBold.ttf') format('truetype');
    font-weight: 600;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Bold.ttf') format('truetype');
    font-weight: 700;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-ExtraBold.ttf') format('truetype');
    font-weight: 800;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Black.ttf') format('truetype');
    font-weight: 900;
}

/* Mobile First */
* {
    font-family: 'Inter';
}

h1 {
    font-weight: 600;
    font-size: 36px;
    line-height: 42px;
}
h2 {
    font-weight: 600;
    font-size: 36px;
    line-height: 54px;
}
h3 {
    font-weight: 600;
    font-size: 24px;
    line-height: 24px;
}
p {
    font-size: 18px;
    line-height: 24px;
}
.small-text {
    font-size: 14px;
    line-height: 18px;
}
.small-text-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
}

p, h1, h2, h3 {
    margin: 0px;
}

button {
    background: #3AA39F;
    color: white;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.1px;
    font-weight: 600;
    outline: none;
    border-radius: 4px;
    border: none;
    width: 100%;
    display: flex;
    height: 52px;
    cursor: pointer;
}
button div {
    margin: auto;
    display: flex;
}
button span {
    line-height: 12px;
    margin: auto 0px;
}
button:disabled {
    background: rgb(0, 0, 0, 0.3);
}
.shop--section-header {
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    color: #17183B;
    margin-top: 40px;
}
.shop--field-header {
    font-size: 18px;
    line-height: 28px;
    color: #1A202C;
    margin-top: 24px;
}
.shop--input {
    font-weight: 600;
    padding: 0px 16px;
    font-size: 18px;
    color: #1A202C;
    height: 48px;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
}
.red {
    color: red;
}
input.red::placeholder {
    color: red;
}
input.red {
    border: 1px solid red;
}

/* Styling for syntax highlighting */
.keyword { color: blue; }
.comment { color: green; }
.function { color: brown; }
.string { color: red; }
.number { color: purple; }
.operator { color: darkblue; }
.punctuation { color: black; }
.identifier { color: black; }

.desktop {
    display: none;
}

.main-menu-item {
    margin-right: 24px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
}

.main-header>div {
    flex-flow: column;
}
.main-header>div>div {
    width: 100%;
    padding: 0px;
}
.main-header--img-composition {
    height: 238px;
}
.headerQrCode {
    top: 186px;
    left: 177px;
    height: 45px;
}
.how-it-works > div {
    margin: 80px 0px;
}
.how-it-works > div:first-child {
    margin: 20px 0px 80px;
}
.how-it-works img {
    margin:0px 23px;
}
.secure {
    padding: 40px 24px;
}
.secure-header {
    margin-top: 24px;
}
.live-example {
    margin: 40px 0px;
    padding: 40px 24px;
}
.padding {
    padding: 0px 24px;
}
.secure--header {
    margin-top: 24px;
}
.dummyshop--content {
    flex-direction: column;
    padding: 30px;
}
.dummyshop--product {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.dummyshop--product > div:last-child {
    margin: auto 0px;
}
.dummyshop--product-picture-bg {
    background: #F1F2F6;
}
.dummyshop--product-picture-img {
    width: 127px;
    height: 174px;
    background:url('/assets/chair.png');
    background-size: cover;
    background-position: center;
}
.shop-spacing {
    margin-top: 16px;
}

.credit-card__number {
    font-size: 12px;
}
.credit-card__info-name, .credit-card__info-exp {
    font-size: 10px;
}

/* CSS for desktop */
@media screen and (min-width: 1100px) {
    .desktop {
        display: flex;
    }
    .mobile {
        display: none;
    }
    .main-header {
        display: flex;
        height: 463px;
        box-sizing: border-box;
    }

    .main-header>div {
        flex-flow: row;
    }
    .main-header>div>div {
        width: 552px;
        padding: 0px 30px;
    }
    .main-header--img-composition {
        height: 403px;
    }
    .headerQrCode {
        top: 309px;
        left: 327px;
        height: 80px;
    }
    .how-it-works {
        display: flex;
    }
    .how-it-works > div {
        margin: 40px 0px;
    }
    .how-it-works > div:first-child {
        margin: 40px 0px;
    }
    .how-it-works img {
        margin:0px;
    }
    #security {
        margin: 60px auto;
    }
    .secure {
        display: flex;
        padding: 60px;
        width: 100%;
        box-sizing: border-box;
    }
    .secure > div:first-child {
        min-width: 312px;
    }
    .secure-header {
        margin-top:0px;
    }
    .live-example {
        display: flex;
        align-items: end;
        margin: 60px auto;
        padding: 40px;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
    }
    .live-example img {
        width: 468px;
    }
    .live-example>div:first-child {
        width: 55%;
    }
    .live-example>div:last-child {
        width: 40%;
    }
    .padding {
        padding: 0px 30px;
    }
    .secure--header {
        margin-top: 0px;
    }
    .shop--section-header.first {
        margin-top: 0px;
    }
    .dummyshop--content {
        flex-direction: row;
        justify-content: space-between;
        padding: 60px;
    }
    .dummyshop--product {
        flex-direction: column;
        justify-content: flex-start;
    }
    .dummyshop--content > div {
        width: 48%;
    }
    .dummyshop--product > div:last-child {
        margin: 60px 0px;
    }
    .dummyshop--product-picture-bg {
        height: 540px;
    }
    .dummyshop--product-picture-img {
        width: 265px;
        height: 364px;
        background-position: center;
        background-size: auto;
        margin: auto;
        height: 100%;
        background-repeat: no-repeat;
    }
    .shop-spacing {
        margin-top: 40px;
    }

    .credit-card__number {
        font-size: 24px;
    }
    .credit-card__info-name, .credit-card__info-exp {
        font-size: 18px;
    }
}