/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html {
  scroll-behavior: smooth;
}

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;
}

img{
  display:inline-block;
  vertical-align: middle;

}

a,a:visited,a:hover,a:active{
  color:#ffffff;
  font-weight: 800;
  text-decoration: none;
}

html{
  scroll-behavior: smooth;
  max-width: 100%;

}

small{
  font-size:0.8em;
}

body{
  background-image: url('space.jpg');
  background-size: 100%;
  background-attachment: fixed;
  font-family: 'Nunito', sans-serif;
  color: #ffffff;
  text-align: center;
  background-color: #412766;
    max-width: 100%;
   position:relative;

}

[data-langContent='AR']{
  font-family: 'Baloo Bhaijaan 2', cursive;
}

ul {
}

ul li{
  padding-left: 1.75em;
  background-image: url('paw.svg');
  background-repeat: no-repeat;
  background-position: 0em 0.25em;
  background-size: 1.15em 1.15em;
  line-height: 1.7em
}

span[dir=rtl] ul li{
  background-image: none;
  left: -1.75em;
  position: relative;
}
span[dir=rtl] ul li:before{
  display:inline-block;
  content:'';
  background-image: url('paw.svg');
  background-repeat: no-repeat;
  background-position: 0em 0.25em;
  background-size: 1.15em 1.15em;
  line-height: 1.7em;
  width:1.15em;height:1.5em;
  margin-left:0.5em;
  margin-right:-1.75em;
}

ul li::marker{
    font-size: 2em; 
}
ul li::-moz-list-bullet{
    font-size: 2em; 
    width:2em;
    height:2em;
}
header{
  position: fixed;
  top:0;
  left:0;
  display:block;
  z-index:20;
  height:1em;
  padding:1em;
}
header a{
  display:inline-block;
  position:relative;
}
#ksbubble_old::after{
  content:'!';
  background-color: #EE3042;
  color: #ffee00;
  border-radius: 100%;
  width:1em;height:1em;
  position:absolute;
  left:0;
  top:0;
  animation-name: pulse;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  transform-style: preserve-3d;
}

footer{
  margin-top:140px;
  background-image: url('footer-bg-back.png');
  background-size: 1024px 480px;
  background-repeat: repeat-x;
  image-rendering: pixelated; 
  image-rendering: crisp-edges; 
  height:480px;
  position: relative;
  animation-name: clouds;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  transform-style: preserve-3d;
}

#copyright{
  max-width: 100%;
  padding:2em;
  font-size:0.95em;
  margin-left:auto;
  margin-right:auto;
  font-weight: 900;
}

footer img{
  width:1.5em;
  height:auto;
  margin-right:1em;
}

footer .box{
  text-align: left;
  padding:0.5em;
  margin-left:50%;

}
footer .box div{
  margin: 0.5em;
  text-align: left;
}

#copyright small{
    color:#b297f8;
  font-size:0.8em;
  font-weight: 400;
}

#footerText{
  max-width: 100%;
  margin-left: auto;
  margin-right:auto;
  overflow:hidden;
  padding:3em 0 0 0;
  z-index:120;
  position: relative;
  font-weight: 400;
}

@keyframes clouds {
  from {background-position:1024px 0;}
  to {background-position:0 0;}
}
footer::before{
  content:'';
  display:block;
  position:absolute;
  left:0;
  right:0;
  top:0;
  bottom:0;
  background-image: url('footer-bg-front.png');
  background-size: 2048px 480px;
  background-repeat: no-repeat;
  image-rendering: pixelated; 
  image-rendering: crisp-edges; 
  height:480px;
  background-position: -100px 100%;
}
footer::after{
  margin-top:-2em;
  padding-bottom:2em;
  content:'';
  display:block;
  position:absolute;
  left:0;
  right:0;
  top:0;
  bottom:0;
  height:480px;
  background-color:#41276640;
}
@media only screen and (max-width: 1268px) {

  footer::before{
    background-position: 30% 100%;
  }
}
@media only screen and (max-width: 600px) {
  footer::before{
    background-position: 35% 100%;
  }
  footer .box{
    text-align: left;
    padding:0.5em;
    margin-left:auto;
    margin-right:auto;
    text-align: center;
    max-width:75%;
  }
footer .box div{
   text-align: center
 }
}

.presspack{
  width:64px;
  height:auto;
  image-rendering: pixelated; 
  image-rendering: crisp-edges; 
}

