body{
    padding:0px;
    margin:0px;
    background-color:black;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family:"Tahoma";
  background-position:center;
    background-repeat:no-repeat;
    transition: all 0.2s ease-in-out;
    border-collapse:collapse;
}

/* ADMIN */

.hidden{
  display:none;
}

.admin_structure{
    width:100vw;
    height:100vh;
    border-collapse:collapse;
}

.admin_structure td:first-child, .panel, .design_panel{
    width:20%;
    min-width:350px;
}

.panel, .design_panel{
    background-color:rgb(15,15,15);
    position:fixed;
    top:0px;
    left:0px;
    height:100vh;
    color:white;
    padding:25px;
    overflow-y:auto;
    overflow-x:hidden;
    padding-bottom:80px;
    transition: left 0.5s, opacity 0s, width 0.5s;
    box-shadow: inset -10px 0px 10px 1px rgba(0,0,0,0.30);
    padding-right:40px;
}

.design_panel.black{
  background-color:rgb(0,0,0) !important;
}

.panel{
  z-index:2;
}

.panel h2, .design_panel h2{
    margin-top:0px;
    margin-bottom:15px;
}

.design_panel h2{
  margin-top:40px;
}


.panel h3, .design_panel h3{
    font-weight:200;
    margin-bottom:20px;
}

.panel hr, .design_panel hr{
    opacity:0.1;
    margin-bottom:20px;
}

.selfie-moderation-copy{
    color:rgba(255,255,255,0.62);
    font-size:12px;
    line-height:1.5;
    margin:14px 0 18px;
}

#selfie_moderation_gallery{
    min-height:120px;
    max-height:min(56vh, 620px);
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:8px;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
}

.selfie-moderation-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:12px;
    align-content:start;
}

.selfie-moderation-card{
    position:relative;
    aspect-ratio:1/1;
    border:none;
    border-radius:16px;
    background-color:#0d1016;
    background-size:cover;
    background-position:center;
    box-shadow:0 10px 28px rgba(0,0,0,0.28);
    cursor:pointer;
    overflow:hidden;
}

.selfie-moderation-card[data-selfie-status="blocked"]{
    filter:saturate(0.55);
}

.selfie-moderation-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(255,255,255,0) 38%, rgba(0,0,0,0.6) 100%);
}

.selfie-moderation-card__badge{
    position:absolute;
    top:8px;
    right:8px;
    z-index:1;
    padding:4px 8px;
    border-radius:999px;
    background:rgba(8,12,18,0.86);
    color:#fff;
    font-size:10px;
    letter-spacing:0.08em;
    text-transform:uppercase;
}

.selfie-moderation-empty{
    margin:0;
    padding:18px 0;
    color:rgba(255,255,255,0.6);
    font-size:13px;
}

.selfie-moderation-modal{
    position:fixed;
    inset:0;
    z-index:1000001;
    display:none;
}

.selfie-moderation-modal.is-open{
    display:block;
}

.selfie-moderation-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.76);
    backdrop-filter:blur(10px);
}

.selfie-moderation-modal__dialog{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:min(92vw, 520px);
    padding:18px;
    border-radius:24px;
    background:linear-gradient(180deg, rgba(20,24,31,0.98) 0%, rgba(10,13,18,0.98) 100%);
    box-shadow:0 24px 80px rgba(0,0,0,0.45);
}

.selfie-moderation-modal__close{
    position:absolute;
    top:10px;
    right:12px;
    width:36px;
    height:36px;
    border:none;
    border-radius:999px;
    background:rgba(255,255,255,0.08);
    color:#fff;
    font-size:24px;
    cursor:pointer;
}

.selfie-moderation-modal__image-wrap{
    aspect-ratio:1/1;
    border-radius:18px;
    overflow:hidden;
    background:#0b0f15;
}

.selfie-moderation-modal__image-wrap img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.selfie-moderation-modal__meta{
    display:grid;
    gap:10px;
    margin-top:16px;
    padding:14px 16px;
    border-radius:16px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
}

.selfie-moderation-modal__meta-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}

.selfie-moderation-modal__meta-label{
    color:rgba(255,255,255,0.58);
    font-size:12px;
    letter-spacing:0.12em;
    text-transform:uppercase;
}

.selfie-moderation-modal__meta-value{
    color:#fff;
    font-size:15px;
    font-weight:600;
    text-align:right;
}

.selfie-moderation-modal__actions{
    display:flex;
    gap:12px;
    margin-top:18px;
}

