/*******************************************************
    Template Name    : Maslin - Personal Portfolio Template
    Author           : aam-developer
    Version          : 1.0
    Created          : 2020
    File Description : Main css file of the template
*******************************************************/

/**************************************
    -- Css Table of Content
    01.Generale Style
    02.Preloader Style
 *************************************/
 
/**************************************
 * 01. Generale Style
 *************************************/

@import url("bootstrap.min.css");
@import url("font-awesome.min.css");
@import url("pe-icon-7-stroke.css");

body {
	background: #202020;
	color: #c5c5c5;
    font-family: 'Josefin Sans', sans-serif;
	font-size: 14px;
	font-weight: normal;
	line-height: 24px;
	overflow-x: hidden;
	margin: 0 auto;
	padding: 0;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
    font-family: 'Josefin Sans', sans-serif;
	font-weight: normal;
	color: #c5c5c5;
	line-height: 1.3;
}

a {
	color: #ea1538;
	text-decoration: none !important;
	-moz-transition: all 0.5s ease-in-out 0s;
	-ms-transition: all 0.5s ease-in-out 0s;
	-o-transition: all 0.5s ease-in-out 0s;
	-webkit-transition: all 0.5s ease-in-out 0s;
	transition: all 0.5s ease-in-out 0s;
}

img {
	max-width: 100%;
}

a:hover {
	color: #ea1538;
	-moz-transition: all 0.4s ease-in-out 0s;
	-ms-transition: all 0.4s ease-in-out 0s;
	-o-transition: all 0.4s ease-in-out 0s;
	-webkit-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}

a:hover, a:focus {
	color: #ea1538;
	text-decoration: none;
}

p {
	padding: 0;
	margin: 0;
	font-size: 14px;
	color: #c5c5c5;
	line-height: 24px;
    font-family: 'Josefin Sans', sans-serif;
}

.z-index {
	z-index: 9;
}

.position-relative {
	position: relative!important;
}

.btn:focus {
	outline: none !important;
	box-shadow: none;
}

button:focus {
	outline: 0 none;
	box-shadow: none;
}

.button:focus {
	outline: none;
	box-shadow: none;
}

.button {
    display: inline-block;
    padding: 10px 30px;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 14px;
    text-transform: capitalize;
    letter-spacing: 0.7px;
    font-weight: 700;
    border: 2px solid #ea1538;
    border-radius: 35px;
    background: #ea1538;
    transition: all 500ms ease;
    cursor: pointer;
    color: #fff;
    margin-top: 25px;
}

.button:hover {
	color: #fff;
	background: transparent;
    border: 2px solid #ea1538;
}

dl, ol, ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.bg-fixed {
	background-attachment: fixed;
}

.bg-img {
	background-size: cover;
	background-repeat: no-repeat;
}

.section-padding {
	padding: 70px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 65px;
}
.section-title h2 {
    font-weight: 900;
    font-size: 45px;
    line-height: 1.3;
    color: #ffffff;
    text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
}
.section-title h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 18px;
    color: #b5b5b5;
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 15px;
}
.color-text {
    color: #ea1538;
}
.maslin-page-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    z-index: 1;
}
/* Line */

.lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  margin: auto;
  width: 84vw;
  z-index: -1;
}

