* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

/* layout systems, flex and flexbox, grid */
body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  /* justify-content: center; */
  /* align-items: stretch; */
  background-image: url(../images/seattle-skyline.jpg);
  background-size: cover;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  overflow: auto;
  height: 100%;
}

header {
  background: rgb(19, 17, 17);
  display: flex;
  justify-content: space-between;
  /* width: 100%; */
  flex-direction: row;
  width: 100%;
  height: auto;
  max-width: 100%;
  align-items: center;
  position: fixed;
}

#logo-container #logo {
  height: 5em;
  justify-content: flex-start;
  flex-shrink: 0;
}

header h1 {
  /* display: flex; */
  /* align-items: center; */
  /* justify-content: flex-start; */
  color: #d9961a;
  /* align-content: stretch; */
  /* flex-direction: row; */
  /* flex-wrap: wrap; */
}

nav {
  /* display: flex; */
  /* overflow: hidden; */
  /* margin: 5px; */
  /* justify-content: space-between; */
  /* flex-direction: row; */
  /* flex-wrap: wrap; */
  /* align-content: center; */
  /* align-items: center; */
  /* clear: both; */
}

#menu-bar {
  display: flex;
  flex-wrap: wrap;
  /* position: fixed; */
  /* flex-direction: row; */
  /* align-content: stretch; */
  /* justify-content: space-between; */
  /* align-items: center; */
  /* width: 100%; */
  margin: 0 10px;
}

#menu-bar > ul {
  display: flex;
  gap: 5px;
  /* flex-wrap: wrap; */
  /* flex-direction: row; */
  /* align-content: stretch; */
  /* align-items: center; */
  /* justify-content: space-evenly; */
  /* width: 100%; */
  font-size: 1em;
}

#menu-bar > ul > li {
  list-style: none;
  align-items: center;
  display: flex;
  /* gap: 10px; */
  /* width: 100%; */
  /* flex-direction: row; */
  /* flex-wrap: wrap; */
  /* align-content: space-around; */
  /* justify-content: center; */
}

#menu-bar > ul > li > a {
  display: flex;
  color: white;
  text-decoration: none;
  font-style: oblique;
  padding: 10px 15px;
  /* gap: 10px; */
}

#menu-bar > ul > li > a.active {
  background-color: cornflowerblue;
  color: rgb(209, 207, 53);
  font-weight: bolder;
  padding: 15px;
}

#menu-bar > ul > li > a:hover {
  background-color: rgb(177, 133, 133);
  color: rgb(168, 214, 59);
  padding: 15px;
}

#wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: stretch;
  width: 1000px;
  margin: 250px auto;
  overflow: hidden;
  clear: both;
  max-width: 100%;
  /* padding-bottom: 100px; */
  flex-wrap: wrap;
  align-content: stretch;
}

/* style for main element */

main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 580px;
  max-width: 100%;
  margin: auto;
  padding: 20px;
  background: #fff;
  overflow: hidden;
  border-radius: 9px;
  max-height: 100%;
  transition-duration: 1100ms;
  align-content: space-around;
  flex-wrap: wrap;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 580px;
  max-width: 100%;
  margin: auto;
  padding: 20px;
  background: #fff;
  overflow: hidden;
  border-radius: 9px;
  max-height: 100%;
  transition-duration: 1100ms;
  align-content: space-around;
  flex-wrap: wrap;
}

.content p {
  display: flex;
  line-height: 1.3em;
  width: 100%;
  height: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: space-around;
  align-items: center;
}

.row {
  background-color: aliceblue;
  overflow: hidden;
  clear: both;
  display: flex;
  flex-grow: 1;
  padding: 10px;
  border-radius: 9px;
  transition-duration: 1100ms;
  flex-direction: row;
  align-content: space-around;
  justify-content: space-evenly;
  align-items: stretch;
  width: 100%;
}

.third {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  max-width: 100%;
  max-width: 300px;
  padding: 10px;
  margin-left: 10px;
  transition-duration: 1100ms;
  border-radius: 9px;
  overflow: hidden;
  clear: both;
  flex-wrap: wrap;
}

.third li {
  margin-left: 10px;
  line-height: 1.3em;
  margin-top: 5px;
}

.projects h3 {
  display: flex;
  justify-content: flex-start;
  line-height: 1.5em;
  margin-bottom: 10px;
  margin-top: 10px;
}