@keyframes pulse {
  from {transform: scale(1);}
  30% {transform: scale(1.4);}  
  to {transform: scale(1);}
}

header a img{
  display:inline-block;
  width:3em;
  height:3em;
}
*{
  box-sizing:border-box;  
}
b{font-weight: 900}
#download{
  position:absolute;
  top:95vw;
}

#topsection{
  display: block;
  background-color:#EE3042aa;
  overflow-x: hidden;
  max-width:100%;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 30px 10px;
  display: flex;
  align-items: center;
}
#topDownloadButt {
  margin-left: auto;
  margin-top: 30px;
  background-color: #ff0000;
  color: white;
  padding: 10px 20px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}

#topDownloadButt:hover {
  transform: scale(1.05);
}

#logoArea {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  gap: 0;
  padding-top: 240px;
  pointer-events: auto;
}

.gbgLogo{
  background-image: url(logo_new.png);
  height:450px;
  width:95%;
  max-width:1000px;
  margin:0 auto;
  background-origin: content-box;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  overflow: visible;
  background-size: contain;
  background-color: transparent;
  filter: drop-shadow(0 0 8px #ff0055aa);
  pointer-events: none;
}

#signup,#signup2{
  margin-top:-60px;
  display:inline-block;
  text-align: center;
  width:300px;
  max-width: 90vw;
  background-color: #2b051990;
  padding:5px;
  border-radius: 18px;
  vertical-align: bottom;
  font-weight: 900;
  cursor: pointer;
}


#kickstarterLink, #emailupdate, #logoArea #buybutt{
  margin-top:-80px;
}

#kickstarterLink, #emailupdate, #buybutt{
  display:inline-block;
  text-align: center;
  width:350px;
  max-width: 90vw;
  background-color: #2b051990;
  padding:5px;
  border-radius: 18px;
  vertical-align: bottom;
  position: relative;
  z-index: 5;
}

.bottom-download-area {
  text-align: center;
  padding: 0;
  clear: both;
  position: absolute;
  top: -110px;
  left: 0;
  right: 0;
  z-index: 130;
}
#buybutt{
  padding:0.5em;
  font-size:1.5em;
}
#buybutt>div{
    background-color: #ff0000;
    padding:0.5em;
    border-radius: 9px;
}
#kickstarterLink img, #emailupdate img{
  margin:8px;
}

#emailupdate{
  width: 10em;
}
#keyart{
  width: 100%;
  padding-bottom: 75%;
  position: relative;
  overflow:hidden;
  transform-style: preserve-3d;
}

#keyart::before{
  position:absolute;
  display:block;
  left:0;right:0;top:0;bottom:0;
  content:' ';
  background-image: url('noise.gif');
  background-attachment: fixed;
  background-size:150px 150px;
  animation: noise;
  animation-duration: 2s;
    animation-timing-function: linear;
  animation-iteration-count: infinite;
  opacity:10%;
  z-index:2;
  pointer-events: none;
}
#keyart::after{
  position:absolute;
  display:block;
  left:0;right:0;top:0;bottom:0;
  content:' ';
  background-color: #0b0519;
  opacity: 0;
  animation: fade-in;
  animation-duration: 2s;
  animation-timing-function: linear;
}

@keyframes noise {
  from {background-position: 0 0;}
  to {background-position: 0 1000px;}
}


@keyframes fade-in {
  from {opacity:90%;}
  to {opacity:0%;}
}


#downloads{
  background-color: #7821a5dd;
  padding:0.5em;
  display:block;
  position: absolute;
  right:0;
  vertical-align: middle;
  border-radius:0.5em 0 0 0.5em ;
  width:19em;
}
#downloads img{
  max-width:18em;
}
a.download{
  border-radius:0.5em;
  padding:0.4em;
  display:block;
  text-align: left;
  background-color: #992781ee;
  margin:0.2em;

}
a.download:hover,a.download:active{
  background-color: #EE3042ee;
}

.paralaxlayer{
  position:absolute;
  width:100%;
  padding-bottom: 100%;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-position: 50% 0;
  background-size: 100%;
  background-repeat: no-repeat;
  transform-style: preserve-3d;
  pointer-events: none;
}

#redBG{
  background-color:  #EE3042ee;
  height:100px;
  opacity: 30%
}
#downloadDemoBG{
  background-image: url('downloaddemo.svg');
  background-repeat: repeat-x;
  height:100px;
  background-size: 471px 30px;
  background-position: 0 50%;
  width:300%;
  animation-name: marquee;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  opacity: 30%
}

