
@keyframes SlightRotation {
  0% {
    transform: rotate(-2deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@font-face {
  font-family: 'VattenfallHall';
  src: url('/fonts/VattenfallHall-Regular.woff2') format('woff2'),
       url('/fonts/VattenfallHall-Regular.woff') format('woff'),
       url('/fonts/VattenfallHall-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Trattatello';
  src: url('/fonts/Trattatello.ttf') format('truetype');
}
body{
  background: url('/img/bg.jpg') no-repeat center center fixed;
  background-color: #370608;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  margin: 0 13vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
h1, h2{
  font-family: 'Trattatello', sans-serif;
}
h2{
  margin-bottom: 0;
}

p{
  font-family: 'VattenfallHall', serif;
}
a, a:visited, a:hover, a:active{
  font-family: 'VattenfallHall', serif;
  color: #fff !important;
}
hr{
  border: 1px solid black;
  margin: 0;
}
div#cardOuter{
  background: url('/img/cardBg.jpg');
  background-repeat: repeat;
  -moz-box-shadow: inset 0 0 50px rgb(0 0 0 / 50%), 0 0 50px rgb(0 0 0 / 19%);;
  -webkit-box-shadow: inset 0 0 50px rgb(0 0 0 / 50%),  0 0 50px rgb(0 0 0 / 19%);;
  box-shadow: inset 0 0 50px rgb(0 0 0 / 50%), 0 0 50px rgb(0 0 0 / 19%);;
  transform: rotate(-2deg);
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
  z-index: 1;
}
div#cardOuter2{
  -moz-box-shadow: 0 0 50px rgb(0 0 0 / 19%);;
  -webkit-box-shadow: 0 0 50px rgb(0 0 0 / 19%);;
  box-shadow: 0 0 50px rgb(0 0 0 / 19%);;
  -webkit-animation: 1s ease-out 1s 1 SlightRotation;
   -moz-animation: 1s ease-out 1s 1 SlightRotation;
     -o-animation: 1s ease-out 1s 1 SlightRotation;
        animation: 1s ease-out 1s 1 SlightRotation;
  animation-fill-mode: both;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
  z-index: 1;
}
div.ver2{
  background-color: #370608;
}
div#cardInner{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-content: space-between;
}
/* Left side */
div#leftSide{
  width: 60%;
  padding: 5%;
}
div#leftSide h1{
  text-align: center;
  font-size: 2.8vw;
}
div#countdown{
  display: flex;
  flex-direction: row;
  justify-content: center;
	align-items: center;
	align-content: center;
}
p.time{
  font-size: 7vw;
  width: 7vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  margin: 1vw;
  font-family: 'Trattatello', sans-serif;
}

p.time::after{
  font-size: 2vw;
  margin-top: -3vw;
}

p.days::after{
  content: 'dagar';
}
p.hours::after{
  content: 'timmar';
}
p.min::after{
  content: 'minuter';
}
p.sec::after{
  content: 'sekunder';
}

/* ENG */

div.eng p.days::after{
    content: 'days';
}
div.eng p.hours::after{
    content: 'hours';
}
div.eng p.min::after{
    content: 'minutes';
}
div.eng p.sec::after{
    content: 'seconds';
}

/* Right side */
div#rightSide{
  height: 100%;
  width: 40%;
  padding: 2% 5% 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}
div#rightSide p{
  font-family: 'Trattatello', sans-serif;
  font-size: 2.5vw;
  margin: 0 0 -0.5em 0;
  white-space: nowrap;
}
div#stamp{
  background: url('/img/stamp.gif');
  background-size: cover;
  width: 10vw;
  height: 13.8vw;
  transform: rotate(2deg);
}
div#address{
  padding-bottom: 5vw;
  width: 100%;
}
div#address h2{
  font-size: 2vw;
}
/* Footer */
div#footer{
  margin-top: 2vw;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 0;
}
div#footer p{
  margin: 5px 20px;
  font-size: 0.6em;
  text-align: center;
  color: #fff;
}
.modal{
  background-color:#370608;
}
.modal a.close-modal{
  border: 1px solid #370608;
  border-radius: 15px;
}
.modal a{
  font-family: 'VattenfallHall', serif;
  color: #fff;
  text-decoration: underline;
}
.modal p{
  color: #fff;
}

/* media queries */

@media screen and (max-width: 500px) {
  body{
    margin: 0 3vw;
  }
}
