/* @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css"); */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&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;
}

/* Standard style */
html{margin-left: 15px;}
*, *::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;
  --overskrifth2: #022346;
  --inputtekst: #022346;
  --inputhover: #032f5e;
}

h2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-size: 4rem;
  color: var(--overskrifth2)
}
h3 {
  font-size: 1.65rem;
  color: var(--overskrifth2);
  font-weight: 600;
}


/* Toggle lyd overlay*/
#audio-control {
  cursor:pointer;
  padding: 50px 100px;
  background:#002A4B;
  color: #ffffff;
  font-size: 2em;
  border: 1px #ffffff outset;
  border-radius: 20px;
  display: inline-block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  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: 100%;
  width: 100%;
  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: 100%;
  width: 100%;
}

#video-player {
  height: 100vh;
  width: 100vw;
  aspect-ratio: 16/9;
}


/* Function overlay */
.top-overlay {
  position: absolute;
  display: flex;
  height: 100vh;
  width: 100vw;
  padding-left: 0.7%;
  padding-right: 0.7%;
  padding-bottom: 0.3%;
}
.func-overlay {
  display: flex;
  justify-content: end;
  width: 100%;
  align-self: flex-end;
  margin-bottom: 50px;
  margin-right: 50px;
}



/* 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;
  font-size: 15px;
  padding: 7px 12px 7px 12px;
  width: 200px;
}
.btn:hover, .btn:active{
  opacity: 1;
  color: var(--knaptekst);
  background-color: var(--knaphover);
}

.btn-join{
  height: 1px;
  width: 1px;
}

.overskrift {
  margin-top: 100px;
}


.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 {
  font-size: 18px;
  padding: 9px 15px 9px 15px;
  width: 200px;
  border: none;
}

.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: 75vh;
  width: 70vw;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #ffffff;  
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0px;
}

.container {
  height: 100%;
  width: 100%;
  padding: calc(1vw);
  text-align: center;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* Hide alle moduler*/

#pickFunction, #videoopkaldModul, #beskedModul, #video-informationer  {
  display: none;
  z-index: 0;
}
#videoopkaldModul .overskrift {
  margin-top: 50px;
}


/* Vælg funktion */ 

#pickFunction p {
  font-size: 20px;
}


/* 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;
  height: 200px;
  padding: 12px 10px;
  border: none;
  border-radius: none;
  background-color: white;
  color: var(--inputtekst);
  font-size: 16px;
  resize: 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;
  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;
}
.inputstyle {
  width: 600px;
  min-height: 28px;
  background: white;
  margin-bottom: 10px;
  border: none;
  padding: 10px;
}
.inputstyle:hover {
  background: #ffffffee;
}
.inputstyle::placeholder {
  color: var(--inputtekst);
}



/* ekstra */ 
.knapper-placering {
  margin-top: 25px;
  display: flex;
  flex-direction: row;
  position: relative;
  align-items: center;
  gap: 25px;
}
.knapper-placering .btn {
  width: 150px;
  font-size: 18px;
}

.center {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: center;
}

.form{
  text-align: left;
}




/* Banner */

#stateWait, #stateWaitHome{
  margin-top: 10px;
  font-size: 2em;
  color: white;
  background-color: #006DB9;
  text-align: center;
}
#stateWaitHome{
  display: none;
  position: absolute;
  z-index: 10;
}

#stateLive{
  margin-top: 10px;
  font-size: 2rem;
  color: white;
  background-color: red;
  display: none;
}





/* Break points */


