﻿
.UpCard {
  display: grid;
  grid-template-columns: 300px;
  grid-template-rows: 178px 60px 70px;
  grid-template-areas: "image" "text" "stats";

  border-radius: 18px;
  background: white;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.9);
  font-family: 'Roboto', sans-serif;
  text-align: center;
  

  transition: 0.5s ease;
  /*cursor: pointer;*/
  margin:15px;
  float:left;
  position: relative;

}
.SelectUpCard
{
    position: absolute;
    background: rgba(192, 19, 38, 0.5);
    /* border: 12px; */
    border-radius: 15px;
    /* border: 3px solid #c01326; */
    width: 100%;
    height: 100%;
  

    

}

.selectionMark {
        color: white;
    float: right;
    margin: 10px;
    font-size: 30px;

}
.card-image {
  grid-area: image;
  background: url("1.jpg");
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-size: cover;
}

.card-text {
  grid-area: text;
  margin: 5px;
  margin: 5px auto;

}

.card-text p {

  color: #444444;
    font-size: 16px;
   
    line-height: 1.2em;
    align-content: center;
    text-align: center;
    font-weight: 600;
    height: 50px;
    /* width: 100%; */
    display: table-cell;
    vertical-align: middle;
}
.card-text h2 {
  margin-top:0px;
  font-size:25px;
}
.card-stats {
  grid-area: stats; 
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  border-top:3px solid #c01326;
  background:#c01326;
}
.card-stats .stat {
  padding:5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
}
.card-stats .borderRow {
  /*border-left: 1px solid rgb(172, 26, 87);
  border-right: 1px solid rgb(172, 26, 87);*/
}
.card-stats .value{
  font-size:18px;
  font-weight: 500;
}
.card-stats .value sup{
  font-size:12px;
}
.card-stats .type{
  font-size:13px;
  font-weight: 300;
  text-transform: uppercase;
  opacity: 0.8;
 color:#fff
}
.UpCard:hover {
  transform: scale(1.15);
  box-shadow: 5px 5px 15px rgba(0,0,0,0.6);
}

/*card2*/
.card-image.card2 {
  background: url("2.jpg");
  background-size: cover;
}
.card-image.card3 {
  background: url("4.jpg");
  background-size: cover;
}
.card-image.card4 {
  background: url("5.jpg");
  background-size: cover;
}
.card-image.card5 {
  background: url("7.jpg");
  background-size: cover;
}
.card-image.card6 {
  background: url("8.jpg");
  background-size: cover;
}
.card-text.card2 .date {
  color: rgb(255, 77, 7);
}
.card-stats.card2 .border {
  border-left: 1px solid rgb(185, 67, 20);
  border-right: 1px solid rgb(185, 67, 20);
}
.card-stats.card2 {
  background: #c01326;
}

.card-text.card3 .date {
  color: rgb(0, 189, 63);
}
.card-stats.card3 .border {
  border-left: 1px solid rgb(14, 122, 50);
  border-right: 1px solid rgb(14, 122, 50);
}
.card-stats.card3 {
  background: #c01326;
}