.projects-p1 {
  font-family: Arial, sans-serif, Georgia, "Times New Roman", Times, serif;
  line-height: 2em;
  margin-top: 10px;
}

.projects-p2 {
  font-family: Arial, sans-serif, Georgia, "Times New Roman", Times, serif;
  line-height: 1.2em;
  margin-bottom: 15px;
}

.resume {
  background: #fff;
  /* padding: 20px 20px 30px; */
  background: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 15px;
  padding: 15px 15px;
  margin: 0;
  height: auto;
  transition-duration: 1100ms;
  border-radius: 9px;
  overflow: hidden;
  clear: both;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.resume h4 {
  line-height: 1.5em;
  font-size: 1.3em;
}

.resume h3 {
  margin-top: 5px;
  padding-top: 15px;
  padding-bottom: 3px;
}

.resume p {
  line-height: 1.5em;
}

.resume ul li {
  margin-left: 10px;
  line-height: 1.5em;
  margin-top: 3px;
}

.quarter {
  width: 23.4%;
  background: #fff;
  /* margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 15px; */
  padding: 14px;
  margin-left: 10px;
}

.quarter:first-child {
  margin-left: 0;
}

aside {
  width: 340px;
  height: fit-content;
  background: #d9961a;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 15px;
}

/* Footer styles */
footer {
  background: #333;
  color: #fff;
  line-height: 50px;
  clear: both;
  font-size: 0.75em;
  width: 100%;
  margin-top: auto;
  font-style: italic;
  font-size: 0.85em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

footer ul {
  display: flex;
  list-style-type: none;
  justify-content: flex-start;
  margin-left: 25px;
  flex-direction: row;
  flex-wrap: wrap;
}

footer li {
  margin-top: 5px;
  margin-right: 100px;
  color: white;
  text-decoration: none;
  opacity: 0.7;
  transition: 0.5s;
}

footer a {
  color: white;
  text-decoration: none;
}

footer ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.3em;
  opacity: 0.7;
  transition: 0.5s;
}

footer ul li a:hover {
  opacity: 1;
}

footer img {
  margin-top: 5px;
}

img {
  max-width: 100%;
  display: flex;
}

.resume:hover,
.content:hover,
.third:hover {
  transform: translateY(10px);
}

/* Typography */

p {
  font-family: Arial, sans-serif, Georgia, "Times New Roman", Times, serif;
  line-height: 1.5em;
}

#wrapper h2 {
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  font-family: Arial, sans-serif, Georgia, "Times New Roman", Times, serif;
  color: #ffffa9;
  font-size: 2.5em;
}

.about {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  font-family: Arial, sans-serif, Georgia, "Times New Roman", Times, serif;
}

.about #image-left {
  display: flex;
  flex-direction: row;
  width: 300px;
  margin: 5px;
  justify-content: space-around;
  align-content: stretch;
  flex-wrap: wrap;
}

.about h3 {
  font-family: "Times New Roman", Times, serif;
  color: #561a5c;
  padding: 5px;
  margin: 10px;
  text-indent: 10px;
  font-weight: bold;
  font-size: 1.5em;
}

.about p {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.2em;
  text-align: left;
  margin: 10px;
  padding: 10px;
  border-left: 10px solid #508dff;
}

.about li {
  font-family: "Times New Roman", Times, serif;
  margin-left: 20px;
  text-indent: 5px;
  padding: 5px;
  font-size: 1.2em;
}

/* Contact Form  */
.contactForm {
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 750px;
  margin: 0 auto;
  width: 100%;
  padding: 15px;
}

.inputCol label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1;
}

.inputCol input,
.inputCol textarea {
  display: block;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 20px;
  line-height: 1;
  font-size: 16px;
}

.inputCol textarea {
  height: 150px;
}

#form_submit {
  max-width: 250px;
  background: #ffffa9;
  font-weight: 600;
  transition: 0.3s ease all;
  border: 1px solid #000;
}

#form_submit:hover {
  background: #000;
  color: #ffffa9;
}

fieldset {
  border: 1px solid rgb(68, 66, 66);
  padding: 10px;
  margin: 0;
}

legend {
  font-weight: bold;
  margin-bottom: 10px;
}

label {
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
  width: calc(100% - 20px);
  padding: 8px;
  margin-bottom: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type="radio"] {
  margin-top: 10px;
  margin-bottom: 14px;
}

input[type="submit"] {
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}
