/* Digital Ocean reset https://www.digitalocean.com/community/tutorials/css-minimal-css-reset */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ol,
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}

/* global styles */

body {
  background-color: #ece0ee;
  min-height: 100vh;
  margin: 0;
  font-family: "Merriweather", "Times New Roman", Times, serif;
  color: black;
}
main {
  padding-top: 50px;
}
h2 {
  text-align: center;
  padding: 20px;
  font-family: "Fira Sans", Arial, Helvetica, sans-serif;
  font-size: 30px;
}
section {
  padding-top: 50px;
}
.container {
  max-width: 800px;
  margin: 0 auto;
}
main p {
  text-align: justify;
  letter-spacing: 1px;
  line-height: 1.8;
  word-spacing: 2px;
}

/* title */

#emoji {
  font-size: 100px;
}
#title {
  text-align: center;
}
#title h1 span {
  background-color: #845ec2;
  color: white;
  font-size: 50px;
  padding: 10px;
  margin: 10px;
  display: inline-block;
  transform: rotate(-3deg);
  font-family: "Fira Sans", Arial, Helvetica, sans-serif;
}

/* styles for navbar */

header {
  background-color: #845ec2;
  width: 100%;
  position: fixed;
  padding: 20px;
  z-index: 1;
}
nav {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  font-size: 30px;
  font-family: "Fira Sans", sans-serif;
  text-decoration: none;
}
#right-nav {
  align-self: flex-end;
}
nav a {
  text-decoration: none;
  color: white;
  padding: 0 10px;
}
nav a:hover {
  text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-decoration: underline;
}

/* about me  */

#about p {
  padding-bottom: 20px;
}
div.polaroid {
  width: 284px;
  padding: 10px 10px 20px 10px;
  border: 1px solid #bfbfbf;
  background-color: white;
  box-shadow: 10px 10px 5px #aaaaaa;
  display: inline-block;
}
#about-images {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

/* projects */

.projects-flexbox {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.projects-item {
  padding: 12px;
  text-align: center;
  border: 2px solid black;
  border-radius: 6px;
  margin: 10px;
  text-decoration: none;
  color: black;
  position: relative;
  box-shadow: 5px 7px 5px;
  background-color: white;
}
.projects-item:hover {
  text-decoration: underline;
  cursor: pointer;
}
.projects-item:active {
  color: black;
  box-shadow: none;
  top: 5px;
}
.projects-item:visited {
  color: purple;
}

/* form */

form {
  background: #fff;
  text-align: center;
  padding: 20px 0 20px 0;
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.25);
  margin: 20px 0 40px 0;
}
.fact-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
.fact-picker {
  text-align: center;
}
label:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/* styles for footer */

footer {
  justify-content: space-around;
  background-color: #845ec2;
  color: white;
  padding: 10px 0 50px 0;
  font-family: "Fira Sans", Arial, Helvetica, sans-serif;
}
footer li {
  list-style-type: none;
  padding: 0 10px 0px 10px;
}
#footer-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
