@import url("https://fonts.googleapis.com/css?family=Maven+Pro:400,700");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 1.2rem;
  scroll-behavior: smooth;

  color: hsla(0, 0%, 0%, 0.8);
}

body {
  font-family: "Maven Pro", sans-serif;
  padding-top: 40px;
}

#navbar {
  display: flex;
  justify-content: center;
  width: 100%;
  box-shadow: 0 2px 0 rgba (0, 0, 0, 0.4);
  z-index: 0;
  position: fixed;
}

a {
  text-decoration: none;
  color: hsla(0, 0%, 0%, 0.8);
}

.nav-link {
  display: inline;
  margin-right: 2rem;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 550;
  text-transform: uppercase;
  color: rgb(49, 48, 47);
}

.nav-link a:hover {
  background: #000;
  color: #fff;
  padding: 0 2px 10px 2px;
  margin: 5px;
}

nav {
  list-style: none;
}

.nav-img {
  width: 25px;
  align-self: center;
  margin-right: 20px;
}

.name {
  margin-right: 100px;
  font-size: 14px;
  align-self: center;
}

.welcome-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-left: 100px;
  height: 100vh;
  margin-top: 100px;
}

.about p {
  width: 300px;
}

h1 {
  display: block;
  font-size: 2em;
  margin-block-start: 3em;
  margin-block-end: 0.67em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  z-index: 1;
}

.projects {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects h2 {
  text-align: center;
  margin: 0 auto;
  width: 30%;
}
.projects a {
  color: rgb(209, 206, 15);
}

.row {
  margin-top: 50px;
}

.item {
  width: 45%;
  margin: 20px auto;
}

.item img {
  border: 25px transparent #eeee;
  border-radius: 4px;
  box-shadow: 0 0 0 1px hsl(0deg 0% 100% / 10%), 0 2px 4px 0 rgb(14 30 37 / 30%);
  transition: box-shadow 0.3s ease-out;
  cursor: pointer;
  display: block;
}

.connect {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
}
.connect h3 {
  font-size: 20px;
}

.contact li {
  display: inline-flex;
  margin: 50px 50px 20px 0px;
}

.contact li a {
  font-size: 50px;
  color: #000;
}

footer {
  text-align: center;
  margin-top: 50px;
}

@media only screen and (max-width: 1400px) {
  .projects {
    margin-top: 300px;
  }
}

@media only screen and (max-width: 400px) {
  #navbar {
    justify-content: center;
    max-width: 360px;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  .name {
    margin-right: 5px;
    margin-left: 10px;
  }

  .nav-link {
    display: inline;
    margin-right: 0;
    align-items: center;
    font-size: 14px;
    padding: 5px 0;
    text-align: center;
  }
  .nav-link:nth-child(5) {
    display: none;
  }

  .nav-img {
    margin: 0 auto;
    text-align: center;
  }

  .welcome-section {
    margin-left: 0;

    text-align: center;
    height: 50%;
    justify-content: center;
    align-items: center;
  }

  #img-header {
    display: none;
  }

  .projects h2 {
    font-size: 20px;
    width: 150px;
    text-align: center;
  }

  .item {
    width: 60%;
  }
  .contact {
    padding: 20px 0;
    margin-right: 20px;
  }

  .contact h3 {
    width: 50%;
  }
  .contact li {
    display: inline;
    margin: 0 5px;
  }

  .contact li a {
    font-size: 20px;
    color: #000;
  }
}