@media screen and (min-width: 1311px) and (max-width: 1400px){

  #audio-control{
    font-size: 1.5rem;
    padding: 3.2rem 5.2rem;
  }
  .top-overlay {
    padding: 0%;
  }
  .func-overlay{
    position: relative;
    z-index: 10;
    width: 100%;
    bottom: 0px;
    display: flex;
  }
  .func-overlay .btn{
    font-size: 15px;
    padding: 4px 7px 4px 7px;
  }
  .btn {
    padding: 8px 12px 8px 12px;
    font-size: 12px;
    gap: 5px;
    width: 160px;
  }
  #fscreen-btn {
    display: block;
  }
  #pickFunction p {
    font-size: 12px;
  }


  .tekstbesked-informationer .navn{
    display: flex;
    flex-direction: row;
    gap: 5px;
  }
  .tekstbesked-informationer .fornavn, .efternavn, .inverstorID {
    display: flex;
    flex-direction: column;
  }

  .tekstbesked-informationer input {
    height: 30px;
    min-height: 20px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
  }
  .inputstyle {
    width: 150px;
    min-width: 130px;
    margin-bottom: 0px;
  }
  .tekstbesked-area textarea{
    width: 350px;
    height: 120px;
    margin-top: 2px;
    font-size: 15px;
    margin-bottom: 10px;
  }
  #stateWaitHome {
    font-size: 1.2em;
  }

  .overskrift h2 {
    font-size: 45px;
  }
  .overksrift p {
    font-size: 20;
  }
  .video-form-informationer .navn{
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin-bottom: 5px;
  }
  .video-form-informationer .fornavn, .efternavn {
    display: flex;
    flex-direction: column;
  }
  .video-form-informationer label {
    display: none;  
  }
  .video-form-informationer input {
    height: 30px;
    min-height: 20px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
  }

  .join-info-text {
    font: 8px;
  }
  .knapper-placering {
    margin-top: 2px;
    display: flex;
    flex-direction: row;
  }

  #stateWait, #stateLive {
    font-size: 15px;
    margin-top: 0px;
    margin-bottom: 5px;
  }

  #join-form {
    margin-top: 1px;
  }

  .sessionID-group {
    gap: 5px;
    margin-left: 10px;
    font-size: 8px;
    bottom: 0px;
  }
  .sessionID-group input {
    font-size: 10px;
  }

  .button-group-video {
    bottom: 20px;
  }
  .button-group-video button {
    font-size: 15px;
  }
}

@media screen and (min-width: 1001px) and (max-width: 1310px) { 
  #audio-control{
    font-size: 1.5rem;
    padding: 3.2rem 5.2rem;
  }
  .top-overlay {
    padding: 0%;
  }
  .func-overlay{
    position: relative;
    z-index: 10;
    width: 100%;
    bottom: 0px;
    display: flex;
  }
  .func-overlay .btn{
    font-size: 15px;
    padding: 4px 7px 4px 7px;
  }
  .btn {
    padding: 8px 12px 8px 12px;
    font-size: 12px;
    gap: 5px;
    width: 160px;
  }
  #fscreen-btn {
    display: block;
  }
  #pickFunction p {
    font-size: 12px;
  }


  .tekstbesked-informationer .navn{
    display: flex;
    flex-direction: row;
    gap: 5px;
  }
  .tekstbesked-informationer .fornavn, .efternavn, .inverstorID {
    display: flex;
    flex-direction: column;
  }

  .tekstbesked-informationer label {
    display: none;  
  }
  .tekstbesked-informationer input {
    height: 30px;
    min-height: 20px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
  }
  .inputstyle {
    width: 150px;
    min-width: 130px;
    margin-bottom: 0px;
  }
  .tekstbesked-area textarea{
    width: 350px;
    height: 120px;
    margin-top: 2px;
    font-size: 12px;
    margin-bottom: 10px;
  }
  #stateWaitHome {
    font-size: 1.2em;
  }

  .overskrift h2 {
    font-size: 45px;
  }
  .overksrift p {
    font-size: 20;
  }
  .video-form-informationer .navn{
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin-bottom: 5px;
  }
  .video-form-informationer .fornavn, .efternavn {
    display: flex;
    flex-direction: column;
  }
  .video-form-informationer label {
    display: none;  
  }
  .video-form-informationer input {
    height: 30px;
    min-height: 20px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
  }

  .join-info-text {
    font: 8px;
  }
  .knapper-placering {
    margin-top: 2px;
    display: flex;
    flex-direction: row;
  }

  #stateWait, #stateLive {
    font-size: 15px;
    margin-top: 0px;
    margin-bottom: 5px;
  }

  #join-form {
    margin-top: 1px;
  }

  .sessionID-group {
    gap: 5px;
    margin-left: 10px;
    font-size: 8px;
    bottom: 0px;
  }
  .sessionID-group input {
    font-size: 10px;
  }

  .button-group-video {
    bottom: 20px;
  }
  .button-group-video button {
    font-size: 15px;
  }


  .player{
    max-height: 60%;
    aspect-ratio: 9 / 16;
  }
}



