body {
  background-color: #751010;
  background-image: url(img/bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: black;
  font-size: 0;
  font-family: Courier New;
  align-items: center;
  justify-content: center;
}

#site {
  background-image: url(img/228n.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 98vh;
  width: 78vh;
}

#intro {
  height: 30%;
}

#link {
 height: 8vh; 
}

#nav {
	height: 20%;
}

#links {
  height: 7vw;
}

#icon {
  height: 5%;
}

#bar {
  width: 50vw;
}

#images {
  width: 80%;
}

#gallerynav {
  width: 60%;
  height: 9vh;
  font-size: 4vh;
}

#media {
  width: 100%;
}

#card {
   height: 74.5vh;
}

#cardi {
  top: 61vh; 
}

#cardico {
  height: 6vh;
}

#m {
  width: 41.66666vw;
}

#terms {
  margin: 20px 0 0 20%;
  width: 800px;
}

a:link, a:visited, a:active {
  color: #ae2f2f;
  text-decoration: none;
}

a:hover {
  filter: invert(0.9);
  text-shadow: none; 
  text-decoration: none;
}

@media screen and (max-width: 1279px) {
  
  #nomobile {
    display: none;
  }
  
  #site {
    width: 100vw;
    height: 126vw;
  }
  
  #bar {
    width: 90vw;
  }
  
  #gallerynav {
    width: 80%;
	height: 15vh;
	font-size: 3vh;
  }
  
  #images {
    width: 100%;
	font-size: 0;
  }
  
  #illustration {
    width: 96vw;
    margin: 0;
  }

  #animation {
    width: 96vw;
    margin: 0;
  }
  
  #tarot {
    width: 46vw;
    margin: 0;
  }
  
  #card { 
   width: 100vw;
  }
  
  #cardi {
    padding-left: 4vw;
  }
  
  #cardico {
    height: 5vh;
  }
  
  #m {
	margin: 0;
	width: 98vw;
  }
  
  #terms {
    width: 96%;
	margin: 0 auto;
  }
  
  #link {
	height: 10vw;
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%); 
  }
  100% {
    transform: translateY(-5%);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