.lines .line {
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.lines .line::after {
  content: "";
  display: block;
  position: absolute;
  height: 15vh;
  width: 100%;
  top: -50%;
  left: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), color-stop(75%, #ffffff), to(#ffffff));
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
  -webkit-animation: run 15s 0s infinite;
          animation: run 15s 0s infinite;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-timing-function: cubic-bezier(0.49, 0.01, 0.43, 0.97);
          animation-timing-function: cubic-bezier(0.49, 0.01, 0.43, 0.97);
}

.lines .line:nth-child(1) {
  margin-left: -50%;
}

.lines .line:nth-child(1)::after {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}

.lines .line:nth-child(2) {
  margin-left: -25%;
}

.lines .line:nth-child(2)::after {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}

.lines .line:nth-child(3) {
  margin-left: 25%;
}

.lines .line:nth-child(3)::after {
  -webkit-animation-delay: 2.5s;
          animation-delay: 2.5s;
}

.lines .line:nth-child(4) {
  margin-left: 50%;
}
.lines .line:nth-child(4)::after {
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}

@-webkit-keyframes run {
  0% {
    top: -50%;
  }
  100% {
    top: 110%;
  }
}

@keyframes run {
  0% {
    top: -50%;
  }
  100% {
    top: 110%;
  }
}

/**************************************
 * 02.Preloader Style
 *************************************/
#preloader-wapper {
	width: 100%;
	height: 100vh;
	top: 0;
	overflow: hidden;
	position: fixed;
	z-index: 99999999;
	display: flex;
}

#preloader-wapper::before,#preloader-wapper::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 50%;
	background: rgb(9, 7, 12);
	top: 0;
	left: 0;
	transition: .4s;
	-webkit-transition: height .4s;
	-moz-transition: height .4s;
	-ms-transition: height .4s;
	-o-transition: height .4s;
}

#preloader-wapper::after {
	top: auto;
	bottom: 0;
}

#preloader-wapper.loaded::before,#preloader-wapper.loaded::after {
	height: 0%;
}

.loader-middle {
	position: relative;
	width: 50%;
	height: 1px;
	overflow: hidden;
	margin: auto;
	transition: all .8s;
	-webkit-transition: all .8s;
	-moz-transition: all .8s;
	-ms-transition: all .8s;
	-o-transition: all .8s;
	z-index: 555;
}

.loader-middle::before {
	position: absolute;
	content: "";
	width: 0;
	height: 100%;
	left: 50%;
	background: #ea1538;
	animation: showLine 700ms ease-in-out 0s forwards;
	-o-animation: showLine 700ms ease-in-out 0s forwards;
	-webkit-animation: showLine 700ms ease-in-out 0s forwards;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
}

@keyframes showLine {
	0% {
		width: 0;
		opacity: 0;
	}

	100% {
		width: 100%;
		opacity: 1;
	}
}

@-o-keyframes showLine {
	0% {
		width: 0;
		opacity: 0;
	}

	100% {
		width: 100%;
		opacity: 1;
	}
}

@-webkit-keyframes showLine {
	0% {
		width: 0;
		opacity: 0;
	}

	100% {
		width: 100%;
		opacity: 1;
	}
}

.loader-middle::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	left: -100px;
	top: 0;
	animation: loader-middle 2s cubic-bezier(.86,0,.07,1) infinite;
	-o-animation: loader-middle 2s cubic-bezier(.86,0,.07,1) infinite;
	-webkit-animation: loader-middle 2s cubic-bezier(.86,0,.07,1) infinite;
	animation-delay: 1200ms;
}

@keyframes loader-middle {
	0% {
		left: -100%;
		background: #fff;
	}

	100% {
		left: 100%;
		background: #fff;
	}
}

@-o-keyframes loader-middle {
	0% {
		left: -100%;
		background: #fff;
	}

	100% {
		left: 100%;
		background: #fff;
	}
}

@-webkit-keyframes loader-middle {
	0% {
		left: -100%;
		background: #fff;
	}

	100% {
		left: 100%;
		background: #fff;
	}
}

.loader-middle.loaded {
	width: 100%;
	opacity: 0;
}

.loader-middle.loaded::after {
	opacity: 0;
}

/**************************************
 * 03. Preview Section Style
 *************************************/