@keyframes marquee {
  from {margin-left:0;}
  to {margin-left:-471px}
}

#maxwellArea, #bawaArea{
  width:100%;
  position:absolute;
  left:0;
  right:0;
  top:4em;
  margin-top:-32px;
  height:64px;
  overflow: hidden;
  clear:both;
  position: relative;   
  margin-bottom:-64px;
  image-rendering: pixelated; 
  image-rendering: crisp-edges; 
}
#maxwellWalk, #bawaFly{
  width:64px;
  height:64px;
  background-image: url('maxwell.gif');
  background-size: 64px 64px;
  animation-name: maxwell;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes maxwell {
  from {margin-left:-64px;}
  to {margin-left:100VW}
}
 #bawaArea{
  margin-top:0;
 }
#bawaFly{
  background-image: url('bawa.gif');
  animation-name: bawa;
}

@keyframes bawa {
  from {margin-left:100VW}
  to {margin-left:-64px}
}


#mainpage{
  display:block;
  position: absolute;
  text-align: center; 
  margin-top:-150px;
  left: 0;
  right: 0;
  z-index:4;
  max-width: 100%;
}
#mainpage img{
  max-width: 90%;
}

.paralaxlayer:nth-child(1){
  background-image: url('key_far.jpg');
  transform: translate3d(0,0,0);
  padding-bottom: 200%;
}

.paralaxlayer:nth-child(2){
  background-image: url('key-back.png');
}
.paralaxlayer:nth-child(3)::after{
  background-color: #520e2e;
  height:100vw;
  width:100%;
  margin-top: 100%;
  display:block;
  content:" ";
}

.paralaxlayer:nth-child(3){
  background-image: url('key_mid.png');
}
.paralaxlayer:nth-child(4)::after{
  background-color: #520e2e;
  height:100vw;
  width:100%;
  margin-top: 100%;
  display:block;
  content:" ";
}

.paralaxlayer:nth-child(4){
  background-image: url('key_near.png');
}
.paralaxlayer:nth-child(2)::after{
  background-color: #a5546f;
  height:100vw;
  width:100%;
  margin-top: 100%;
  display:block;
  content:" ";
}
.paralaxlayer:nth-child(5),
.paralaxlayer:nth-child(5){
  z-index:3;
  top:-20%;
}

.page{
  display:block;
  position:relative;
  max-width:100%;
  padding:1em;
  z-index: -1;
}
.pageTop{
  width:1200px;
  max-width:100%;
  background-color: #EE3042aa;
  padding:1em;
  font-size:2em;
  font-weight:900;
  margin-left:auto;
  margin-right:auto;
  border-radius: 2em 2em 0 0;
  text-transform: uppercase;
}

.pageBottom{
  width:1200px;
  max-width:100%;
  background-color: #20052baa;
  padding:2em;
  font-size:1.3em;
  line-height: 1.3em;
  margin-left:auto;
  margin-right:auto;
  border-radius: 0 0 4em 4em;
  box-sizing:border-box; 
  text-align: left;

}

#story{
  color:#b297f8;
  font-size:0.9em;
  line-height: 1.2em;

}

.question{
  font-weight: 900;
  font-size: 1.2em;
}
.:before{
  font-weight: 900;
  color:#b297f8;
  content: '';
}
[data-langContent='AR'] .question:before{
  content: 'س. ';
}
.answer{
  color:#b297f8;
  margin-bottom:1em;
  margin-left:1em;
}

#screenshot{
  width:480px;
  height:auto;
  float:left;
  image-rendering: pixelated; 
  image-rendering: crisp-edges; 
  border-radius: 4px;
  margin-right:1.5em;
  margin-bottom: 1em;
  box-sizing: content-box;
}

#friends{
  width:768px;
  max-width: 100%;
  image-rendering: pixelated; 
  image-rendering: crisp-edges; 
  display:block;
  margin-left: auto;
  margin-right: auto;
}

#maxwellGBA{
  width:324px;
  height:auto;
  float:right;
  image-rendering: pixelated; 
  image-rendering: crisp-edges; 
  margin-left:1.5em;
  margin-bottom: 1em;
  margin-top:-2em;
  box-sizing: content-box;
}

.screenshots div{
  position: relative;
  clear:both;
  width:1452px;
  margin-left:auto;
  margin-right:auto;
  overflow-y: hidden;
}

