@import url('clean.css');
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@200;300;400;700&display=swap');

body {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
}

header {
    background-color: #0080FF;
    padding: 20px;
    text-align: center;
}

header figure {
    display: flex;
    justify-content: center;
    margin: 0;
}

.logo {
    max-height: 38px;
    width: auto;
    display: block;
}

footer {
    text-align: center;
    padding: 1em 0;
    color: #888;
    font-size: 0.9em;
}

.hero {
    background-color: #0080FF;
    color: #fff;
    text-align: center;
    background-image: url('img/tincrea-bg.svg');
    background-size: contain; /* Ensures the entire image is visible, shrinking if necessary */
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    
}

.hero h1 {
    color: #fff;
    font-size: 30px;
    font-weight: 200;
    text-transform: uppercase;
    line-height: 115%;
    margin: 0 10px;
    margin-bottom: 25px;
}

.hero figure {
    margin: 0 auto;
    max-width: 280px;
}

.hero figure img {
    display: block;
}

a {
    color: #0080FF;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

section {
    margin: 0;
}

.description {
    font-size: 20px;
    line-height: 115%;
    color: #0D3459;
    font-weight: 300;
    text-align: center;
    margin-top: 20px;
}

.description p {
    margin: 0 60px 20px 60px;
}

.description p.subscribe {
    font-size: 16px;
    font-weight: 400;
    color: #0080FF;
    text-transform: uppercase;
}

.description form {
    display: flex;
    flex-direction: column;
    margin: 0 40px;
    align-items: center;
}

.description form input {
    margin: 0;
    margin-bottom: 10px;
    background: #B3DAFF;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #19304A;
    box-shadow: 0 4px 16px 0 rgba(13, 52, 89, 0.10);
    padding: 12px 0;
    text-align: center;
    transition: box-shadow 0.2s;
    width: 100%;
}

.description form input::placeholder {
    color: #19304A;
    opacity: 0.7;
    font-weight: 500;
}

.description form button {
    background-color: #1744FF;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 16px 0 rgba(13, 52, 89, 0.10);
    padding: 12px 0;
    transition: box-shadow 0.2s, background 0.2s;
    width: 100%;
}

.description form button:hover {
    background: #0D3459;
    box-shadow: 0 6px 20px 0 rgba(13, 52, 89, 0.18);
}

/* responsive major to 600px */
@media (min-width: 600px) {
    .description form {

        input,
        button {
            max-width: 600px;
        }

    }
}

/* responsive major to 600px */
@media (min-width: 800px) {
    .logo {
        max-height: 60px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero figure {
        max-width: 400px;
    }

    .description form {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        justify-content: center;

        input,
        button {
            margin: 0;
            max-width: 350px;
        }
    }

    .description p {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .description p.subscribe {
        font-size: 20px;
    }
}