@font-face {
    src: url("../fonts/Wiescher Design - Supra-NormalRounded.otf");
    font-family: Supra;
}

body {
    font-family: Supra, Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.35;
    background: #eaeaea url("../images/background.jpg") center top repeat;
    color: #656d78;
    padding: 0;
    margin: 0;
}

#container {
    width: 100%;
    max-width: 1170px;
    height: auto;
    margin: 35px auto 0;
    background-color: #fff;
    box-shadow: 0 0 30px rgb(0 0 0 / 25%);
}

header {
    position: relative;
    height: 100px;
    z-index: 10;
}

header .logo {
    width: 200px;
    left: 16px;
    top: 36px;
    position: absolute;
}

header .logo a {
    display: block;
}

header .logos-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    max-width: 800px;
    height: 100%;
    padding-left: 250px;
    padding-right: 10px;
}

header .logos-wrapper figure {
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
}

header .logos-wrapper figure img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(3px 3px 3px #656d78);
}

footer {
    height: 45px;
    background-color: #656d78;
    color: #aab2bd;
    box-sizing: border-box;
    padding: 7px 77px;
    text-align: right;
    font-size: 1.2em;
    line-height: 1.2em;
}

footer p {
    margin: 0;
    letter-spacing: 0.06rem;
}

footer a {
    color: rgb(206, 206, 206);
    text-decoration: none;
}

footer a:hover {
    color: rgb(234, 234, 234);
}

footer a svg {
    width: 1.2em;
    height: 1.2em;
    fill: rgb(206, 206, 206);
    transform: translateY(4px);
}

footer a:hover svg {
    fill: rgb(234, 234, 234);
}

.banner {
    position: relative;
}

.banner img {
    display: block;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

.banner .banner-text {
    position: absolute;
    top: 0;
    left: 0;
    padding: 75px min(5vw, 75px);
}

.banner .banner-text .banner-content {
    background: linear-gradient(
        to right,
        rgba(67, 74, 84, 0.4),
        rgba(67, 74, 84, 0.6)
    );
    color: #fff;
    padding: 30px;
    max-width: 346px;
    font-size: 1.5em;
}

.banner .banner-text .banner-content h1 {
    font-weight: normal;
    font-size: 30px;
    margin-top: 0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

form .form-group {
    width: 266px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
}

form input[type="text"],
form input[type="password"] {
    border: 1px solid #e1e1e1;
    color: #656d78;
    background-color: #fff;
    font-size: 16px;
    height: 37px;
    padding: 0 15px;
    width: 234px;
    font-family: Supra, Roboto, Arial, sans-serif;
}

form .form-check {
    display: flex;
    flex-direction: row;
    gap: 10px;
    place-items: center;
}

form input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.btn {
    background-color: #00969c;
    color: #fff;
    display: inline-block;
    font-size: 1.25rem;
    padding: 10px 20px;
    width: 100%;
    text-decoration: none;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    transition: background-color 0.5s;
    margin-top: 20px;
}

.btn:hover {
    background-color: #007175;
}

nav {
    position: absolute;
    top: 47px;
    right: 0;
    line-height: 1;
}

nav > span {
    color: #434a54;
    display: block;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 26px;
    text-transform: uppercase;
}

nav > span a {
    color: #00969c;
    transition: color 0.5s;
}

nav > span a:hover {
    color: #007175;
}

.forgot-password > a {
    color: white;
}

.btn > a {
    color: #fff;
    text-decoration: none;
}

@media only screen and (max-width: 840px) {
    main figure {
        display: none;
    }

    .banner .banner-text .banner-content {
        background: rgba(67, 74, 84, 0.7);
    }
}

@media only screen and (max-width: 600px) {
    header .rea-intro {
        display: none;
    }

    .banner .banner-text .banner-content {
        background: rgba(67, 74, 84, 0.8);
    }
}

@media only screen and (max-width: 480px) {
    nav > span {
        padding: 16px 6px;
    }

    footer {
        text-align: center;
        padding: 7px;
    }
}
