:root {
  --light-blue: #F6F8FF;
  --black: #030140;
  --blue: #526AF2;
  --dark-blue: #344298;
  --gray: #7C7D81;
  --light-gray: #989898;
}

html {
  overflow-x: hidden;
}

body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

h1, h2 {
  font-family: Raleway, sans-serif;
  font-weight: bold;
  color: var(--black);
  margin: 0 0 16px;
  text-align: center;
}

h2 { font-size: 2em; }

p, span {
  font-family: Roboto, sans-serif;
  color: var(--gray);
  line-height: 150%;
}

a {
  font-family: Roboto;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--dark-blue);
  cursor: pointer;
}

.logo {
  font-family: 'Fjalla One', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--black);
  margin: 0;
}

.header {
  background: linear-gradient(180deg, #F6F8FF 0%, rgba(246, 248, 255, 0) 105.75%);
  padding: 24px;
  margin-bottom: 116px;
}

.header h1 {
  text-align: left;
}

.header__content {
  max-width: 1440px;
  width: 90%;
  margin: auto;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__content__text {
  max-width: 600px;
  width: 50%;
}

.header__content__image {
  position: relative;
  height: 600px;
  width: 50%;
}

.header__content__image img {
  position: absolute;
  top: -50px;
  right: -200px;
  max-width: 1000px;
  width: 60vw;
}

.button-group {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding-left: 0;
}

.sub-navigation {
  display: flex;
  align-items: center;
  gap: 32px;
}

.sub-navigation a {
  color: var(--black);
}

.navigation {
  width: 90%;
  max-width: 1440px;
  margin: auto auto 48px;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.navigation__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language {
  display: flex;
  align-items: center;
}

.language__dropdown {
  background: none;
  border: none;
  outline: none;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  transition: 0.3s;
}

.language__dropdown:hover {
  color: var(--black);
  cursor: pointer;
}

.subtitle {
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  margin: 0;
}

.button__group {
  margin-top: 24px;
  margin-bottom: 24px;

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  column-gap: 16px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 200px;
  width: max-content;
  padding: 8px 36px;
  box-sizing: border-box;
  background-color: var(--blue);
  color: white;
  border-radius: 4px;
  margin-right: 16px;
}

.button:hover {
  color: white;
  background-color: var(--dark-blue);
}

.trustpilot {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.trustpilot p {
  margin: 0;
}

.section {
  max-width: 1440px;
  width: 90%;
  margin: auto;
}

.title {
  margin: auto auto 43px;
  text-align: center;
}

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.reason {
  background-color: var(--light-blue);
  height: 100%;
  padding: 32px 18px 18px;
  box-sizing: border-box;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.reason__image {
  height: 90px;
}

.reason__image--small {
  height: 70px;
  padding: 10px;
}

.reason__title {
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  color: var(--black);
  margin-bottom: 0;
}

.reason__text {
  margin-top: 8px;
  text-align: center;
  margin-bottom: 0;
}

.account {
  background-color: var(--light-blue);
  padding-top: 48px;
  padding-bottom: 48px;
}

.account .section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hint {
  font-family: Raleway;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  color: var(--blue);
  text-transform: uppercase;
  margin: 0 0 8px;
}

.account__container {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: column;
  gap: 16px;
}

.account__type {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 16px;
  border-radius: 5px;
  height: 100%;
  box-sizing: border-box;
}

.account__type__title {
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  color: var(--light-gray);
  margin: 0;
}

.account__type__subtitle {
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  color: var(--black);
  margin: 16px 0 0;
}

.account__type__text {
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  color: var(--black);
}

.essentials {
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.essentials .container {
  margin-top: 24px;
}

.help {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 64px;
}

.help__row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid #E6E6E6;
  border-radius: 4px;
  margin-bottom: 16px;
}

.help__row__contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.help__icon {
  background-color: var(--light-blue);
  width: 52px;
  height: 52px;
  border-radius: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.help__country {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.help__flag {
  height: 24px;
}

.help__title {
  margin-bottom: 32px;
}

.help__phone {
  margin-right: 8px;
}

.help__icon span {
  color: var(--blue);
}

.footer {
  background-color: var(--light-blue);
  padding-top: 32px;
  padding-bottom: 32px;
}

.footer__link {
  color: var(--gray);
}

.footer__text {
  text-align: justify;
}

.footer__documents {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}

.footer__documents a {
  color: var(--black);
}

.footer__documents__selector {
  border: none;
  background: none;
  outline: none;
  font-family: Roboto;
  font-weight: 500;
  color: var(--black);
  font-size: 1em;
  width: 150px;
}

.footer__documents__selector:hover {
  cursor: pointer;
}

.tied-agent {
  margin-bottom: 4rem;
}

.tied-agent-info {
  font-weight: 500;
}
