* {
  font-family: "Spline Sans", sans-serif;
  color: white;
  list-style: none;
  font-weight: 200;
  line-height: 1.4;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

/* navigation */

.nav {
  display: flex;
  justify-content: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #373e40;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.nav-list {
  display: flex;
  margin-right: 2rem;
}

@media (max-width: 28.75em) {
  .nav {
    justify-content: center;
  }

  .nav-list {
    margin: 0 1rem;
  }
}

nav ul {
  width: 30vw;
  display: flex;
  flex-direction: row;
}

.nav a {
  display: block;
  font-size: 1.5rem;
  padding: 1.8rem;
  text-decoration: none;
  color: white;
  font-weight: 600;
}

nav li:hover {
  background-color: #1ea896;
  transform: scale(1.2);
}

/* welcome box */

#welcome-section {
  position: relative;
  height: 75vh;
  background-color: #ff4e33;
}

#ws-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

#fili {
  font-size: 3.4rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

#developer {
  font-weight: 400;
  font-style: italic;
}

/* portfolio block */

.projects-section {
  background-color: #1ea896;
  position: relative;
  height: 80vh;
  text-align: center;
  font-size: 2.9rem;
  overflow-y: scroll;
  scroll-behavior: smooth;
  padding: 3rem 0 2rem 0;
}

@media (max-width: 28.75em) {
  .projects-title {
    font-size: 4rem;
  }
}

@media (max-width: 30.625em) {
  .projects-section {
    padding: 6rem 1rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

#projects-title {
  justify-content: center;
  display: flex;
  font-weight: 400;
  text-align: center;
  margin-bottom: 2rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 4rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 6rem;
}

.project-tile {
  font-size: 2rem;
  padding: 2rem 0.5rem;
}

.project-title {
  display: block;
  height: 50px;
  background-color: #f5e3e0;
  font-size: 2rem;
  padding: 2rem 0.5rem;
  color: #373e40;
}

#box-image {
  background-color: white;
  height: 315px;
}

#box-wm {
  background-color: #373e40;
  height: 315px;
}

#wm-image {
  padding-top: 4rem;
  object-fit: cover;
}

.code {
  transition: color 0.3s ease-out;
  color: #f5e3e0;
}

.project-title:hover .code {
  color: #ff4e33;
}

/* how to find me*/

.goodbye {
  background-color: #8b85c1;
  position: relative;
  height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

#goodbye-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 28.75em) {
  .goodbye-box > h1 {
    font-size: 4rem;
  }
}

.btn {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 980px;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.socials {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 2px;
  font-size: 1.6rem;
  text-shadow: 2px 2px 1px #1f1f1f;
  transition: transform 0.3s ease-out;
  font-family: "Poppins", sans-serif;
}

.socials:hover {
  transform: translateY(8px);
}
