* {
  box-sizing: border-box;
}
body {
  color: #2e2e2e;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  margin: 0;
}
body h1 {
  text-align: center;
  font-size: 40px;
}
body h2 {
  text-align: center;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  font-size: 24px;
}
body .background {
  background-image: url(images/hero.jpg);
}
body .background img {
  width: 100%;
  opacity: 70%;
}
#breadcrumb {
  color: #2e2e2e;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  padding: 20px 0;
}
#breadcrumb a {
  text-decoration: none;
  color: #2e2e2e;
}
#breadcrumb a:hover {
  color: hsl(0, 0%, 67%);
  text-decoration: underline;
}
#breadcrumb a + a::before {
  content: "/\00a0";
  color: #2e2e2e;
  font-weight: bold;
}
.sidebar {
  min-height: 200px;
  width: 0;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #2e2e2e;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 50px;
  border-radius: 0px 0px 10px 0px;
}
.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: hsl(0, 0%, 67%);
  display: block;
  transition: 0.3s;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
}
.sidebar a:hover {
  color: white;
}
.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}
.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #2e2e2e;
  color: hsl(0, 0%, 76%);
  padding: 10px 15px;
  border: none;
  border-radius: 15px;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
}
.openbtn:hover {
  background-color: hsl(0, 0%, 67%);
  color: #2e2e2e;
}
main {
  transition: margin-left 0.5s;
  padding: 20px;
}
main article {
  font-size: 24px;
  background-color: #c1e7d0;
  padding: 20px;
  border-radius: 15px;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
}
main article p {
  font-family: Tahoma, Verdana, Segoe, sans-serif;
}
.content {
  padding: 20px 100px;
}
.footer {
  text-align: center;
  margin: 0 auto;
}
@media screen and (max-width: 800px) {
  article {
    grid-column: span 2;
    padding: 20px;
  }
}
@media screen and (max-width: 500px) {
  article {
    grid-column: span 2;
    padding: 20px;
    background-color: #c1e7d0;
    border-radius: 15px;
  }
  article h2 {
    text-align: center;
  }
}
.codebox {
  padding: 50px;
}
.codebox #code1,
.codebox #code2,
.codebox #code3 {
  background-color: hsl(0, 0%, 76%);
  border: 2px solid #2e2e2e;
  padding: 20px;
  width: 1300px;
}
#gallery {
  position: relative;
  margin: auto;
  display: inline-block;
  justify-content: center;
  align-items: center;
}
#gallery a img {
  width: 300px;
  margin: 20px;
}
#contact {
  padding: 20px;
  max-width: 600px;
  margin: auto;
}
#contact form {
  display: flex;
  flex-direction: column;
}
#contact form label {
  margin-top: 20px;
}
#contact form input,
#contact form textarea {
  padding: 8px;
  font-size: 1rem;
  margin-top: 5px;
}
#contact form button {
  margin-top: 15px;
  padding: 20px;
  font-size: 1rem;
  background-color: #2e2e2e;
  color: hsl(0, 0%, 67%);
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
#contact form button:hover {
  background-color: hsl(0, 0%, 67%);
  color: #2e2e2e;
}
.gallinks {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.gallinks img {
  max-width: 50%;
  border: 2px solid #2e2e2e;
}
#websites {
  display: flex;
  flex-direction: row;
  text-align: center;
  justify-content: space-evenly;
  padding: 100px;
}
#websites img {
  border: 2px solid #2e2e2e;
  height: 200px;
}
#resume {
  text-align: center;
  justify-content: space-evenly;
  padding: 100px;
}
.links {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 50px;
}
.links a {
  appearance: none;
  background-color: #c1e7d0;
  border: 2px solid hsl(0, 0%, 67%);
  border-radius: 15px;
  color: #2e2e2e;
  cursor: pointer;
  display: inline-block;
  font-family: Tahoma, Verdana, Segoe, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 60px;
  margin: 0;
  min-height: 60px;
  min-width: 0;
  outline: none;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  width: 150px;
}
.links a:hover {
  box-shadow: hsl(0, 0%, 67%) 0 8px 15px;
  transform: translateY(-2px);
}
.links a:active {
  box-shadow: none;
  transform: translateY(0);
}
fieldset {
  border-radius: 15px;
}
