@charset "utf-8";
/* CSS Document */

/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
    position: fixed;
    width: 100%;

}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
    font-family: 'Open Sans', sans-serif;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

body {
  margin: 0;
  height: 100vh;
  background: linear-gradient(90deg, #6220A8, #FF007F);
}
p {
  color: white;
}

footer {
  background-color: #333; /* Dark background color */
  color: #fff; /* White text color */
  padding: 10px; /* Spacing inside the footer */
  text-align: center; /* Center-align text content */
  font-family: "Open Cambria", "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif, sans-serif; /* Fixed font style */
  font-size: 17px; /* Font size */
  left: 0;
  bottom: 0;
  width: 100%;
  position: fixed;
}

header{
    
    position: fixed;
    background-color: #04041A;
  padding: 20px;
    width: 100%;
    padding: 0;
    margin: 0;
    color: white;
    
}

img {
  transition: transform 0.3s ease; /* smooth animation */
}

img:hover {
  transform: scale(1.05); /* grows 5% on hover */
}

h1 {
  color: white;
    font-family: 'Montserrat', sans-serif;
}
.image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.image-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
    
}


/* Unvisited link */
a:link {
  color: white; 
}

/* Visited link */
a:visited {
  color: whitesmoke; 
}

/* Mouse over link */
a:hover {
  color: red; 
}

/* Selected link (at the moment of click) */
a:active {
    color: red; }

/* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

#game-buttons a {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  background-color: black;       /* black button color */
  color: white;                  /* text color */
  text-decoration: none;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  transition: 0.3s;
}

#game-buttons a:hover {
  background-color: #333333;     /* slightly lighter black on hover */
  transform: scale(1.05);        /* slight grow on hover */
}
