@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:700|Montserrat:300,700');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:"Open-sans",sans-serif;
}
body {
    margin: 0;
    padding: 0;
   /* background: linear-gradient(to bottom, #aabaaa, #333);*/
}
.card-container {
	display: flex;
	/*flex-wrap: wrap;*/
	justify-content: center;
	align-self: normal;
	align-items: center;
    width: 100%;
    max-width: 960px;
    margin: 10px auto;
}
.card {
    height:auto;
	width: 300px;
	margin:15px;
    font-family:'Open-sans', sans-serif;
	background: linear-gradient(to bottom, #aabaaa, #333);
	cursor:pointer;
    box-shadow: 0px 0px 6px 3px #3b3b3b;
    -webkit-animation-name: slide_right;
     animation-name: slide_right;
    -webkit-animation-duration: 1s;
     animation-duration: 1s;
    -webkit-animation-fill-mode: both;
     animation-fill-mode: both;
}
img {
    width: 70%;
    height: 50%;
    margin-left: 10%;
}
.card-image {
  display: inline-block;
  padding: 5px;
  background: #fff;
  height: 200px;
  width: 200px;
  overflow: hidden;
  border-radius: 50%;
  opacity: 0.3;
  transform: scale(0.8);
  transition: all 1s ease;
}

.card:hover img {
   background: transparent;
   transform: scale(.9);
   opacity: 1;
}
.card-content {
  padding: 0 5px;
  height: 165px;
  padding-bottom: 10px;
  background: #222;
}
.card-content h2 {
  padding: 10px;
  color: #eee;
}
.card-content h2, title, p {
    text-align: center;
    -webkit-animation-name: slide_right;
     animation-name: slide_right;
     -webkit-animation-duration: 1s;
     animation-duration: 1s;
     -webkit-animation-fill-mode: both;
     animation-fill-mode: both;
}
.card-content, p {
  font-family: "Helvetica Neue", Geneva, sans-serif;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 3px;
  color: #fefefe;
}
.title {
  color: #779999;
  font-weight: 600;
  font-size: 18px;
  padding: 3px;
}

@keyframes slide_right {
	0% {
       transform: translateX(500%);
       visibility: visible;
       opacity: 0.3;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
		}
}
@media(max-width:768px){
	.card-container {
		flex-direction: column;
	}
	.card {
		margin: 15px 0;
	}
}