@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;

  background: rgb(198, 189, 162);
  background: radial-gradient(
    circle,
    rgba(198, 189, 162, 1) 0%,
    rgba(255, 253, 247, 1) 100%
  );
}

/* main styling */

main {
  background-color: #FFFDF7;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

.members{
  width: 100%;
  height: 90vh;
}

/* card style */

img {
  max-width: 100%;
}

.member-card {
  box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.65);
  border-radius: 15px;
  overflow: hidden;
  width: 350px;
  margin: 15px;
}

.card-header {
  height: 200px;
}

.card-header img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.card-content {
  background-color: #DFDBCD;
  padding: 30px;
}

.card-h3 {
  height: 20px;
  margin-bottom: 10px;
}

.card-excerpt {
  color: #000;
  margin: 10 0 20px;
}

.author {
  display: flex;
  margin-top: 10px;
}

.profile-img {
  border-radius: 50%;
  overflow: hidden;
  height: 50px;
  width: 50px;
}

.author-info {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-left: 10px;
  width: 100px;
}

.author-info small {
  color: #000;
  margin-top: 5px;
}

/* card responsiveness */

@media screen and (max-width: 705px) {
    main{
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .member-card{
      margin: 5px;
    }

    main h3{
        font-size: 16px;
    }

    main p{
        font-size: 13px;
    }

    .card-header{
        height: 150px;
    }
    /* sorulacak */
}

