* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --superdark-color: #0f0f0f;
  --darker-color: #131313;
  --dark-color: #1e1e1e;

  --lighter-color: #e2e2e2;
  --light-color: #878787;
  --selected-color: #eca63d;
  --project-color: #257dcf;

  --title-font: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  --text-font: "Arial";
}

.selected-page {
  color: var(--selected-color);
}

body {
  font-family: var(--title-font);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--darker-color);

  background-image: url("Images/blackbackground.jpg");
  background-repeat: repeat;
  background-size: 650px;
}

a {
  text-decoration: none;
  color: var(--lighter-color);
}
h1 {
  text-decoration: none;
  color: var(--lighter-color);
  font-size: 50px;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.navbar {
  background: var(--darker-color);
  padding: 10px;
  box-shadow: 0px 0px 15px 15px #000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .container .logo a {
  font-size: 50px;
  text-wrap: nowrap;
}

.navbar .main-menu ul {
  display: flex;
  align-items: center;
}

.navbar ul li a {
  padding: 5px 20px;
  display: block;
  font-size: 30px;
  transition: 0.3s;
}

.navbar ul li a:hover {
  color: var(--light-color);
  font-size: 36px;
}

.main {
  width: 60%;
  min-width: 700px;
  overflow-y: visible;

  margin: 0 auto;

  display: flex;
  align-items: center;
  flex-direction: column;

  background-color: var(--dark-color);

  box-shadow: 0px 0px 20px 20px #000;
  box-shadow: inset 0px 0px 20px 20px;
}

.page-title {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;

  padding-top: 5%;
  padding-bottom: 1%;
  width: 100%;
  height: 150px;
}
.page-title h1 {
  margin: -30px 0px;
}

.title-line {
  width: 65%;
  height: 2px;

  background-color: var(--selected-color);
}

.project {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  height: auto;
  max-width: 80%;
  padding-bottom: 30px;
}

.image-container {
  position: relative;
}

.projectImage {
  box-shadow: 0px 0px 8px 8px rgb(0 0 0 / 30%);
  display: block;
}

.image-title {
  width: 45%;
  height: 33%;

  position: absolute;
  top: 10px;
  right: 20px;

  color: var(--lighter-color);

  text-align: center;
  line-height: 55px;
  font-size: 50px;
}
.image-title-text {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  padding-right: 10px;
  padding-bottom: 10px;
}
.TimTim {
  margin-left: 50px;
}

.image-text {
  position: absolute;
  width: 80%;

  bottom: 10px;
  left: 10px;
  color: var(--lighter-color);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  font-size: 22px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 5px;
}

.image-container:hover .image-text {
  opacity: 1;
}

.footer {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  bottom: 0;
  position: relative;
  padding-top: 10px;
  margin-bottom: 30px;
}

.about-me-div {
  width: 60%;
  height: 27%;
  padding-top: 25px;
  align-self: center;
}

.about-me-text {
  color: rgb(187, 187, 187);
  font-weight: 1;
  font-size: large;
  font-family: var(--text-font);
}

.resume {
  display: flex;
  justify-content: center;

  padding-top: 50px;
  padding-bottom: 20px;
  font-size: 30px;
  transition: 0.5s;
}

.resume:hover {
  color: var(--selected-color);
  transition: 0.5s;
  font-size: 40px;
}

.link-image {
  margin-left: 5px;
  margin-right: 5px;
}

.project-description {
  display: flex;
  flex-direction: column;

  width: 100%;

  margin-bottom: 30px;
}

.project-visual {
  display: flex;
  align-self: center;
  align-items: center;
  max-width: 60%;
}
.project-text {
  width: 65%;

  display: flex;
  flex-direction: row;

  margin-top: 20px;
  align-self: center;
}

.project-info {
  width: 40%;

  font-size: 20px;
  color: var(--selected-color);
}

.project-info-item {
  color: var(--lighter-color);
  font-size: 15px;
  margin-left: 10px;
  margin-bottom: 15px;
  font-family: var(--text-font);
}

.project-overview {
  width: 60%;
}
.project-overview-title {
  font-size: 20px;
  color: var(--selected-color);
}

.project-overview-text {
  font-family: var(--text-font);
  color: var(--lighter-color);
  font-size: 15px;
  margin-bottom: 20px;
}

.videowrapper > video {
  align-self: center;
  width: 100%;
  object-fit: cover;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px 5px 0px;
}

.container-small {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-link {
  color: var(--project-color);
}