.selfie-moderation-modal__actions .btn{
    flex:1 1 0;
}

.admin_structure td:nth-child(2){
    background-color:black;
}

.submit-button {
    justify-self: center;
}

.form-field {
    position: relative;
    margin-top:55px;
}

.label {
    position: absolute;
    left: 0;
    top: -35px;
    line-height: 26px;
    font-weight: 400;
    color: rgb(200,200,200);
    cursor: text;
    font-size:15px;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
select {

    border: none;
    height: 40px;
    padding: 0 10px;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.5);
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
}

select{
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='30' viewBox='0 0 24 24' width='30' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 5px;
}

textarea {
    height: 140px !important;
    padding: 10px 10px;

}

.btn {
    background-color: white;
    color: black;
    border: 2px solid white;
    display: inline-block;
    padding: 12px 30px;
    margin-top: 15px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    width:calc(50% - 5px);
    display:inline-block;
}

.btn.right{
    float:right;
    background-color: #1DB954;
    border: 2px solid #1DB954;
}

.btn:hover {
    background-color: transparent;
    color: white;
}

.btn.right:hover {
    color: #1DB954;
}

.btn:active {
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
}

.switch_container{
    margin-top:25px;
    margin-bottom:5px;
}

.switch_container td:first-child, p.labeled{
    color: rgb(200,200,200);
    cursor: text;
    font-size:15px;
}

.switch {
    position: relative;
    width: 60px;
    height: 26.4px;
  }
  .switch input {
    visibility: hidden;
  }
  .switch input:checked + label {
    background-color: #1DB954;
  }
  .switch input:checked + label:hover {
    background-color: #148a3d;
  }
  .switch input:checked + label:after {
    left: 31.8px;
  }
  .switch label {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 26.4px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 60px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    margin-top:15px;
    margin-left:18px;
    margin-bottom:10px;
  }
  .switch label:hover {
    background-color: rgba(0, 0, 0, 0.24);
  }
  .switch label:after {
    display: block;
    content: "";
    position: absolute;
    left: -1.8px;
    top: -1.8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: 0.2s ease-in;
  }
  
  .switch {
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
  }

  .range-slider {
    margin: 20px 0 0 0;
    margin-bottom:20px;
  }
  
  .range-slider {
    width: 100%;
  }
  
  .range-slider__range {
    -webkit-appearance: none;
    appearance: none;
    width: calc(100% - (73px));
    height: 10px;
    border-radius: 5px;
    background: #e5e5e5;
    outline: none;
    padding: 0;
    margin: 0;
  }
  .range-slider__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1DB954;
    cursor: pointer;
    -webkit-transition: background 0.15s ease-in-out;
    transition: background 0.15s ease-in-out;
  }
  .range-slider__range::-webkit-slider-thumb:hover {
    background: #23e768;
  }
  .range-slider__range:active::-webkit-slider-thumb {
    background: #23e768;
  }
  .range-slider__range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: #1DB954;
    cursor: pointer;
    -moz-transition: background 0.15s ease-in-out;
    transition: background 0.15s ease-in-out;
  }
  .range-slider__range::-moz-range-thumb:hover {
    background: #23e768;
  }
  .range-slider__range:active::-moz-range-thumb {
    background: #23e768;
  }
  .range-slider__range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1DB954;
  }
  
  .range-slider__value {
    display: inline-block;
    position: relative;
    width: 60px;
    color: #fff;
    line-height: 20px;
    text-align: center;
    border-radius: 3px;
    background: black;
    padding: 5px 10px;
    margin-left: 8px;
  }
  .range-slider__value:after {
    position: absolute;
    top: 8px;
    left: -7px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-right: 7px solid black;
    border-bottom: 7px solid transparent;
    content: "";
  }
  
  ::-moz-range-track {
    background: #e0e0e0;
    border: 0;
  }
  
  input::-moz-focus-inner,
  input::-moz-focus-outer {
    border: 0;
  }

.design.circle{
    float:right;
    width:35px;
    height:35px;
    margin-top:-50px;
    background-image:url("../../static/pictures/icons/crayon.png");
    background-size:40%;
    border-radius:50%;
    opacity:0.6;
    cursor:pointer;
}

.design:hover{
    opacity:1;
    background-color:black;
}

#path_videos{
    background-color:rgba(0,0,0,0.5);
    margin-top:25px;
    padding:10px;
    transition:0.5s;
    height:auto;
}

