@font-face {
  font-family: 'dbv2';
  src: url('fonts/dbv2.woff') format('woff'), 
  url('fonts/dbv2.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Standard style */
html{
  margin: 0px!important;
}
*, *::before, *::after {
  padding: 0px; 
  margin: 0px; 
  box-sizing: border-box;
}
body {
  background-color: black;
  font-family: 'dbv2';
}

:root {
  --knaptekst: #FFFFFF;
  --sand: #ebebe6fa;
  --knap: #022346;
  --knaphover: #0168FA;
  --overskrift: #022346;
  --inputtekst: #022346;
  --inputhover: #032f5e;
}

h1 {
  font-size: calc(1.375rem + 1.5vw);
  color: var(--overskrift);
}
h2 {
  font-size: calc(1.325rem + .9vw);
  color: var(--overskrift);
}
h3 {
  font-size: calc(1.3rem + .6vw);
  color: var(--overskrift);
}
h4 {
  font-size: calc(1.275rem + .3vw);
  color: var(--overskrift);
}
h5 {
  font-size: calc(1.325rem + .9vw);
  color: white;
}


/* Toggle lyd overlay*/
#audio-control {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor:pointer;
  padding: 50px 100px;
  background:#002A4B;
  color: #ffffff;
  font-size: 2em;
  border: 1px #ffffff outset;
  border-radius: 20px;
  display: inline-block;
  z-index: 3;
  opacity: 0.8;
}
#audio-control:hover {
  opacity: 1;
  background-color: #006DB9;
}
#audio-control-blur {
  position: fixed;
  z-index: 2;
  left: 0; top: 0; right: 0; bottom: 0;
  height: 100vh;
  width: 100vw;
  background: #002a4b80;
  filter:blur(4px);
  -o-filter:blur(4px);
  -ms-filter:blur(4px);
  -moz-filter:blur(4px);
  -webkit-filter:blur(4px);
}

/* fullscreen container */
#full-container {
  position: fixed;
  height: 100vh;
  width: 100vw;
}

#video-player {
  height: 100%;
  width: 100%;
  aspect-ratio: 16/9;
}


/* Function overlay */
.top-overlay {
  position: fixed;
  display: flex;
  height: 100vh;
  width: 100vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.func-overlay {
  display: flex;
  flex-direction: row;
  justify-content: end;
  width: 100%;
  align-self: flex-end;
  margin-bottom: calc(10px + 1.8vh);
  margin-right: calc(10px + 1.5vw);
  z-index: 10;
  gap: 10px;
}
.func-overlay .btn {
  z-index: 1000;
  font-size: calc(.4rem + .6vw);
}



/* Knapper */

#fscreen-btn, #spg-btn{
  margin-left: 10px;
}
.btn {
  background-color: var(--knap);
  color: var(--knaptekst);
  border-radius: 23px;
  border: 1px solid #ffffff;  
  gap: 20px;

  padding: 9px 15px 9px 15px;
  font-size: calc(.4rem + .6vw);
  word-wrap: break-word;
  width: 200px;


}
.btn:hover, .btn:active{
  opacity: 1;
  color: var(--knaptekst);
  background-color: var(--knaphover);
}

.btn-join{
  height: 1px;
  width: 1px;
}


.pickFunction-buttons {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pickFunction-buttons .btn {
  padding: 9px 15px 9px 15px;
  border: none;
  font-size: calc(.4rem + .6vw);
  word-wrap: break-word;
  width: 200px;
}

.button-group-video {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%);
}

.sessionID-group {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  bottom: 5px;
  left: 50%;
  margin-left: 25px;
  transform: translate(-50%);
  color: var(--inputtekst);
}
.sessionID-group input {
  font-size: 15px;
  background-color: transparent;
  color: var(--inputtekst);
  border: none;
  width: 100%;
}



/* Dial-in solution */

.popup {
  background-color: var(--sand);
  color: #ffffff;
  height: 80vh;
  width: 85vw;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: none;  
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0px;
  overflow-y: auto;
  overflow-x: hidden;
}

.container {
  height: 100%;
  width: 100%;
  padding: calc(1vw);
  text-align: center;
}
.container-fluid {
  --bs-gutter-x: 0px!important;
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.overskrift {
  margin-top: calc(0.5rem + 2vh);
  display: flex;
  flex-direction: column;
  justify-self: center;
}


/* Hide alle moduler*/
#pickFunction, #videoopkaldModul, #beskedModul, #video-informationer  {
  display: none;
  z-index: 0;
}
#videoopkaldModul .overskrift {
  position: relative;
}

