@keyframes fadeIn {from {opacity: 0;} to {opacity:1;} }
@-webkit-keyframes fadeIn {from {opacity: 0;} to {opacity:1;} }
@-moz-keyframes fadeIn {from {opacity: 0;} to {opacity:1;} }




.bg-modal{
    background-color: rgba(0, 0, 0, 0.8);
	width: 100%;
	height: 100%;
	position:fixed;
	top: 0;
	display: flex;
	justify-content: center;
    align-items: center;
    
}

.modal-contents {
	height: 350px;
	width: 600px;
	background-color: white;
	text-align: center;
	padding: 20px;
	position: fixed;
	border-radius: 4px;

	opacity: 0;

	animation: fadeIn ease-in 1 ;
	-webkit-animation: fadeIn ease-in 1 ;
	-moz-animation:fadeIn ease-in 1  ;
   
	 animation-fill-mode: forwards;
	 -webkit-animation-fill-mode: forwards;
	 -moz-animation-fill-mode: forwards ;
   
	 animation-duration: 5s;
	 animation-duration: 5s;
	 animation-duration: 5s;
   


}

.close {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 42px;
    color: #333;
    transform: rotate(45deg);
    cursor: pointer;
}

.input {
	margin: 15px auto;
	display: block;
	width: 50%;
	padding: 8px;
	border: 1px solid gray;
}

.cardposition{
  width: 20%;
  justify-content: center;
}

.pos{
	float: left;
	margin-left: 40%;
}

@media  (max-width: 739px) {

	.modal-contents{
		height: 350px;
		width: 328px;
		
	}

    .yt-content{
		margin-right: 2px;
		width: 290px;
	}

	.responsivelogofix{
		
		justify-content: center;
		align-items: center;
	}

	.pos{
		float: left;
		margin-left: 35%;
	}
	
  }