#path_videos p{
    margin-bottom:20px;
    font-size:13px;
    color:gray;
}

#path_videos p span{
    color:#1DB954;
}

#path_videos hr{
    margin-top:20px;
    margin-bottom:5px;
}

.folder_table{
    display:inline-block;
    text-align:center;
    font-size:12px;
    width:25%;
    min-width:0;
    vertical-align:top;
    cursor:pointer;
    margin-bottom:5px;
    margin-top:5px;
    padding:0 10px;
    overflow:hidden;
}

.folder_table table,
.folder_table tbody,
.folder_table table tr{
    display:block;
    width:100%;
}

.folder_table table{
    margin:auto;
}

.folder_table:hover table tr:first-child td{
    background-color:#1DB954 !important;
}

.folder_table:hover table td{
    color:#1DB954;
}

.folder_table table tr:first-child td{
    display:block;
    background-color:white;
    height:50px;
    width:50px;
    margin:0 auto;
    border-radius:50%;
    background-image:url("../../static/pictures/icons/folder.png");
    background-size:60%;
}

.folder_table.back table tr:first-child td{
    display:block;
    background-color:rgb(80,80,80);
    height:50px;
    width:50px;
    margin:0 auto;
    border-radius:50%;
    background-image:url("../../static/pictures/icons/back.png");
    background-size:60%;
}

.folder_table.back td{
    color:rgb(80,80,80);
}

.folder_table table tr:nth-child(2) td{
    display:block;
    padding-top:10px;
    font-size:11px;
    font-weight:400;
    line-height:1.2;
    width:100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.video_prev{
    display: inline-block;
    width: calc(50% - 10px);
    margin:5px;
    height: 80px;
    background-color: black;
    cursor: pointer;
    border:solid 1px black;
}

.video_prev.selected{
  border:solid 1px #1DB954;
}

.video_prev:hover{
    border:solid 1px white;
}

#video_upload input {
	position: relative;
	height: 40px;
	width: 100%;
    cursor:pointer;
}

#video_upload input:before {
	background: #1DB954;
	content: 'Upload Video';
	color: white;
	font-weight: bold;
	line-height: 1;
 	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
    width:100%;
}

#video_upload input:invalid:before { content: 'Upload Video'; }
#video_upload input:valid:before { content: 'Please wait...'; background: black; color:white; pointer-events:none; }

.image-upload{
  text-align:center;
  margin-top:25px;
  width:100%;
  width:100%;
  border-top:solid 1px rgba(200,200,200,0.1);
  border-bottom:solid 1px rgba(200,200,200,0.1);
  background-size:cover;
  background-position:center;
}

#pic_upload img{
    height:40px;
    width:40px;
    cursor:pointer;
    border-radius:5px;
    margin-top:10px;
    margin:auto;
    object-fit:cover;
    margin-top:50px;
    margin-bottom:50px;
}

#pic_upload img:hover{
    opacity:0.65;
}

#pic_upload.loading img{
  opacity:0.2;
  pointer-events:none;
  filter:contrast(0);
}