.discount-badge {
    display: inline-block;
    z-index: 1;
    right: 5%;
    bottom: 15%;
    position: fixed;
}
.badge {
  position: relative;
  letter-spacing: 1px;
  color: #000;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  text-decoration: none;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  text-align: center;
  -webkit-filter: drop-shadow(0.25em 0.7em 0.95em rgba(0, 0, 0, 0.8));
  filter: drop-shadow(0.25em 0.7em 0.95em rgba(0, 0, 0, 0.8));
    font-family: 'Allerta Stencil', sans-serif;
}
@media screen and (max-width: 420px) {
  .badge {
    font-size: 10px;
  }
}
@media screen and (min-width: 1280px) {
  .badge {
    font-size: 20px;
  }
}
.badge::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: block;
  width: 10em;
  height: 10em;
  border-radius: 100%;
  background: #fff;
  opacity: 0.8;
  -webkit-transition: opacity 0.3s linear;
  transition: opacity 0.3s linear;
}
.badge:hover {
  color: #ea1538;
  text-decoration: none;
  -webkit-transform: rotate(0deg) scale(1.07);
          transform: rotate(0deg) scale(1.09);
}
.badge:hover::before {
  opacity: 0.9;
}
.badge svg {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: block;
  z-index: 0;
  width: 10em;
  height: 10em;
}
.badge span {
  display: block;
  padding: 10px;
  z-index: 1;
  font-size: 40px;
    color: #ea1538;
}

/**************************************
 * 03. Preview Section Style
 *************************************/

.preview-item {
	margin-bottom: 40px;
}
.preview-item:last-child {
	margin-bottom: 0px;
}
/*
.preview-item:nth-last-child(-n + 2) {
	margin-bottom: 0px;
}
*/
.preview-single-item {
    position: relative;
}

.new-version-tag {
    position: absolute;
    z-index: 1;
    left: -10px;
    top: -17px;
    background: #2196F3;
    padding: 7px 15px;
}

.new-version-tag h5 {
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
}
.preview-link {
    position: relative;
    display: block;
}
.preview-btn-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 23, 23, 0.8);
    opacity: 0;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    overflow: hidden;
}

.preview-btn-wrapper .preview-btn-inner {
    position: absolute;
    top: 50%;
    width: 100%;
    height: auto;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.preview-btn {
    position: relative;
    display: inline-block;
    padding: 9px 20px 6px 20px;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 1.5em;
    color: #ffffff;
    border: 2px solid #ea1538;
    border-radius: 30px;
    text-decoration: none;
    -webkit-transition: all .3s ease-out!important;
    transition: all .3s ease-out!important;
}

.preview-single-item .preview-link:hover .preview-btn-wrapper {
    opacity: 1
}
.preview-single-item h3 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 3px;
    text-transform: capitalize;
    color: #ffffff;
    text-align: center;
    padding: 15px 20px;
    background: #ea1538;
    overflow: hidden;
    display: block;
}











 
@media only screen and (min-width: 991px) and (max-width: 1024px) {
	.badge span {
		font-size: 18px;
	}
}


@media only screen and (min-width: 768px) and (max-width: 991px) {
	.badge span {
		font-size: 18px;
	}
	.preview-item {
		margin-bottom: 40px !important;
	}
	.preview-item:last-child {
		margin-bottom: 0px;
	}
}

@media only screen and (max-width: 767px) {
	.badge span {
		font-size: 18px;
	}
	.discount-badge {
		right: 6%;
		bottom: 8%;
	}
	.preview-item {
		margin-bottom: 40px !important;
	}
	.preview-item:last-child {
		margin-bottom: 0px;
	}
}


@media only screen and (max-width: 479px) {
	.discount-badge {
		display: none;
	}
	.preview-item {
		margin-bottom: 40px !important;
	}
	.preview-item:last-child {
		margin-bottom: 0px;
	}

}


@media screen and (max-width: 320px) and (min-width: 0px){
	.discount-badge {
		display: none;
	}
	.preview-item {
		margin-bottom: 40px !important;
	}
	.preview-item:last-child {
		margin-bottom: 0px;
	}
}
 
 
 
 
 
 
 
 
 
 
 
 
 