/* beskedModul */
.tekstbesked-informationer {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: center;
  margin: 25px;
}
.tekstbesked-informationer .navn {
  display: flex;
  gap: 25px;
  margin-top: 25px;
}

.tekstbesked-area textarea{
  width: 600px;
  max-width: calc(100vw/2.5);
  height: 200px;
  padding: 12px 10px;
  border: none;
  background-color: white;
  color: var(--inputtekst);
  font-size: 16px;
  resize: none;
}

.tekstbesked-area textarea::placeholder {
  color: var(--inputtekst);
}
.tekstbesked-area textarea:focus {
  border: none;
}


/* Video-informationer */
.video-form-informationer {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: center;
}
.video-form-informationer .navn {
  display: flex;
  flex-direction: row;
  gap: 25px;
}


/* Videoopkald modul */

#join-form {
  margin-top: 10px;
}
.info-join-navn{
  position: absolute;
  bottom: 25px;
  right: 25px;
  display: none;
}

.video-group {
  display: grid;
  place-items: center;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  width: 100%;
  height: 40vh;
  margin-left: 0px;
  margin-right: 0px;
}
.local { grid-area: 1 / 1 / 2 / 2; }
.remote { grid-area: 1 / 2 / 2 / 3; }
.player {
  transform: scaleX(-1);
  display: grid;
  align-items: center;
  justify-items: center;
  aspect-ratio: 16/9;
  background-color: rgb(221, 221, 221);
}
.hw100p {
  transform: scaleX(-1);
  height: 100%;
  width: 100%;
}

/* SessionID */
.join-info-group{
  position: absolute;
  display: flex;
  flex-direction: row;
  align-content: center;
  bottom: 5px;
  width: auto;
  gap: 5px;
}
.join-info-group p {
  font-size: calc(100vw / 120);
}
.join-info-text {
  margin-bottom: 2px;
  width: auto;
  display: flex;
  text-align: left;
}


/* input styling */

input {
  width: 100%;
  margin-bottom: 2px;
  color: var(--inputtekst);
}
input::placeholder {
  color: var(--inputtekst);
}
.inputstyle {
  width: 600px;
  max-width: calc(100vw/4);
  min-height: 28px;
  background: white;
  margin-bottom: 10px;
  border: none;
  padding: 10px;
}

/* ekstra */ 
.knapper-placering {
  margin-top: 25px;
  display: flex;
  flex-direction: row;
  position: relative;
  align-items: center;
  gap: 25px;
}

.center {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: center;
}

.form{
  text-align: left;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.video-form {
  overflow: hidden;
}

/* Banner */
#stateWait, #stateWaitHome{
  margin-top: 10px;
  font-size: 2em;
  color: white;
  background-color: #006DB9;
  text-align: center;
}
#stateWaitHome{
  display: none;
  position: absolute;
  left: 50%;
  transform: translate(-50%,0);
  z-index: 10;
  width: 99vw;
}
#stateLive{
  margin-top: 10px;
  font-size: 2rem;
  color: white;
  background-color: red;
  display: none;
}



/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
/* Toggle lyd overlay*/
#audio-control {
  padding: 10px 20px;
  font-size: 1em;
}

/* VIDEO */
#stateWait, #stateWaitHome, #stateLive{
  margin-top: 0px;
  font-size: .6rem;
}
.overskrift {
  margin-top: calc(0.5rem + 2vh);
}
h1 {
  font-size: 1rem;
  margin-bottom: .06rem;
}
h4 {
  font-size: .5rem;
  margin-bottom: .06rem;
}
h5 {
  font-size: .6rem;
  margin-bottom: .06rem;
}
#join-form {
  margin-top: 0px;
}
.video-group {
  min-height: 23vh;
}
.btn {
  width: 70px;
  padding: 3px 5px 3px 5px;
}
.button-group-video {
  gap: 5px;
  bottom: 20px;
}
.sessionID-group {
  bottom: 1px;
  margin-left: 10px;
  gap: 1px;
}
.sessionID-group input, label {
  font-size: 10px;
}
.video-form-informationer .navn {
  gap: 5px;
  margin-bottom: 10px;
}

/* Knapper */
.func-overlay {
  justify-content: center;
  margin-right: 0px;
  margin-bottom: 5px;
  gap: 1px;
}
.func-overlay .btn {
  justify-content: center;
  padding: 1px 2px 1px 2px;
  width: 100px;
}

/* Pick */
.pickFunction-buttons {
  gap: 6px;
}
.pickFunction-buttons .btn {
  width: 80px;
  padding: 3px 5px 3px 5px;
}

/* TEKSTBESKED */
.tekstbesked-informationer {
  margin: 10px;
}

