* {
    box-sizing: border-box;
}

body {
    font-family: "Anuphan", sans-serif;
    margin: 0;
    padding: 0;
}

a, a:visited, a:hover {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    font-family: inherit;
    background-color: transparent;
    line-height: inherit;
    cursor: pointer;
}

.logo {
    width: 280px;
    height: 24px;
    margin-bottom: 3em;
}

.wrapper {
    display: flex;
    flex-direction: column;
}

.content,
.image {
    width: 100%;
    display: flex;
    align-content: center;
    flex-direction: column;
    align-items: center;
}

.content {
    padding-top: 5.9375em;
    min-height: calc(100vh - 132px);
}

.content p {
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    text-align: center;
    max-width: 334px;
    padding: 0 16px;
}

.bottom-action {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 106px;
    padding: 0 32px;
    background: #F6F6F6;
    color: #000000;
}

.bottom-action p {
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    padding: 0;
}

.image {
    background-image: url('/images/background.jpg');
    background-position: center left 21%;
    background-size: cover;
    background-repeat: no-repeat;
    height: 238px;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5rem;
    letter-spacing: 0;
    text-align: center;
    margin: 0 0 16px 0;
}

a {
    display: flex;
    align-items: center;
    width: 163px;
    height: 42px;
    padding: 0 20px 0 14px;
    border: 1px solid #424242;
    border-radius: 100px;
    text-align: left;
}

a:first-child {
    margin-bottom: 1em;
}

a img {
    display: inline-block;
}

a span {
    display: inline-block;
    margin-left: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: 0;
    text-align: center;
    color: #424242;
}

@media screen and (min-width: 520px) {
    .content {
        height: calc(100vh - 422px);
        padding-bottom: 306px;
    }

    .content p {
        max-width: 672px;
    }

    .bottom-action {
        position: fixed;
    }

    .image {
        height: 422px;
    }
}

@media screen and (min-width: 769px) {
    .wrapper {
        flex-direction: row;
    }

    .content, .image {
        width: 50%;
        height: 100vh;
    }

    .content p {
        max-width: 555px;
    }

    .logo {
        width: 280px;
        height: auto;
    }

    h1 {
        font-size: 24px;
    }

    .buttons {
        max-width: 90%;
    }

    .buttons a {
        width: 332px;
        max-width: 100%;
        height: 41px;
    }

    .buttons a span {
        font-size: 14px;
    }

    .content {
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
        position: relative;
    }

    .bottom-action {
        position: absolute;
    }
}
