body {
  background-color: #f2f2f2;
  font-size: 20px;
  display: grid;
  grid-template-columns: min(max(30%, 300px), 400px) auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease-in-out;
  &:hover {
    color: #696969;
  }
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 20px;
}

footer {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

nav.main-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-65%);
  a:hover {
    color: #696969;
  }
}

nav.main-nav header img {
  border-radius: 50%;
  object-fit: cover;
  width: 200px;
  height: 200px;
}

.not-found {
  text-align: center !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.current-page {
  font-weight: 500;
}

.box-1 {
  grid-column: 1;
  margin-left: auto;
  margin-right: auto;
  width: 235px;
}

.box-2 {
  grid-column: 2;
  margin-top: 150px;
  margin-right: 50px;
  max-width: 900px;
  opacity: 0;
  transition: opacity 1.25s;
}

/* Fonts */

h2 {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.menu-item, body {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

h4, h5 {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.contact {
  display: flex;
  margin-bottom: 20px;
  will-change: transform;
}

.contact a {
  margin-left: 5px;
  margin-right: 5px;
  transition: transform 0.1s ease-in-out;
  &:hover {
    transform: translateY(-5px);
  }
}

.contact img {
  width: 45px;
  height: 45px;
}

#edu {
  display: block;
  width: 300px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

header {
  text-align: center;
  line-height: 0;
}

p {
  text-align: justify;
}

.subjects {
  font-size: 20px !important;
  text-align: center !important;
  font-weight: 350 !important;
}

h2 {
  font-size: 40px;
  line-height: 40px;
  text-align: center;
}

h3 {
  font-size: 25px;
  text-align: center;
}

h4 {
  font-size: 30px;
  text-align: center;
}

h5 {
  font-size: 15px;
  text-align: center;
}

ul.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.menu-item {
  cursor: pointer;
  padding: 0px 2px;
  font-size: 26px;
}

.menu-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.menu-item span {
  display: inline-block;
  will-change: transform;
}

