#container-sidebar {
  font-family: 'Montserrat','Raleway', sans-serif;
  background-color: #F2F2F2;
}

h3 {
  font-family: 'Montserrat','Raleway','Baloo Bhaina';
  text-align: center;
  /*color: #00868b;*/
  color:navy;
  font-size: 4rem;
}

h2 {
  text-transform: uppercase;
  margin-top: 40px;
  display: block;
  font-family: 'Montserrat','Raleway','Baloo Bhaina';
}

#cards-container {
  width: 100%;
  height: auto;
}

.card-wrapper-right-1 {
  width: 49%;
  text-align: center;
  padding: 20px;
  height: 400px;
  margin-right:10px;
  justify-content: right;
}

.card-wrapper-right {
  width: 49%;
  text-align: center;
  display: inline-block;
  padding: 20px;
  height: 400px;
  justify-content: right;
}

.card-wrapper-left {
  width: 49%;
  text-align: center;
  display: inline-block;
  padding: 20px;
  height: 400px;
  justify-content:left;
}

.card {
  height: 300px;
  width: 350px;
  margin: 0 auto;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0px 5px 5px gray;
  background-color: #fff;
  padding: 0;
  z-index: 0;
}

.card-top {
  height: 100px;
  position: relative;
  background-color: #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.icon {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: white;
  border: 5px solid #fff;
  box-sizing: border-box;
  left: 100px;
  top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.9rem;
  color:navy;
}

.card-content {
  padding: 10px;
  height: auto;
  background-color: #fff;
  height: 100%;
}

.card-title {
  font-size: 22px;
  color:navy;
  font-family: 'Montserrat','Raleway','Baloo Bhaina';
}

.card-content p,
.overlay p {
  font-family: 'Raleway', sans-serif;
  color: #333;
  padding: 10px;
}

.overlay p {
  font-family:'Montserrat','Raleway';
  font-size: 15px;
  text-align:left;
  margin:0px;
  padding:0px;
  vertical-align: center;
  justify-content:left;
  color: darkgreen;
}


/* card-top colors */

.gradient-red {
  background: linear-gradient( to top, transparent, #CB422A), linear-gradient( to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.gradient-blue {
  background: linear-gradient( to top, transparent, #2D699B), linear-gradient( to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.gradient-green {
  background: linear-gradient(to top right, transparent, #00A482), linear-gradient( to bottom left, transparent, rgba(0, 0, 0, 0.8));
}

.gradient-pink {
  background: linear-gradient(to bottom left, transparent, #a93f5fff), linear-gradient( to top right, transparent, rgba(0, 0, 0, 0.8));
}
.gradient-mauve {
  background: linear-gradient(to bottom left, transparent, #5615cfff), linear-gradient( to top right, transparent, rgba(0, 0, 0, 0.8));
}


/* overlay  */

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 280px;
  background-color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: rgba(4, 46, 13, 0.9);
  justify-content: center;
  padding: 10px;
  border-radius: 5px;
}


/*overlay-btn  */

.overlay-btn {
  background-color:  transparent;
  color:navy;
  font-family: 'Railway', sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 0px;
  /*border-bottom: 1px solid #FFF;*/
  transiton: all 0.2s ease;
}

.overlay-btn:hover {
  color: #054115ff;
  background-color: transparent;
  /*border-bottom: 1px solid #FFF39A;*/
  transform: scale(1);
}


/* slide */

.slider {
  transform: translateX(-100%);
  transition: all 0.4s ease-out;
}

.card:hover .slider {
  transform: translateX(0);
}


/* fade*/

.fade {
  transition: all 0.6s ease-in;
  opacity: 0;
}

.card:hover .fade {
  opacity: 1;
}


/* Zoom */

.zoom {
  opacity: 0;
  transition: all 0.7s ease-in;
  border-radius: 5px;
  transform: scale(0);
}

.card:hover .zoom {
  opacity: 1;
  transform: scale(1.1);
}


/* flip */

.flip-container {
  perspective: 1000px;
}

.flip-card {
  transition: transform 3s ease;
  transform-style: preserve-3d;
  poistion: relative;
}

.front,
.back {
  position: absolute;
  top: 0;
  left: 0;
  height: 280px;
  width: 300px;
  box-sizing: border-box;
  border-radius: 5px;
}

.front {
  z-index: 5;
  background-color: #fff;
}

.back {
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #FFF;
  justify-content: center;
  padding: 10px;
  transform: rotateY(180deg);
}

.flip-card:hover {
  transform: rotateY(180deg);
}

.flip-card:hover .back {
  transform: rotateY(-180deg);
}

.topicsidebarbtn{
  padding:5px;
  color:navy;
  border-radius: 5px;
  border-color:navy;
  font-family: 'Montserrat','Raleway';
  background-color:transparent;
}


.topicsidebarbtnover{
  padding:5px;
  color:darkblue;
  border-radius: 5px;
  border-color:navy;
  font-family: 'Montserrat','Raleway';
  background-color: #D3DCF7;
}
.topicsidebarbtnover:hover{
  border-style: solid 1px;
  border-color: darkgreen;
  color:darkred;
}