
.title {
    font-family: inherit;
    font-size: 2rem;
    font-weight: 600;
    line-height: 30px;
    color: #fff;
    text-transform: capitalize;
  }
  
  .paragraph {
    font-family: inherit;
    font-size: 1rem;
    font-weight: normal;
    line-height: inherit;
    max-width: 100%;
    margin-top: 0.5rem;
    color: #9194a1;
  }
  
  .tab {
    width: 100%;
    height: auto;
    padding: 3rem 0;
  }
.tab-menu {
    display: flex;
    flex-direction: row;
    justify-content: center ;
    align-items: center;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transition: all 0.3s ease;
  }
 .tab-menu-link {
    position: relative;
    overflow: hidden;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    line-height: inherit;
    cursor: pointer;
    width: 280px;
    height: auto;
    padding: 1rem 0;
    border: 2px solid #fff;
    color: #9194a1; 
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    text-transform: uppercase;
  }
 .tab-menu-link:hover {
    border: 2px solid #ff3131;
  }
 .tab-menu-link span {
    font-size: 16px; 
    font-weight: 600;
    color: #fff;
    padding: 0 20px;
  }
.tab-menu-link::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
  }
  .tab-menu-link.is-active {
    bottom: 0px;
    z-index: 0;
    overflow: hidden;
    border: 2px solid #fa5757;
    color: #ffffff !important;
    background: #fa5757;
  }
.tab-bar {
    padding: 2.5rem 0;
    overflow: hidden; 
  }
.tab-bar-content {
    display: none;
    width: 100%;
    min-height: 10rem;
    transition: all 0.3s ease;
  }
 .tab-bar-content.is-active {
    display: block;
  }

  /* =============================================== */
  .box {
	color: #fff;
	background: linear-gradient(to right, #ff3131, #ff3131);
	font-family: 'REM', sans-serif;
	text-align: center;
	position: relative;
	z-index: 1;
    border-radius: 8px; 
}

.box:before {
	content: '';
	height: 40px;
	width: 40px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	opacity: 0;
	transform: scale(0);
	transform-origin: top right;
	position: absolute;
	top: 20px;
	right: 20px;
	transition: all 0.4s ease;
	z-index: 1;
}

.box:hover:before {
	opacity: 1;
	transform: scale(1);
}

.box img {
	width: 100%;
	height: auto;
	transition: all 0.4s ease 0s;
    border-radius: 8px;
}

.box:hover img {
	opacity: 0.2;
}

.box-content {
	width: 100%;
	opacity: 0;
	transform: translateX(-50%) translateY(-50%);
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	transition: all 0.4s ease;
}

.box:hover .box-content {
	opacity: 1;
}

.box .title {
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase; 
	text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
	margin: 0 0 1px;
}

.box .post {
	font-size: 16px;
	font-weight: 400;
	text-transform: capitalize;
	text-shadow: 2px 2px 3px rgba(0, 0, 0, .2);
	display: block;
}

.box .icon {
	padding: 0;
	margin: 0;
	list-style: none;
	opacity: 0;
	position: absolute;
	bottom: 10px;
	left: 20px;
	z-index: 2;
	transition: all 0.4s ease;
}

.box:hover .icon {
	opacity: 1;
}

.box .icon li {
	margin: 0 3px;
	display: inline-block;
}

.box .icon li a {
	color: #fff;
	font-size: 15px;
	text-align: center;
	line-height: 32px;
	height: 35px;
	width: 35px;
	border: 2px solid #fff;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, .6);
	display: block;
	transition: all 0.3s ease-in-out;
}

.box .icon li a:hover {
	color: #ff6600;
	background: #fff;
	transform: rotate(360deg);
	border-radius: 50px;
}

@media only screen and (max-width:990px) {
	.box {
		margin: 0 0 30px;
	}
}



@media only screen and (min-width : 1200px) and (max-width : 1280px) 
{
    .tab { 
        padding:  0;
    }
}

@media only screen and (min-width : 1024px) and (max-width : 1199px) 
{
    .tab { 
        padding:  0;
    }
}

@media only screen and (min-width : 768px) and (max-width : 1023px) 
{
    .tab { 
        padding:  0;
    }
    .tab-menu-link span {
        font-size: 14px; 
        padding: 0 8px;
    }

    .tab-menu-link { 
        padding: 10px 0; 
    }

}

@media only screen and (min-width : 150px) and (max-width : 767px) 
{
    .tab { 
        padding:  0;
    }
}

 