@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');

:root {
    --color-1: #bdc1c6;
    --color-2: #202124;
    --color-3: #e8eaed;
    --border-color: #3c4043;
}

* {
    margin: 0;
    padding: 0;
    color: var(--color-1);
    line-height: 1.5;
    box-sizing: border-box;
    font-family: 'Source Sans Pro', sans-serif;
}

body {
    width: 100vw;
    background: var(--color-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
}

h1 {
    color: var(--color-3);
    font-size: 2.5rem;
}

.fa-hourglass-half {
    margin-left: 0.5rem;
}

#form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 8vh 0;
}

#input-field {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5rem;
}

.input-box {
    width: 30%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

label {
    font-size: 1.25rem;
}

input {
    font-size: 2.4rem;
    text-align: center;
    padding: 0.25rem 1.25rem;
    margin-top: 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    outline: none;
    color: var(--color-3);
    background: var(--color-2);
}

.fa-arrow-right-arrow-left {
    font-size: 1.5rem;
    margin: 2rem 2rem 0 2rem;
}

select {
    color: var(--color-1);
    text-align: center;
    outline: none;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    background: var(--color-2);
}

/* media query for responsiveness */

@media only screen and (max-width: 760px) {
    #form {
        padding: 0;
    }

    .fa-arrow-right-arrow-left {
        display: none !important;
    }

    #input-field {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .input-box {
        width: 40%;
        margin: 1rem 0;
    }

    input {
        font-size: 1.5rem;
    }
}

@media only screen and (max-height: 450px) {
    section {
        height: max-content;
    }

    #form {
        margin: 2vh 0;
    }
}