html {
  scroll-behavior: smooth;
}

body {
  background-color: #202124;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
    font-size: 1.3rem;
  color: #f5f2e7;
  margin: 0;
}

header {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: end;
}

header a {
  margin-top: 5px;
  text-decoration: none;
  color: #f5f2e7;
  padding: 5 25 5 25;
  transition: color .3s ease-in-out, background-color .3s ease-in-out;;
}

header a:hover {
  background-color: #f5f2e7;
  color: #202124;
}

.title {
  text-align: center;
}

hr{
  width: 50%;
}

/*
    ME
*/
.title {
  padding-top: 1%;
}
.me {
  min-height: 95vh;
  min-width: 100%;
  border-bottom: 1px solic white;
  border-width: 50%;
}

.mePanel {
  width: 50%;
  text-align: center;
}

.mePanel2 {
  width: 40%;
}

.mePanel2 a {
  color: white;
}

/*
    Skills
*/
.skills{
  min-height: 100vh;
}

.skillsFlex {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.skills h1 {
  text-align: center;
}

.skillsPanel1 {
  width: 50%;
  margin-left: 20px;
}

.skillsPanel1 a {
  text-decoration: underline;
  color: white;
}

.skillsPanel2 {
  width: 40%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(150px, auto);
}

/*
    Projects
*/
.projects{
  min-height: 95vh;
  text-align: center;
}

.projectsGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(150px, auto);
}

.projectPane {
  background-color: grey;
  margin: 20px;
  border: 1px solid white;
  border-radius: 5px;
  padding: 5px;
}

.projects a {
  text-decoration: underline;
  color: white;
}

.projects p {
  font-size: 1rem;
}

/*
    Contact
*/
.resume a{
  text-decoration: underline;
  color: white;
}
.contact{
  text-align: center;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1rem;
}

.contact a {
  margin-left: 10px;
  margin-right: 10px;
}

/*
    Footer
*/
footer{
  font-size: 0.6rem;
  text-align: center;
  border-top: 1px solid white;
  display: flex;
  justify-content: space-between;
}

footer p {
  margin-left: 20px;
}

footer a {
  color: white;
  text-decoration: underline;
  margin-right: 20px;
}

/*
  Animation on "Hi I'm Martin"
*/
.ml11 {
  font-weight: 700;
  font-size: 3.5em;
}

.ml11 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.1em;
  padding-right: 0.05em;
  padding-bottom: 0.15em;
}

.ml11 .line {
  opacity: 0;
  position: absolute;
  left: 0;
  height: 100%;
  width: 3px;
  background-color: #fff;
  transform-origin: 0 50%;
}

.ml11 .line1 {
  top: 0;
  left: 0;
}

.ml11 .letter {
  display: inline-block;
  line-height: 1em;
}

/*
Scrollbar
*/
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #f5f2e7;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
