@import url("https://fonts.googleapis.com/css?family=Roboto:400,400i,700");

html, body {
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: hidden;
  background-color: #1b1c1d;
}
body{
  position: relative;
  font-family: Roboto, sans-serif;
  margin: 0;
}

/* --- Loader Styles (Fixed Morphing Implementation) --- */
#loader {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* Base transform for centering */
  z-index: 9999;

  /* Spinner state */
  width: 60px;
  height: 60px;
  border: 8px solid #f3f3f3;
  border-top-color: #3e4043;
  border-radius: 50%;

  opacity: 0;
  visibility: hidden;
  
  animation: spin 1.5s linear infinite;
  /* Transition all properties, including the transform for a smooth morph */
  transition: all 0.5s ease-in-out, opacity 0.3s ease-out;
}

#loader.loaded {
    animation: none; /* Stop the infinite spinning */
    cursor: pointer;

    /* Play button state */
    width: 0;
    height: 0;
    border-radius: 5px; /* Slightly rounded corners for the triangle */
    border-style: solid;
    border-width: 25px 0 25px 40px;
    border-color: transparent transparent transparent #ffffff;
    
    /* THE FIX: Explicitly transition the rotation to a stable final state */
    transform: translate(-50%, -50%) rotate(360deg);
}

body.loading #loader {
  opacity: 1;
  visibility: visible;
}

body.loading > *:not(#loader) {
  visibility: hidden;
}

/* Keyframes now only need to handle rotation */
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
/* --- End Loader Styles --- */


h1 {
  color: #fff;
}

.video-container{
  width: 100vw;
  height: 100vh;
}

.video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 aspect ratio */
}

.block-hover {
  pointer-events: all;
}

#text{
  position: absolute;
  color: rgba(255,255,255,1);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  text-align: center;
  padding: 0px 20px 10px;
}

#sound {
  position: fixed;
  left: 0%;
  top: 100%;
  height: 50px;
  width: 72px;
  transform: translate(0%, -100%);
  padding: 0px 40px 30px;
  -webkit-filter: invert(1);
   filter: invert(1);
  opacity: 0.0;
}


[class^="socialicon"] {
  width: 50px;
  height: 50px;
  position: relative;
  top: -10px;
  margin: 0px 5px;
  filter: invert(1); 
  -webkit-filter: invert(1);
}


.inline-icon {
  display: inline-block;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 76px;
  background-color: rgb(0,0,0, 0.9);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -38px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: inherit;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgb(0,0,0, 0.9) transparent transparent transparent;
  pointer-events: none;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip .clicktext {
  visibility: hidden;
  width: 76px;
  background-color: rgb(59, 165, 93, 1);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -38px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .clicktext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgb(59, 165, 93, 1) transparent transparent transparent;
}

