/* Wu_Margaret_UI/UX_Portfolio */

*{
  padding: auto;
  margin: auto;
}

html {
  background: #fff url("../images/portfolio_base/foggy_mountain_light.jpg") no-repeat center center fixed;
  background-size: cover;
}

body {
  font: 16px verdana, sans-serif;
  text-align: center;
  color: #2B2B2B;
}

main {
  margin: 0 2em;
}

h1 {
  font-family: 'Monotype Corsiva', serif;
  margin: 1em;
}

p {
  line-height: 1.6;
}

@font-face {
  font-family: 'Monotype Corsiva';
  src: url(../monotype_corsiva.ttf);
}

.highlight {
  color: blue;
}


/*
 * Nav
 */

nav {
  width: 100%;
  list-style-type: none;
}

.menu {
  text-align: right;
  padding: 1em;

}

.nav li{
  display: inline;
  margin-right: 2em;
}

.underline {
  padding-bottom: 5px;
  border-bottom: .5px solid #2B2B2B;
}

.nav li a:hover {
  padding-bottom: 5px;
  border-bottom: .5px solid #2B2B2B;
}

#home {
  float: left;
  margin: .25em 0 0 2em;
}

#home:hover {
  padding-bottom: 0;
  border-bottom: none;
}

a {
  text-decoration: none;
  color: #2B2B2B;
}


/*
 * Intro
 */

.intro {
  text-align: left;
  padding: 2em 1.5em 2em 5em;
}

#intro {
  font: 12vw 'Monotype Corsiva', serif;
  margin: auto;
}

.intro p {
  font-size: 4vw;
  line-height: normal;
}


/*
 * Projects
 */

.projects {
  flex-wrap: wrap;
  display: inline-flex;
}

.projects div {
  margin-top: 1em;
  margin-bottom: 1em;
}

.projects img{
  width: 400px;
  height: 300px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  margin-left: 1em;
  margin-right: 1em;
}

.project {
  text-align: left;
}

.image {
  padding: 2em 0;
  text-align: center;
}

.back {
  text-align: left;
}

.back img{
  margin-top: 4em;
}

.list {
  list-style-type: none;
  padding-left: 1.5em;
}

.list2 {
  list-style-type: circle;
  padding: 1em 0 0 1.5em;
}

h3 {
  padding: 3em 0 0.5em 0;
}


/*
 * About
 */

.about {
  text-align: left;
}


/*
 * Contacts
 */

.contacts {
  margin: 1em;
}

.contacts img {
  width: 50px;
  margin: 1em;
}


/*
 * Footer
 */

footer {
  font-size: 10px;
  padding-bottom: 5px;
  margin-top: 5em;
}

#contacts {
  padding: 1em;
}

#contacts a {
  margin: 1em;
}
