@charset "utf-8";
/* CSS Document */
/* Tom Nahas, ITWP1050, CSS Grid Gallery  */

/* Variable for Page Color */
:root {
  --pageColor: #f76d07;
}

/* Bringing in the web font */
@font-face {
  font-family: 'headlineFont';
  src: url('webfont/Helvetica-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Setting the body defaults */
body {
  margin: 3rem;
  padding: 0px;
  box-sizing: border-box;
  background: url('images/subway-tile.jpg') no-repeat center center fixed;
}

/* setting the background image for the header */
.header {
  height: 300px;
  width: auto;
  background-image: url("images/ny-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);	
}

/* some styles for content areas */
.content {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
}

/* H1 Style */
h1 {
  font-family: 'headlineFont', Helvetica, Arial, sans-serif;
  font-size: 5rem;
  color: white;
  text-shadow: 5px 5px 6px rgba(0, 120, 255, 0.6);	
}

/* Container area for gallery */
.container {
  max-width: 820px;
  margin: 0px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 1);
}

/* The grid for the gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 10px;
}

/* Image style within the gallery */
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0px 6px 6px rgba(0, 120, 255, 0.3);
}

/* Image style within the gallery on hover */
.gallery img:hover {
  transform: scale(1.3);
}

/* Style for the subway circles image */
.jm {
  width: 275px;
  height: auto;
}

/* style for responsive text */
.responsive-text {
  font-size: 3rem;
  line-height: 1.5;
  color: white;
}

/* style for responsive text in a p tag */
p.responsive-text {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: white;
  text-align: justify;
}

/* Gallery caption text */
.image-text {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1rem;
  text-align: center;
  margin-top: 20px;
  color: white;
}
/*creating a container for the flex items to center my gallery */
.flexRow {
  margin: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

/* Media query for screens 600px or narrower */
@media (max-width: 600px) {
  .responsive-text {
    font-size: 1.5rem;
    line-height: 1.5;
    color: white;
  }
  .container {
    padding: 10px;
  }
  body {
    margin: .5rem;
  }
}

/* footer validation area */
.footer_validation {
  font-family: Helvetica, Arial, sans-serif;
  padding: 40px;
  text-align: center;
  font-size: 1rem;
}

/* hover links  */
a {
  color: var(--pageColor);
  text-decoration: underline;
}
a:link {
  color: var(--pageColor);
  text-decoration: underline;
  font-weight: bold;
}
a:visited {
  color: #0078ff;
  text-decoration: underline;
}
a:hover {
  color: #fabc6f;
  text-decoration: none;
  font-weight: bold;
}
a:active {
  text-decoration: underline;
  text-decoration-style: wavy;
  font-weight: bold;
}