﻿nav, footer {
  z-index: 1000;
}

main {
  margin-top: 60px;
}

footer {
  background: #F6F2F0;
  width: 100%;
  height: 30px;
  position: fixed;
  bottom: 0;
  text-align: center;
}
footer p {
  padding-top: 3px;
}

nav {
  width: 100vw;
  padding: 6px 40px;
  background: #F6F2F0;
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
}
nav a.home {
  font-family: "BrownSugar";
  font-size: 32px;
  letter-spacing: 2px;
}
nav .links {
  margin: auto 0;
  display: flex;
  gap: 32px;
}
nav .links a {
  margin: auto 0;
}
nav .links .contact-btn {
  padding: 3px 15px;
  border: none;
  border-radius: 6px;
  background: #B88257;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.6px;
  transition: ease-in-out 100ms;
}
nav .links .contact-btn:hover {
  background: #C6936A;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px #92633D;
}
nav .links .contact-btn:active {
  transform: translateY(1px);
  box-shadow: inset 1px 1px 20px #92633D;
}

.profile {
  grid-column-start: 1;
  width: 100%;
  max-width: 33%;
  height: calc(100vh - 60px);
  padding: 20px;
  background: #F6F2F0;
  position: fixed;
  top: 60px;
}
.profile-container {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
}
.profile-container .image-container {
  margin: 0 auto;
  width: 80%;
  max-width: 400px;
  margin-bottom: 25px;
}
.profile-container .image-container img {
  width: 100%;
  border-radius: 15px;
}
.profile-container h2 {
  margin-bottom: 20px;
}
.profile-container .description {
  width: 80%;
  margin: 0 auto;
}
.profile-container .description p {
  font-size: 18px;
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(3, 33% [col-start]);
}
.portfolio .content {
  grid-column-start: 2;
  grid-column-end: end;
  height: calc(100vh - 90px);
  padding: 40px 60px;
  background: #ffffff;
  box-shadow: inset 0 0 20px lightgrey;
}
.portfolio .content .about-container {
  width: 90%;
  margin: 40px auto;
  margin-top: 15px;
}
.portfolio .content .about-container ul li {
  padding-bottom: 8px;
}
.portfolio .content .skills-container {
  display: flex;
  justify-content: space-evenly;
  margin-top: 20px;
}
.portfolio .content .skills-container .skills-card {
  width: 250px;
  height: 125px;
  border-radius: 15px;
  background: #F6F2F0;
  padding: 20px;
}
.portfolio .content .skills-continued {
  margin: 0 auto;
  margin-top: 40px;
}
.portfolio .content .skills-continued h3 {
  color: #B88257;
  text-align: center;
  margin-bottom: 16px;
}
.portfolio .content .skills-continued ul {
  width: 75%;
  margin: 0 auto;
}
.portfolio .content .skills-continued ul li {
  margin-bottom: 16px;
}