.tekstbesked-informationer .navn {
  gap: 5px;
  margin-top: 0px;
}
.tekstbesked-area textarea {
  height: 40px;
  width: 150px;
  font-size: 10px;
  padding: 1px 2px;
}
.inputstyle {
  font-size: 10px;
  width: 150px;
  margin-bottom: 0px;
  padding: 1px;
  min-height: 5px;
}
.knapper-placering {
  gap: 5px;
  margin-top: 0px;
}
}


/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
/* Toggle lyd overlay*/
#audio-control {
  padding: 15px 25px;
  font-size: 1.5em;
}

/* VIDEO */
#stateWait, #stateWaitHome, #stateLive{
  margin-top: 0px;
  font-size: .8rem;
}
.overskrift {
  margin-top: calc(0.5rem + 2vh);
}
h1 {
  font-size: 1.8rem;
  margin-bottom: .4rem;
}
h4 {
  font-size: 0.8rem;
  margin-bottom: .4rem;
}
h5 {
  font-size: .9rem;
  margin-bottom: .1rem;
}
#join-form {
  margin-top: 0px;
}
.video-group {
  min-height: 30vh;
}
.btn {
  width: 100px;
  padding: 3px 5px 3px 5px;
}
.button-group-video {
  gap: 5px
}
.sessionID-group {
  bottom: 1px;
  margin-left: 10px;
  gap: 5px;
}
.sessionID-group input, label {
  font-size: 10px;
}
.video-form-informationer .navn {
  gap: 5px;
  margin-bottom: 10px;
}

/* Knapper */
.func-overlay {
  justify-content: end;
  margin-right: calc(10px + 1.5vw);
  margin-bottom: 10px;
  gap: 1px;
}
.func-overlay .btn {
  width: 100px;
  padding: 2px 3px 2px 3px;
}

/* Pick */
.pickFunction-buttons {
  gap: 10px;
}
.pickFunction-buttons .btn {
  width: 100px;
  padding: 5px 8px 5px 8px;
}

/* TEKSTBESKED */
.tekstbesked-informationer {
  margin: 10px
}
.tekstbesked-informationer .navn {
  gap: 5px;
  margin-top: 0px;
}
.tekstbesked-area textarea {
  height: 80px;
  width: 600px;
  font-size: calc(.2rem + 1.5vw);
  padding: 1px 2px;
}
.inputstyle {
  font-size: calc(.2rem + 1.5vw);
  width: 600px;
  margin-bottom: calc(.1rem + .6vw);
  padding: 1px;
  min-height: 5px;
}
.knapper-placering {
  gap: 5px;
  margin-top: 0px;
}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

/* VIDEO */
#stateWait, #stateWaitHome, #stateLive{
  margin-top: 0px;
  font-size: 1rem;
}
.overskrift {
  margin-top: calc(0.5rem + 2vh);
}
h1 {
  font-size: 1.8rem;
  margin-bottom: .4rem;
}
h4 {
  font-size: 0.8rem;
  margin-bottom: .4rem;
}
h5 {
  font-size: .9rem;
  margin-bottom: .1rem;
}
#join-form {
  margin-top: 0px;
}
.video-group {
  min-height: 30vh;
}
.btn {
  width: 150px;
  padding: 5px 8px 5px 8px;
}
.button-group-video {
  gap: 5px
}
.sessionID-group {
  bottom: 1px;
  margin-left: 10px;
  gap: 5px;
}
.sessionID-group input, label {
  font-size: 10px;
}
.video-form-informationer .navn {
  gap: 5px;
  margin-bottom: 10px;
}

/* Knapper */
.func-overlay {
  justify-content: end;
  margin-right: calc(10px + 1.5vw);
  margin-bottom: 10px;
  gap: 1px;
}
.func-overlay .btn {
  width: 150px;
  padding: 5px 8px 5px 8px;
}

/* Pick */
.pickFunction-buttons {
  gap: 10px;
}
.pickFunction-buttons .btn {
  width: 150px;
  padding: 5px 8px 5px 8px;
}

/* TEKSTBESKED */
.tekstbesked-informationer {
  margin: 10px
}
.tekstbesked-informationer .navn {
  gap: 5px;
  margin-top: 0px;
}
.tekstbesked-area textarea {
  height: 100px;
  width: 600px;
  font-size: 16px;
  padding: 3px 5px;
}
.inputstyle {
  font-size: 16px;
  width: 600px;
  margin-bottom: calc(.1rem + .6vw);
  padding: 3px;
  min-height: 5px;
}
.knapper-placering {
  gap: 5px;
  margin-top: 0px;
}
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
/* Toggle lyd overlay*/
#audio-control {
  padding: 15px 25px;
  font-size: 1.5em;
}

