/* MAIN CONTENT STYLES */

/* CARDS */
#products {
  background-color: rgba(0, 0, 204, 0.05);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.content-title {
  display: flex;
  font-size: 40px;
  padding-top: 50px;
  padding-bottom: 20px;
  width: 90%;
  align-self: center;
  justify-content: center;
  text-align: center;
}

@media screen and (max-width: 350px) {
  .content-title {
    font-size: 28px;
  }
}

#cards {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#cards-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 20px;
}

.card-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  padding-bottom: 20px;
}

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  grid-gap: 1rem;
}

.product-card-grid>div {
  padding: 1.5rem;
  border-radius: 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.15);
}

.product-card-image {
  object-fit: contain;
  display: flex;
  width: 100%;
  min-height: 200px;
  max-height: 300px;
  border-radius: 10px;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.product-card-title {
  font-size: 34px;
}

.product-card-subtitle {
  font-size: 22px;
  text-align: center;
}

.product-card-description {
  font-size: 20px;
}

.product-card-price {
  font-size: 24px;
  color: #E30A17;
}

.product-card-texts {
  margin: 0 10px 10px 10px;
  text-align: center;
}

.product-action-button {
  width: 160px;
  height: 40px;
  font-size: 24px;
}

.center-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.all-products-button {
  width: 90%;
  max-width: 330px;
  height: 77px;
  font-size: 24px;
  text-align: center;
}

/* END CARDS */

/* NEDEN ELSAN */
#testimony {
  display: flex;
  flex-direction: column;
}

#testimony-container {
  display: flex;
  flex-direction: row;
  padding-bottom: 50px;
  padding-top: 20px;
}

.testimony-item {
  display: flex;
  width: 100%;
  margin-right: 30px;
  flex-direction: column;
  align-items: center;
}

.testimony-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.testimony-header {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

@media screen and (max-width: 750px) {
  .testimony-item .testimony-description {
    font-size: 16px;
  }

  .testimony-item .testimony-header {
    font-size: 24px;
  }
}

@media screen and (max-width: 650px) {
  #testimony-container {
    flex-direction: column;
    align-items: center;
  }

  #testimony-container .testimony-item {
    width: 90%;
    margin-bottom: 50px;
    margin-right: 0;
  }

  #testimony-container .testimony-middle-item {
    padding: 0;
    border: none;
  }
}

@media screen and (max-width: 400px) {
  #testimony-container {
    padding-left: 0;
    padding-right: 0;
  }
}

.testimony-description {
  font-size: 20px;
  text-align: center;

}

.testimony-middle-item {
  padding-left: 20px;
  padding-right: 20px;
  border-left: 2px solid rgba(0, 0, 0, 0.25);
  border-right: 2px solid rgba(0, 0, 0, 0.25);
}

.about-button {
  width: 285px;
  height: 77px;
  color: black !important;
  font-size: 20px;
}

/* END NEDEN ELSAN */

/* SANAYİ */

#industry {
  width: 100%;
  display: flex;
  flex-direction: row;
  padding: 50px 0 50px 0;
  overflow: hidden;
}

#industry-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#industry-text {
  display: flex;
  margin: 100px 30px 100px 0;
  flex-direction: column;
}

.industry-header {
  font-size: 40px;
  margin-top: 20px;
}

.industry-description {
  font-size: 20px;
  margin-top: 20px;
  padding-bottom: 20px;
}

.right-photo {
  display: flex;
  width: 50%;
  object-fit: contain;
  margin-right: -25%;
}

.center-photo {
  display: none;
  margin: 50px 0 50px 0;
  width: 75%;
  object-fit: contain;
  align-self: center;
}

#industry-text .action-button {
  margin-bottom: 30px;
  margin-top: 10px;
}

@media screen and (max-width: 1650px) {
  img.right-photo {
    margin-right: 0;
  }
}

@media screen and (max-width: 750px) {
  img.right-photo {
    display: none;
  }

  img.center-photo {
    display: flex;
  }

  #industry-text {
    margin: 0;
  }

  #industry-text .action-button {
    align-self: center;
  }

  #industry-text .industry-header {
    text-align: center;
  }
}

/* END SANAYİ */

/* BLOG POSTS */
#blog-posts {
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

#blog-cards {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  flex-direction: row;
}

.blog-post-card {
  display: flex;
  width: 48%;
  height: 260px;
  border-radius: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
  flex-direction: row;
}

.blog-arrow {
  width: 30px;
}

@media screen and (max-width: 1300px) {
  #blog-cards {
    padding-right: 0;
    padding-left: 0;
    justify-content: space-around;
  }

  #blog-cards .blog-post-card-description {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
  }

  #blog-cards .blog-post-card-title {
    font-size: 16px;
  }
}

@media screen and (max-width: 1060px) {
  #blog-cards .blog-post-card {
    height: 300px;
  }
}

@media screen and (max-width: 1000px) {
  #blog-cards .blog-post-card {
    flex-direction: column;
    height: 500px;
  }

  #blog-cards .blog-post-card-image {
    height: 300px;
    width: auto;
  }
}

@media screen and (max-width: 750px) {
  #blog-cards .blog-post-card {
    height: auto;
    flex-direction: row;
  }

  #blog-cards {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }

  .blog-post-card {
    width: 90%;
    height: auto;
    margin-bottom: 20px;
  }

  #blog-cards .blog-post-card-image {
    width: 50%;
    object-fit: cover;
  }

  #blog-cards .blog-post-card-text {
    height: auto;
  }

  #blog-cards .blog-post-card-title {
    font-size: 20px;
  }

  #blog-cards .blog-post-card-description {
    font-size: 16px;
  }
}

@media screen and (max-width: 650px) {
  #blog-cards .blog-post-card {
    flex-direction: column;
    max-width: 260px;
  }

  #blog-cards .blog-post-card-image {
    max-width: 260px;
    width: 100%;
  }
}

.blog-post-card-image {
  width: 260px;
  object-fit: cover;
  height: auto;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.blog-post-card-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 5px 10px 5px 10px;
  line-height: 150%;
  height: 100%;
}

.blog-post-card-text i {
  color: #D84011;
}

.blog-post-card-title {
  font-size: 20px;
}

.blog-post-card-description {
  font-size: 16px;
}

.blog-post-card-action {
  margin-bottom: 10px;
}

.blog-post-card-button {
  font-size: 14px;
  color: #D84011;
  margin-right: 10px;
}

/* END BLOG POSTS */
/* END MAIN CONTENT STYLES */