:root {
    --color: #ffffffc6;
    --icon-background: #0000005f;
    --icon-background-hover: #ffffff45;
}


body {
    margin: 0;
    padding: 0%;
    background-color: rgb(0, 0, 0);
    color: #fff;
    font-family: Monospace;
    font-size: 13px;
    line-height: 24px;
    overscroll-behavior: none;
    /* get rid of any type of scrolling */
    overflow: hidden;
}

.material-symbols-outlined {
    color: var(--color);
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
    user-select: none;

}

a:hover {
    text-decoration: none;
}

button {
    cursor: pointer;
    text-transform: uppercase;
}

a,
button,
input,
select {
    pointer-events: auto;
}

input {
    display: flex;
    width: 233px;

}



#videoContainer2D{
  position: absolute;
  background-color: rgba(15, 225, 33, 0);
padding: 0px;
margin: 0%;
  top:0%;
right: 0%;
width: 100%    !important;
display: block;
}

#container {
    position: absolute;
    top: 0%;
        z-index: 0;

}

#info {
    position: absolute;
    top: 0%;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    box-sizing: border-box;
    text-align: center;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    /* TODO Solve this in HTML */
}

#leftArrow {
    position: absolute;
    top: 50%;
    left: 0.5%;
    width: auto;
    padding: 0px;
    box-sizing: border-box;
    text-align: center;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

#rightArrowDiv {
    position: absolute;
    top: 50%;
    right: 0.2%;
    width: auto;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    /* text-align: center; */
    user-select: none;
    pointer-events: none;
    z-index: 1;

}

#rightArrowDiv:hover {
}



#fullScreen {
    position: absolute;
    display: flex;
    bottom: 2%;
    right: 1%;
    padding: 0px;
    box-sizing: border-box;
    text-align: center;
    /* put everthing in the center using flex */
    justify-content: center;
    align-items: center;
    user-select: none;
    background-color: var(--icon-background);
    z-index: 1;
    border-radius: 50%;
    
}

#fullScreen:hover {

    box-sizing: border-box;
    text-align: center;
    user-select: none;
    transition: all 0.5s ease;
}


#fullscreen {
        box-sizing: border-box;
padding: 10px;

    mix-blend-mode: difference;
    transition: all 0.5s ease;
    cursor: pointer;
    z-index: 1;


}

#fullscreen:hover {
    
  transform: scale(1.3);
  transition: all 0.5s ease;
    border: none;
    mix-blend-mode: difference;
}





/* --------------------------------------------------------------bits to go to full screen mode----------------------------------------- */
/* Safari syntax */
:-webkit-full-screen {
    background-color: yellow;
}

/* IE11 */
:-ms-fullscreen {
    background-color: yellow;
}

/* Standard syntax */
:fullscreen {
    background-color: yellow;
}

  .active {
    background-color: #04AA6D; /* Add an active/current color */
  }

/* ---------------------------------------------------------------------making the dropdown appear on hover------------------------------------------ */

 /* The container <div> - needed to position the dropdown content */
 .dropdown {
  color: #ffffff99;
    position: absolute;
    top: 1%;
    left: 0.5%;

    display: inline-block;
    z-index: 1;
  }

  
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: relative;
    background-color: #e4191900;
    /* min-width: 160px; */
    /* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); */
    z-index: 1;
    margin-top: 5px;

  }
  
  /* Links and buttons inside the dropdown */



  
  
  /* Change color of dropdown links on hover */
  /* .dropdown-content a:hover {background-color: #ddd;} */
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {display: block;
    transition: all 0.5s ease;
}
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
  .dropdown:hover .dropbtn {background-color: #9e9e9e6b;
    transition: all 0.5s ease;
    background-color: rgba(0, 0, 0, 0.261); /* Add a hover color */
    color: #fffffff4;

    
}










/* --------------------------------------------------------------------end of making dropdown appear on hover---------------------------------------- */



/* -------------------------------------------------------------------------ANIMATIONS------------------------------------------------------- */