.loader {
    position: relative;
    margin-right: 3em;
    font-size: 10px;
    text-align:center;
    margin:auto;
    margin-top:30px;
    margin-bottom:30px;
    width: 3.2em;
    height: 3.2em;
    right: 2em;
    position: relative;
  }

  .loader:before, .loader:after {
    content: "";
    border: 2px solid #1DB954;
    border-radius: 50%;
    height: 100%;
    width: 100%;
    position: absolute;
    -webkit-animation: pulse 1s ease-out;
            animation: pulse 1s ease-out;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    opacity: 0;
  }
  .loader:before {
    border: 2px solid #1DB954;
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s;
  }

  .layout_container{
    width:100%;
    padding:5px;
    padding-left:0px;
  }

  .button_layout{
    display:inline-block;
    width:30px;
    height:30px;
    background-color:gray;
    background-size:60%;
    margin-right:7px;
    border-radius:5px;
    cursor:pointer;
  }

  .button_layout.selected{
    background-color:#1DB954;
  }

  .button_layout:hover{
    background-color:white;
  }

  .back_panel{
    color:white;
    cursor:pointer;
    float:right;
    background-image:url("../../static/pictures/icons/back_panel.png");
    background-position: 0px 50%;
    background-size: contain;
    width: 60px;
    text-align:right;
    opacity:0.6;
  }

  .back_panel:hover{
    opacity:1;
  }

  .panel.hide, .design_panel.hide{
   left:-700px;
   transition: all 0.5s;
   opacity:0;
  }

  @-webkit-keyframes pulse {
    0% {
      transform: scale(0.1, 0.1);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: scale(1.2, 1.2);
      opacity: 0;
    }
  }
  @keyframes pulse {
    0% {
      transform: scale(0.1, 0.1);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: scale(1.2, 1.2);
      opacity: 0;
    }
  }

  .position_table_small{
    width:calc(100% + 10px);
    margin-left:-5px;
    height:220px;
    border-collapse:separate;
    border-spacing: 5px;
  }

  .position_table_big, #ajax_admin{
    width:100%;
    height:100vh;
    border-collapse:separate;
    border-spacing: 10px;
    margin-top:-100vh;
    display:none;
  }

  #ajax_admin{
    background-color:black;
    display:flex;
  align-items:center;
  justify-content:center;
  }

  .position_table_small div, .position_table_big div{
    width:100%;
    height:100%;
    cursor:pointer;
    background-color:rgba(0,0,0,0.7);
    border-radius:5px;
    opacity:0.7;
    background-size:25px;
    background-position:center;
  }

  .position_table_big div{
    background-size:50px;
    opacity:0.5;
  }

  .position_table_small td, .position_table_big td{
    width:33% !important;
    height:33% !important;
    min-width:0px !important;
  }

  .position_table_small div:hover{
    opacity:1;
  }

  .position_table_big div:hover{
    background-size:50px;
    opacity:0.7;
    border:solid 2px white;
  }

  .position_table_small div.selected{
    pointer-events:none !important;
    background-color:#1DB954;
    opacity:1;
  }

  .position_table_big div.selected{
    pointer-events:none !important;
    border:solid 2px #1DB954;
    opacity:0.7;
  }

  div.top.left{
    background-image:url("../../static/pictures/icons/top left.png");
  }
  div.top.center{
    background-image:url("../../static/pictures/icons/top center.png") !important;
  }
  div.top.right{
    background-image:url("../../static/pictures/icons/top right.png");
  }
  div.center.left{
    background-image:url("../../static/pictures/icons/center left.png") !important;
  }
  div.centers{
    background-image:url("../../static/pictures/icons/center center.png");
  }
  div.center.right{
    background-image:url("../../static/pictures/icons/center right.png") !important;
  }
  div.bottom.left{
    background-image:url("../../static/pictures/icons/bottom left.png");
  }
  div.bottom.center{
    background-image:url("../../static/pictures/icons/bottom center.png") !important;
  }
  div.bottom.right{
    background-image:url("../../static/pictures/icons/bottom right.png");
  }

  #localVideo{
    position: fixed;
    width: 80%;
    top: 0;
    height: 100%;
    right: 0;
    object-fit: cover;
    object-position: center;
    max-width: calc(100% - 350px);
    display:none;
    opacity:0;
  }

  @media only screen and (max-width: 600px) {
    #localVideo {
      position: relative;
        width: 100%;
        margin-top: 20px;
        border-radius: 10px;
        max-width: 100%;
        height: auto;
  }
    .admin_structure td:nth-child(1), #layout, .position_table_big{
        display:none !important;
    }    
    .panel, .design_panel{
      background-color:rgba(15,15,15,.9) !important;
      backdrop-filter:blur(4px);
      transition:0.5s;
      box-shadow:none;
      padding-right:25px;
    }

    .panel.hide{
      left:-100vw;
      transition:0.5s;
      opacity:0;
    }
    .design_panel.hide{
      left:100vw;
      transition:0.5s;
      opacity:0;
    }
    .admin_structure td:first-child, .panel, .design_panel{
        width:100%;
        min-width:100%;
    }
  }
  iframe{
    pointer-events:none;
    border:none;
    opacity:1;
  }

  #call_bpm, #call_hack, #call_stream{
    cursor:pointer;
    background-color:transparent;
    color:white;
    width:100%;
    padding:10px;
    text-align:center;
    border:solid 2px #1DB954;
    margin-bottom:15px;
  }

  #call_bpm:hover, #call_hack:hover, #call_stream:hover{
    background-color:#1DB954;
  }

  #bpm_container, #hack_container, #hack_step_container, #stream_container{
    display:flex;
    width:100%;
    margin:auto;
    height:200px;
    border-radius:8px;
    border:solid 2px #1DB954;
    color:white;
    text-align:center;
    align-items: center;
    justify-content:center;
    cursor:pointer;
    user-select: none;
    font-size:20px;
    font-weight:bold;
  }

  #hack_container.active, #stream_container.active{
    background-color:#1DB954;
  }

  .stream_fx_label{
    color:#9f9f9f;
    font-size:12px;
    letter-spacing:0.08em;
    text-transform:uppercase;
    margin:28px 0 10px;
  }

  .stream_blend,
  .blink_color{
    margin-top:50px !important;
    position:relative;
    z-index:2;
  }

  .stream_blend .label,
  .blink_color .label{
    margin-bottom:10px;
    display:block;
  }

  .stream_fx_list{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
    margin-bottom:18px;
  }

  .stream_fx{
    appearance:none;
    border:solid 1px rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.04);
    color:white;
    border-radius:10px;
    padding:12px 14px;
    text-align:left;
    cursor:pointer;
    font-size:14px;
    transition:background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  }

  .stream_fx:hover{
    border-color:rgba(29,185,84,0.65);
    background:rgba(29,185,84,0.12);
  }

  .stream_fx.active{
    background:#1DB954;
    border-color:#1DB954;
    color:black;
    font-weight:700;
  }

  #stop_bpm{
    width:100%;
    background-color:black;
    color:white;
    text-align:center;
    padding:10px;
    cursor:pointer;
    margin-top:20px;
    border:solid 1px gray;
  }

  #blink_admin{
    width:100%;
    margin:auto;
    height:200px;
    border-radius:8px;
    border:solid 2px #1DB954;
    background-color:#1DB954;
    margin-top:-200px;
    pointer-events:none;
    opacity:0;
  }

  #effect_blink{
    width:100vw;
    height:100vh;
    background-color:white;
    position:fixed;
    top:0px;
    left:0px;
    z-index:1005;
    opacity:0;
  }

  #effect_blink.hide{
    display:none;
  }

  #glitch_effect{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
  }

  @keyframes blinking {
    0% {
      opacity:1;
    }
    14% {
      opacity:0.88;
    }
    52% {
      opacity:0.08;
    }
    100% {
      opacity:0;
    }
  }
  @media only screen and (min-width: 801px) {
    iframe.hide{
      opacity:0.2;
      filter:blur(10px);
    }
  }
  @media only screen and (max-width: 800px) {
    .position_table_big, #ajax_admin{
        display:none !important;
        opacity:0 !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }    
  }

