/*
	Theme Name: Effect WP - Blank Tema
	Theme URI: http://www.effectreklam.se
	Description: Blankt (v2) Wordpress-tema av Effect Reklambyrå
	Version: 196400000.1.8
	Author: Erik Wallberg
	Author URI: http://www.effectreklam.se
	Tags: Effect

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
	height:100%;
}
body {
	font:300 12px/1.4 'Verdana', Helvetica, Arial, sans-serif;
	color:#444;
		background-color:#fff;
		background-image:url('https://atgadvent.effectdev.cloud/wp-content/uploads/2022/11/Vinnie_hobalar_FIN_1920x1080-webb.webp');
		background-position:center center;
		background-size:cover;
		background-repeat:no-repeat
		min-height:100vh;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:100%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/*------------------------------------*\
    FRONT PAGE
\*------------------------------------*/


/*------------------------------------*\
    Lity
\*------------------------------------*/

.lity{background:rgba(0,0,0,0.6) !important;}
.modal{border-radius:30px; color:white;
	/* background-image:url('https://atgadvent.effectdev.cloud/wp-content/uploads/2022/10/christmas_bg_temp1.jpg'); */
	background-color:#004f9f;
	padding:20px; font-size:18px; min-width:700px; min-height:500px; background-size:cover; display:flex; 
max-width:900px;
}
.modal{justify-content:center; align-items:center;}
.modalContent{width:100%;}
.modalContent img{border-radius:20px;}
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } 
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius:20px;}


/*------------------------------------*\
    Advent code
\*------------------------------------*/
/* Snow Animation - Credit: https://codepen.io/NickyCDK*/


.atgAdvent ul {
  margin:0 auto 30px auto;
  padding:0;
  list-style-type:none;
  width: 100%;
  text-align: center;
  user-select: none;
	display:flex;
	flex-wrap:wrap;
	padding:2%;
	justify-content:center;
	
}

.atgAdvent li {
  font-weight: 400;
  /*background-color: #fff;*/
  box-sizing: border-box;
  border-radius: 6px;
  display: inline-block;
  color:#111;
  cursor:pointer;
  font-size: 26px;
  /*padding:15px;*/
 /* margin:25px 12px;
  width: 130px;
  height:130px;
  line-height: 100px; */
  text-align:center;
  position: relative;
  vertical-align:top;
  user-select: none;
  perspective: 800px;
  transition: all 0.4s ease-in-out;
	transition: background-color 0.1s ease;
	flex-basis:14%;
	margin:1%;
}
/*
.atgAdvent ul li:last-child {
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/62105/santa.jpg") center top;
  background-size:cover;  
  display:block;
  clear:both;
  margin: 20px auto 0 auto;
  width: 200px;
  height: 275px;
}

.atgAdvent ul li:last-child .door {
  font-size: 100px;
  width: 200px;
  height: 275px;
  line-height: 240px;
}

.atgAdvent ul li:last-child .revealed {
  line-height: 123px;
}
*/
.door {
  user-select: none;
  color:white;
  /*font-size: 70px;*/
	font-size:6rem;
  position: absolute;
  top:0;
  left:0;
  /*background-color: #aa1531;*/
  background:rgba(255,255,255, 0.2);
  box-sizing: border-box;
  /*border-top: 2px #eee dashed;
  border-right: 2px #eee dashed;
  border-bottom: 2px #eee dashed;
  border-left: 1px #eee solid;*/
  border:3px dashed white;	
  border-radius: 6px;
  padding:15px;
  /*width: 130px;
  height:130px;*/
  transform-origin: 0 40%; 
  transition: all 0.4s ease-in-out;
  transform-style: preserve-3d;
	z-index:10;
	width:100%;
	height:100%;
	display:flex;
	justify-content:center;
	align-items:center;

}



.openingDoor{
	transform: rotate3d(0, 1, 0, -28deg); background-color:#670b0c;
}
.revealed .preView{transition: all 0.3s ease-in; background-color:transparent; opacity:0; border-radius:0px 6px 6px 0px; background-size:cover; background-position:right;}
.unOpenedDoor:hover + .revealed > .preView{background-color:white; opacity:1;}

