* {
    box-sizing: border-box;
}

body
{
    max-height: 100%;
    cursor: url('/images/vhs.ico'), default;
    overflow: hidden;
    background-color: black;
    position: relative;
}

.screen {
    /* background-color: #0400fce0; */
    background-color: #000000e0;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    content: " ";
    overflow: hidden;
    background: #16222a;
    /* background: -webkit-linear-gradient(to left, #1100ff, #1100ff);
    background: linear-gradient(to left, #1100ff, #1100ff); */
    background: -webkit-linear-gradient(to left, #000000, #000000);
    background: linear-gradient(to left, #000000, #000000);
    background-size: cover;
    /* background-image: url(https://cldup.com/gn3s3Fg75t.gif); */
    color: #e1eef6;
    /* animation-name: On; */
    z-index: -50;
}

#switcher-tv {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 20px;
    font-weight: 700;
    font-size: 16px;
    z-index: 50;
}

#sfondo
{
    width: 100%;
    max-height: 100%;
    min-height: 100%;
    height: 100%;
    min-height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: -1;
}

#sfondo_logo
{
    width: 100%;
    height: 100%;
    left: 0%;
    top: 0px;
    position: absolute;
    z-index: -1;
}

#logo_full
{
    width: 100%;
    height: 100%;
    left: 0%;
    top: 0px;
    position: absolute;
    z-index: -1;
}

#logo_1300
{
    width: 100%;
    height: 100%;
    left: 0%;
    top: 0px;
    position: absolute;
    z-index: -1;
    display: none;
}

#logo_700
{
    width: 100%;
    height: 100%;
    left: 0%;
    top: 0px;
    position: absolute;
    z-index: -1;
    display: none;
}

#sfondo_btn_verde
{
    width: 100%;
    max-height: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: -1;
}

#sfondo_btn_verde_1080
{
    width: 100%;
    max-height: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: -1;
}

#sfondo_btn_rosso
{
    width: 100%;
    max-height: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: -1;
}

#sfondo_btn_rosso_1080
{
    width: 100%;
    max-height: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: -1;
}

#bottoni_left
{
    width: 100%;
    max-height: 100%;
    min-height: 100%;
    height: 100%;
    min-height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: -1;
}

#bottoni_right
{
    width: 100%;
    max-height: 100%;
    min-height: 100%;
    height: 100%;
    min-height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: -1;
}

#target_right
{
    width: 100%;
    max-height: 100%;
    min-height: 100%;
    height: 100%;
    min-height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: -1;
}

#completa
{
    width: 100%;
    max-height: 100%;
    min-height: 100%;
    height: 100%;
    min-height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: -1;
    display: none;
}

#completa_verde
{
    width: 100%;
    max-height: 100%;
    min-height: 100%;
    height: 100%;
    min-height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: -1;
    display: none;
}

#noise
{
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: -2;
}

.flickering
{
  position: absolute;
  left: 0px;
  width: 100%;
  height: 80px;
  animation-name: move;
  animation-duration: 1.5s;
  animation-delay: 0.1s;
  animation-iteration-count: infinite;
  background-color: #01002248;
  z-index: -2;
}

@keyframes move {
  from {bottom: -0px;}
  to {
      bottom: 100%;
  }
}

.main-nav
{
    /* background-color: blue; */
    background-color: transparent;
}

.titlebox
{
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    font-size: 28px;
    color: white;
}

.main-bg {
  position: absolute;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  /* background-color: #0400fce0; */
  background-color: #000000e0;
  z-index: -3;
  /* background: url('https://www.ent.tv.it/images/office.jpg') no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; */
}

.main-box
{
    width: 75%;
    max-width: 75%;
    height: 78%;
    max-height: 78%;
    top: 11%;
    left: 12.5%;
    position: absolute;
    /* border: 5px dashed white; */
    /* background-color: blue; */
    background-color: transparent;
    z-index: 3;
}

.main-index
{
    height: 70%;
}

.main-player
{
    height: 70%;
}

.main-left
{
    height: 70%;
}

.main-right
{
    height: 70%;
}

.namechannel:hover
{
    background-image: linear-gradient(45deg, #cbceff 25%, transparent 25%, transparent 75%, #cbceff 75%, #cbceff), linear-gradient(45deg, #cbceff 25%, transparent 25%, transparent 75%, #cbceff 75%, #cbceff);
    background-position: 0 0, 51px 51px;
    background-color: blue;
    background-size: 2px 2px;
}

.stringchannel
{
    text-align: left;
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    color: white;
}

p
{
    margin-top: 3px;
    margin-left: 3px;
    margin-right: 3px;
    margin-bottom: 3px;
}

.arrow
{
    font-size: 31px;
    color:white;
    display: none;
    text-align: center;
    margin-top: 5px;
}

.namechannel:hover .arrow
{
    display: block;
}

.btnTV
{
    text-align: left;
    margin-left: 10px;
    font-family: 'Press Start 2P', cursive;
    font-size: 28px;
    color: white;
}

.btnTV:hover
{
    color: rgb(255, 238, 0);
}

.media_player_box
{
    /* max-width: 75%; */
    /* width: 80%;
    max-height: 83%;
    top: 8.5%;
    left: 10%; */
    width: 80%;
    height: 83%;
    top: 8.5%;
    left: 10%;
    position: absolute;
    z-index: 1;
}

.clcMed
{
    left: 7%;
    top: 10%;
    position: absolute;
    z-index: 10;
    font-size: 28px;
    color:white;
    display: none;
    font-family: 'Press Start 2P', cursive;
}

.clcMed:hover
{
    background-color: rgba(255, 255, 255, 0.349);
}

@media only screen and (max-width: 1300px) and (min-width: 701px)
{
    #logo_full
    {
        display: none;
    }
    #logo_1300
    {
        display: block;
    }
    #logo_700
    {
        display: none;
    }
}

@media only screen and (max-width: 1150px) and (min-width: 200px)
{
    #logo_full
    {
        display: none;
    }
    #logo_1300
    {
        display: none;
    }
    #bottoni_left
    {
        display: none;
    }
    #bottoni_right
    {
        display: none;
    }
    #target_right
    {
        display: none;
    }
    #sfondo
    {
        display: none;
    }
    #sfondo_btn_rosso
    {
        content:url("https://ent.tv.it/images/bottone_rosso_1080.png");
    }
    #sfondo_btn_verde
    {
        content:url("https://ent.tv.it/images/bottone_verde_1080.png");
    } 
    #completa
    {
        display: block;
    }
}


@media only screen and (max-width: 1150px) 
{
  .titlebox
  {
      font-size: 36px;
  }

  .btnTV
  {
      font-size: 34px;
  }

  .main-box
  {
      width: 78%;
      height: 72%;
      top: 14%;
      left: 11%;
  }

  .main-index
  {
    height: 80%;
  }

  .media_player_box
  {
    max-width: 84%;
    width: 84%;
    max-height: 82%;
    height: 82%;
    top: 9%;
    left: 8%;
    position: absolute;
    z-index: 1;
  }

  .stringchannel
    {
        font-size: 30px;
    }
}