/* general style and fonts */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto', Sans-Serif;
  color: #002627;
}

a,
p,
li {
  font-family: 'Lora', Serif;
  color: #002627;
}

body {
  background-color: #cdcdcd;
}

h2 {
  margin: 2em 0;
  text-align: center;
}

p {
  line-height: 2em;
}

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 2px solid;
}

section:first-child{
  border: none;
}

section p {
  max-width: 55vw;
  text-align: center;
}

main div.project {
  height: 300px;
  background-color: #3f3f3f;
  border-radius: 8px;
  margin: 30px 45px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-width: 60vw;
}

main div.project:hover {
  transform: scale(0.95);
  transition: transform 0.25s;
  cursor: pointer;
}

main div p {
  width: inherit;
}