.current .door {
  background-color: #185508;
}

.current .door.open{
  color: #7EAD44;
}

.revealed {
  user-select: none;
	z-index:2;
  	border-radius: 6px;
	/*transition: all 0.5s ease;*/ 
	border:3px dashed white;
	/*display:none;*/
	overflow:hidden;
	aspect-ratio: 1 / 1;
	/*opacity:0;*/
}
.revealed img{height:auto; opacity:0; transition: all 0.2s ease-in-out;}
.imageReveal{background-color:white;}
.imageReveal img{opacity:1;}

.rightSection{height:100%; width:15px; background-color:blue; position:absolute; display:none;}

.door{overflow:hidden;}
/* Kod för att visa rim på alla luckor som inte är öppna */
.lockedDoor:hover > .rim, .unOpenedDoor:hover > .rim{transform: translate3d(0px, 0%, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg);}
.rimActive{transform: translate3d(0px, 0%, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg);}
.rim{position:absolute; transition: all 0.4s ease-in-out; display:flex; justify-content:center; align-items:center; padding:10px; width:90%; height:90%; margin:auto;
	transform: translate3d(0px, 115%, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg);
transform-style: preserve-3d; left:0%; top:0%; right:0%; bottom:0%; background-color:white;}
.rim em{font-size:12px; color:#444;}

#message {
  box-sizing: border-box;
  color: #222;
  display: none;
  font-size: 24px;
  padding: 20px;
  background: #eddecb;
  max-width: 500px;
  width: 100%;
  border-radius: 15px;
  margin: 0 auto;
}

.atgAdvent .open {
  box-shadow: 14px 0px 15px -1px rgba(0,0,0,0.2);
  color: #91c1cc;
  transform: rotate3d(0, 1, 0, -98deg);
	background-color:#eee;
}
.unOpenedDoor{}
.unOpenedDoor:hover {
  /*transform: rotate3d(0, 1, 0, -28deg); background-color:#670b0c;*/
}

/*.revealedShow{transition: all 0.5s ease;}*/
.revealedShow img{}

.openGlow{
box-shadow:30px 0px 50px -15px #eee, 30px 0px 60px -15px #fff, 30px 0px 55px -10px #ddd
}

.jiggle {
  animation: jiggle 0.2s infinite;
  transform: rotate(-1deg);
}

@keyframes jiggle {
  0% {
        transform: rotate(-1deg);
  }
  50% {
      transform: rotate(1deg);
  }
}

@media screen and (min-width: 480px) {
  li {
    margin:25px 20px;
  }

}


@media screen and (min-width: 768px) {
	body {

	}
	
	p {
		right: 6%;
		top: 20%;
		bottom: auto; 
		margin-left: auto;
		left: auto;
	}
	.door {
		font-size:6rem;
	}

	
}


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

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

}
@media only screen and (max-width:480px) {
		.door {
		font-size:3rem;
	}
}
@media only screen and (max-width:768px) {
	.atgAdvent li{flex-basis:45%;}
		.door {
		font-size:4rem;
	}
	.modal{min-width:96vw;}
	bo2dy{

		//background-attachment: scroll;
		min-height: 100% !important;
		//height:100vh;
		background-image:url('https://atgadvent.effectdev.cloud/wp-content/uploads/2022/11/Vinnie_hobalar_FIN_1080x1920-webb.webp');
		
background-color:tan;
background-attachment:scroll;
background-repeat:no-repeat;
background-size:cover;
-moz-background-size: cover;
-webkit-background-size: cover;
-o-background-size: cover;
background-position: center center; 
		
	}
	body:after{
      content:"";
      position:fixed; /* stretch a fixed position to the whole screen */
      top:0;
      height:100vh; /* fix for mobile browser address bar appearing disappearing */
      left:0;
      right:0;
      z-index:-1; /* needed to keep in the background */
      background: url(https://atgadvent.effectdev.cloud/wp-content/uploads/2022/11/Vinnie_hobalar_FIN_1080x1920-webb.webp) center center;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
}

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

}
@media only screen and (min-width:1140px) {

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

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}
