@import "https://www.w3schools.com/w3css/4/w3pro.css";
@import "https://www.w3schools.com/lib/w3-theme-indigo.css";
@import "https://fonts.googleapis.com/css2?family=Roboto";

body,
h2,
h3,
h4 {
  font-family: "Roboto", sans-serif;
}

h3 {
  margin-top: 16px;
  margin-bottom: 8px;
}

h4 {
  margin-top: 8px;
  margin-bottom: 8px;
}

p {
  margin-top: 16px;
  margin-bottom: 16px;
}

.main {
  display: flex;
  flex-wrap: wrap;
}

/* about (hello friend) */

.contact {
  font-size: x-small;
  margin-top: -8px;
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.contact>* {
  width: fit-content;
  margin-top: 8px;
  margin-right: 8px;
}

.connect {
  align-items: center;
  display: flex;
}

.connect>* {
  margin-right: 8px;
}

.connect p {
  margin-top: 4px;
  margin-bottom: 4px;
}

.connect a {
  fill: #fff;
  display: flex;
}

.linkedin:hover {
  background-color: #fff;
  fill: #0a66c2;
}

.github:hover {
  background-color: #fff;
  fill: #1B1F24;
}

.technologies {
  list-style: none;
  margin-top: -16px;
  margin-bottom: 16px;
  padding: 0px;
  display: flex;
  flex-wrap: wrap;
}

.technologies li {
  margin-top: 16px;
  margin-right: 16px;
}

.technologies li a {
  display: flex;
}

.technologies li a img {
  filter: grayscale(0.5);
  width: 48px;
  height: 48px;
}

.technologies li a img:hover {
  filter: grayscale(0);
}

/* showcase (current projects) */

.showcase {
  width: 100%;
}

.projects {
  margin-top: -16px;
  display: flex;
  flex-wrap: wrap;
}

.projects a {
  text-decoration: none;
  width: 100%;
  margin-top: 16px;
}

.preview {
  pointer-events: none;
  width: 100%;
  height: 608px;
  display: block;
  border: none;
}

/* for medium and large screens */

@media only screen and (min-width: 864px) {

  .main {
    margin-right: -16px;
  }

  .main>div {
    margin-right: 16px;
  }

  .about {
    width: 816px;
  }

  .contact {
    font-size: medium;
    flex-direction: row;
  }

  .ghost {
    display: none;
  }

  .showcase {
    width: auto;
  }

  .projects {
    margin-right: -16px;
  }

  .projects a {
    margin-right: 16px;
    width: 400px;
  }

}