* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html,
body {
  display: flex;
  flex-direction: column;
}

main {
  display: flex;
  height: 100vh;
  width: 100%;
}

#welcome-section {
  display: flex;
  width: 40%;

  flex-direction: column;
  justify-content: center;
  align-items: center;

  background-color: rgb(0, 51, 153);
  background-image: linear-gradient(
    45deg,
    rgb(23, 81, 197) 0%,
    rgb(0, 51, 153) 100%
  );
  border-style: solid;
  border-color: white;
  border-width: 1px;
}

#projects {
  display: flex;
  flex-wrap: wrap;
  width: 60%;
}

.project-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background-color: rgb(0, 51, 153);
  background-image: linear-gradient(
    45deg,
    rgb(23, 81, 197) 0%,
    rgb(0, 51, 153) 100%
  );

  height: 50%;
  width: 50%;

  border-color: white;
  border-width: 1px;
  border-style: solid solid solid solid;
}

.project-tile:hover {
  background-color: white;
  background-image: linear-gradient(
    45deg,
    rgb(235, 235, 235) 0%,
    rgb(168, 154, 154) 100%
  );
  color: rgb(0, 51, 153);
}

.project-tile a {
  color: white;
  text-decoration: none;
}

.project-tile:hover a {
  color: rgb(0, 51, 153);
}

#navbar {
  width: 100%;
  height: 6vh;
  background-color: #000;
  background-image: linear-gradient(62deg, #3a3d40 0%, #181719 100%);
  top: 0;
  left: 0;
  z-index: 10;
  position: fixed;

  display: flex;
  justify-content: flex-end;
}

#nav-links {
  display: flex;
  align-items: center;
  font-size: 26px;
  padding-right: 50px;
}

#navbar a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  padding-left: 60px;
}

#contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 13vh;
  background-color: #000;
  background-image: linear-gradient(62deg, #3a3d40 0%, #181719 100%);
  color: white;
  font-size: 28px;
}

#contact-text {
  padding-bottom: 10px;
}

#contact-links a {
  color: white;
  padding-right: 14px;
}

@media (max-width: 1000px) {
  #nav-links {
    font-size: 21px;
  }

  #contact {
    font-size: 21px;
  }
  main {
    flex-wrap: wrap;
  }

  #welcome-section {
    width: 100%;
  }

  #projects {
    width: 100%;
  }
}

@media (max-width: 800px) {
  main {
    flex-wrap: nowrap;
    flex-direction: column;
  }

  #welcome-section {
    flex: 1;
  }

  #projects {
    flex: 3;
    flex-wrap: nowrap;
    flex-direction: column;
  }

  .project-tile {
    width: 100%;
    height: 50%;
  }
}
