@charset "utf-8";
/* CSS foor nav1 */

	table {
		border-collapse: collapse;
	}
	table.center {
		margin-left: auto;
		margin-right: auto;
	}
	nav td {
		background-color: #D10C0C;
		width: 100px;
		height: 40px;
		font-size: 24px;
		color: green;
		text-align: center;
		border: 1px solid black;
		border-radius: 15px;
	}
	nav tr{
		margin: 30px auto;
	}
	tr a {
		color: yellow;
		text-decoration: none;
	}
	ul.nav1{
	margin-left: 30px;
	}
	li.nav1{
		width: 100px;
		height: 40px;
		background-attachment: #D10C0C;
		list-style-type: none;
		font-size: 24px;
		color: black;
		text-align: center;
		border: 2px solid yellow;
	
	}
	li a {
		color: black;
		text-decoration: none;
	}
	li a:hover {
		color:blue
	}
.animated-grid {
  height: 85vh;
  margin-bottom: 200px;

  display: grid;
  gap: 1rem;

  /* Explicit grid */
  grid-template-areas:
    'a  b  c  d'
    'l  ðŸŒŸ ðŸŒŸ e'
    'k  ðŸŒŸ ðŸŒŸ f'
    'j  i  h  g';

  grid-template-rows: repeat(4, 25%);
  grid-template-columns: 240px auto auto 240px;

  --stagger-delay: 100ms;
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: scale(0.3);
    filter: hue-rotate(180deg);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: hue-rotate(0deg);
  }
}

.card {
  background-color: rgb(36, 243, 147);
  animation: cardEntrance 700ms ease-out;
  animation-fill-mode: backwards;
}

.card:nth-child(1) {
  grid-area: a;
  background-image: url("images/Atx_skin_powerarmor_skin_blackrider_l.png");
  background-size: cover;
  animation-delay: calc(1 * var(--stagger-delay));
}
.card:nth-child(2) {
  grid-area: b;
  background-image: url("images/Benny_intro.jpg");
  background-size: cover;
  animation-delay: calc(2 * var(--stagger-delay));
}
.card:nth-child(3) {
  grid-area: c;
  background-image: url("images/Frank_Horrigan.png");
  background-size: cover;
  animation-delay: calc(3 * var(--stagger-delay));
}
.card:nth-child(4) {
  grid-area: d;
  background-image: url("images/Atx_skin_powerarmor_paint_x01_atomicoutcast_l.png");
  background-size: cover;
  animation-delay: calc(4 * var(--stagger-delay));
}
.card:nth-child(5) {
  grid-area: e;
  background-image: url("images/Displacer_glove.png");
  background-size: cover;
  animation-delay: calc(5 * var(--stagger-delay));
}
.card:nth-child(6) {
  grid-area: f;
  background-image: url("images/Industrial_hand.png");
  background-size: cover;
  animation-delay: calc(6 * var(--stagger-delay));
}
.card:nth-child(7) {
  grid-area: g;
  background-image: url("images/Two-Step_Goodbye.png");  
  background-size: cover;
  animation-delay: calc(7 * var(--stagger-delay));
}
.card:nth-child(8) {
  grid-area: h;
background-image: url("images/FONV-Lonesome-Road-Screenshot-04B.jpg");
  background-size: cover;
  animation-delay: calc(8 * var(--stagger-delay));
}
.card:nth-child(9) {
  grid-area: i;
  background-image: url("images/MarkedMan4.png");
  background-size: cover;
  animation-delay: calc(9 * var(--stagger-delay));
}
.card:nth-child(10) {
  grid-area: j;
  background-image: url("images/Displacer_glove_icon.png");
  background-size: cover;
  animation-delay: calc(10 * var(--stagger-delay));
}
.card:nth-child(11) {
  grid-area: k;
  background-image: url("images/Cleansing_Flame.png");
  background-size: cover;
  animation-delay: calc(11 * var(--stagger-delay));
}
.card:nth-child(12) {
  grid-area: l;
  background-image: url("images/Royez.png");
  background-size: cover;
  animation-delay: calc(12 * var(--stagger-delay));
}
.card:last-child {
  grid-area: ðŸŒŸ;
  background-image: url("images/Ranger_at_New_Vegas_entrance.jpg");
  background-size: cover;
  animation-delay: calc(13 * var(--stagger-delay));
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #38444d;
}

li {
  float: left;
}

li a, .dropbtn {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
  background-color: red;
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1;}

.dropdown:hover .dropdown-content {
  display: block;
}