:root {
    --color-primary: #000091;
    --color-primary-dark: #000074;
    --color-primary-light: #6666BD;
    --color-grey-light: #E5E7EB;
    --color-background-light: #f2f2fe;
    --color-error: rgb(185 28 28);
}

:focus-visible {
    outline-color: var(--color-primary);
}

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
    display: block;
    max-height: 100%;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
    -webkit-appearance: none;
}

iframe {
    border: none;
}


/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.px-8 {
    padding-left: 8px;
    padding-right: 8px;
}

.px-12 {
    padding-left: 12px;
    padding-right: 12px;
}

.py-8 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.py-12 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.py-22 {
    padding-top: 22px;
    padding-bottom: 22px;
}

.mt-4 {
    margin-top: 4px;
}

.mt-12 {
    margin-top: 12px;
}

.mt-46 {
    margin-top: 46px;
}

.ml-8 {
    margin-left: 8px;
}

.flex {
    display: flex;
}

.color-white {
    color: white;
}

.color-blue {
    color: var(--color-primary);
}

.color-error {
    color: var(--color-error);
}

.bg-white {
    background-color: white;
}

.bg-blue {
    background-color: var(--color-primary);
}

.bg-light {
    background-color: var(--color-background-light);
}

.flex-end {
    justify-content: flex-end;
}

.space-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.direction-column {
    flex-direction: column;
}

.text-center {
    text-align: center;
}

.wrapper {
    width: 1200px;
    margin: auto;
}

body {
    font-family: 'Marianne';
    overflow: auto;
}

.header {
    border-bottom: 1px solid var(--color-grey-light);
}

.es-btn {
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat';

    border: 2px solid var(--color-primary);
    padding: 9px 18px;
    
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    background: none;
    white-space: nowrap;
}

.es-btn:hover {
    text-decoration: none;
}

.es-btn.primary {
    color: white;
    background-color: var(--color-primary);
}

.es-btn.primary:hover {
    background-color: var(--color-primary-dark);
}

.es-btn.secondary {
    color: var(--color-primary);
    background-color: white;
    border-color: var(--color-primary-light);
}

.es-btn.secondary:hover {
    border-color: var(--color-primary);
}

.es-btn.text {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    text-decoration-line: underline;
    color: var(--color-primary);
    border: none;
    padding: 0;
    white-space: nowrap;
}

.es-btn.text:hover {
    color: var(--color-primary-dark);
}

.es-btn.menu {
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--color-primary);
}

.es-btn.menu:hover {
    color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.es-btn.menu.active {
    border-color: var(--color-primary);
}

.header .button-container {
    flex-direction: column;
    justify-content: center;
    margin-right: 24px;
}

.header .button-container > * + * {
    margin-top: 8px;
}

.header .menu-container {
    gap: 8px;
}

.main {
    padding: 72px 0;
    padding-top: 80px;
    min-height: calc(100vh - 336px);
}

.welcome-text {
    width: 480px;
    margin-top: 7px;
}

.welcome-text h1 {
    font-weight: 700;
    font-size: 56px;
    line-height: 78px;
}

.welcome-text p {
    margin-top: 24px;
    font-size: 16px;
    line-height: 160%;
    font-weight: 400;
}

.main .button-container {
    margin-top: 48px;
}

.main .button-container > * + * {
    margin-left: 8px;
}

.image {
    object-fit: cover;
}

.image1 {
    margin-right: 12px;
    border-bottom-left-radius: 60px;
}

.image2 {
    margin-left: 12px;
    margin-bottom: 12px;
    border-top-right-radius: 60px;
}

.image3 {
    margin-left: 12px;
    margin-top: 12px;
    border-bottom-right-radius: 60px;
}

.connect-form {
    margin-top: 24px;
    width: 480px;
}

.connect-form > * + * {
    margin-top: 12px;
}

.connect-form input {
    border: 1px solid var(--color-grey-light);
}

.connect-form input:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.connect-form input:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top: none;
}

.password-forgot {
    margin-right: 8px;
}

.connect-openid {
    margin-top: 48px
}

.connect-openid > img {
    cursor: pointer;
}

.openid-logo {
    cursor: pointer;
}

.connect-openid > * + * {
    margin-top: 8px;
}

.break-line {
    border: 1px solid var(--color-primary-light);
    width: 304px;
    margin: 44px 0;
}

.fc-text {
    font-size: 1.5rem;
    text-align: center;
}

.fc-button{
    margin-top: 24px;
    width: 209px;
    height: 56px;
}

.links {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    flex-flow: wrap;
    justify-content: center;
}

.links > * {
    white-space: nowrap;
    font-family: 'Marianne'
}

.footer .power-by {
    margin-right: 24px;
    font-weight: 700;
    font-size: 16px;
    line-height: 160%;
    white-space: nowrap;
}

@media (max-width: 1264px) {
    .wrapper {
        width: 705px;
    }

    .lg-direction-column {
        flex-direction: column;
    }

    .main {
        padding-top: 32px;
        padding-bottom: 52px;
    }

    .welcome-text {
        margin-top: 0;
        width: auto;
    }

    .main .button-container {
        margin-bottom: 64px;
    }

    .image {
        width: 341px;
    }
}

@media (max-width: 768px) {
    .wrapper {
        width: 577px;
    }

    .md-direction-column {
        flex-direction: column;
    }

    .logo {
        width: 90px;
        height: 90px;
    }

    .header .menu-container {
        flex-direction: column;
        justify-content: center;
    }

    .es-btn.menu {
        padding: 4px 6px;
    }

    .welcome-text h1 {
        font-size: 30px;
        line-height: 42px;
    }

    .image {
        width: 277px;
    }

    .connect-form {
        margin-bottom: 32px;
        margin-right: 0;
        width: 312px
    }

    .connect-openid {
        margin-top: 32px;
        margin-left: 0;
    }

    .footer {
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

@media (max-width: 640px) {
    .wrapper {
        width: 311px;
    }

    .sm-direction-column {
        flex-direction: column;
    }

    .header .button-container {
        display: none;
    }

    .image {
        height: 140px;
        width: 100%;
        margin: 0 0 12px 0;
        border-radius: 0;
    }

    .footer .power-by {
        margin-top: 32px;
        margin-right: 0;
        margin-bottom: 24px;
    }
}