/* =========== CLIENT ============ */

.back_vid {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100%;
  z-index: 6;
  transition: opacity 5s;
}

#VIDEO {
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-color: black;
}

#VIDEO video {
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

#VIDEO .video-main{
  z-index: 2;
}

#VIDEO .video-repeat-layer{
  position:absolute;
  inset:0;
  z-index:1;
  overflow:hidden;
}

#VIDEO .video-repeat-side{
  width:50vw;
  height:100vh;
  object-fit:cover;
  top:50%;
  transform:translateY(-50%);
  filter:blur(10px) saturate(1.08) brightness(0.88);
  opacity:0.95;
}

#VIDEO .video-repeat-side--left{
  left:0;
}

#VIDEO .video-repeat-side--right{
  left:auto;
  right:0;
}

#text_screen{
  position:fixed;
  top:0px;
  left:0px;
  width:100vw;
  height:100vh;
  z-index:1000;
  background-color:rgb(0,0,0,0.8);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:1;
  backdrop-filter: blur(10px);
  padding:50px;
  box-sizing:border-box;
}

#text_screen.net{
  background-color:transparent !important;
  backdrop-filter:none !important;
}

#text_screen.hide{
  opacity:0;
}

#custom_timeline_overlay{
  position:fixed;
  inset:0;
  z-index:1002;
  opacity:1;
  visibility:visible;
  pointer-events:none;
  background:rgba(0, 0, 0, 0.5);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  transition:
    opacity 0.45s ease-in-out,
    visibility 0s linear 0s;
}

#streamframe{
  z-index:1001 !important;
}

#reactions_container{
  position:fixed;
  inset:0;
  z-index:1000003;
  pointer-events:none;
}

#custom_timeline_overlay.hide{
  opacity:0;
  visibility:hidden;
  transition:
    opacity 0.45s ease-in-out,
    visibility 0s linear 0.45s;
}

#custom_timeline_frame{
  display:block;
  width:100vw;
  height:100vh;
  border:0;
  pointer-events:none;
  background:transparent;
}

