@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  background-color: #ecf0f1;
  font-family: 'Roboto', sans-serif;
}

.buttonDiv{
  display: flex;
  align-items: center;
  justify-content: left;
  margin: 20px;
}

button{
  display: inline-block;
  outline: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  border-radius: 8px;
  padding: 14px 24px;
  border: none;
  transition: box-shadow 0.2s ease 0s, -ms-transform 0.1s ease 0s, -webkit-transform 0.1s ease 0s, transform 0.1s ease 0s;
  background: linear-gradient(to right, rgb(52, 113, 235) 0%, rgb(215, 4, 102) 100%);
  color: #fff;
}

.flexContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* 3D parts */
.scene {
  width: 270px;
  height: 405px;
  perspective: 600px;
  margin: 20px;
}

.card {
  width: 100%;
  height: 100%;
  position: flex;
  transition: transform .5s;
  transform-style: preserve-3d;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border-radius: 10px;
}

.card__face {
  position: absolute;
  height: 100%;
  width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.bonusPicture {
  width: 300px;
}

.card__face img {
  max-width: 100%;
  border-radius: 10px;
}

.card__face--front {
  border-radius: 10px;
}

.card__face--back {
  background-color: #fff;
  transform: rotateY( 180deg );
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card.is-flipped {
  transform: rotateY( 180deg );
  border-radius: 10px;
}

.card-header {
  height: 100px;
}

.card-header img{
  height: 100px;
  background-color: #000000;
}

.card-content {
  background-color: #fff;
  padding: 20px;
}

.card-excerpt {
  color: #777;
  margin: 10px 0 20px;
  max-height: 60px;
  overflow: hidden;
}

.author {
  display: flex;
}

.profile-img {
  border-radius: 50%;
  overflow: hidden;
  height: 40px;
  width: 40px;
}

.author-info {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-left: 10px;
  width: 100px;
}

.author-info small {
  color: #aaa;
  margin-top: 5px;
}