.contact {
  display: grid;
  grid-template-columns: repeat(3, 33% [col-start]);
}
.contact-container {
  grid-column-start: 2;
  grid-column-end: end;
  height: calc(100vh - 90px);
  padding: 40px 60px;
  background: #ffffff;
  box-shadow: inset 0 0 20px lightgrey;
}
.contact-container .contact-links {
  display: flex;
  justify-content: flex-start;
  gap: 32px;
  width: 100%;
  margin: 0 auto;
}
.contact-container form {
  width: 100%;
  margin: 40px 0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 1px 5px 10px lightgrey;
  background: #F6F2F0;
  font-size: 18px;
}
.contact-container form label {
  font-weight: bold;
  color: #423429;
  margin-bottom: 4px;
}
.contact-container form input {
  width: 100%;
  margin-bottom: 24px;
  padding: 4px 8px;
  border: none;
  border-radius: 6px;
  color: #423429;
}
.contact-container form .name-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.contact-container form textarea {
  width: 100%;
  height: 200px;
  padding: 4px 8px;
  border: none;
  border-radius: 6px;
  resize: none;
  color: #423429;
}
.contact-container form .btn-container {
  width: 100%;
  text-align: center;
}
.contact-container form .btn-container button {
  padding: 3px 15px;
  border: none;
  border-radius: 6px;
  margin-top: 20px;
  background: #B88257;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.6px;
  transition: ease-in-out 100ms;
}
.contact-container form .btn-container button:hover {
  background: #C6936A;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px #92633D;
}
.contact-container form .btn-container button:active {
  transform: translateY(1px);
  box-shadow: inset 1px 1px 20px #92633D;
}
.contact-container .contact-links {
  margin: 0 auto;
}
.contact-container .contact-links div {
  margin-bottom: 8px;
}
.contact-container .contact-links a {
  font-size: 18px;
}
.contact-container .contact-links a:hover .icon path {
  fill: #B88257;
}
.contact-container .contact-links .icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}
.contact-container .contact-links .icon path {
  fill: #423429;
  border-radius: 15px;
  transition: ease-in-out 200ms;
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 33% [col-start]);
}
.projects .sidebar {
  grid-column-start: 1;
  width: 100%;
  max-width: 33%;
  height: calc(100vh - 60px);
  padding: 20px;
  background: #F6F2F0;
  position: fixed;
  top: 60px;
}
.projects .sidebar-container {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  margin: 0 auto;
  width: 87%;
  text-align: center;
}
.projects h1 {
  text-align: center;
}
.projects-container {
  grid-column-start: 2;
  grid-column-end: end;
  padding: 40px;
  padding-bottom: 60px;
  background: #ffffff;
  box-shadow: inset 0 0 20px lightgrey;
}
.projects .project {
  display: flex;
  justify-content: center;
  gap: 32px;
  width: 100%;
  margin-bottom: 40px;
  padding: 20px;
}
.projects .project.even {
  flex-direction: row-reverse;
}
.projects .project h2 {
  margin-bottom: 16px;
  text-align: center;
}
.projects .project h3 {
  font-family: "Raleway";
  font-size: 16px;
  margin-bottom: 16px;
}
.projects .project .image-wrapper {
  width: 100%;
  text-align: center;
  margin: auto 0;
}
.projects .project .image-wrapper img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  margin: auto 0;
}
.projects .project .content-wrapper {
  width: 90%;
  max-width: 800px;
}
.projects .project .bold {
  font-weight: bold;
}

@font-face {
  font-family: "BrownSugar";
  font-weight: 400;
  src: url(../fonts/BrownSugar.ttf) format("truetype");
}
@font-face {
  font-family: "DMSerifDisplay-Regular";
  font-weight: 400;
  src: url(../fonts/DMSerifDisplay-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "DMSerifDisplay-Italic";
  font-weight: 400;
  font-style: italic;
  src: url(../fonts/DMSerifDisplay-Italic.ttf) format("truetype");
}
@font-face {
  font-family: "Gloock";
  font-weight: 400;
  src: url(../fonts/Gloock.ttf) format("truetype");
}
@font-face {
  font-family: "Millane";
  font-weight: 400;
  src: url(../fonts/Millane.ttf) format("truetype");
}
@font-face {
  font-family: "Raleway";
  font-weight: 400;
  src: url(../fonts/Raleway.ttf) format("truetype");
}
@font-face {
  font-family: "Raleway-Italic";
  font-weight: 400;
  font-style: italic;
  src: url(../fonts/Raleway-Italic.ttf) format("truetype");
}
body {
  font-family: "Raleway";
  font-size: 16px;
}

h1, h2, h3, h4, h5 {
  font-family: "Gloock";
  line-height: 120%;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 26px;
}

h4 {
  font-size: 22px;
}

h5 {
  font-size: 20px;
}

p {
  line-height: 130%;
}

a {
  text-decoration: none;
  color: #423429;
  transition: ease-in-out 100ms;
}
a:hover {
  color: #9D6437;
}
