body {
  background-color: #121212;
}

.NavigationBar {
  width: inherit;
  height: 80px;
  background-color: #121212;
  color: white;
  padding: 20px;
  padding-right: 50px;
  padding-left: 50px;
}
.NavigationBar h2 {
  display: inline-block;
}
.NavigationBar a {
  display: inline-block;
  float: right;
  color: grey;
  margin-right: 10px;
  font-size: 20px;
}

.NavigationBar a:active {
  color: white;
  text-decoration: none;
}
.NavigationBar a:hover {
  border-bottom: 3px solid red;
  padding-bottom: 10px;
  text-decoration: none;
}

.activeLink {
  color: white !important;
}

.MainContainer {
  width: 50%;
  height: 500px;
  background-color: rgb(12, 12, 12);
  color: white;
  padding: 50px;
  padding-top: 125px;
  float: left;
}

.SkillsSection {
  height: 500px;
  width: 20%;
  background-color: #1c1c1c;
  color: white;
  padding: 50px;
  float: right;
}
.Picture {
  height: 500px;
  width: 20%;
  background-color: rgb(12, 12, 12);
  color: white;
  padding: 50px;
  padding-top: 100px;
  float: left;
}
.Picture img {
  width: 15vw;
  max-width: 250;
  border-radius: 50%;
  display: inline-block;
}

.Projects {
  width: 100%;
  background-color: #121212;
  color: white;
  text-align: center;
  padding: 50px;
}

.ProjectHeader {
  width: 100%;
  height: 200px;
  background-color: #121212;
  color: white;
  text-align: center;
  padding: 50px;
}

.card {
  margin: 40px;
  display: inline-block;
}

.ProjectContainer {
  width: 80%;
  height: 500px;
  background-color: #1c1c1c;
  color: white;
  padding: 50px;
  padding-top: 50px;
  float: left;
}

.ProjectContaineralt {
  width: 80%;
  height: 500px;
  background-color: #121212;
  color: white;
  padding: 50px;
  padding-top: 50px;
  float: left;
}

.ProjectImage {
  width: 20%;
  height: 500px;
  background-color: rgb(255, 255, 255);
  color: Black;
  float: left;
  object-fit: fill;
}

.ProjectImage img {
  width: 100%;
  height: 500px;
  padding: 0;
  padding-top: 0;
  float: left;
  object-fit: cover;
}

.ProjectDescription {
  width: 50%;
  height: 100%;
  position: relative;
}
@media screen and (min-width: 961px) {
  div.MainContainer p {
    font-size: 18px;
    width: 100%;
  }
  div.MainContainer h1 {
    font-size: 18px;
  }
  div.SkillsSection {
    width: 30%;
  }
  .ProjectVideo iframe {
    width: 32vw;
    height: 32vh;
    float: right;
    position: relative;
    bottom: 425px;
  }
}

/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */
@media screen and (max-width: 960px) {
  div.MainContainer {
    width: 100%;
    height: auto;
    padding-top: 20px;
  }
  div.SkillsSection {
    width: 100%;
    height: auto;
  }
  div.MainContainer h1 {
    font-size: 18px;
  }
  div.Picture {
    visibility: hidden;
    clear: both;
    float: left;
    margin: 10px auto 5px 20px;
    width: 0%;
    display: none;
  }

  .NavigationBar h2 {
    font-size: 4vw;
  }

  .NavigationBar a {
    color: grey;
    margin-right: 10px;
    font-size: 2.5vw;
  }
  .ProjectContainer,
  .ProjectContaineralt {
    width: 100%;
    padding-top: 35px;
    height: auto;
    order: 2;
  }
  .ProjectDescription {
    width: 100%;
    height: auto;
    position: relative;
    margin-bottom: 10px;
  }
  .d-flex {
    flex-direction: column;
  }
  .ProjectVideo {
    float: left;
    width: 60vw;
    height: 25vh;
  }

  .ProjectVideo iframe {
    width: 60vw;
    height: 25vh;
  }
  .ProjectImage {
    order: 1;
    width: 100%;
  }
  .ProjectHeader {
    padding: 150px;
  }
}

@media screen and (orientation: landscape) and (max-width: 960px) {
  .ProjectVideo {
    width: 60vw;
    height: 25vh;
    min-height: 200px;
  }
  .ProjectVideo iframe {
    width: 60vw;
    height: 25vh;
    min-height: 200px;
  }
}
