@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --primary-bg: #1e3e62;
  --primary-color: #ff6500;
  --secondory-color: #b71c1c;
  --blue-color: #0b192c;
  --white-color: #fff;
}


body {
 
  color: var(--white-color);
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 16px;
}
.fa-spin-fast {
  -webkit-animation: fa-spin-fast 0.2s infinite linear;
  animation: fa-spin-fast 0.2s infinite linear;
}
@-webkit-keyframes fa-spin-fast {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes fa-spin-fast {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.page-header{
  text-align:center;
}
.page-header h1{
  font-weight: 600;
}
.page-header p{
  font-size:20px;
  font-weight:400;
}
.material-card{
  position:relative;
  height:0;
  padding-bottom:calc(100% - 16px);
  margin-bottom:105.6px;
}
.material-card h2{
  position:absolute;
  top:calc(100% - 16px);
  left:0;
  width:100%;
  padding:10px 16px;
  background-color:var(--primary-color);
  color:var(--white-color);
  font-size:22px;
  line-height: 35px;
  margin:0;
  z-index:10;
  transition:all 0.3s;
}
.material-card h2 span{
  display: block;
}
.material-card h2 strong{
  font-weight: 400;
  display: block;
  font-size: 16px;
}
.material-card h2:before,
.material-card h2:after{
  content:"";
  position: absolute;
  left:0;
  top:-16px;
  width:0;
  border:8px solid;
  transition:all 0.3s;
}
.material-card h2:after{
  top:auto;
  bottom:0;
}

.material-card.mc-active h2{
  top:0;
  padding:10px 16px 10px 90px;
}
.material-card.mc-active h2:before{
  top:0;
}
.material-card.mc-active h2:after{
  bottom:-16px;
}

.material-card .mc-content{
  position: absolute;
  right:0;
  top:0;
  bottom:16px;
  left:16px;
  transition:all 0.3s;
}
.material-card .mc-btn-action{
  position:absolute;
  right:16px;
  top:16px;
  border-radius: 50%;
  border:5px solid;
  width:54px;
  height:54px;
  line-height: 44px;
  text-align: center;
  color:var(--white-color);
  cursor: pointer;
  z-index:20;
}

.material-card.mc-active .mc-btn-action{
  top:65px;
}
.material-card .mc-description{
  position:absolute;
  top:100%;
  right:20px;
  left:20px;
  bottom:14px;
  overflow: hidden;
  opacity: 0;
  filter:alpha(opacity=0);
  transition:all 1.2s;
}
.material-card .mc-footer{
  height:0;
  overflow:hidden;
  transition:all 0.3s;
}
.material-card .mc-footer h4{
  position:absolute;
  top:200px;
  left:30px;
  padding:0;
  margin:0;
  font-size:16px;
  font-weight:700;
  transition:all 1.4s;
}
.material-card .mc-footer a{
  display: block;
  float:left;
  position:relative;
  width:52px;
  height:52px;
  margin-left:5px;
  margin-bottom:15px;
  font-size:28px;
  color:var(--white-color);
  line-height: 52px;
  text-decoration: none;
  top:200px;
}
.material-card .mc-footer a:nth-child(1){
  transition: all 0.5s;
}
.material-card .mc-footer a:nth-child(2){
  transition: all 0.6s;
}
.material-card .mc-footer a:nth-child(3){
  transition: all 0.7s;
}
.material-card .mc-footer a:nth-child(4){
  transition: all 0.8s;
}
.material-card .mc-footer a:nth-child(5){
  transition: all 0.9s;
}

.material-card .img-container{
  overflow: hidden;
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  z-index:3;
  transition:all 0.3s;
}

.material-card.mc-active .img-container{
  border-radius: 50%;
  left:0;
  top:12px;
  width:60px;
  height:60px;
  z-index:20;
}
.material-card.mc-active .mc-content{
  padding-top:90px;
}
.material-card.mc-active .mc-description{
  top: 40px;
  padding-top:90px;
  opacity: 1;
  filter:alpha(opacity=100);
}
.material-card .mc-active .mc-description p{
  font-size:16px;
  font-weight:400;
  color:var(--white-color);
  text-align: justify;
}
.material-card.mc-active .mc-footer{
  overflow: visible;
  position: absolute;
  top:calc(100% - 16px);
  left:16px;
  right:0;
  height:82px;
  padding-top:15px;
  padding-left:25px;
}
.material-card.mc-active .mc-footer a{
  top:0;
}
.material-card.mc-active .mc-footer h4{
  top:-32px;
}

.material-card h2:after{
  border-top-color:var(--primary-color);
  border-right-color: var(--primary-color);
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.material-card h2:before{
  border-top-color:transparent;
  border-right-color: var(--secondory-color);
  border-bottom-color: var(--secondory-color);
  border-left-color: transparent;
}

.material-card.mc-active h2:before{
  border-top-color:transparent;
  border-right-color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  border-left-color: transparent;
}
.material-card.mc-active h2:after{
  border-top-color:var(--secondory-color);
  border-right-color: var(--secondory-color);
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.material-card .mc-btn-action{
  background-color: var(--primary-color);
}
.material-card .mc-btn-action:hover{
  background-color: var(--secondory-color);
}
.material-card .mc-footer h4{
  color:var(--white-color);
}
.material-card .mc-footer a{
  background-color: var(--primary-color);
}
.material-card.mc-active .mc-content,
.material-card.mc-active .mc-footer{
  background-color: var(--blue-color);
}