/* VIDEO */
#stateWait, #stateWaitHome, #stateLive{
  margin-top: 0px;
  font-size: 1.2rem;
}
.overskrift {
  margin-top: calc(0.5rem + 2vh);
}
h1 {
  font-size: 2.3rem;
  margin-bottom: .4rem;
}
h4 {
  font-size: 1rem;
  margin-bottom: .4rem;
}
h5 {
  font-size: 1.9rem;
  margin-bottom: .1rem;
}
#join-form {
  margin-top: 0px;
}
.video-group {
  min-height: 30vh;
}
.btn {
  width: 200px;
  padding: 8px 10px 8px 10px;
}
.button-group-video {
  gap: 5px
}
.sessionID-group {
  bottom: 1px;
  margin-left: 10px;
  gap: 5px;
}
.sessionID-group input, label {
  font-size: 10px;
}
.video-form-informationer .navn {
  gap: 5px;
  margin-bottom: 10px;
}

/* Knapper */
.func-overlay {
  justify-content: end;
  margin-right: calc(10px + 1.5vw);
  margin-bottom: 10px;
  gap: 1px;
}
.func-overlay .btn {
  width: 200px;
  padding: 8px 10px 8px 10px;
}

/* Pick */
.pickFunction-buttons {
  gap: 10px;
}
.pickFunction-buttons .btn {
  width: 200px;
  padding: 8px 10px 8px 10px;
}

/* TEKSTBESKED */
.tekstbesked-informationer {
  margin: 18px
}
.tekstbesked-informationer .navn {
  gap: calc(.9rem + .6vw);
  margin-top: 0px;
}
.tekstbesked-area textarea {
  height: 150px;
  width: 600px;
  font-size: 16px;
  padding: 3px 5px;
}
.inputstyle {
  font-size: 16px;
  width: 600px;
  margin-bottom: calc(1rem + .6vw);
  padding: 3px;
  min-height: 5px;
}
.knapper-placering {
  gap: 5px;
  margin-top: 0px;
}
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
/* Toggle lyd overlay*/
#audio-control {
  padding: 25px 35px;
  font-size: 2.5em;
}

/* VIDEO */
#stateWait, #stateWaitHome, #stateLive{
  margin-top: 0px;
  font-size: 1.2rem;
}
.overskrift {
  margin-top: calc(0.5rem + 2vh);
}
h1 {
  font-size: 3.2rem;
  margin-bottom: .4rem;
}
h4 {
  font-size: 1.45rem;
  margin-bottom: .4rem;
}
h5 {
  font-size: 1.9rem;
  margin-bottom: .1rem;
}
#join-form {
  margin-top: 0px;
}
.video-group {
  min-height: 30vh;
}
.btn {
  width: 200px;
  padding: 8px 10px 8px 10px;
}
.button-group-video {
  gap: 5px
}
.sessionID-group {
  bottom: 1px;
  margin-left: 10px;
  gap: 5px;
}
.sessionID-group input, label {
  font-size: 10px;
}
.video-form-informationer .navn {
  gap: 5px;
  margin-bottom: 10px;
}

/* Knapper */
.func-overlay {
  justify-content: end;
  margin-right: calc(10px + 1.5vw);
  margin-bottom: 10px;
  gap: 1px;
}
.func-overlay .btn {
  width: 200px;
  padding: 8px 10px 8px 10px;
}

/* Pick */
.pickFunction-buttons {
  gap: 20px;
}
.pickFunction-buttons .btn {
  width: 200px;
  padding: 8px 10px 8px 10px;
}

/* TEKSTBESKED */
.tekstbesked-informationer {
  margin: 25px
}
.tekstbesked-informationer .navn {
  gap: calc(1rem + .6vw);
  margin-top: 0px;
}
.tekstbesked-area textarea {
  height: 200px;
  width: 600px;
  font-size: 16px;
  padding: 3px 5px;
}
.inputstyle {
  font-size: 18px;
  width: 600px;
  margin-bottom: calc(1rem + .6vw);
  padding: 3px;
  min-height: 5px;
}
.knapper-placering {
  gap: 5px;
  margin-top: 0px;
}
}

@media only screen and (min-width: 1400px) {

/* VIDEO */
#stateWait, #stateWaitHome, #stateLive{
  margin-top: 0px;
  font-size: 1.4rem;
}
.overskrift {
  margin-top: calc(1.5em + 2vh);
}
h1 {
  font-size: 4rem;
  margin-bottom: .4rem;
}
h4 {
  font-size: 1.7rem;
  margin-bottom: .4rem;
}
h5 {
  font-size: 1.9rem;
  margin-bottom: .1rem;
}

}