@media screen and (min-width: 931px) and (max-width: 1000px) {
  #audio-control{
    font-size: 1.5rem;
    padding: 3.2rem 5.2rem;
  }
  .top-overlay {
    padding: 0%;
  }
  .func-overlay{
    position: relative;
    z-index: 10;
    width: 100%;
    bottom: 0px;
    display: flex;
  }
  .func-overlay .btn{
    font-size: 15px;
    padding: 4px 7px 4px 7px;
  }
  .btn {
    padding: 8px 12px 8px 12px;
    font-size: 12px;
    gap: 5px;
    width: 160px;
  }
  #fscreen-btn {
    display: block;
  }
  #pickFunction p {
    font-size: 12px;
  }


  .tekstbesked-informationer .navn{
    display: flex;
    flex-direction: row;
    gap: 5px;
  }
  .tekstbesked-informationer .fornavn, .efternavn, .inverstorID {
    display: flex;
    flex-direction: column;
  }

  .tekstbesked-informationer label {
    display: none;  
  }
  .tekstbesked-informationer input {
    height: 30px;
    min-height: 20px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
  }
  .inputstyle {
    width: 150px;
    min-width: 130px;
    margin-bottom: 0px;
  }
  .tekstbesked-area textarea{
    width: 350px;
    height: 120px;
    margin-top: 2px;
    font-size: 12px;
    margin-bottom: 10px;
  }
  #stateWaitHome {
    font-size: 1.2em;
  }

  .overskrift h2 {
    font-size: 25px;
  }
  .video-form-informationer .navn{
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin-bottom: 5px;
  }
  .video-form-informationer .fornavn, .efternavn {
    display: flex;
    flex-direction: column;
  }
  .video-form-informationer label {
    display: none;  
  }
  .video-form-informationer input {
    height: 30px;
    min-height: 20px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
  }

  .join-info-text {
    font: 8px;
  }
  .knapper-placering {
    margin-top: 2px;
    display: flex;
    flex-direction: row;
  }

  #stateWait, #stateLive {
    font-size: 15px;
    margin-top: 0px;
    margin-bottom: 5px;
  }

  #join-form {
    margin-top: 1px;
  }

  .sessionID-group {
    gap: 5px;
    margin-left: 10px;
    font-size: 8px;
    bottom: 0px;
  }
  .sessionID-group input {
    font-size: 10px;
  }

  .button-group-video {
    bottom: 20px;
  }
  .button-group-video button {
    font-size: 12px;
    padding: 3px 6px 3px 6px;
  }


  .player{
    max-height: 80%;
    aspect-ratio: 9 / 16;
  }
}


