@import url("./font.css");

/* Aysu/FE-2-Root Start */
:root {
  --black: #000000;
  --white: #ffffff;
  --dark-gray: #333333;
  --medium-gray: #bdbdbd;
  --light-gray: #f2f2f2;
  --input-placeholder-color: #8d8d8d;
  --footer-copyright-color: #c8c8c880;

  --basic-font: "Roboto", sans-serif;
  --footer-copyright-font: "Open Sans", sans-serif;
  --font-size-xs: 12px;
  --font-size-s: 14px;
  --font-size-m: 16px;
  --font-size-l: 22px;
  --font-size-xl: 24px;
  --font-size-2xl: 40px;
  --font-size-3xl: 64px;
}

/*Aysu/FE-2-Root End */

/* Reset CSS Start */

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

a {
  text-decoration: none;
}

li {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-size: var(--font-ize-md);
}

/* Reset CSS End */

/* engnn/FE-4-design the header section Start */

.nav-container {
  max-width: 1440px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  color: #333;
  margin: 0 auto;
}

.nav-logo {
  margin-left: 50px;
  margin-top: 10px;
}

.hamburger-menu {
  font-size: 30px;
  cursor: pointer;
  display: none;
}

.nav-list {
  height: 100%;
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  gap: 80px;
}

.nav-list-item {
  position: relative;
  padding: 10px 10px;
  cursor: pointer;
}

.nav-list-item a {
  color: #333;
  text-decoration: none;
  font-size: 12px;
}

.nav-list-item::before,
.nav-list-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #000000;
  transition: transform 0.8s ease;
}

.nav-list-item::before {
  top: 0;
  transform: scaleX(0);
}

.nav-list-item::after {
  bottom: 0;
  transform: scaleX(0);
}

.nav-list-item.active::before,
.nav-list-item.active::after {
  transform: scaleX(1);
}

.nav-menu a:hover {
  color: #99c3d3;
}

@media (max-width: 1000px) {
  .hamburger-menu {
    display: block;
    margin-top: 10px;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    height: calc(100vh - 120px);
    transform: translate(-50%, -50%);
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background-color: #fff;
  }

  .show-menu .nav-menu {
    display: flex;
  }

  .nav-list {
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    gap: 5px;
  }

  .nav-list {
    margin: 10px 0;
  }
}

/* engnn/FE-4-design the header section End */

/* Şeyma Günay / FE-8 creat footer start */

.footer {
  display: grid;
  grid-template-columns: 10% 30% 30% 30%;
  background-color: #2c2c2c;
  padding: 25px 30px;
  color: #fff;
  /* width: 98%; */
  max-width: 1440px;
  margin: 20px auto;
  font-family: var(--basic-font);
  font-size: var(--font-size-m);
}
.footer .left {
 display: flex;
  justify-content: space-evenly;
}
.footer img {
  width: 145px;
  height: 94px;
  margin-left: 20px;
}
.footer .left a {
text-decoration: none;
  color: #fff;
  margin-left: -35px;
}
.footer .left ul li {
  list-style-type: none;
  margin-top: 17px;
}
.footer .information ul li a {
  margin-left: 2px;
}
.footer .contacts .contacts-list {
display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 25px;
}
.footer .right .class {
  margin-top: 25px;
}
.footer .contacts .contacts-list i {
  margin-right: 5px;
}
.footer .right i {
  margin-right: 30px;
}
.footer i:hover,
.footer li:hover {
  transform: translateY(-3px) translateX(-5px);
}
@media (max-width: 1210px) {
  .footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
  .footer img {
    margin: 20px auto;
 }
  .footer .contacts {
    text-align: center;
    margin-bottom: 30px;
 }
  .footer .right {
    margin: 0px auto;
 display: flex;
    flex-direction: column;
    justify-content: center;
}
  .footer .right .class {
    display: inline;
 }
}
@media (max-width: 780px) {
  .footer {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
}
  .footer .contacts {
    margin: 20px auto;
}
  .footer img {
    margin: 20px auto;
 }
}
/* Şeyma Günay / FE-8 creat footer end */

/* şeyma / fe-22-creat-project-card  start */

.card {
  display: flex;
  justify-content: center;
  flex-direction: row;
  max-width: 1170px;
  margin: 10px auto;
  background-color: #fbfbfb;
  gap: 50px;
}
.card .img img{
  max-width:670px;
  width: 100%;
  height: 425px;
  object-fit: cover;
  margin-right: 10%;
}

.connet {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  
}
.connet .title {
  color: #bdbdbd;
  font: Roboto;
  font-weight: 300px;
  font-size: 40px;
}

.connet .text {
  font: Roboto;
  font-weight: 300px;
  font-size: 17px;
  color: #000000;
}
.connet button {
  width: 222px;
  height: 71px;
  padding: 10px;
  background-color: #ffff;
  border-color: #ffff;
  cursor: pointer;
}

@media (max-width:1200px){
  .card{
    width: 90%;
    margin: 20px auto;
    gap: 0px;
  }

  .card .img {
    margin-right: 50px;

  }
}
@media (max-width:750px){
.card{
  background-color: #fff;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 0px;
 
}
.card .img{
  margin: 20px auto;
}
.connet{
  max-width: 670px;
  margin: 10px auto;
}
.connet p {
  margin: 30px 0px;
}
}

@media (max-width: 1200px) and (min-width: 751px) {
  .card {
    width: 90%;
    gap: 20px;
  }
  
  .card .img img {
    max-width: 100%; 
    height: auto; 
  }
  
  .connet {
    max-width: 40%;
    width: 100%;
    padding: 0 10px;
  }
  
  .connet .title {
    font-size: 32px;
  }
  
  .connet .text {
    font-size: 15px;
    margin: 15px 0;
  }
  
  .connet button {
    width: 180px;
    height: 60px;
  }
}
/* şeyma / fe-22-creat-project-card  end */

/* Yaren / [FE-17] - Create The Projects Page Start */

.projectspagetitlescontainer {
  width: 1170px;
  height: auto;
  margin: 0 auto;
}

.projectpagetitles {
  width: 240px;
  height: 128px;
}

.projectspagetitle1 {
  font-family: var(--basic-font);
  font-size: var(--font-size-3xl);
  line-height: 64px;
  font-weight: 300;
  letter-spacing: 0%;   
  color: var(--medium-gray);
}


.projectspagetitle2 {
  font-family: var(--basic-font);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: 64px;
  letter-spacing: 0%;
  color: var(--dark-gray);

}

.pagination-items {
 display: flex;
 flex-direction: row;
 gap: 20px;
 justify-content: center;
 align-items: center;

}

.projectspagebutton {
  width: 53px;
  height: 53px;
  border: solid 1px var(--medium-gray);
  cursor: pointer;
  background-color: var(--white);
  color: var(--dark-gray);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

}

@media (max-width:1200px){
  .projectspagetitlescontainer{
    width: 90%;
    margin: 20px auto;
  }
}

/* Yaren / [FE-17] - Create The Projects Page End */