#text_screen h1{
  margin-bottom:20px;
  font-size:50px;
}

#text_screen p{
  margin-bottom:20px;
  font-size:30px;
  font-weight:300;
}

#dj_small, #dj_big, #dj_big_2{
  width:100vw;
  height:100vh;
  pointer-events:none;
  position:fixed;
  top:0px;
  left:0px;
  z-index:1002;
}

#dj_big .back{
  background-color:rgba(0,0,0,0.2);
}

#dj_big.hide, #dj_big_2.hide{
  opacity:0;
}

#dj_big{
  padding:0px;
  z-index:1003;
  backdrop-filter:blur(5px);
}

#dj_big_2{
  z-index:1006;
  overflow:visible !important;
}

#dj_big div{
  height:100%;
  text-align:center;
  opacity:0.8;
  display:flex;
  align-items:center;
  background-size:cover !important;
}

#dj_big_2 div{
  height:100%;
  text-align:center;
  display:flex;
  align-items:center;
  background-repeat:repeat !important;
  overflow:visible !important;
}

#dj_small.hide{
  opacity:0;
}

#dj_small > div{
  display:flex;
  width:100vw;
  height:100vh;
  box-sizing:border-box;
}

#dj_big_2 div .name{
  width:100%;
  text-align:center;
  font-size:60px;
  color:white;
  overflow:visible !important;
}

#dj_big_2 .dj_container{
  width:100%;
  justify-content:center;
  align-items:center;
  overflow:visible !important;
}

#dj_big_2 .name,
#dj_big_2 .name h2{
  width:100%;
  text-align:center !important;
  margin:0 auto;
  overflow:visible !important;
}

#dj_big_2 .name h2.dj-big-name--glitch-ready{
  display:inline-block;
  line-height:1;
  letter-spacing:0.04em;
  white-space:pre-wrap;
  transform-origin:center center;
  will-change:transform, filter, text-shadow, opacity;
}

#dj_big_2 .dj-big-name__word{
  display:inline-block;
  white-space:nowrap;
  overflow:visible !important;
  transform-origin:center center;
}

#dj_big_2 .dj-big-name__word.is-word-glitching{
  animation:djBigNameWordGlitch 84ms steps(2, end) 1;
  transform:translate3d(var(--word-shift-x, 0em), var(--word-shift-y, 0em), 0);
}

#dj_big_2 .dj-big-name__letter,
#dj_big_2 .dj-big-name__space{
  display:inline-block;
  overflow:visible !important;
}

#dj_big_2 .dj-big-name__letter{
  position:relative;
  transform-origin:center bottom;
  transition:transform 80ms ease-out, color 80ms ease-out, text-shadow 80ms ease-out, filter 80ms ease-out, opacity 80ms ease-out;
}

#dj_big_2 .name h2.is-glitching{
  transform:translateY(-0.012em) scale(1.02);
  filter:saturate(1.2) contrast(1.08) brightness(1.05);
  text-shadow:
    -0.018em 0 0 rgba(255, 40, 120, 0.62),
    0.018em 0 0 rgba(0, 255, 255, 0.64),
    0 0 0.22em rgba(255, 255, 255, 0.46),
    0 0 0.6em rgba(255, 255, 255, 0.12);
}

#dj_big_2 .name h2.is-glitching.is-glitching-heavy{
  filter:saturate(1.28) contrast(1.1) brightness(1.08);
  text-shadow:
    -0.028em 0 0 rgba(255, 0, 106, 0.74),
    0.028em 0 0 rgba(0, 242, 255, 0.76),
    0 0 0.3em rgba(255, 255, 255, 0.58),
    0 0 0.8em rgba(255, 255, 255, 0.14);
}

#dj_big_2 .name h2.is-glitching .dj-big-name__letter{
  animation:
    djBigNameBeatPulse 165ms cubic-bezier(0.12, 0.72, 0.2, 1) 1,
    djBigNameBeatGlitch 128ms steps(2, end) 1;
  animation-delay:calc(var(--beat-delay, 0) * 1ms), calc(var(--beat-delay, 0) * 1ms);
}

#dj_big_2 .name h2.is-glitching .dj-big-name__letter.is-glitch-char{
  color:#fef7ff;
  text-shadow:
    -0.028em 0 0 rgba(255, 0, 98, 0.66),
    0.028em 0 0 rgba(0, 236, 255, 0.68),
    0 0 0.24em rgba(255, 239, 97, 0.46),
    0 0 0.68em rgba(255, 255, 255, 0.16);
}

