main {
  display: block;
  padding-bottom: 50px;
}

main .iletisim-giris {
  display: block;
  position: relative;
  width: 100%;
  height: 400px;
}

main .iletisim-giris img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  z-index: 1;
  filter: brightness(0.5);
}

main .iletisim-giris div {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

main .iletisim-giris div h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
}

main .iletisim-giris div p {
  font-size: 18px;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
}

main .iletisim-iletisim {
  display: flex;
  justify-content: space-between;
  width: 85%;
  position: relative;
  top: -50px;
  margin: 0 auto;
  z-index: 5;
}

main .iletisim-iletisim a {
  background: radial-gradient(circle, #1994ff 0%, #007cf0 45%, #0052d4 100%);
  padding: 20px 30px;
  font-size: 18px;
  color: #fff;
  width: 32%;
  border-radius: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

main .iletisim-iletisim a:nth-child(3) {
  font-size: 14px;
}

main .iletisim-iletisim a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  border-radius: 3px;
}

main .iletisim-iletisim a:hover::before {
  animation: yansima-suret 0.6s ease-in-out forwards;
}

@keyframes yansima-suret {
  0% {
    width: 0;
    opacity: 0.8;
  }

  50% {
    width: 120%;
    opacity: 0.5;
  }

  100% {
    width: 150%;
    opacity: 0;
  }
}

main .iletisim-iletisim a svg {
  display: block;
  margin: 0 auto;
  width: 35px;
  height: 35px;
  margin-bottom: 10px;
}

main form {
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  background-color: rgb(240, 240, 240);
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 30px;
}

main form h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  color: rgb(0, 0, 0);
  color: rgb(2, 112, 222);
}

main form input,
main form textarea {
  width: 100%;
  padding: 15px;
  border: none;
  outline: none;
  border-radius: 5px;
  margin-bottom: 15px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  border: 1px solid rgb(150, 150, 150);
  background-color: rgb(245, 245, 245);
  resize: none;
}

main form input:focus,
main form textarea:focus {
  border-color: rgb(2, 112, 222);
}

main form input[type="submit"] {
  background-color: rgb(2, 112, 222);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  border: none;
  transition: all 0.2s ease-in-out;
}

main form input[type="submit"]:hover {
  opacity: 0.8;
}

@media screen and (max-width:900px) {
  main .iletisim-giris {
    height: 400px;
  }

  main .iletisim-giris div {
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }

  main .iletisim-giris div h1 {
    font-size: 38px;
  }

  main .iletisim-giris div p {
    font-size: 16px;
  }

  main .iletisim-iletisim {
    flex-wrap: wrap;
    width: 80%;
    top: -100px;
    gap: 20px;
  }

  main .iletisim-iletisim a {
    width: 100%;
  }

  main form {
    position: relative;
    top: -50px;
  }

  main form h2 {
    font-size: 24px;
  }
}