@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;0&display=swap');



@font-face {
  font-family: 'dbv2';
  src: url('fonts/dbv2.woff') format('woff'), 
  url('fonts/dbv2.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "dbv2";
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 100vw;
  height: 100vh;
  background-color: #edede9;
  overflow: auto;
  flex-direction: row;
}


.menubar {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  top: 0;
  height: 40px;
  width: 100%;
  margin: 0 0 10px 0 ;
  background-image: linear-gradient(rgb(222, 222, 222),#edede9);
}
.menubar .logo {
  justify-self: center;
  margin-top: 10px;
  margin-left: 10px;
  width: 180px;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.overskrift {
  top: 20px;
  display: flex;
  position: absolute;
  align-items: flex-start;
}
.overskrift h1{
  font-size: 2rem;
  margin-top: 20px;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.lang {
  margin-right: 10px;
  width: 180px;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
ul {
  display: flex;
  justify-content: end;
  gap: 10px;
  list-style-type: none;
  text-align: center;
  margin: 0;
  padding: 0;
}
li:hover {
  transform: scale(1.05);
  text-decoration: underline;
}
.dk a{
  text-decoration: none;
  color: black;
}
.en a{
  text-decoration: none;
  color: black;
}

.dkImg{
  position: relative;
  display: inline-block;
  width: 1em;
}
.enImg{
  position: relative;
  display: inline-block;
  width: 1em;
  text-decoration: none;
}


.content {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  background-color: #edede9;
  overflow: auto;
  flex-direction: row;
}
.content .mainvideoplayer {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.content .video-js {
  display: none;
  max-width: 80vw;
  width: 80vw;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  border-color: transparent;
  background-color: transparent;
}
.content .manPoster {
  max-width: 80vw;
  width: 80vw;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  border-color: transparent;
  background-color: transparent;
}

.footer {
  font-family: "Poppins", sans-serif;
  position: absolute;
  max-height: 40px;
  width: 100%;
  bottom: 0px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: rgba(0, 0, 0, 0.20);
  background-image: linear-gradient(#edede9, rgb(222, 222, 222));
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


@media screen and (orientation: landscape) {
  .footer {
    display: none;
  }
  .content .video-js, .manPoster {
    height: 60vh;
    max-width: 75vw;
    width: auto;
  }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 398.98px) {
  .overskrift h1 {
    font-size: .9rem;
  }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 400px) and (max-width: 599.98px) {
  .overskrift h1 {
    font-size: 1.1rem;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 767.98px) {
  .overskrift h1 {
    font-size: 1.3rem;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 1009.98px) {
  .overskrift h1 {
    font-size: 1.5rem;
  }
}


@media only screen and (max-width: 1100px) { 
  .menubar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .menubar .logo {
    width: 100px;
  }
  .content .video-js, .manPoster {
    width: 100vw;
    max-width: 100vw;
  }
  ul {
    margin-top: 10px;
    gap: 10px;
  }
  a span {
    display: none;
  }
  .lang {
    margin-right: 10px;
    width: 100px;
    padding: 0;
  }
  
  .dkImg{
    position: relative;
    display: inline-block;
    width: 1em;
  }
  .enImg{
    position: relative;
    display: inline-block;
    width: 1em;
  }
}