﻿@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}


:root {
  --primary-red: #981E32;
  --secondary-red: #861A2C;
  --mitId-blue: #0060E6;
  --mitId-blue-hover: #0056CE;
  --light-grey: #D8E3E7;
  --black: #29271F;
  --gutter: 30px;
  --border-radius: 10px;
  --bp-sm: 320px;
  --bp-md: 768px;
  --bp-lg: 1300px;
  --max-content: 900px;
}

html, body {
  height: 100%;
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
}

h1 {
  margin-top: 0;
}

.main {
  height: 100%;
}

.login-page {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media(min-width: 1300px) {
  .login-page {
    flex-direction: row;
  }
}

.login-page__content {
  padding: 40px;
  order: 1;
  overflow-y: auto;
}

@media(min-width: 1300px) {
  .login-page__content {
    padding: 200px 120px;
    flex-direction: row;
    width: 50%;
    order: 0;
  }
}

.login-page__container {
  max-width: 600px;
  margin: auto;
}

.login-page__content-title {
  font-weight: 300;
  margin-bottom: 40px;
  font-size: 26px;
}

.login-page__content-description {
  font-weight: 300;
  margin-bottom: 40px;
  font-size: 20px;
  line-height: 1.4;
}

@media(min-width: 1300px) {
  .login-page__content-title {
    font-size: 32px;
  }
}


.login-page__banner {
  position: relative;
  padding: 40px;
  background-color: var(--primary-red);
  color: white;
  overflow: hidden;
}

@media(min-width: 1300px) {
  .login-page__banner {
    width: 50%;
    padding: 200px 120px;
  }
}

.login-page__banner-title {
  position: relative;
  font-weight: 300;
  font-size: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

@media(min-width: 1300px) {
  .login-page__banner-title {
    font-size: 48px;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    margin-bottom: 40px;
  }
}

.login-page__separator {
  margin: 40px 0;
  display: flex;
  align-items: center;
}

.login-page__separator span {
  color: var(--black);
  opacity: .3;
}

.login-page__separator:before,
.login-page__separator:after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--light-grey);
}

.login-page__separator:before {
  margin-right: 20px;
}

.login-page__separator:after {
  margin-left: 20px;
}

.login-page__line-dots {
  position: absolute;
  display: none;
}

@media(min-width: 1300px) {
  .login-page__line-dots {
    display: block;
  }
}


.login-page__line-dots:nth-of-type(2) {
  position: absolute;
  top: 60px;
  right: 50px;
  width: 120px;
  transform: rotate(180deg);
}

.login-page__line-dots:nth-of-type(3) {
  position: absolute;
  top: 270px;
}

.login-page__logo {
  position: absolute;
  width: 110%;
  right: 0;
  bottom: 0;
  transform: translate(30%, 30%);
}

/* Form */
.input {
  margin-bottom: var(--gutter);
}

.input__label {
  margin-bottom: 8px;
  display: block;
}

.input__field {
  width: 100%;
  border: 1px solid var(--light-grey);
  border-radius: var(--border-radius);
  padding: 20px 25px;
}

.input__error {
  color: var(--primary-red);
  font-size: 14px;
  margin-top: 8px;
  display: block;
}

.input__checkbox {
  position: relative;
  top: 1px;
  margin-right: 4px;
}

.validation-summary-errors > ul > li {
  color: var(--primary-red);
  font-size: 14px;
  margin-top: 8px;
  display: block;
}

.validation-summary-errors > ul {
  padding-inline-start: 0;
  margin:8px 0 0;
}

.validation-summary-errors > ul > li::marker {
  display: none;
}

.button {
  display: block;
  width: 100%;
  padding: 16px;
  background-color: var(--primary-red);
  color: white;
  display: flex;
  justify-content: center;
  align-items: baseline;
  border: 0;
  border-radius: var(--border-radius);
  cursor: pointer;
  border: 1px solid transparent;
}

@media(min-width: 1300px) {
  .button {
    font-size: 20px;
  }
}

.button:hover,
.button:focus {
  background-color: var(--secondary-red);
}

.button img {
  width: 60px;
  margin-left: 8px;
}

.button--outlined {
  background-color: transparent;
  border-color: var(--black);
  color: var(--black);
}

.button--outlined:hover,
.button--outlined:focus {
  border-color: var(--secondary-red);
  color: var(--secondary-red);
  background-color: transparent;
}

.button--mit-id {
  background-color: var(--mitId-blue);
}

.button--mit-id:hover,
.button--mit-id:focus {
  background-color: var(--mitId-blue-hover);
}

.button-group {
  display: flex;
  gap: 15px;
}

.providers__container {
  display: flex;
  flex-direction: column-reverse;
}
/* Form */

/* Home & Error Pages  */

.home-page {
  height: 100%;
  background-color: var(--primary-red);
  display: flex;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  position: relative;
  padding-top: 10rem;
}

.home-page__content {
  z-index: 10;
  color: white;
  max-width: var(--max-content);
  width: 100%;
  margin: 0 auto;
}

.home-page__title {
  font-size: 36px;
  font-weight: 400;
}

.home-page__info {
  margin: 0;
  font-size: 18px;
  line-height: 140%;
  max-width: 650px;
}

.home-page__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 12px 28px;
  border: 1px solid white;
  border-radius: 9999px;
  transition-duration: 120ms;
  color: white;
  text-decoration: none;
  margin-top: 24px;
}

.home-page__button:hover {
  color: var(--primary-red);
  border-color: transparent;
  background-color: white;
}

.home-page__watermark {
  position: absolute;
  width: 700px;
  height: 700px;
  left: -20rem;
  bottom: -10rem;
}

@media(min-width: 1300px) {
  .home-page__watermark {
    width: 1300px;
    height: 1300px;
    bottom: -20rem;
  }
}

.error-page__info {
  font-weight: 500;
}

/* Home & Error Pages  */