/* The animation code for pulsating*/








  /* ---------------------------------------replace input type=file with an icon------------------------------------- */
  
  .container-forHiding-input-type-file>input {
    display: none;
  }


  .iconButton{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 10px;
    background-color: var(--icon-background);
    color: rgba(255, 255, 255, 0.869);
    width: 44px;
    height: 44px;
    border: none;
    z-index: 1;
    margin: 5px 0px;
    transition: all 0.5s ease;
    box-sizing: border-box;
  }

  .iconButton:hover {
    background-color: var(--icon-background-hover);
    transition: all 0.5s ease;
    cursor: pointer;
  }

  .iconButton > * {
    color: rgba(255, 255, 255, 0.869);
    transition: all 0.3s ease;

  }


  .iconButton:hover > * {
    color: rgb(28, 28, 28);

    transition: all 0.3s ease;
  }

   .iconButtonClear{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 10px;
    background-color: rgba(117, 117, 117, 0);
    color: #ffffffde;
    width: 34px;
    height: 34px;
    border: none;
    z-index: 1;
    transition: all 0.5s ease;
    box-sizing: border-box;
    margin: 5px;
    border: 1px solid rgba(255, 255, 255, 0);
  }

  #rotateMore{
    margin-bottom:0px;
  }
   #rotateLess {
    margin-top: 0px;
  }

    .iconButtonClear:hover {
    background-color: var(--icon-background-hover);
    transition: all 0.5s ease;
    cursor: pointer;
  }

  .iconButtonClear:active {
    background-color: rgba(117, 117, 117, 0);
    border: 1px solid #ffffffde;
    border-radius: 50%;
  
  }

    .iconButtonClear > * {
    color: #ffffffde;
    transition: all 0.1s ease;

  }


  .iconButtonClear:hover > * {
    color: rgb(28, 28, 28);

    transition: all 0.1s ease;
  }

    .iconButtonClear:active > * {
    color: rgba(255, 255, 255, 0.869);
    transition: all 0.1s ease;
  }


  /* ----------------------------------------------------------------vertical icon menu------------------------------------------------------------ */

.icon-bar {

  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0); /* Dark-grey background */
  position: relative;
  /* top: 5%;
  left: 0.5%; */
  padding: 0px;
  box-sizing: border-box;
  text-align: center;
  user-select: none;
  z-index: 1;


}



#videoControls video {
  max-width: 80%;     /* keep it from stretching the whole width */
  outline: none;
}


/* Video controls container */
#videoControls {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  /* add these: */
  opacity: 1;
  transition: opacity 0.5s ease;

}

#videoControls .controlsRow {
  display: flex;
  gap: 8px;
}

#videoTimeDisplay {
  display: flex;
  align-items: center;
  justify-items: center ;
  color: #00c817;
  font-size: 12px;
  background-color: var(--icon-background);
  padding: 10px;
  height: 30px;
  border-radius: 30px;
  text-align: center;
  box-sizing: border-box;    
  margin-bottom: 8px;
}

.activeColor {
  color: #ff0000;
  transition: all 0.5s ease;
}

 /* Preserve red color for active state when hovering */
  #stopButton:hover > .activeColor {
     color: #ff0000;
  }

      #muteButton:hover > .activeColor {
     color: #ff0000;
  }

    #rotateButton:hover > .activeColor {
     color: #ff0000;
  }

  #rotateSpeedDisplay{
    user-select: none;
    color: #ffffff;
    font-size: 10px;
    text-align: center;
  }

   #rotateSpeedDisplay:hover{
    user-select: none;
    color: #ff0000;
    font-size: 10px;
    cursor: pointer;
  }

  #donationPaymentDialog {
    display: none;
    background-color: var(--icon-background);
    position: absolute;
    left: 60px;
    transform: translateY(-65%);
    flex-direction: row;
    padding: 3px;
    border-radius: 20px;
    box-sizing: border-box;
    min-width: 400px;
    z-index: 2;


  }

  #donationLinkButtons{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;

  }

  #donationText{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: #ffffff;
    font-size: 12px;
    padding: 10px;

  }

  #infoDialog {
    display: none;
    background-color: var(--icon-background);
    position: absolute;
    left: 60px;
    top: 100px  ;
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
    box-sizing: border-box;
    min-width: 400px;
    z-index: 2;


  }

  #infoRow{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  
    margin: 3px;
    color: #ffffff;

  }


  #infoWarning {
    display: none;
    background-color: var(--icon-background);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
    box-sizing: border-box;
    min-width: 400px;
    z-index: 2;
    transition: all 1s ease;
  }

  .speedButton{
    user-select: none;
    font-size: 11px;
    /* font-family: Verdana,; */
  }

/* Video controls containers */

/* Speed and Rotate drop‑up controls */
.buttonColumn {
    position: relative;
    display: inline-block;
    margin: 0px; /* horizontal gutter matching iconButton */
    overflow: visible; /* allow subControls to appear outside */
    box-sizing: border-box;
    /* background-color: violet; */
}

.buttonColumn .subControls {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0px;
    bottom: 54px;
    flex-direction: column;
    min-width: 44px;
    background-color: var(--icon-background);
    border-radius: 22px;
    transition: all 0.5s ease;
    }

.buttonColumn:hover .subControls {
    display: flex;
    transition: all 0.5s ease;
}

/* Remove default iconButton margin inside columns */
.buttonColumn .iconButton {
    margin-bottom: 5px;
    
}