/* Freddie Sanchez
   INFOST 320-210 
*/

/* --- Base Page Styling --- */
body {
  font-family: Arial, sans-serif;
  background-color: #f8fafc;
  color: #333;
  margin: 0;
  padding: 0;
}

/* --- Header Section --- */
header {
  background: linear-gradient(135deg, #1e88e5, #42a5f5);
  color: white;
  padding: 1.5em 0;
  border-bottom: 4px solid #1565c0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#title {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  font-size: 2em;
  letter-spacing: 1px;
}

/* --- Navigation Styling --- */
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin-top: 1em;
}

nav li {
  list-style: none;
  margin: 0.5em 1em;
}

/* Hyperlink States (5 total) */
a {
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  color: #e3f2fd;
  transition: color 0.25s ease, background-color 0.25s ease;
  padding: 0.3em 0.6em;
  border-radius: 5px;
}

a:link {
  color: #e3f2fd;
}

a:visited {
  color: #cfd8dc;
}

a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: underline;
}

a:active {
  color: #ffd54f;
}

a:focus {
  color: #fff;
  background-color: rgba(21, 101, 192, 0.6);
  outline: 2px solid #fff;
}

/* --- Centered Page Content --- */
.content {
  width: 90%;
  margin: 2em auto;
  text-align: center;
}

/* --- Main Section with 3 Columns --- */
#main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2em;
  margin-top: 2em;
}

#main img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* --- Individual Columns --- */
.column1,
.column2,
.column3 {
  flex: 1;
  padding: 1.2em;
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.column1 {
  order: 3;
}

.column2 {
  order: 2;
}

.column3 {
  order: 1;
}

/* --- Headings --- */
h2 {
  text-align: center;
  text-decoration: underline;
  font-family: "Story Script", sans-serif;
  font-size: 1.8em;
  color: #1976d2;
  margin-bottom: 0.8em;
}

/* --- Footer --- */
footer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  background-color: #1e88e5;
  color: white;
  padding: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

footer img {
  margin: 0 10px;
  transition: transform 0.2s ease;
  border-radius: 50%;
}

footer img:hover {
  transform: scale(1.1);
}

footer .contact-info p {
  margin: 5px 0;
  font-size: 0.95em;
}

/* --- Google Font --- */
.story-script-regular {
  font-family: "Story Script", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* --- Media Queries --- */
@media screen and (max-width: 1000px) {
  .content {
    width: 100%;
    margin: 0;
  }
}

@media screen and (max-width: 700px) {
  #main {
    flex-flow: column wrap;
  }

  .column1,
  .column2,
  .column3 {
    border: none;
    padding: 0;
    background: none;
    box-shadow: none;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}
