@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

nav{
  position: fixed;
  z-index: 9900;
  width: 100%;
  box-shadow: 0  3px 10px rgb(255, 255, 255), 0 15px 40px rgba(184, 184, 184, 0.2);
  background: #000000;
}

nav .wrapper{
  position: relative;
  max-width: 100%;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrapper .logo a{
  color: #f2f2f2;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}

.wrapper .nav-links{
  display: inline-flex;
}

.nav-links li{
  list-style: none;
}

.nav-links li a{
  color: #f2f2f2;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-links li.login a,
.nav-links li.logout a{
  color: #f50a0a;
  padding: 9px 15px;
  margin-left: 30px;
}

.nav-links li a:hover{
  background: #3A3B3C;
}

.nav-links .mobile-item{
  display: none;
}

.nav-links .drop-menu{
  position: absolute;
  background: #242526;
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box{
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}

.drop-menu li a{
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}

.mega-box{
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 30px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
}

.mega-box .content{
  background: #242526;
  padding: 25px 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

.mega-box .content .row{
  width: calc(25% - 30px);
  line-height: 45px;
}

.content .row img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content .row header{
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 500;
}

.content .row .mega-links{
  margin-left: -40px;
  border-left: 1px solid rgba(255,255,255,0.09);
}

.row .mega-links li{
  padding: 0 20px;
}

.row .mega-links li a{
  padding: 0px;
  padding: 0 20px;
  color: #d9d9d9;
  font-size: 17px;
  display: block;
}

.row .mega-links li a:hover{
  color: #f2f2f2;
}

.wrapper .btn{
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}

.wrapper .btn.close-btn{
  position: absolute;
  right: 30px;
  top: 10px;
}

.img_logo {
  position: absolute;
  top: 0px;
  height: 70px;
  object-fit: contain;
} 

div.user {
    position: absolute;
    color: white;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
}

.deflink {
  display: none;
}

@media (max-width: 768px) {
  .wrapper .btn{
    display: block;
  }
  nav .wrapper{
    height: 40px;
  }
  .img_logo {
    top: 2px;
    height: 35px;
    } 
  
  .deflink {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
  }
  .deflinkImg {
    max-width: 35px;
    filter: drop-shadow(0 0 1px white)
          drop-shadow(0 0 2px rgb(255, 255, 255, 0.75))
          drop-shadow(0 0 3px rgb(255, 255, 255, 0.5));
  animation: glowPulse 1.5s ease-in-out infinite;
  }

  @keyframes glowPulse {
    0% {
      filter: drop-shadow(0 0 1px white)
              drop-shadow(0 0 2px rgb(255, 255, 255, 0.75))
              drop-shadow(0 0 3px rgb(255, 255, 255, 0.5));
    }
    50% {
      filter: drop-shadow(0 0 2px white)
              drop-shadow(0 0 4px rgb(255, 255, 255, 0.75))
              drop-shadow(0 0 6px rgb(255, 255, 255, 0.5));
    }
    100% {
      filter: drop-shadow(0 0 1px white)
              drop-shadow(0 0 2px rgb(255, 255, 255, 0.75))
              drop-shadow(0 0 3px rgb(255, 255, 255, 0.5));
    }
  }

  div.main-user {
      top: -15px;
      left: 50%;
      transform: translateX(-50%);
  }

  .wrapper .nav-links{
    position: fixed;
    width: 100%;
    max-width: 65%;
    top: 0;
    left: -100%;
    background: #000000;
    display: block;
    padding: 30px 10px;
    line-height: 40px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
    justify-content: flex-start;
  }

  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #242526;
  }
  ::-webkit-scrollbar-thumb {
    background: #3A3B3C;
  }
  #menu-btn:checked ~ .nav-links{
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn{
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn{
    display: block;
  }
  .nav-links li{
    margin: 0px 5px;
  }
  .nav-links li.home{
    margin: 10px 3px 5px 5px;
  }
  .nav-links li a{
    padding: 0 20px;
    display: block;
    font-size: 20px;
    text-align: left;
  }
.nav-links li.login a,
.nav-links li.logout a{
  color: #f50a0a;
  padding: 0px 20px;
  margin-left: 0px;
}
  .nav-links .drop-menu{
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box{
    max-height: 100%;
  }
  .nav-links .desktop-item{
    display: none;
  }
  .nav-links .mobile-item{
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover{
    background: #3A3B3C;
  }
  .drop-menu li{
    margin: 0;
  }
  .drop-menu li a{
    border-radius: 5px;
    font-size: 18px;
  }
  .mega-box{
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .mega-box .content{
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }
  .mega-box .content .row{
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2){
    border-top: 0px;
  }
  .content .row .mega-links{
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li{
    margin: 0;
  }
  .content .row header{
    font-size: 19px;
  }
}

nav input{
  display: none;
}

/* Webkit-specific styling for audio controls (works on Chrome, Safari, Edge) */
audio::-webkit-media-controls-mute-button,
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display,
audio::-webkit-media-controls-volume-container,
audio::-webkit-media-controls-volume-slider-container,
audio::-webkit-media-controls-volume-slider	{
display: none !important;
}

.media_menu {
color: #f2f2f2;
cursor: pointer;
font-size: 1.5em;
width: 25px;
}

li {
  cursor: pointer !important;
}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.body {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.glowing-outline, .glowing-outline-log {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  padding: 20px 40px;
  text-align: center;
  border: 0px solid transparent;
  border-radius: 10px;
  position: relative;
  transition: 0.5s;
 }
 
 .glowing-outline:before, .glowing-outline:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 0px solid #0fd850;
  box-shadow: 0 0 2.5px #0fd850, 0 0 5px #0fd850, 0 0 10px #0fd850, 0 0 20px #0fd850;
  opacity: 0;
  transition: 0.5s;
 }
 
 .glowing-outline-log:before, .glowing-outline-log:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 0px solid #f50a0a;
  box-shadow: 0 0 2.5px #f50a0a, 0 0 5px #f50a0a, 0 0 10px #f50a0a, 0 0 20px #f50a0a;
  opacity: 0;
  transition: 0.5s;
 }
 
 .glowing-outline:before,
 .glowing-outline-log:before {
  filter: blur(10px);
 }
 
 .glowing-outline:hover:before, .glowing-outline:hover:after,
 .glowing-outline-log:hover:before, .glowing-outline-log:hover:after {
  opacity: 1;
 }

.zoom {
  transition: transform .2s;
}

.zoom:hover {
  transform: scale(1.5);
}

.tooltip {
  background: rgba(255, 0, 0, 0.8);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  color: white;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 3em;
  display: none;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 0 10px red;
  z-index: 9999;
}

.remote {
  margin-top: 20px;
  width: 0;
  height: 0;
  display: flex;
  visibility: hidden;
  position: relative;
  background-color: #333;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.buttonRemote {
  padding: 0;
  padding-inline: 0;
  position: absolute;
  width: 20px !important;
  height: 20px !important;
  background-color: #555;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.buttonRemote:hover {
  background-color: #777;
}

.up { top: 5px; left: 50%; transform: translateX(-50%); }
.down { bottom: 5px; left: 50%; transform: translateX(-50%); }
.left { left: 5px; top: 50%; transform: translateY(-50%); }
.right { right: 5px; top: 50%; transform: translateY(-50%); }

@media (max-width: 768px) {
  .remote {
    display: flex;
    visibility: visible;
    margin-left: 60px;
    width: 100px;
    height: 100px;
  }
  .buttonRemote {
    width: 35px !important;
    height: 35px !important;
    font-size: 1em;
  }
}
