/*	Popup	---------------------------------------------------------------------------------------------------- */

div.popup {
	position:fixed;
	display:block;
	width:auto;
	height: auto;
	max-width:64vw;
	max-height:64vh;
	top:18vh;
	bottom:18vh;
	left:18vw;
	right:18vw;
	aspect-ratio: 1 / 1 !important;
	background-color: rgba(0,0,0,0.9);
	margin:auto;
	padding:20px;
	text-align: center;
 	border: 1px solid #F1921E;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	overflow:visible;
	-webkit-transition: .5s;
	transition: .5s;
	z-index: 999999999;
}
.popupclose {
	position: absolute;
	display: block;
	top:50px;
	right:50px;
	width: 60px;
	height: 60px;
	line-height:1.75;
	font-size: 40px;
	text-align: center;
	padding:0;
	margin:0 auto;
 	border: 1px solid #F1921E;
	background-color: rgba(0,0,0,0.9);
	color: #F1921E;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	z-index: 999999;
}
.popupclose:hover {
	color: #FFF;
	-webkit-transition: .5s;
	transition: .5s;
}
div.popup img {
	display: block;
	width: 100%;
	height: auto;
	line-height: 0;
	padding: 0;
	margin: 0 auto;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
div.popupimg {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	height:auto;
	width:auto;
	background-image: url("../img/merryxmas1.svg");
    background-size:100% 100%;
	background-position: center center;
	background-repeat: no-repeat;
	margin:auto;
	padding:0;
}


.rotate {
  animation: rotate 25s linear infinite;
  transition: transform 1s ease-out;
}
.rotate:hover {
  animation-play-state: paused;
  transform: rotate(.05turn);
}
@keyframes rotate {
  to {rotate: -1turn}
}


div.popup h2 {
	font-family: 'hn85', Helvetica Neue, Arial, Helvetica, sans-serif;
	letter-spacing: -1px;
	text-transform:none;
	color: #F1921E;
	text-align: center;
	margin: 0;
	padding: 0;
}
div.popup h3 {
	font-family: 'hn85', Helvetica Neue, Arial, Helvetica, sans-serif;
	letter-spacing: -1px;
	text-transform: uppercase;
	color: #F1921E;
	text-align: center;
}
div.popup p {
	font-family: 'hn85', Helvetica Neue, Arial, Helvetica, sans-serif;
	letter-spacing: -1px;
	text-transform: none;
	color: #FFF;
	text-align: center;
}
div.popup .xmas i {
	font-size: 2em;
	color: #F1921E;
	padding: 0 5px 20px;
}
div.popup a h2,
div.popup a h3 {
	-webkit-transition: .5s;
	transition: .5s;
}

@media only screen and (max-width: 1920px) {


}

@media only screen and (max-width: 1280px) {

div.popup {
	max-width:72vw;
	max-height:72vh;
	top:14vh;
	bottom:14vh;
	left:14vw;
	right:14vw;
}

}



@media only screen and (max-width: 1024px) {

div.popup {
	max-width:80vw;
	max-height:80vh;
	top:10vh;
	bottom:10vh;
	left:10vw;
	right:10vw;
}
.popupclose {
	top:20px;
	right:20px;
	width:50px;
	height:50px;
	font-size:35px;
}

}


@media only screen and (max-width: 768px) {

	
}

@media only screen and (max-width: 640px) {

div.popup {
	max-width:90vw;
	max-height:90vh;
	top:5vh;
	bottom:5vh;
	left:5vw;
	right:5vw;
	padding:10px;
}
.popupclose {
	top:10px;
	right:10px;
	width:45px;
	height:45px;
	font-size:30px;
}
	
}

@media only screen and (max-width: 400px) {

.popupclose {
	top:0;
	right:0;
	width:40px;
	height:40px;
	font-size:28px;
}

}


@media only screen and (max-height: 1024px) {

div.popup {
	max-height:80vh;
	top:10vh;
	bottom:10vh;
	padding:10px;
}
.popupclose {
	top:10px;
	right:10px;
}

}


@media only screen and (max-height: 480px) {

.popupclose {
	top:0;
	right:0;
	width:40px;
	height:40px;
	font-size:25px;
}

}


@media only screen and (max-height: 360px) {

div.popup {
	max-height:64vh;
	top:18vh;
	bottom:18vh;
}

}

