/* Styling for header */
#title{
	color:#000;
	font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;
	text-shadow:2px 2.5px 1px #333333;
	outline: 2.5px solid #5D5D5D
}
nav ul {
	display: flex;
}
nav li {
	align-items: center;
	list-style:none;
	margin:1em;
}
body {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f3f7fa;
}

header {
  width: 100%;
  text-align: center;
  margin: 1rem 0;
}

#title {
  color: #000;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  text-shadow: 2px 2.5px 1px #333333;
}

/* Navigation Styling: 5 different link states */
nav ul {
  display: flex;
  justify-content: center;
  padding: 0;
}

nav li {
  align-items: center;
  list-style: none;
  margin: 1em;
}

nav a {
  text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s, font-size 0.3s;
  font-weight: bold;
  font-size: 16px;
}

/* 5 states for nav links */
nav a:link {
  color: #27ae60;
  background: #eafaf1;
}

nav a:visited {
  color: #eb5757;
  background: #fbeee5;
}

nav a:hover {
  color: #00ffff;
  background: purple;
  font-size: 18px;
  box-shadow: 0 2px 8px;
}

nav a:focus {
  outline: 2px solid #2980b9;
  background: salmon;
}

nav a:active {
  color: #f48fb1;
  background: orange;
  font-size: 17px;
}
/*Styling for main section with 3 columns */
#main {
    display: flex;
    flex-direction: row;
    width: 90%;
    justify-content: center;
    background: #fff;
    box-shadow: 0 4px 12px rgba(39,60,117,0.08);
    border-radius: 16px;
    margin: 2rem 0;
    outline: 2.5px solid #5D5D5D
}
.column1 {
    flex: 3;
    order: 3; 
    border-right: 1px solid #5D5D5D;
    padding: 2rem;
    background: #b6d4f2;
    border-radius: 12px;
    outline: 2.5px solid #5D5D5D
}
.column2 {
    flex: 2;
    order: 2;
    border-right: 1px solid #5D5D5D;
    padding: 2rem;
    background: #edd08e;
    border-radius: 12px;
    outline: 2.5px solid #5D5D5D
}
.column3 {
    flex: 1;
    order: 1; 
    padding: 2rem;
    background: #94e3b6;
    border-radius: 12px;
    outline: 2.5px solid #5D5D5D
}
.column-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(39,60,117,0.18);
}
h2{
	text-align:center;
	text-decoration:underline;
	font-family: 'Lobster Two', cursive;
}
footer{
	display: flex;
}


@media (max-width: 1000px) {
  body,
  #main,
  footer {
    width: 100%;
    padding: 0;
  }
}


@media (max-width: 700px) {
  #main {
    flex-direction: column;
    width: 100%;
  }
  .column1,
  .column2,
  .column3 {
    border: none;
    padding: 0.5rem;
    margin-bottom: 1rem;
  }
  footer {
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
  }
  .footer-social {
    justify-content: center;
    margin-bottom: 1rem;
  }
}