@media screen and (min-width: 416px) and (max-width: 931px) {
  #audio-control{
    font-size: 0.9rem;
    padding: 0.7rem 2.2rem;
  }
  .top-overlay {
    padding: 0%;
  }
  .func-overlay{
    position: relative;
    z-index: 10;
    width: 100%;
    bottom: 0px;
    margin-bottom: 2px;
  }
  .func-overlay .btn{
    font-size: 9px;
    padding: 2px 5px 2px 5px;
  }
  .btn {
    padding: 5px 8px 5px 8px;
    font-size: 10px;
    gap: 5px;
    width: 100px;
  }
  #fscreen-btn {
    display: block;
  }
  #pickFunction p {
    font-size: 12px;
  }


  .tekstbesked-informationer .navn{
    display: flex;
    flex-direction: row;
    gap: 5px;
  }
  .tekstbesked-informationer .fornavn, .efternavn, .inverstorID {
    display: flex;
    flex-direction: column;
  }

  .tekstbesked-informationer label {
    display: none;  
  }
  .tekstbesked-informationer input {
    height: 20px;
    min-height: 20px;
    font-size: 12px;
    display: flex;
    flex-direction: row;
  }
  .inputstyle {
    width: 100px;
    min-width: 100px;
    margin-bottom: 0px;
  }
  .tekstbesked-area textarea{
    width: 200px;
    height: 30px;
    margin-top: 2px;
    font-size: 10px;
  }
  #stateWaitHome {
    font-size: 1em;
  }

  .overskrift h2 {
    font-size: 15px;
  }
  .video-form-informationer .navn{
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin-bottom: 5px;
  }
  .video-form-informationer .fornavn, .efternavn {
    display: flex;
    flex-direction: column;
  }
  .video-form-informationer label {
    display: none;  
  }
  .video-form-informationer input {
    height: 20px;
    min-height: 20px;
    font-size: 12px;
    display: flex;
    flex-direction: row;
  }

  .join-info-text {
    font: 4px;
  }
  .knapper-placering {
    margin-top: 2px;
    display: flex;
    flex-direction: row;
  }

  #stateWait, #stateLive {
    font-size: 12px;
    margin-top: 0px;
  }

  #join-form {
    margin-top: 1px;
  }

  .sessionID-group {
    gap: 5px;
    margin-left: 10px;
    font-size: 8px;
    bottom: 0px;
  }
  .sessionID-group input {
    font-size: 10px;
  }

  .button-group-video {
    bottom: 20px;
  }
  .button-group-video button {
    font-size: 9px;
    padding: 2px 5px 2px 5px;
  }


  .player{
    max-height: 60%;
    aspect-ratio: 9 / 16;
  }
}

@media screen and (max-width: 415px) {
  #audio-control{
    font-size: 0.9rem;
    padding: 0.7rem 2.2rem;
  }
  .top-overlay {
    padding: 0%;
  }
  .func-overlay{
    position: relative;
    z-index: 10;
    width: 100%;
    bottom: 0px;
    margin-bottom: 2px;
  }
  .func-overlay .btn{
    font-size: 9px;
    padding: 2px 5px 2px 5px;
  }
  .btn {
    padding: 5px 8px 5px 8px;
    font-size: 10px;
    gap: 5px;
    width: 100px;
  }
  #fscreen-btn {
    display: none;
  }
  #pickFunction p {
    font-size: 12px;
  }


  .tekstbesked-informationer .navn{
    display: flex;
    flex-direction: row;
    gap: 5px;
  }
  .tekstbesked-informationer .fornavn, .efternavn, .inverstorID {
    display: flex;
    flex-direction: column;
  }

  .tekstbesked-informationer label {
    display: none;  
  }
  .tekstbesked-informationer input {
    height: 20px;
    min-height: 20px;
    font-size: 12px;
    display: flex;
    flex-direction: row;
  }
  .inputstyle {
    width: 100px;
    min-width: 100px;
    margin-bottom: 0px;
  }
  .tekstbesked-area textarea{
    width: 200px;
    height: 30px;
    margin-top: 2px;
    font-size: 10px;
  }
  #stateWaitHome {
    font-size: 1em;
  }

  .overskrift h2 {
    font-size: 15px;
  }
  .video-form-informationer .navn{
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin-bottom: 5px;
  }
  .video-form-informationer .fornavn, .efternavn {
    display: flex;
    flex-direction: column;
  }
  .video-form-informationer label {
    display: none;  
  }
  .video-form-informationer input {
    height: 20px;
    min-height: 20px;
    font-size: 12px;
    display: flex;
    flex-direction: row;
  }

  .join-info-text {
    font: 4px;
  }
  .knapper-placering {
    margin-top: 2px;
    display: flex;
    flex-direction: row;
  }

  #stateWait, #stateLive {
    font-size: 12px;
    margin-top: 0px;
  }

  #join-form {
    margin-top: 1px;
  }

  .sessionID-group {
    gap: 5px;
    margin-left: 10px;
    font-size: 8px;
    bottom: 0px;
  }
  .sessionID-group input {
    font-size: 10px;
  }

  .button-group-video {
    bottom: 20px;
  }
  .button-group-video button {
    font-size: 9px;
    padding: 2px 5px 2px 5px;
  }


  .player{
    max-height: 60%;
    aspect-ratio: 9 / 16;
  }
}