@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');


*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background-color: #1a1a1a;
    height: 100vh;
}

::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track{background:#8d8d8d;}
::-webkit-scrollbar-thumb{background:#5f5f5f;}::-webkit-scrollbar-thumb:hover{background:#494949;}

.container {  
    color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    grid-template-columns: 0.2fr 1fr;
    grid-template-rows: 0.2fr 2.2fr 0.6fr;
    gap: 10px 10px;
    grid-auto-flow: row;
    grid-template-areas:
      "header header"
      "videoplayer videoplayer";
}
  
.header {  
    background-color: #262625;
    display: flex;
    justify-content: center;
    grid-auto-flow: row;
    gap: 100px;
    grid-area: header;
}
  
.logo {
    justify-self: center;
    align-self: center;
    grid-area: logo;
    margin-top: 5px;
}
  
.logo_tekst {
    justify-self: start;
    align-self: center;
    grid-area: logo_tekst;
}
.logo_tekst span{
    color: white;
    font-size: 2rem;
    -webkit-user-select: none;
    user-select: none;
}
  
.videoplayer {  
    background-color: #262625;
    overflow: hidden;
    height: 100%;
    display: grid;
    grid-template-columns: 50%;
    grid-template-rows: 100%;
    grid-auto-flow: row;
    grid-template-areas:
      "videoplayer_remote videoplayer_moderator";
    justify-self: stretch;
    align-self: stretch;
    grid-area: videoplayer;
}
  
.videoplayer_remote { 
    grid-area: videoplayer_remote; 
    justify-self: center;
    align-self: center;
}
.video-js {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
}
  
.videoplayer_moderator { 
    grid-area: videoplayer_moderator; 
    justify-self: center;
    align-self: center;
    height: 100%;
    width: 100%;
}
.content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: #ffffff2f;
}
.content-nav {
    position: absolute;
    top:0;
    height: 150px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.content-nav .overskrift {
    display: flex;
}
.content-nav .setup-btn{
    position: absolute;
    z-index: 10;
    right: 5px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.spgquestion {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
}
.spganswers {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.setup {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.setup .overskrift {
    position: relative;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}
.poll-setup {
    position: relative;
    display: flex;
    gap: 20px;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 25px;
}



.setup .setup-stream {
    position: relative;
    display: flex;
    gap: 10px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.setup-stream input {
    width: 400px;
    height: 35px;
    padding: 10px;
    color: #ffffff;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgb(var(--bs-white-rgb));
    border-radius: 5px;
}
.setup-stream input:hover {
    background: rgba(0,0,0,0.4);
}
.setup-stream input::selection {
    background: rgba(0,0,0,0.4);
}
.setup-spg {
    margin-top: 50px;
    position: relative;
    display: flex;
    gap: 10px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.setup-spg-center {
    margin-top: 50px;
    position: relative;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.answers {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.setup-spg input:hover {
    background: rgba(0,0,0,0.4);
}
.setup-spg input::selection {
    background: rgba(0,0,0,0.4);
}

  
.footer {  
    padding: 10px;
    background-color: #262625;
    display: grid;
    height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 0px;
    grid-auto-flow: row;
    grid-template-areas:
      ".";
    grid-area: footer;
    align-items: center;
    justify-content: center;
}

.footer-btn {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
  
input {
    width: 400px;
    height: 30px;
    padding: 10px;
    color: #ffffff;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgb(var(--bs-white-rgb));
    border-radius: 5px;    
}

input::placeholder {
    color:#ffffff;
}

.remote {
    background-color: rgba(58, 58, 58, 0.5);
    width: 100%;
    aspect-ratio: 16 / 9;
}


.btn {
    color: #ffffff;
    min-width: 50px;
    border-radius: 5px;
    padding: 25px;
    font-size: 20px;
    display: flex;
    justify-self: center;
    justify-content: center;
    opacity: 0.8;
    cursor: pointer;
    border: none;
}

.btn:hover {
    opacity: 1;
    color: #ffffff;
}

.start {
    background-color: #8ebf42;
}
.startQa, .surveyStart {
    background-color: #1ddfdf;
}
.stop {
    background-color: #cc0000;
}
.live {
    background-color: #cc0000;
}
.preview {
    background-color: #8ebf42;
    display: none;
}
.disabled {
    padding: 50px 50px;
    border: none;
    background-color: #8b8b8b;
    cursor: default;
    display: none;
}
.saveStream {
    border: none;
    background-color: #cc6008;
    cursor: pointer;
    opacity: 0.8;
}
.saveSpg {
    border: none;
    background-color: #cc6008;
    cursor: pointer;
    opacity: 0.8;
}

.cancel {
    padding: 12px 20px;
    border: none;
    background-color: #cc0000;
    cursor: pointer;
    opacity: 0.8;
}

.ready {
    padding: 12px 20px;
    border: none;
    background-color: #ccaf08;
    cursor: pointer;
    opacity: 0.8;
}
.notReady {
    padding: 12px 20px;
    border: none;
    background-color: #cc6008;
    cursor: pointer;
    opacity: 0.8;
}


#full-container {
    --bs-gutter-x: 0;
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.func-overlay {
    z-index: 10;
    position: absolute;
    margin-left: 10px;
    margin-bottom: 10px;
    width: auto;
    align-self: flex-end;
  
  }
.top-overlay {
    position: absolute;
    top:0;
    left:0;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
}
/* poll modal */

.poll-center {
  position: absolute;
  display: none;
  justify-content: center;
  align-items: center; 
  width: 70%;
  height: 50%;
  margin-left: -10px;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s;
}
.poll-center2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center; 
    width: 50%;
    height: 50%;
    margin-left: -10px;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s;
  }
.poll-center.hidden {
  opacity: 0;
  visibility: hidden;
}
.poll-modal {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center; 
  z-index: 3;
  max-width: 100%;
  width: 100%;
  height: 100%;
  max-height: 100%;
  background-color: #006cb9cc;
  color: white;
  border-radius: 25px;
  border: none;
  padding: 25px;
}
.poll .question {
  padding: 20px;
  color: #111;
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-user-select: none;
  user-select: none;
}
.poll .answers {
  padding: 20px 20px 10px;
}
.poll .answers .answer {
  position: relative;
  width: 100%;
  height: 40px;
  padding: 0px 10px;
  line-height: 40px;
  color: #111;
  margin-bottom: 10px;
  border: 1px solid #ffffff50;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}
.poll .answer:hover {
  background-color: #ffffff99;
  opacity: 1;
}
.poll .answers .answer.selected {
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.poll .answers .answer.voted {
  opacity: 1;
  cursor: default;
}
.poll .answers .answer.voted:hover {
  background-color: transparent;
}
.poll .answers .answer.voted.selected {
  opacity: 1;
  cursor: default;
}
.poll .answers .answer span.percentage-value {
  position: absolute;
  top: 50%;
  right: 0px;
  width: auto;
  transform: translateY(-50%);
  color: white;
  font-size: 15px;
  padding-right: 10px;
}
.poll .answers .answer span.percentage-bar {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 0%;
  height: 100%;
  background: #ffffff60;
  z-index: -1;
  transition: width 300ms ease-in-out;

}
.total-votes {
  display: flex;
  justify-content: center;
  opacity: 0.9;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}
.question-header {
  color: white;
  font-weight: bold;
}
.answer p {
  color: white;
}