@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFPRODISPLAYBOLD.OTF') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Normal';
  src: url('fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
  font-weight: normal;
  font-style: normal;
}

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

html,
body {
  width: 100%;
  overflow-x: hidden;
  background-color: #F5F3F0;
}

body {
  background-color: #F5F3F0;

}


img {
  display: block;
  max-width: 100%;
}

.main {
  min-height: 100vh;
  width: 100%;
  padding: 0 40px;
  font-family: 'SF Pro Display', sans-serif;
  background-color: #F5F3F0;
}

.hero {
  width: 100%;
  min-height: 100vh;
}

.nav {
  height: 60px;
  width: 100%;
}

.hero-text {
  font-size: 3.4em;
  line-height: 1;
}

.location {
  font-family: 'SF Pro Normal', sans-serif;
}

.middle-text {
  margin-top: 15px;
  margin-bottom: 30px;
  font-size: 1.4em;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.box{
  overflow: hidden;
}

.box span {
  display: inline-block;
}


.scroll-down {
  display: flex;
  align-items: center;
  font-family: "SF Pro Normal", sans-serif;
}

.scroll-down svg {
  width: 30px;
  margin-right: 10px;
  flex-shrink: 0;
}

.hero-image {
  height: 600px;
  width: 100%;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.short-about {
  width: 100%;
  min-height: 100vh;
  margin-top: 10px;
  position: relative;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  position: static;
  width: 100%;
  gap: 30px;
  flex-wrap: wrap;
}

.top-text {
  flex: 1 1 700px;
  max-width: 900px;
}

.top-text h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

.link-icons {
  width: 200px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-shrink: 0;
}

.link-icons svg {
  width: 50px;
  height: auto;
  fill: rgb(0, 0, 0);
  cursor: pointer;
}

.what-i-do {
  width: 100%;
  margin-top: 100px;
}

.layer {
  min-height: 250px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 20px;
}

.layer .content1 {
  width: 100%;
  max-width: 470px;
  min-height: 100%;
  margin-right: 0;
  flex: 1 1 300px;
}

.layer .content1 h1 {
  font-size: 2.1em;
}

.layer .content1 h3 {
  font-size: 1.7em;
  margin-top: 20px;
  font-family: "SF Pro Normal", sans-serif;
  color: #5C5C5C;
  line-height: 1.3;
}

.content2 {
  width: 100%;
  flex: 1 1 300px;
}

.content2 .layer {
  min-height: auto;
  margin-bottom: 0;
}

.projects-show {
  width: 100%;
  min-height: 100vh;
}

.pro-top {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4em;
  gap: 10px;
  text-align: center;
  flex-wrap: wrap;
}

.pro-top img {
  width: 50px;
  margin-left: 10px;
}

.project-items {
  width: 100%;
}

.first-grid {
  margin-top: 60px;
  width: 100%;
  min-height: 350px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pro {
  width: 100%;
  position: relative;
  min-height: 350px;
  padding-bottom: 70px;
}

.pro h1 {
  font-size: 2.1em;
}

.pro h3 {
  font-size: 1.5em;
  margin-top: 20px;
  font-family: "SF Pro Normal", sans-serif;
  color: #5C5C5C;
  line-height: 1.35;
}

.pro svg {
  width: 40px;
  height: auto;
  fill: rgb(0, 0, 0);
  position: absolute;
  bottom: 0;
  left: 0;
}

.pro svg:nth-of-type(2) {
  margin-left: 60px;
}

/* laptops */
@media (max-width: 1200px) {
  .main {
    padding: 0 28px;
  }

  .hero-text {
    font-size: 3em;
  }

  .top-text h1 {
    font-size: 2.6em;
  }

  .layer .content1 h1,
  .pro h1 {
    font-size: 1.9em;
  }

  .layer .content1 h3,
  .pro h3 {
    font-size: 1.35em;
  }

  .first-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* tablet */
@media (max-width: 768px) {
  .main {
    padding: 0 18px;
  }

  .hero,
  .short-about,
  .projects-show {
    min-height: auto;
  }

  .hero-text {
    font-size: 2em;
    line-height: 1.05;
  }

  .middle-text {
    font-size: 1.1em;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .hero-image {
    height: 400px;
  }

  .top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .top-text {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .top-text h1 {
    font-size: 1.8em;
    line-height: 1.1;
  }

  .link-icons {
    width: auto;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .link-icons svg {
    width: 38px;
  }

  .what-i-do {
    margin-top: 50px;
  }

  .layer {
    min-height: auto;
    flex-direction: column;
    gap: 24px;
  }

  .layer .content1,
  .content2 {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .layer .content1 h1 {
    font-size: 1.7em;
  }

  .layer .content1 h3 {
    font-size: 1.2em;
    margin-top: 14px;
  }

  .pro-top {
    font-size: 2.6em;
  }

  .pro-top img {
    width: 40px;
    margin-left: 0;
  }

  .first-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  .pro {
    min-height: 260px;
    padding-bottom: 55px;
  }

  .pro h1 {
    font-size: 1.7em;
  }

  .pro h3 {
    font-size: 1.15em;
    margin-top: 14px;
  }

  .pro svg {
    width: 34px;
  }

  .pro svg:nth-of-type(2) {
    margin-left: 50px;
  }
}

