*,
*::before,
*::after {
  box-sizing: content-box;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;

  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
header {
  display: flex;
  justify-content: center;
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e7e9fc;
}
.logomenu {
  display: flex;
  gap: 70px;
}
nav ul {
  margin-right: 76px;
  gap: 40px;
}
nav a {
  position: relative;
  text-decoration: none;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  color: #404bbf;
  background-color: #404bbf;
  transform: scaleX(0);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
nav a:focus::after,
nav a:hover::after {
  transform: scaleX(1);
}
nav a:hover {
  color: #404bbf;
}
address ul {
  white-space: nowrap;
  gap: 40px;
}
address {
  margin-left: 332px;
}
header ul {
  display: flex;
}
body {
  font-family: "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #434455;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal.is-open {
  display: flex;
  background-color: rgba(46, 47, 66, 0.4);
}
.modalbg {
  position: relative;
  z-index: 1000;
  width: 408px;
  padding-left: 24px;
  padding-right: 24px;
  background-color: rgba(252, 252, 252, 1);
  border-radius: 4px;
}
.xicon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #e7e9fc;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.x {
  fill: #2e2f42;
  width: 8px;
  height: 8px;
}
.circle:hover,
.circle:focus {
  background-color: #404bbf;
}
.circle:hover .x,
.circle:focus .x {
  fill: #ffffff;
}
.modaltitle {
  margin-top: 72px;
  margin-bottom: 16px;
  color: #2e2f42;
  text-align: center;
}
.modalformcontainer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.oneinfo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.modalformlabel {
  display: flex;
  gap: 8px;
  color: #8e8f99;
  font-size: 12px;
}
.modalforminput {
  border: 1px solid rgba(46, 47, 66, 0.4);
  width: 360px;
  border-radius: 4px;
  padding: 11px;
  padding-left: 38px;
}
.modalforminput1 {
  border: 1px solid rgba(46, 47, 66, 0.4);
  width: 401px;
  border-radius: 4px;
}
::placeholder {
  color: rgba(46, 47, 66, 0.4);
  font-size: 12px;
  padding-left: 16px;
  padding-top: 8px;
}
.modalforminput:focus,
.modalforminput:hover,
.modalforminput1:focus,
.modalforminput1:hover {
  border-color: #4d5ae5;
}
.modalcheckboxcontainer {
  margin-top: 16px;
}
.formicon {
  position: absolute;
  top: 13px;
  left: 15px;
  width: 16px;
  height: 16px;
  fill: #2e2f42;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modalformwrapper {
  display: flex;
  position: relative;
}
.modalforminput:focus + .formicon,
.modalforminput:hover + .formicon,
.modalforminput1:focus + .formicon,
.modalforminput1:hover + .formicon {
  fill: #4d5ae5;
}
.modalcheckboxwrapper {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}
.modalformcheckbox:checked + .modalcheckboxwrapper {
  background-color: #404bbf;
}
.tikcik {
  fill: transparent;
}
.modalformcheckbox:checked + .modalcheckboxwrapper .tikcik {
  fill: #f4f4fd;
}
.footersubs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footerform {
  display: flex;
  gap: 24px;
}
.subsbutton {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4d5ae5;
  color: #ffffff;
  border-radius: 4px;
  font-weight: 500;
  border: none;
  height: 40px;
  width: 165px;
  gap: 16px;
}
.footerformmail {
  background-color: transparent;
  width: 264px;
  border-radius: 4px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  border: 1px solid #ffffff;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 16px;
  font-size: 12px;
}
.footerformmail::placeholder {
  color: #ffffff;
}
.footersubs {
  height: 80px;
  /*simdi ben div cok buyuk oluyo diye height belirledim ama dogrusunun boyle olmadigina eminim*/
  margin-top: 100px;
  margin-left: 80px;
}
.ourportfolio ul,
.ourteam,
.ourportfolio {
  flex-wrap: wrap;
}
.row1,
.row2 {
  padding-left: 156px;
  padding-right: 156px;
  display: flex;
  justify-content: center;
}
.ourteam ul {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.container {
  width: 1440px;
  margin: 0 auto;
}
.ourteam li {
  background-color: #ffffff;
  box-shadow: 0px 2px 1px 0px rgba(46, 47, 66, 0.08),
    0px 1px 1px 0px rgba(46, 47, 66, 0.16),
    0px 1px 6px 0px rgba(46, 47, 66, 0.08);
}
.ourteamcard {
  margin-bottom: 120px;
}
.ourportfolio li {
  border-bottom: 1px solid #e7e9fc;
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.ourportfolio li:hover {
  box-shadow: 0px 2px 1px 0px rgba(46, 47, 66, 0.08),
    0px 1px 1px 0px rgba(46, 47, 66, 0.16),
    0px 1px 6px 0px rgba(46, 47, 66, 0.08);
}
.row1,
.row2 {
  gap: 24px;
}
.row1 {
  padding-bottom: 48px;
}
.row2 {
  padding-bottom: 120px;
}
.mainideas {
  display: flex;
  padding-bottom: 120px;
  padding-top: 120px;
  gap: 24px;
  width: 1128px;
}
.ourportfolio h3 {
  margin: 32px auto 8px 16px;
}
.ourportfolio p {
  margin: 8px auto 32px 16px;
}
.ourteamcontent {
  flex-wrap: wrap;
  justify-content: center;
  margin: 32px 16px;
}
.ourteam h3 {
  display: flex;
  justify-content: center;
}
.ourteam p {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.rect {
  position: relative;
}
.rectitem {
  position: absolute;
}
h1 {
  font-size: 56px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1.1px;
  text-align: center;
}
h2 {
  font-size: 36px;
  color: #2e2f42;
  padding-top: 120px;
  padding-bottom: 72px;
  width: fit-content;
  margin: 0 auto;
}
h3 {
  font-size: 20px;
  color: #2e2f42;
  margin-bottom: 8px;
}
p {
  font-size: 16px;
  line-height: 1.5;
}
.button {
  background-color: #4d5ae5;
  color: #ffffff;
  cursor: pointer;
  display: block;
  margin: 48px auto;
  border-radius: 4px;
  border: none;
  width: 169px;
  height: 56px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}
.send {
  background-color: #4d5ae5;
  color: #ffffff;
  cursor: pointer;
  display: block;
  margin: 24px auto;
  border-radius: 4px;
  border: none;
  width: 169px;
  height: 56px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}
.button:hover,
.send:hover,
.send:focus,
.button:focus {
  background-color: #404bbf;
}
footer {
  color: #f4f4fd;
  background-color: #2e2f42;
  height: 312px;
  display: flex;
}
.footerlogo {
  margin-bottom: 16px;
}
.footercontent {
  margin-left: 156px;
  margin-top: 100px;
}
.footericons {
  margin-left: 120px;
  margin-top: 100px;
}
.footericons p {
  font-family: "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}
.webfooter {
  font-family: "Raleway", "Segoe UI", "Helvetica Neue", "Open Sans", Arial,
    sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #4d5ae5;
}
.studiofooter {
  font-family: "Raleway", "Segoe UI", "Helvetica Neue", "Open Sans", Arial,
    sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #f4f4fd;
}
.web {
  font-family: "Raleway", "Segoe UI", "Helvetica Neue", "Open Sans", Arial,
    sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #4d5ae5;
}
.studio {
  font-family: "Raleway", "Segoe UI", "Helvetica Neue", "Open Sans", Arial,
    sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #2e2f42;
}
.imagewrapper {
  position: relative;
  overflow: hidden;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #4d5ae5;
  color: #f4f4fd;
  font-family: "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
.imagewrapper:hover .overlay {
  transform: translateY(0);
}
.overlay p {
  padding-top: 40px;
  padding-left: 32px;
  padding-right: 32px;
}
.title {
  background-image: linear-gradient(
      to bottom,
      rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)
    ),
    url(../images/people-office-optimized.jpg);
  padding-top: 188px;
  padding-bottom: 188px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
}
address a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  color: #404bbf;
  background-color: #404bbf;
  transform: scaleX(0);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
address a:focus::after,
address a:hover::after {
  transform: scaleX(1);
}
address a:hover {
  color: #404bbf;
}
address a {
  position: relative;
  color: #434455;
  text-decoration: none;
}
.link {
  color: #2e2f42;
}
.footerinfo {
  font-size: 16px;
  color: #f4f4fd;
}
.web,
.studio,
.webfooter,
.studiofooter,
.title,
.address,
.button,
.send,
.footerinfo,
.link {
  text-decoration: none;
}
ul {
  list-style-type: none;
}
.ourteam {
  background-color: #f4f4fd;
}
.icon-antenna,
.icon-clock,
.icon-diagram,
.icon-astronaut {
  width: 64px;
}
.myicons {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 264px;
  height: 112px;
  background-color: #f4f4fd;
  border: 1px solid #8e8f99;
  border-radius: 4px;
  margin-bottom: 8px;
}
.socialmedia {
  display: flex;
  gap: 24px;
}
.socialmedia .socialmediaitem {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #4d5ae5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.socialmedia .socialmediaitem .icon {
  width: 16px;
  height: 16px;
}
.socialmedia .socialmediaitem:hover {
  background-color: #31d0aa;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.socialmedia .socialmediaitem:hover .icon {
  width: 24px;
  height: 24px;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
