
:root {
    --my-var:300px;
}
.fullscreen{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}
.slide{
    height: 100%;
    width: 100%;
    background-color: black;
}

.slidegriglia{
    height: 50vh;
    width: 100%;
    background-color: black;
}

.cover{
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

.contain{
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.vidh{
    width: auto;
    height: 100%;
}

.vidv{
    width: 100%;
    height: 100%;
}

.centered {
    width:100%;
    height: 100%;
	position: relative;
	top: 0px;
	bottom: 0px;
	margin: auto;
}
iframe{
    display: block; 
    width: 100%; 
    border: none; 
    overflow-y: auto; 
    overflow-x: hidden;
}


   
.player-container {

height: calc((9/16)*var(--my-var));
    position: relative;
    background: #000;
    border-radius: 5px;
    overflow: hidden;
  }
  
  .player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.5s ease-in-out;
    opacity: 0;
  }
  .player-show {
    opacity: 1
  }