/*----------------------GLOBAL----------------*/
body {
  font-family: "Montserrat", sans-serif;
  background-color: white;
  display: flex;
  justify-content: center;
  margin: 0;
}

h1 {
  font-style: normal;
  font-weight: bold;
  font-size: 42px;
  line-height: 51px;
  color: #201f1f;
  margin: 48px 0 0 0;
}

h2 {
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 29px;
  margin: 16px 0 0 0;
  color: #201f1f;
}

h4 {
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 22px;
  color: #948f8a;
  margin: 8px 0 0 0;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100vw - 128px);
  max-width: 1440px;
  padding-top: 102px;
  padding-bottom: 128px;
}

/* -----------------NAVBAR----------------- */
.navbar {
  display: flex;
  flex-direction: row;
  height: fit-content;
  position: fixed;
  width: 100%;
  justify-content: center;
  padding-right: 16px;
  padding-left: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
  background-color: white;
  z-index: 1000;
}

.navbar-content {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  max-width: 1440px;
  justify-content: flex-end;
}

.menu-button {
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #201f1f;

  padding: 8px 16px;
  cursor: pointer;
}

#home {
  background-image: url("../images/home-active.svg");
  background-repeat: no-repeat;
  background-position: center;
  color: #f5774f;
}

.menu-button:hover {
  color: #696765;
}

a {
  text-decoration: none;
}

/* -----------------/NAVBAR----------------- */

/*----------------------/GLOBAL----------------*/

.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  row-gap: 64px;
  width: 100%;
}

.card {
  width: 100%;
  cursor: pointer;
}

.image {
  width: 100%;
  height: 350px;
  min-width: 343px;
  object-fit: cover;
  transition: 0.3s ease-out;
  box-shadow: none;
}

.card:hover > .image {
  z-index: 1000;
  transform: scale(1.03);
  box-shadow: 0px 10px 50px 0 #e7e3dd;
  transition: 0.3s ease-out;
}

.top-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 128px 0 200px 0;
  background-image: url("../images/blob.svg");
  background-repeat: no-repeat;
  background-size: 100%;
  width: 535px;
}

.hello {
  width: 323px;
}

@media only screen and (max-width: 860px) {
  .projects {
    grid-template-columns: 1fr;
  }

  .navbar {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .navbar-content {
    justify-content: center;
    gap: 0px;
  }
  .container {
    width: calc(100vw - 32px);
  }
}

@media only screen and (max-width: 550px) {
  .top-text {
    width: 340px;
    margin: 88px 0 88px 0;
  }
  h1 {
    font-size: 32px;
    margin: 32px 0 0 0;
  }
  h4 {
    font-size: 16px;
  }
  .hello {
    width: 202px;
  }
}
