
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f2f4f7;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  margin: 0 auto;
}

/* Header Styling */
header {
  width: 100%;
  text-align: center;
  padding: 1em 0;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#title {
  color: #FA536D;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  text-shadow: 2px 2px 1px #ccc;
  margin-bottom: 0.5em;
}

/* NAVIGATION */
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

nav li {
  list-style: none;
  margin: 0.5em 1em;
}

/* Link styling – 5 states */
nav a {
  text-decoration: none;
  color: #003366;
  font-weight: bold;
  transition: all 0.3s ease;
}
nav a:hover {
  color: #ff6600;
}
nav a:active {
  color: #cc5200;
}
nav a:focus {
  outline: 2px solid #003366;
}
nav a:visited {
  color: #4a4a4a;
}

/* Main Section */
#main {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 1em;
  flex-wrap: wrap;
}

/* Columns */
.column {
  flex: 1;
  padding: 10px;
  border-right: 1px solid #5D5D5D;
  background-color: #fff;
  margin: 0 5px;
}

.column:last-child {
  border-right: none;
}

/* Custom font for h2 */
h2 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  text-decoration: underline;
  color: #FA536D;
}

/* Images in columns */
.column img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0.5em auto;
  border-radius: 5px;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FA536D;
  color: #fff;
  padding: 1em;
  width: 100%;
  margin-top: 1em;
}

.footer-left {
  flex: 1;
}

.footer-right {
  display: flex;
  gap: 10px;
}

.footer-right img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.footer-right img:hover {
  transform: scale(1.1);
}

/* Media Queries */

/* Under 1000px – full width */
@media (max-width: 1000px) {
  body {
    width: 100%;
  }
}

/* Under 700px – stacked columns */
@media (max-width: 700px) {
  #main {
    flex-direction: column;
  }

  .column {
    border: none;
    padding: 0;
    margin-bottom: 1em;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    margin-top: 1em;
  }
}
