

    #display canvas, #game canvas {
        width: 100% !important;
        height: auto !important;
        min-height: 540px;
        max-width: 100%;
        display: block;
        margin: auto;
        background-color: #000 !important;
    }
    
     #emulator, #gameContainer {
    background-color: #000 !important;
  }

    #boxgame {
        width: <?php echo $width; ?>px;
        height: <?php echo $height; ?>px;
        margin: none;
        position: relative;
    }

      #start-screen {
        position: relative;
    }

    #start-screen::before {
        content: "Appuyez pour commencer";
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.2rem;
        color: white;
        background-color: rgba(0, 0, 0, 0.6);
        padding: 6px 12px;
        border-radius: 6px;
        animation: clignote 1s infinite;
    }

    @keyframes clignote {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.3; }
    }

    #display {
        background-color: #000;
        min-height: 480px;
        padding: 10px;
        border-radius: 6px;
        margin-top: 20px;
    }

    .fade-out {
        opacity: 0;
        transition: opacity 0.6s ease-out;
    }

    .fade-in {
        opacity: 1;
        transition: opacity 0.6s ease-in;
    }


			
			/* Popup container - can be anything you want */
		.popup {
		position: relative;
		display: inline-block;
		cursor: pointer;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		}
		
		/* The actual popup */
		.popup .popuptext {
		visibility: hidden;
		width: 400px;
		background-color: #555;
		color: #fff;
		text-align: left;
		border-radius: 6px;
		padding: 8px 0;
		position: absolute;
		z-index: 1;
		bottom: 125%;
		left: -100%;
		margin-left: -80px;
		}
		
		/* Popup arrow */
		.popup .popuptext::after {
		content: "";
		position: absolute;
		top: 100%;
		left: 50%;
		margin-left: -5px;
		border-width: 5px;
		border-style: solid;
	 border-color: #555 transparent transparent transparent;
		}
		
		/* Toggle this class - hide and show the popup */
		.popup .show {
		visibility: visible;
		-webkit-animation: fadeIn 1s;
		animation: fadeIn 1s;
		}
		
		/* Add animation (fade in the popup) */
		@-webkit-keyframes fadeIn {
		from {opacity: 0;} 
		to {opacity: 1;}
		}
		
		@keyframes fadeIn {
		from {opacity: 0;}
		to {opacity:1 ;}
		}
.containeradmin {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #29293a;
}




.heading-section h4 {
    color: #ffffff;
  font-size: 25px;
  text-decoration: none;
  margin-bottom: 30px;
  border-left: 4px solid #fec50d;
  padding-left: 4px;
  font-weight: 800;
}
.inner-container {
  width: 100%;
  max-width: 100%;
  margin: auto;
  padding: 0 30px;
}
/* //////////////////////////////////////////////////////////////////////////
    Collections css start
////////////////////////////////////////////////////////////////////////// */
#collections {
  padding-top: 1px;
  padding-bottom: 1px;
}

.collections-item ul li {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  opacity: .7;
  transition: .5s;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.collections-item ul li:hover {
  opacity: 1;
}

.collections-item a {
  display: flex;
  text-align: center;
  align-items: center;
}

.collections-item ul li h6 {
  font-size: 16px;
  font-weight: 600;
  margin-left: 5px;
}

.collection-num p {
  font-size: 50px;
  font-weight: 800;
  padding-right: 30px;
}

.collection-img {
  margin-left: 12px;
}

/* //////////////////////////////////////////////////////////////////////////
                            Collections css end
////////////////////////////////////////////////////////////////////////// */

/* //////////////////////////////////////////////////////////////////////////
                            logo slider css start
////////////////////////////////////////////////////////////////////////// */

@-webkit-keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 7));
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 7));
  }
}

.slider {
  background: white;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
  overflow: hidden;
  position: relative;
  width: 100%;
  
}
.slider.img{
margin: 10px;
}

.slider::before,
.slider::after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;

  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slider .slide-track {
  -webkit-animation: scroll 40s linear infinite;
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * 14);
}

/* //////////////////////////////////////////////////////////////////////////
                            logo slider css end
////////////////////////////////////////////////////////////////////////// */