#dj_big_2 .name h2.is-glitching .dj-big-name__letter.is-glitch-char-heavy{
  color:#ffffff;
  text-shadow:
    -0.04em 0 0 rgba(255, 0, 98, 0.8),
    0.04em 0 0 rgba(0, 236, 255, 0.82),
    0 0 0.32em rgba(255, 239, 97, 0.58),
    0 0 0.86em rgba(255, 255, 255, 0.2);
  filter:brightness(1.1) saturate(1.18);
}

@keyframes djBigNameBeatPulse{
  0%{
    opacity:1;
    transform:translate3d(var(--beat-drift, 0em), var(--beat-lift, -0.11em), 0) scale(var(--beat-scale, 1.08));
    filter:brightness(1.12);
  }
  38%{
    opacity:0.98;
    transform:translate3d(calc(var(--beat-drift, 0em) * -0.32), calc(var(--beat-lift, -0.11em) * -0.22), 0) scale(var(--beat-settle-scale, 1.03));
    filter:brightness(1.04);
  }
  100%{
    opacity:1;
    transform:translate3d(0, 0, 0) scale(1);
    filter:brightness(1);
  }
}

@keyframes djBigNameWordGlitch{
  0%{
    opacity:1;
    filter:brightness(1);
  }
  35%{
    opacity:0.92;
    filter:brightness(1.18) saturate(1.22);
  }
  100%{
    opacity:1;
    filter:brightness(1);
  }
}

@keyframes djBigNameBeatGlitch{
  0%{
    transform:translate3d(0, 0, 0) skewX(0deg);
  }
  25%{
    transform:translate3d(-0.036em, 0.018em, 0) skewX(2.8deg);
  }
  50%{
    transform:translate3d(0.042em, -0.028em, 0) skewX(-3.8deg);
  }
  75%{
    transform:translate3d(-0.03em, 0.016em, 0) skewX(2.2deg);
  }
  100%{
    transform:translate3d(0, 0, 0) skewX(0deg);
  }
}

#dj_small > div:not([data-variant="phone"]) .dj_container{
  display:inline-flex !important;
  width:auto !important;
  height:auto !important;
  flex:0 0 auto;
  justify-content:center;
}

#dj_small > div:not([data-variant="phone"]) .dj_container *{
  width:auto !important;
  height:auto !important;
}

#dj_small > div:not([data-variant="phone"]) .dj_container .pic{
  display:block !important;
  flex:0 0 60px;
  height:60px !important;
  width:60px !important;
  background-size:cover;
  border-radius:50%;
  background-color:black;
  margin:0 !important;
}

#dj_small > div:not([data-variant="phone"]) .dj_container .name{
  display:block !important;
  flex:0 1 auto;
  width:auto !important;
  color:white !important;
  height:auto !important;
  margin:0 !important;
}

#dj_small > div:not([data-variant="phone"]) .dj_container .name h2{
  margin:0;
  color:white;
  line-height:1.1;
}

#dj_small > div[position]:not([data-variant="phone"]) .dj_container{
  margin:0 !important;
}

#dj_small > div[position]:not([data-variant="phone"]) .dj_container .pic{
  margin:0 !important;
}

#dj_small > div[position]:not([data-variant="phone"]){
  flex-direction:row !important;
}

div[position] {
  display:block;
  width:100vw;
  height:100vh;
  position:relative;
}


.reaction{
  position:fixed;
  bottom:0px;
  left:4vw;
  width:auto;
  min-height:320px;
  z-index:1000004;
  pointer-events:none;
  overflow:visible;
  display:inline-flex;
  align-items:center;
  gap:28px;
  animation-name: moveUp;
  animation-duration: 7s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  bottom: 0;
}

.reaction,
.reaction *,
.reaction *::before,
.reaction *::after,
#reactions_container,
#reactions_container * ,
#reactions_container *::before,
#reactions_container *::after{
  overflow: visible !important;
}

.reaction .emoji{
  flex:0 0 auto;
  width:104px !important;
  height:104px !important;
  min-width:104px !important;
  min-height:104px !important;
  display:inline-block !important;
  position:relative !important;
  transform: scale(1.72) !important;
  transform-origin:center center !important;
  margin:24px !important;
}

