* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #333333;;
  }

main {
  font-size: 16px;
  color: #42434b;
  background-color: #fcfcfc;
  line-height: 1.6;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 70vh;
}

a {
  text-decoration: none;
  color: #42434b;
}

a:hover {
  color: #7d7e8b;
}

li {
  list-style: none; 
}

img {
  max-width: 100%;
  border: 0;
  display: block;
}

svg {
  max-width: 100px;
}

header {
  /* position: sticky;
  top: 0px;
  left: 0px;
  z-index: 20; */
  height: 80px;
  background-color: rgba(240, 240, 240, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header ul {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  padding-left: 20px;
}

header li {
  font-family: Oswald, sans-serif;
  font-weight: 100;
  font-size: 1.2em;
  padding-right: 10px;
  letter-spacing: 1px;
}

header h1 {
  font-family: Oswald, sans-serif;
  font-size: 1.8em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 300;
  color: #4c4c4c;
  padding-right: 20px;
}

header figure {
  display: inline-block;
  padding: 0px 20px;
}

header img {
  height: 60px;
}

article {
  width: 100%;
  padding: 20px;
}

article h3 {
  font-family: Oswald, sans-serif;
  font-size: 1.5em;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 1px;
  font-weight: 200;
  padding: 10px 0px;
}

article ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.projects li {
  margin-top: 20px;
  margin-right: 20px;
  display: block;
  border: 1px solid lightgrey;
}

.projects li a {
  width: 100%;
  height: 100%;
  display: block;
}


.projects li figure {
  cursor: pointer;
  /* border: 1px solid red; */
  background-size: cover;
  background-position: center;
  display: block;
  width: 400px;
  height: 250px;
}

.projects li h4 {
  font-family: Oswald, sans-serif;
  color: black;
  background-color: lightgrey;
  font-size: 1em;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 200;
  padding: 2px;
}

.details li {
  margin: 20px;
  /* border: 1px solid red; */
  background-size: cover;
  background-position: center;
  display: inline-block;
  width: 800px;
  height: 550px;
}

.about article {
  text-align: justify;
  max-width: 660px;
  line-height: 32px;
  font-size: 18px;
}

.contact ul {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}

.contact li {
  display: inline-block;
  padding: 5px;
}

footer {
  background-color: #333333;
  font-size: 0.8em;
  padding: 20px 0px;
}

footer ul {
  display: flex;
  justify-content: center;
}

footer li {
  margin: 10px 5px;
}

footer figure.icon {
  fill: white;
  width: 25px;
}

footer p {
  width: 100%;
  font-size: 0.8em;
  text-align: center;
  color: white;
}

footer a {
  color: #aaaaaa;
}