.screenshots{
  clear:both;
  background-color: #20052baa;
  display:block;
  width:100%;
}

.screenshots img{
  display:block;
  float:left;
  width:480px;
  height:auto;
  margin:2px;
  image-rendering: pixelated; 
  image-rendering: crisp-edges; 
}

.screenshots::after{
  content:'';
  display:block;
  clear:both;
  width:100%;
  height:1px;
}

@media only screen and (max-width: 1468px) {
  .screenshots div{
    width:968px;
  }
}

@media only screen and (max-width: 984px) {
  .screenshots div{
    width:initial;
  }
  .screenshots img{
    float:initial;
    margin-left:auto;
    margin-right:auto;
  }
}



@media only screen and (max-width: 720px) {
  #maxwellGBA{
    float:none;
    margin-left:auto;
    margin-right:auto;
    display:block;
    margin-bottom:-2em;
  }
  #screenshot::after{
    content:'';
    clear:both;
    display:block;
    width:100%;
  }

}
@media only screen and (max-width: 770px) {
  #screenshot{
    float:none;
    margin-left:auto;
    margin-right:auto;
    display:block;
  }
  #screenshot::after{
    content:'';
    clear:both;
    display:block;
    width:100%;
  }
}

@media only screen and (min-width: 401px) and (max-width: 600px) {
  .paralaxlayer:nth-child(5){
    top:0;
  }
#maxwellWalk,#bawaFly{

  animation-duration: 4s;
}

  #goodboyLogo{
    margin-top: 0;
    margin-bottom: 0;
  }

  #goodboyLogo, #buybutt{
    max-width: 30%;
  }

  .paralaxlayer:nth-child(2) {
    background-position: 50% 10%;
  }

  .paralaxlayer:nth-child(3) {
    background-position: 50% 20%;
  }

  .paralaxlayer:nth-child(4) {
    background-position: 50% 30%;
  }

  .paralaxlayer:nth-child(5) {
    top: 20%;
  }


  #keyart{
    padding-bottom: 120%;
    width:150%;
    margin-left:-25%;
  }
  #mainpage{
    margin-top:-25px;
  }
  /*
  #mainpage>img{
    width:60%;
    left:-8%;
    position:absolute;
    margin-top:20px;
  }*/
  #downloads{
    right:0;
    width:100%;
    float:none;
    position:relative;
    z-index:3;
    margin-top:1.5em;
  }
  body{
    font-size: 0.85em;
  }
  .gbgLogo{
    height:150px;
  }



}
@media only screen and (max-width: 400px) {

  header{display:none}

  #goodboyLogo{
    margin-top: 0;
    margin-bottom: 0;
  }

  #goodboyLogo, #buybutt{
    max-width: 30%;
  }

  .paralaxlayer:nth-child(2) {
    background-position: 50% 10%;
  }

  .paralaxlayer:nth-child(3) {
    background-position: 50% 20%;
  }

  .paralaxlayer:nth-child(4) {
    background-position: 50% 30%;
  }

  .paralaxlayer:nth-child(5) {
    top: 20%;
  }


#maxwellArea,#bawaArea{
  top:5em;
  margin-top:-20px;
  height:32px;
  margin-bottom:-32px;
}
#maxwellWalk,#bawaFly{
  width:32px;
  height:32px;
  background-size: 32px 32px;
  animation-duration: 5s;
}


  #downloads img{
    width:32px;
    height:32px;

  }
  #keyart{
    padding-bottom: 150%;
    width:150%;
    margin-left:-25%;
  }
  body{
    font-size: 0.75em;
  }
  #mainpage{
    width:100%;
    margin-top:0px!important;
  }

/*
  #mainpage>img{
    margin-top:-5px;
    width:100%;
    margin-left:0;
  }
*/
  #downloads{
    width:100%;
    position: relative;
    right:initial;
    border-radius: 0;
    z-index: -1;
  }

#downloadDemoBG{
  background-size: 235px 15px;
  background-position: 0 50%;
  height:50px;
}

}