.movie-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px 10px;
    background: #000a;
    backdrop-filter: blur(1px) saturate(120%);
    transition: .3s;
    color: #fff;
    z-index: 2;
    opacity: 0;
    align-content: center;
}

video {
    width: 640px;
}
.item:hover .movie-details {
    opacity: 1;
}

.movie-details h1,
.movie-details h2 {
    font-weight: 700;
}

.movie-details h1 {
    font-size: 28px;
    margin-bottom: 0px;
}

.movie-details h2 {
    font-weight: 400;
    font-size: 12px;
    margin-bottom: 10px;
    opacity: .6;
}

.movie-details .rating {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    gap: 4px;
}

.movie-details .rating i {
    color: #e3c414;
}

.movie-details .rating span {
    margin-left: 4px;
}

.movie-details .tags {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 13.6px;
    flex-wrap: wrap;
}

.movie-details .tags span {
    padding: 4.6px 4.4px;
    color: #fff;
    border: 1.5px solid rgba(255 255 255 / 0.4);
    /* border-radius: 4px; */
    border-radius: 50px;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s;
    font-size: 10px;
}

.movie-details .tags span:hover {
    background: #fec50d;
    border: 1.5px solid #fec50d;
}

.movie-details .desc {
    color: #fff;
    opacity: .8;
    line-height: 1.5;
    margin-bottom: 16px;
    font-size: 12px;
}

.movie-details a:hover {
    color: #fec50d;
}

.movie-details a.watch-now {
    width: 158px;
    height: auto;
}

.movie-details a {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

.movie-details a.watch-now .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 45px;
    height: 45px;
    background: #fec50d;
    border-radius: 1.625rem;
    -webkit-border-radius: 1.625rem;
    -moz-border-radius: 1.625rem;
    -ms-border-radius: 1.625rem;
    -o-border-radius: 1.625rem;
}

.movie-details a:hover .circle {
    width: 100%;
}

.movie-details a:hover .button-text {
    color: #fff;
}

.movie-details a.watch-now .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 0;
    margin: 0 0 0 29.6px;
    color: #ccc;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
}

.movie-details a.watch-now .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -4px;
    right: 1px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

.movie-details a:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

.movie-details a.watch-now .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 10px;
    width: 18px;
    height: 2px;
    background: none;
}

.movie-details a.watch-now .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

.movie-details a:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

#content .item-flip {
    position: relative;
    /* overflow: hidden; */
}
#content .item .item-inner a {
    position: relative;
    display: block;
    transition: 0.3s ease;
}

#content .item-flip {
    position: relative;
    /* overflow: hidden; */
}

#content .item .item-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}
/***********************************************************/


body {
    font-family:"trebuchet ms",sans-serif;
    font-size:90%;
}



label {
    margin-right: 8px;
}

span {
    display:block;
    margin-top:8px;
}

input {
    border:1px solid white;
    background-color:white;
    width:280px;
}


textarea {
    border:1px solid white;
    background-color:white;
}



*:focus {
    border:1px solid black;
    background-color:#A6BEDE;
}

.button_submit{
    margin-top:20px;
    text-align:center;
    width:30px;
}

.parser_allocine {
    margin-right: 80px;
    display : inline;
    border:1px solid black;
    background-color:#A6BEDE;
    width:60px;
    height:20px;
}

#new_film {
    float : left;
    width:500px;
}

#liste_film {
    overflow:scroll;
    padding : 20px;
    margin-left: 10px;
    float : left;
    width : 400px;
    height : 600px;
    border:1px solid black;
    background-color:#A6BEDE;
}

.pochette {
    border:1px solid black;
}

.recherche {
    border:1px solid black;
    background-color:#A6BEDE;
}
card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: #000!important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #000 !important;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

.lock   {
    position: relative;
    cursor: pointer;
}
.lock .lock-hidden {
    /* positionnement du bloc qui apparait */
    display: none;
    position: absolute;
    top: 10px;
    left: 100px;
    z-index:600;
    
    /* style du bloc qui apparait */
    border: 2px solid blue;
    border-radius: 5px;
    background-color: red;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-align: center;
}
.lock:hover .lock-hidden {
    display: block;
}
.cache { display:none; }
.visible [ display:block; }
