@font-face {
  font-family: DB-Display;
  src: url("font/DeutscheBankDisplay_Rg.ttf");
}

html {
  scroll-behavior: smooth;
  background-color: #00072e;
  color: #fff;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  width: 100%;
  font-weight: 100;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.5rem;
}

h2 {
  font-size: 1.25rem;
  line-height: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

body {
  margin: 0;
  /* display: grid;
  grid-template-columns: min-content 1fr; */
  font-family: DB-Display, Arial, Helvetica, sans-serif;
  font-size: 12px;
  background-image: url("img/bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* font-family: system-ui, sans-serif; */

  /* this breaks position sticky in Firefox */
  /* overflow-x: hidden; */
}

body > header {
  padding: 2rem 2rem 0.5rem 2rem;
  display: flex;
  flex-direction: row;
  background-image: url("img/bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: sticky;
  top: 0;
  z-index: 200;
}

header ul {
  list-style: none;
  display: flex;
  flex-direction: row;
}

header ul li {
  display: inline-block;
  margin: -6px 1.5rem 0 0;
}

header ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  transition: all 0.2s;
}

header ul li a:hover {
  color: rgba(255, 255, 255, 1);
}

#logo svg {
  width: 148px;
}

.centered {
  width: 1024px;
  margin: 0 auto;
}

.main-content {
  /* width: 1024px;
  margin: 0 auto; */
  display: flex;
  flex-direction: column;
}

#video-container {
  width: 1024px;
  height: 576px;
  margin: 50px 0;
  border: 2px solid rgba(0, 13, 91, 0.7);
}

.top-content {
  padding-top: 60px;
}

.top-features {
  display: flex;
  flex-direction: row;
  padding: 0;
  margin: 0;
}

.top-features li {
  list-style: none;
  padding: 0 40px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  color: rgba(255, 255, 255, 0.7)
}

.top-features li h3 {
  text-align: left;
  font-size: 1.5rem;
  line-height: 1.75rem;
  color: #fff;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.features-content {
  position: relative;
  background-color: rgba(255, 255, 255, 0.05);
  margin-top: 50px;
}

.navigation {
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
  background: #37474F;
  position: fixed;
  bottom: 40px;
  margin-left: 40px;
  transition: all 0.3s;
  background-color: transparent;
  border-left: 2px solid rgba(197, 215, 230, 0.2);
  z-index: 100;
}

.navigation.fade-in {
  opacity: 1;
  pointer-events: all;
}

.navigation li {
  font-size: 0.75rem;
  margin-left: -2px;
}

.navigation li a {
  color: rgba(255, 255, 255, 0.5);
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: all 0.3s;
}

.navigation li a.current {
  border-left: 2px solid rgba(197, 215, 230, 0.5);
  color: #fff;
}

section {
  padding: 40px;
  padding-bottom: 120px;
  margin: 0 0 0 0;
  display: flex;
  flex-direction: row;
}

section header {
  padding: 0;
  position: sticky;
  top: 250px;
}

section .section-title {
  /* margin-left: -360px; */
  width: 380px;
  box-sizing: border-box;
  margin-right: 40px;
  /* position: fixed;
  top: 50px; */
  transition: all 0.4s;
  opacity: 0;
}

section .section-title.visible {
  opacity: 1;
}

section h1 {
  text-align: left;
  font-size: 1.5rem;
  line-height: 1.75rem;
}

section .description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.5rem;
}

.section-content {
  width: 100%;
}

section .image {
  padding: 1rem 0;
  box-sizing: border-box;
}

section .image img {
  /* width: 100%; */
  max-width: 100%;
}

section .sub-title {
  display: block;
  margin-top: 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.contacts-content {
  padding: 3rem 2rem 5rem 2rem;
}

.contacts-content h1 {
  font-size: 1.75rem;
}

.contacts-content h2 {
  font-size: 1rem;
}

.email {
  text-align: center;
  margin: 4rem 0;
}

.email a {
  font-size: 1.5rem;
  color: #45cbfd;
  text-decoration: none;
  transition: all 0.3s;
}

.email a:hover {
  text-decoration: underline;
}

.phones {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.phones div {
  font-size: 1.25rem;
  color: #fff;
  text-align: center;
  padding: 0 2rem;
  box-sizing: border-box;
  width: 33.33%;
}

.phones div span {
  display: block;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Only stick if you can fit */
@media (min-height: 300px) {
  nav ul {
    position: sticky;
    top: 0;
  }
}

main {
  padding-bottom: 40rem;
}

footer {
  padding: 5rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(197, 215, 230, 0.5);
  line-height: 1.2rem;
}

@media (max-height: 650px) {
  .features-list section {
    flex-direction: column;
    padding-bottom: 30px;
  }

  .features-list section .section-title {
    opacity: 1;
    margin-bottom: 20px;
  }

  #side-nav {
    display: none;
  }
}
