main {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 50px auto;
}

main aside {
  width: 25%;
  border: 1px solid rgba(40, 40, 40, 0.2);
  color: rgb(20, 20, 20);
  height: fit-content;
  border-radius: 30px;
  padding: 20px 30px;
}

main aside p {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}

main aside a {
  position: relative;
  display: block;
  width: fit-content;
  margin-bottom: 1px;
  font-size: 16px;
  color: rgb(55, 55, 55);
}

main aside a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0%;
  height: 3px;
  background-color: #2aab32;
  transition: width 0.3s ease-in-out;
}

main aside a:hover::after {
  width: 100%;
}

main .projeler-giris {
  border: 1px solid rgba(40, 40, 40, 0.2);
  color: rgb(20, 20, 20);
  height: fit-content;
  border-radius: 30px;
  padding: 20px 30px;
  width: 70%;
}

main .projeler-giris h1 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 600;
  color: rgb(20, 20, 20);
}

main .projeler-giris div {
  display: flex;
  gap: 20px 1%;
  flex-wrap: wrap;
  margin-top: 20px;
}

main .projeler-giris div a {
  width: 48%;
  background-color: rgb(240, 240, 240);
  border-radius: 30px;
  padding-bottom: 10px;
  position: relative;
}

main .projeler-giris div a img {
  width: 100%;
  height: auto;
  margin-bottom: 6px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  object-fit: cover;
  aspect-ratio: 10/8;
  transition: all 0.2s ease;
}

main .projeler-giris div a:hover img {
  filter: brightness(0.7);
}

main .projeler-giris div a h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 1px;
  padding: 0 15px;
  margin-top: 5px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

main .projeler-giris div a .durum {
  position: absolute;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, rgb(96, 188, 175) 0%, rgb(67, 185, 119) 50%, rgb(42, 171, 50) 100%);
  border-radius: 30px;
  font-size: 14px;
  padding: 5px 10px;
  width: fit-content;
  height: fit-content;
  z-index: 1;
  color: rgb(255, 255, 255);
  font-weight: 600;
}

main .projeler-giris div a .konum,
main .projeler-giris div a .proje-alani,
main .projeler-giris div a .parsel {
  display: flex;
  align-items: center;
  font-size: 14px;
  gap: 5px;
  padding: 0 15px;
  margin: 10px 0;
  color: rgb(55, 55, 55);
}

main .projeler-giris div a .konum svg,
main .projeler-giris div a .proje-alani svg,
main .projeler-giris div a .parsel svg {
  height: 18px;
  width: 18px;
}

main .projeler-giris div a .konum svg path,
main .projeler-giris div a .proje-alani svg path,
main .projeler-giris div a .parsel svg path {
  fill: rgb(55, 55, 55);
}

@media screen and (max-width:1050px) {
  main {
    width: 90%;
    margin: 30px auto;
  }
}

@media screen and (max-width:900px) {
  main aside {
    width: 28%;
  }

  main aside p {
    font-size: 20px;
  }

  main aside p a {
    font-size: 16px;
  }

  main .projeler-giris div a {
    width: 100%;
  }
}

@media screen and (max-width:650px) {
  main {
    flex-direction: column;
    gap: 30px;
  }

  main aside {
    width: 100%;
    order: 2;
    text-align: center;
  }

  main aside a {
    display: flex;
    justify-self: center;
    width: fit-content;
    margin-bottom: 8px;
  }

  main .projeler-giris {
    width: 100%;
  }
}