/*modal*/
body.noscroll {

}
#rModal {
    display:none;
    background-color:transparent;
    z-index:201;
    position:fixed;
    top:50%;
    left:50%;
    transform: translateZ(0) scale(1.0, 1.0) translate(-50%, -50%);
    transform-origin:0 0;
    width:50em;
    max-width:90%;
    max-height:90%;
    overflow:hidden;
    text-align:center;
    min-height:25%;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    color:#111122;
    -webkit-font-smoothing: subpixel-antialiased;
}
#closeModal,#closeModal svg{
    width:1.5em;
    height:1.5em;
}
#closeModal{
    position:absolute;
    right:0.35em;
    top:0.35em;
    cursor:pointer;
}
#modalTitle{
    background-color:#EE3042;
    color:#ffffff;
    font-weight: bold;
    font-size: 1.2em;
    height:2em;
    min-height:2em;
    padding:0.35em;
    border-radius:1em 1em 0 0;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    line-height: 1.3em;
}
#modalContent{
    background-color:#ffffff;
    overflow:auto;
    overflow-x:hidden;
    overflow-y;:auto;
    -webkit-overflow-scrolling:touch padding:1em;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    padding:1em;
}
#modalFooter{
    background-color:#C7E0F3;
    padding:0.5em;
    border-radius:0 0 1em 1em;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    min-height:4.5em;
    margin-top: -1px;
}

#modalFooter:empty{
    background-color:#ffffff;
    min-height:initial;
}

#rModal.show{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    animation: showmodal 0.3s ease-out both;
    animation-fill-mode:initial;
}

label{
    color:#647FB3;
}
.info{
    margin-top:1em;
    font-size:0.8em;
}
@keyframes showmodal{
    0%{
         transform: scaleX(.3) scaleY(1.3) translate(-50%, 400%);
  }
    52%{
         transform: scaleX(1.05) scaleY(.95) translate(-50%, -60%);
  }
    64%{
         transform: scaleY(1.02) scaleX(.94) translate(-50%, -55%);
  }
    78%{
         transform:scaleY(1) scaleX(1) translate(-50%, -48%);
  }
    100%{
         transform: translateZ(0) scale(1.0, 1.0) translate(-50%, -50%);
  }
}
#rModal.show.reopen{
  animation: reopenmodal 0.3s ease-in-out both;
  animation-fill-mode:initial;
  animation-iteration-count: 1;
}
@keyframes reopenmodal{
    0%{
         transform: scaleX(.05) scaleY(.05) translate(-50%, -50%);
  }
    12%{
         transform: scaleX(1.05) scaleY(.95) translate(-50%, -50%);
  }
    24%{
         transform: scaleY(1.02) scaleX(.94) translate(-50%, -50%);
  }
    48%{
         transform:scaleY(1) scaleX(1) translate(-50%, -50%);
  }
    100%{
         transform: translateZ(0) scale(1.0, 1.0) translate(-50%, -50%);
  }
}
#rModal.show.reopen2{
    animation: reopenmodal2 0.3s ease-in-out both;
    animation-iteration-count: 1;
    animation-fill-mode:initial;
}
@keyframes reopenmodal2{
    0%{
         transform: scaleX(.05) scaleY(.05) translate(-50%, -50%);
  }
    12%{
         transform: scaleX(1.05) scaleY(.95) translate(-50%, -50%);
  }
    24%{
         transform: scaleY(1.02) scaleX(.94) translate(-50%, -50%);
  }
    48%{
         transform:scaleY(1) scaleX(1) translate(-50%, -50%);
  }
    100%{
         transform: translateZ(0) scale(1.0, 1.0) translate(-50%, -50%);
  }
}
#rModal.hide{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    animation: hidemodal 0.15s ease-in-out both;
    animation-iteration-count: 1;
    animation-fill-mode:initial;
}
@keyframes hidemodal{
    0%{
         transform: translate(-50%, -50%);
  }
    100%{
         transform:translate(-50%, 300%);
  }
}
#backgroundCover{
    display:none;
    position:fixed;
    z-index:199;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:rgba(40,40,50,0.7);
    overflow:hidden;
    -webkit-backface-visibility:hidden;
    transform:translateZ(0);
    transition: opacity 0.7s;
}


body.noscroll {
    overflow:hidden;
    height:1wh;
}
body.noscroll #backgroundCover{
    display:block;
    animation: fadeinbg 0.5s ease-in-out both;
    animation-iteration-count: 1;
    animation-fill-mode:initial;

}
@keyframes fadeinbg{
    0%{
        opacity:0;
  }
    100%{
        opacity:1;
  }
}

#modalContent img{
  max-width: 100%;
}
#modalContent a{
  color:#EE3042;
}
h2{
    font-size: 1.3em;
    font-weight: bold;
    padding-top: 1.2em;
    padding-bottom: 0.3em;
    border-collapse: collapse;
}