@font-face {
  font-family: "Orkney";
  src: url("/fonts/orkney-bold.otf") format("opentype");
  font-weight: 700;
}
@font-face {
  font-family: "Orkney";
  src: url("/fonts/orkney-medium.otf") format("opentype");
  font-weight: 500;
}
@font-face {
  font-family: "Orkney";
  src: url("/fonts/orkney-regular.otf") format("opentype");
  font-weight: 400;
}
@font-face {
  font-family: "Orkney";
  src: url("/fonts/orkney-light.otf") format("opentype");
  font-weight: 300;
}

body,
input {
  font-family: Orkney, Helvetica, Arial, sans-serif;
}

body {
  --light: #f0f3f5;
  --blue: #367591;
  --red: #d6084f;
  --mid: #999999;
  --dark: #333333;
  font-family: sans-serif;
  box-sizing: border-box;
  display: flex;
}

@media only screen and (max-width: 1280px) {
  body {
    flex-direction: column;
  }
}

header {
  height: 9rem;
  border-bottom: solid 2px var(--light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0 2rem 2rem;
}

@media only screen and (max-width: 1600px) {
  header {
    height: 7rem;
    padding: 1.5rem 0 1.5rem 2rem;
  }
}

@media only screen and (max-width: 1400px) {
  header {
    height: 6rem;
    padding: 1rem 0 1rem 2rem;
  }
}
@media only screen and (max-width: 900px) {
  header {
    height: auto;
    flex-direction: column;
    padding: 1rem;
    width: 100%;
  }
}

.header--left {
  display: flex;
  height: 100%;
  align-items: center;
}
@media only screen and (max-width: 900px) {
  .header--left {
    width: 100%;
    margin-bottom: 2rem;
  }
}
@media only screen and (max-width: 450px) {
  .header--left {
    align-items: flex-start;
    flex-direction: column;
  }
}

.header--left a {
  margin-right: 2rem;
}

@media only screen and (max-width: 450px) {
  .header--left a {
    margin-bottom: 1rem;
  }
}

.header--right {
  height: 100%;
  display: flex;
  border-left: solid 2px var(--light);
}

@media only screen and (max-width: 900px) {
  .header--right {
    width: 100%;
    border-left: none;
  }
}

@media only screen and (max-width: 450px) {
  .header--right {
    flex-direction: column;
  }
}

header a {
  height: 100%;
  display: block;
}

.logo {
  max-height: 100%;
  height: 100%;
  transition: 0.2s;
}

.logo:hover {
  transform: translateX(4px);
}

@media only screen and (max-width: 900px) {
  .logo {
    height: 3.5rem;
  }
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
}

@media only screen and (max-width: 1600px) {
  h1 {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 1400px) {
  h1 {
    font-size: 1.25rem;
    max-width: 280px;
  }
}

section {
  width: 68%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media only screen and (max-width: 1400px) {
  section {
    width: 70%;
  }
}

@media only screen and (max-width: 1280px) {
  section {
    width: 100%;
  }
}

.profil {
  display: flex;
  align-items: center;
  max-width: 220px;
  min-width: 200px;
  margin-left: 2rem;
  border-radius: 0.5rem;
  transition: 0.2s;
}

.profil:hover p {
  color: var(--red);
}

@media only screen and (max-width: 1600px) {
  .profil {
    margin-left: 1.5rem;
  }
}

@media only screen and (max-width: 1400px) {
  .profil {
    min-width: 170px;
  }
}

@media only screen and (max-width: 900px) {
  .profil {
    margin-left: 0;
    margin-bottom: 1rem;
  }
}

@media only screen and (max-width: 900px) {
  main {
    margin-left: 0rem;
  }
}

.profil img {
  margin-right: 0.5rem;
  height: 100%;
}

@media only screen and (max-width: 900px) {
  .profil img {
    height: 3rem;
  }
}

.profil p {
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
}

@media only screen and (max-width: 1400px) {
  .profil p {
    font-size: 0.85rem;
  }
}

.profil .job {
  font-weight: 500;
}

.profil img {
  border-radius: 100%;
}

main {
  display: flex;
  padding: 2rem 0 2rem 2rem;
  /* max-height: calc(100vh - 5rem - 9rem); */
  height: 100%;
  align-items: center;
}

@media only screen and (max-width: 1280px) {
  main {
    padding: 2rem;
  }
}

@media only screen and (max-width: 900px) {
  main {
    padding: 1rem;
    max-height: unset;
  }
}

footer {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2rem;
  border-top: solid 2px var(--light);
}
@media only screen and (max-width: 1400px) {
  footer {
    height: 4rem;
  }
}

@media only screen and (max-width: 900px) {
  footer {
    padding: 1rem;
    height: unset;
  }
}

@media only screen and (max-width: 1280px) {
  .footer--desktop {
    display: none;
  }
}

@media only screen and (min-width: 1280px) {
  .footer--mobile {
    display: none;
  }
}

footer ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media only screen and (max-width: 900px) {
  footer ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer--left {
  display: flex;
  align-items: center;
}

@media only screen and (max-width: 900px) {
  .footer--left {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }
}

footer ul li {
  list-style: none;
  margin-right: 2rem;
}

@media only screen and (max-width: 900px) {
  footer ul li {
    margin: 10px 0;
  }
}

a {
  color: var(--blue);
  font-size: 1.25rem;
  text-decoration: none;
}

a:hover {
  color: var(--red);
  transition: 0.2s;
}

@media only screen and (max-width: 1600px) {
  a {
    font-size: 1.1rem;
  }
}

@media only screen and (max-width: 1400px) {
  a {
    font-size: 1rem;
  }
}

a.btn {
  border: solid 2px #004d9d;
  border-radius: 25px;
  min-height: 44px;
  min-width: 120px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem;
}

a.btn:hover {
  transform: scale(1.05);
}

aside {
  min-width: 400px;
  width: 32%;
  padding: 1.5rem 2rem;
  box-sizing: border-box;
  overflow: hidden;
}

@media only screen and (max-width: 1400px) {
  aside {
    width: 30%;
  }
}

@media only screen and (max-width: 1280px) {
  aside {
    width: 100%;
    padding: 2rem;
    min-height: 500px;
  }
}

@media only screen and (max-width: 900px) {
  aside {
    padding: 1rem;
    min-width: unset;
    min-height: unset;
  }
}

aside #chat {
  background-color: var(--light);
  height: 100%;
  /* max-height: calc(100vh - 3rem); */
  width: 100%;
  border-radius: 25px;
}

.video-js {
  border-radius: 25px;
  overflow: hidden;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: unset;
  padding-top: 56.25%;
  position: relative;
}

@media only screen and (min-width: 1700px) {
  .video-js {
    padding-top: 0;
    height: 100%;
  }
}

.video-js .vjs-control-bar {
  padding: 0.5rem 1rem;
  height: 3rem;
  margin: 1.5rem;
  width: calc(100% - 3rem);
  border-radius: 0.8rem;
  background-color: var(--dark);
  background-color: rgba(51, 51, 51, 0.7);
}

@media only screen and (max-width: 900px) {
  .video-js .vjs-control-bar {
    padding: 0.5rem;
    margin: 1rem;
    width: calc(100% - 2rem);
  }
}

.video-js .vjs-big-play-button {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-js .vjs-big-play-button:hover {
  background-color: var(--blue);
  border: solid 2px white;
}

iframe {
  height: 100%;
  border-radius: 25px;
}

@media only screen and (max-width: 1280px) {
  iframe {
    min-height: 600px;
  }
}

/* #feedback {
  width: 100%;
  box-sizing: border-box;
}
#feedback p {
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  padding-left: 1rem;
} */

/* .video-js .vjs-control-bar {
  display: flex !important;
} */

/* .video-js .vjs-big-play-button {
  display: block !important;
} 

.video-js .vjs-error-display {
  display: none;
} */
