@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100vh;
}

.header {
    display: flex;
    gap: 4rem;
    align-items: center;
    padding: 1rem 4rem;
}

.heading {
    flex: 1;
    font-size: 4.8rem;
}

.logo-container {
    width: 8rem;
    height: 5.7rem;
}

.logo-container img {
    height: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

main {
    flex: 1;
    background: #F5FDFF;
}

.main {
    width: 100%;
    height: max-content;
    padding: 4rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main .content {
    flex: 5;
}

.content-btns-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.app-download-btn {
    cursor: pointer;
    img {
        height: 5rem;
    }
}

.main .hero {
    flex: 4;
    display: flex;
    justify-content: flex-end;

    img {
        width: 80%;
        border-radius: .8rem;
    }
}

.content h2 {
    font-size: 3.6rem;
    margin-bottom: 5rem;
}

.content h3 {
    font-size: 2.6rem;
    font-weight: 400;
    margin-bottom: 3rem;
}

.content h2 span {
    color: #0067B8;
}

.btn {
    border: 1px solid #DBDDE0;
    font-size: 2.6rem;
    padding: 1.2rem 4rem;
    border-radius: .8rem;
    color: #0067B8;
    text-decoration: none;
    cursor: pointer;
}

.btn.btn-primary {
    background-color: #0067B8;
    color: #FFF;
}

.content-heading {
    font-size: 4.8rem;
    color: #0067B8;
    font-weight: 400;
    margin-bottom: 3rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    label {
        font-size: 1.5rem;
    }
    input {
        padding: 1rem 2.2rem;
        font-size: 2.4rem;
        color: #737377;
        width: 45rem;
    }
    .error {
        display: flex;
        flex-direction: column;
        p {
            color: #e75050;
        }
    }
}
.input-group.has-error {
    label {
        color: #e75050;
    }
    input {
        border-color: #e26e6e;
    }
} 

.login-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.password-field-wrapper {
    position: relative;
}

.password-field-wrapper .icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-field-wrapper .icon img {
    height: 3.5rem;
}

.form-title {
    font-size: 2.8rem;
    margin-bottom: 2rem;
}

.errors {
    margin-bottom: 2rem;
}
.errors .error {
    background-color: #e26e6e;
    padding: 1rem 2.5rem;
    margin: 1rem 0rem;
    color: #F5FDFF;
}

.message {
    font-size: 2.5rem;
    color: #f3da38;
    text-align: center;
}

.headline-text {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.headline-text ~ p {
    margin-bottom: 2rem;
}

.align-right {
    text-align: right;
}

.link, .link:visited, .link:link {
    color: #0067B8;
    text-decoration: none;
}

.link:hover, .link:active {
    text-decoration: underline;
}

#download-progress-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 6rem;
    background-color: #f6e260;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

@media(max-width:1070px) {
    .heading {
        font-size: 2.2rem;
    }
}

@media(max-width: 740px) {
    .btn {
        font-size: 1.6rem;
        padding: 1rem 1.5rem;
    }
    .content h2 {
        font-size: 2.2rem;
    }
    .content h3 {
        font-size: 1.8rem;
    }
}

@media(max-width: 640px) {
    .main {
        flex-direction: column;
    }
    .main .hero {
        justify-content: center;
        margin-top: 4rem;
    }
}

@media(max-width: 563px) {
    .header {
        flex-direction: column;
    }
}
@media(max-width: 463px) {
    .content-heading {
        font-size: 2.6rem;
    }
    .form-title {
        font-size: 1.8rem;
    }
    .input-group {
        input {
            width: 100%;
            font-size: 1.4rem;
        }
    }
}