@font-face {
  font-family: "WWF";
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/WWF.woff') format('woff2'),
  url('../fonts/WWF.woff2') format('woff');
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/OpenSans-Light.woff2") format('woff2');
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/OpenSans-Regular.woff2") format('woff2');
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/OpenSans-ExtraBold.woff2") format('woff2');
}


/* http://meyerweb.com/eric/tools/css/reset/ 
  v2.0 | 20110126
  License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

body, html {
  height: 100%;
  overflow-y: hidden;
}

.wrapper{
  height: 100%;
}

body{
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
}

.imageContainer{
  width: 100%;
  height: 100%;
}

.background{
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.text-container{
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 150px;
  left: 0;
  background-color: rgba(0, 0, 0, 1);
  width: 780px;
  height: 450px; 
  padding: 51px 100px 58px 100px;
}

.text-container-shift{
  animation-play-state: paused;
}

.text1{
  font-family: "WWF";
  font-style: normal;
  font-weight: 400;
  font-size: 75px;
  line-height: 110%;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin-bottom: 34px;
}

.text2{
  font-family: 'Open Sans';
  font-weight: 400;
  font-size: 50px;
  line-height: 68px;
  color: #FFFFFF;
  margin-bottom: 5px;
}

#timer{
  color: #fff;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  line-height: 208px;
  font-size: 198px;
}

#timer>span{
  font-weight: 300;
  font-family: 'Open Sans';
  font-style: normal;
}

.wtf{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #151226;
  z-index: 99999;
  animation: hide .9s ease-in-out forwards 1s;
}

@keyframes hide {
  0% {
    transform: translateX(0);
  }
  
  100% {
    transform: translateX(-100%);
  }
}

@media screen and (max-width: 1280px) and (max-height: 720px){


  .text-container{
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: auto;
    top: 0;
    left: 35px;
    background-color: rgba(0, 0, 0, 1);
    width: 367px;
    height: 431px; 
    padding: 20px;
  }
  
  .text1{
    margin-bottom: 25px;
    font-size: 65px;
    line-height: 90%;
    letter-spacing: 0.02em;
  }
  
  .text2{
    font-size: 27px;
    line-height: 37px;
  }
  
  #timer{
    font-size: 87px;
    line-height: 118px;
  }
}