.reaction .emoji--photo-reaction{
  display:inline-block !important;
  width:224px;
  height:224px;
  min-width:224px;
  min-height:224px;
  position:relative;
  overflow:hidden !important;
  aspect-ratio:1 / 1;
  border-radius:50%;
  clip-path:circle(50% at 50% 50%);
  background-color:#11161f !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.reaction .emoji--photo-reaction .emoji__photo{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  border-radius:50%;
}

#selfie_highlight_overlay{
  position:fixed;
  inset:0;
  z-index:1000005;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:40px;
  background:radial-gradient(circle at center, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.68) 55%, rgba(0,0,0,0.88) 100%);
  pointer-events:none;
}

#selfie_highlight_overlay.hide{
  display:none;
}

.selfie-highlight__label{
  color:#fff;
  font-size:clamp(22px, 2.4vw, 34px);
  font-weight:700;
  letter-spacing:0.28em;
  text-align:center;
  text-shadow:0 10px 32px rgba(0,0,0,0.45);
}

.selfie-highlight__image-wrap{
  position:relative;
  width:min(76vw, 700px);
  aspect-ratio:1 / 1;
  max-height:70vh;
  border-radius:26px;
  overflow:hidden;
  background:#070b11;
  box-shadow:0 28px 90px rgba(0,0,0,0.42);
}

.selfie-highlight__image-wrap img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.selfie-highlight__progress{
  position:absolute;
  left:18px;
  right:18px;
  bottom:16px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,0.16);
  overflow:hidden;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}

.selfie-highlight__progress-bar{
  width:100%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(127,209,255,0.9) 100%);
  transition:width 90ms linear;
}

#dj_small > div[data-variant="phone"] .name,
#dj_small > div[data-variant="phone"] .name h2{
  font-size:30px !important;
  font-weight:400 !important;
  line-height:1.1 !important;
}

#dj_small > div[data-variant="phone"],
#dj_small > div[data-variant="phone"] .dj_container,
#dj_small > div[data-variant="phone"] .name,
#dj_small > div[data-variant="phone"] .name h2{
  overflow:visible !important;
}

#dj_small > div[data-variant="phone"] .dj_container,
#dj_small > div[data-variant="phone"] .name{
  isolation:isolate;
}

@keyframes moveUp {
  from {
      bottom: -10%;
  }
  to {
      bottom: 130%;
  }
}

#menu_animate, #frame_animate{
  width:100%;
  height:100%;
  position:fixed;
  top:0px;
  left:0px;
}

#menu_animate td{
  text-align:center;
}

.call_display{
  margin:20px;
  width:140px;
  height:140px;
  display:inline-block;
  background-color:rgb(220,220,220);
  background-size:60%;
  background-position:center;
  background-repeat:no-repeat;
  border-radius:50%;
  filter:invert(1);
  cursor:pointer;
}

.call_display:hover{
  opacity:0.6;
}

#menu_animate a{
  text-decoration:none;
}

#menu_animate a:first-child .call_display{
  background-image:url("../../static/pictures/icons/beamer.png");
}

#menu_animate a:nth-child(2) .call_display{
  background-image:url("../../static/pictures/icons/char.png");
}

#menu_animate a:last-child .call_display{
  background-image:url("../../static/pictures/icons/admin.png");
}

#bar_container{
  position:fixed;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
  background-color:rgba(0,0,0,0.6);
  z-index: 6;
  opacity:0;
  transition:opacity 0.5s;
}

#bar_container.show{
  opacity:1;
}

#bar_container div{
  width:90%;
  background-color:rgba(0,0,0,0.7);
  backdrop-filter:blur(6px);
  margin:auto;
  border-radius:5px;
  padding:70px;
}

#bar_container table{
  width:100%;
}

#bar_container tr td:nth-child(2){
  text-align:right;
}

#bar_container tr td{
  padding-top:20px;
  padding-bottom:20px;
}

#bar_container tr{
  border-bottom:dashed 1px white;
}

#bar_container tr:first-child{
  border-bottom:solid transparent;
}

#bar_container tr:last-child{
  border-bottom:solid transparent;
  padding-top:50px;
  font-size:30px !important;
}

#bar_container h1{
  color:white !important;
  font-size:60px;
}

#bar_container *{
  color:white !important;
  font-size:40px;
}

.globe{
  width: 40px !important;
    background-color: transparent !important;
    height: 40px;
    display: inline-block;
    background-image: url("https://latitude-project.com/pictures/logo/globe.png");
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 3px !important;
    margin-bottom: -8px !important;
    padding: 0px !important;
    border-radius: 50% !important;
}
