@use postcss-preset-env {
        stage: 0,
}
@font-face {
        font-family: Exo;
        src: url("../res/fonts/Exo-VariableFont_wght.ttf");
}
:root {
        --gridMaxWidth: 24em;
        --gridWidth: 50%;
}

:root {
        --bodyBackgroundColor: white; #eaeaea;
        --bodyColor: #999;
        --bodyFontFamily: 'Exo', 'Arial';
        --bodyFontFamilyFallback: 'Helvetica';
        --bodyFontSize: 0.875rem;
        --bodyFontWeight: 400;
        --bodyLineHeight: 1.5;
}

*,
*::before,
*::after {
        box-sizing: inherit;
        font-family: Exo;
}

html {
        box-sizing: border-box;
}

body {
        background-color: var(--bodyBackgroundColor);
        font-family: var(--bodyFontFamily), var(bodyFontFamilyFallback);
        font-size: var(--bodyFontSize);
        font-weight: var(--bodyFontWeight);
        line-height: var(--bodyLineHeight);
        margin: 0;
        /*
        background-image: url("/res/bkimage.jpg");
        background-repeat: no-repeat;
        background-attachment: fixed;*/
}

:root {
        --anchorColor: inherit;
        --anchorHoverColor: #1dabb8;
}

a {
        color: var(--anchorColor);
        text-decoration: none;
        transition: color 0.3s;
}

a:hover {
        color: var(--anchorHoverColor);
}

/* customizes and positions the elements in the body-container div */
.body-container {
        display: block;
        background-color: #eaeaea;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 50px;
        min-height: 500px;
}
.navigation-icon-div {
        width: 100%;
        height: 6em;
        background-color: white;
        /*box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);*/
        display: grid;
        grid-template-columns: 50% 50%;
        /*grid-template-columns: 8% 15%;*/
}
.transport-div {
        width: 100%;
        display: grid;
        grid-template-columns: 110px 300px;
}
.country-div {
        display: flex;
        justify-content: flex-end;
        padding-right: 3em;
}
.icon-image {
        width: 5em;
        height: 4.8em;
        margin-left: 2em;
        margin-top: 0.5em;
}
.icon-image-2 {
        width: 4em;
        height: 4em;
        margin-top: 1em;
}
.footer-section {
        width: 100%;
        height: 10em;
        background-color: white;
        position: fixed;
        bottom: 0;
        box-shadow: 0px 148px 16px 0 rgba(0, 0, 0, 0.2);
}
.grid {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
}

.icon {
        block-size: 1.25em;
        display: inline-block;
        inline-size: 1.25em;
        line-height: 1.25em;
        margin-right: 0.625em;
        text-align: center;
        vertical-align: center;
}

.icon-info {
        background-color: #e5e5e5;
        border-radius: 50%;
}


fieldset {
        border: none;
        margin: 0;
}

input {
        appearance: none;
        border: none;
        font: inherit;
        margin: 0;
        outline: none;
        padding: 0;
        font-weight: 600;
}

input[type='submit'] {
                cursor: pointer;
}

.form input[type='email'],
.form input[type='password'] {
        inline-size: 100%;
}

:root {
        --loginBorderRadius: 0.25em;
        --loginHeaderBackgroundColor: black; #281a;
        --loginInputBorderRadius: 0.25em;
}

.login-header {
        background-color: var(--loginHeaderBackgroundColor);
        border-top-left-radius: var(--loginBorderRadius);
        border-top-right-radius: var(--loginBorderRadius);
        color: #fff;
        padding: 1.5em;
        text-align: center;
        text-transform: uppercase;
}

.login-title {
        font-size: 1rem;
        margin: 0;
}

.login-body {
        background-color: #fff;
        padding: 1.5em;
        position: relative;
}

.login-body::before {
        background-color: #fff;
        content: '';
        height: 0.5em;
        left: 50%;
        margin-left: -0.25em;
        margin-top: -0.25em;
        position: absolute;
        top: 0;
        transform: rotate(45deg);
        width: 0.5em;
}

.login input[type="email"],
.form input[type='name'],
.login input[type='password'] {
        border: 0.0625em solid #e5e5e5;
        padding: 1em 1.25em;
}

.form input[type='name'] {
        border-top-left-radius: var(--loginInputBorderRadius);
        border-top-right-radius: var(--loginInputBorderRadius);
}

.login input[type='email'] {
        border-top-left-radius: var(--loginInputBorderRadius);
        border-top-right-radius: var(--loginInputBorderRadius);
}

.login input[type='password'] {
        border-bottom-left-radius: var(--loginInputBorderRadius);
        border-bottom-right-radius: var(--loginInputBorderRadius);
        border-top: 0;
}

.login input[type='submit'] {
        background-color: #1dabb8;
        border-radius: var(--loginInputBorderRadius);
        color: #fff;
        font-weight: 700;
        order: 1;
        padding: 0.75em 1.25em;
        transition: background-color 0.3s;
}

.login input[type='submit']:focus,
.login input[type='submit']:hover {
        background-color: #198d98;
}

.login-footer {
        align-items: center;
        background-color: #fff;
        border-bottom-left-radius: var(--loginBorderRadius);
        border-bottom-right-radius: var(--loginBorderRadius);
        display: flex;
        justify-content: space-between;
        padding-bottom: 1.5em;
        padding-left: 1.5em;
        padding-right: 1.5em;
}

.login-footer {
        margin: 0;
}

.login {
        max-inline-size: var(--gridMaxWidth);
        border-radius: var(--loginBorderRadius);
        inline-size: var(--gridWidth);
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        min-height: 275px;
}
