* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #111318;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #111318;

  display: grid;
  justify-content: center;
  align-items: center;

  z-index: 9999;

  transition: opacity 0.8s ease;
}

/* #preloader.fade {
  opacity: 0;
  filter: blur(10px);
} */

/* #website {
    display: none;
} */

header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  margin-top: 30px;
  background-color: #111318;
  padding: 10px;
}

ul {
    position: absolute;
    top: 100px;
    right: 50px;
    width: 100px;
}

.navi {
    margin-top: -30px;
    padding: -10px;
    position: fixed;
    right: -500px;
    width: 200px;
    height: 100%;
    background-color: #FFFFFF;
    transition: .5s;
}

article a{
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 5px;
    margin-left: 5px;
}

a {
    color: #111318;
    text-align: center;
    text-decoration: none;
    font-family: Cocogoose;
}

li {
    list-style: none;
    font-size: 1.5rem;
    padding: 10px;
    border-bottom: 1pt solid #6A1111;
}

a:hover {
    color: #6A1111;
    text-shadow: 2px 2px 5px #FFFFFF;
}

.ham, .bar {
    position: fixed;
}

.ham {
    display: block;
    top: 5%;
    left: 95%;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    border: 0;
    background: 0 0;
}

.bar {
    top: 3px;
    background: #FFFFFF;
    width: 100%;
    height: 4px;
    transition: all .3s ease-in;
}

#bar2 {
    top: 11px;
}

#bar3 {
    top: 19px;
}

.navi.active {
   right: 0; 
}

.ham.open #bar1 {
    background-color: #6A1111;
    transform: rotate(45deg) translate(6px, 5px);
}

.ham.open #bar2 {
    background-color: transparent;
}

.ham.open #bar3 {
    background-color: #6A1111;
    transform: rotate(-45deg) translate(6px, -5px);
}


#repeat {
    display: grid;
    grid-template-columns: repeat(15, 1fr);
}

#repeat img{
    margin-top: 10px;
    width: 70px;

    animation-name: logo;
    animation-timing-function: linear;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

#banner {
    margin-top: 5px;
    background-image: url(../img/banner.jpg);
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
    width: 100%;
    height: 50vh;
}

#about {
    margin-top: 10px;
    padding: 5px;
    /* gap: 70px; */
}

#logo {
    width: 250px;
    margin-left: 80px;
    grid-column: 2;
}

#about p {
    margin-top: 100px;
    margin-left: 20px;
    grid-column: 3;
    font-size: 20px;
    color: #FFFFFF;
    font-family: Goodtime-Grotesk;
}

#killers img, #survivors img {
    width: 250px;
    height: 350px;
    object-fit: contain;

    background: rgba(15,15,20,0.55);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    backdrop-filter: blur(6px);

    padding: 20px;
    transition: 0.25s ease;
}

#killers, #survivors  {
    margin-top: 20px;
    text-align: center;
    padding: 5px;
}

#killers figure:hover img, #survivors figure:hover img {
  transform: scale(1.05);
  /* transition: transform 1s; */

  transform: translateY(-6px);
    border-color: #ff003c73;
    box-shadow:
        0 0 25px rgba(255,0,60,0.18),
        0 10px 40px rgba(0,0,0,0.45);
}
figcaption {
    color: #6A1111;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-family: Goodtime-Grotesk;
    font-size: 20px;
}
#killers figure:hover, #survivors figure:hover {
  /* opacity: 0.5; */
  filter: drop-shadow(0 0 15px #6A1111);
}

dialog form {
    text-align: right;
}
dialog button {
    padding: 5px;
    margin-top: 5px;
    margin-right: 5px;
    background-color: #6A1111;
    color: #FFFFFF;
    border-radius: 18px;
}
dialog button:hover {
    background-color: #FFFFFF;
    color: #6A1111;
}
dialog {
    position: fixed;
    top: 25%;
    width: 500px;
    height: 400px;
    max-width: 90vw;
    max-height: 90vh;
    margin: 0 auto;
    background-color: #111318;
}

h2 {
    /* color: #FFFFFF; */
    background: linear-gradient(
        to bottom,
        #ffffff,
        #fa7575,
        #6A1111,
        #5c0017
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-transform: uppercase;
    letter-spacing: 2px;

    margin-top: 40px;
    margin-bottom: 10px;
    font-family: Gotham-Black;
    margin-left: 10px;
    font-size: 40px;
    text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.carousel {
  position: relative;
  width: 600px;
  margin: auto;
  overflow: hidden;
}

.track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide img {
    margin-top: 20px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.slide figcaption {
  margin-top: 8px;
  color: white;
  text-align: center;
}

/* arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #111318;
  color: #FFFFFF;
  font-family: Cocogoose;
  border: none;
  font-size: 30px;
  cursor: pointer;
  z-index: 10;
  border-radius: 18px;
  width: 40px;
  height: 40px;
}

.left { 
    left: 10px;
    margin-left: -20px;
 }
.right { 
    right: 10px;
    margin-right: -20px;
 }

/* dots */
.dots {
  text-align: center;
  margin-top: 10px;
}

.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  border-radius: 50%;
  background: #6A1111;
}

footer p {
    text-align: center;
    font-family: Cocogoose;
    color: #FFFFFF;
    opacity: 0.6;
    font-size: 15px;
}

footer {
    margin-top: 40px;
}

@keyframes logo {
    0% {transform: translateX(0);}
    100% {transform: translateX(100%);}
}

@media screen and (min-width: 1200px) {
    #about {
        display: grid;
        grid-template-columns: repeat(4, 2fr);
    }
}

@media screen and (min-width: 1200px) {
    #killers, #survivors {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
}

@font-face {
    font-family: Roboto;
    src: url(../font/Roboto.ttf);
}

@font-face {
    font-family: RobotoCondensed;
    src: url(../font/RobotoCondensed.ttf);
}

@font-face {
    font-family: Cocogoose;
    src: url(../font/Cocogoose.ttf);
}

@font-face {
    font-family: Gotham-Black;
    src: url(../font/Gotham-Black.otf);
}

@font-face {
    font-family: GoodTime-Grotesk;
    src: url(../font/GoodTime-Grotesk.otf);
}