/* CSS */
/*
Theme Name: Tan
Description:  official website
Design by Studio mashq 
Designer URI: https://www.instagram.com/mashqstudio/
Developed by Farzin Mojaver
Developer URI: https://www.linkedin.com/in/farzin-mojaver-a687871a7/
Version: 1.0
*/

@font-face {
    font-family: Svetze;
    font-style: normal;
    font-weight: normal;
    src: url('fonts/Svetze.otf') format('opentype');	 
}
@font-face {
    font-family: Epilogue;
    font-style: normal;
    font-weight: normal;
    src: url('fonts/Epilogue-Regular.ttf') format('tuetype');	 
}
@font-face {
    font-family: Epilogue;
    font-style: normal;
    font-weight: bold;
    src: url('fonts/Epilogue-Bold.ttf') format('tuetype');	 
}
@font-face {
    font-family: Epilogue;
    font-style: italic;
    font-weight: normal;
    src: url('fonts/Epilogue-Italic.ttf') format('tuetype');	 
}

/***************************************************
				General
***************************************************/
body {
    width: 100%;
	padding:0;
	margin:0;
	-webkit-font-smoothing: antialiased;
	font-family: "Epilogue", sans-serif;
	font-size:16px;
	-webkit-text-size-adjust: 100%;
	background:#fff !important;
	direction:ltr;
    scroll-behavior: smooth;
	color: #000;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    direction: ltr;
    overflow-x: hidden;
	opacity:0;
}
* {
    outline: none !important;
}
:root {
  accent-color:#741b16;
}
*::after,
*::before {
	box-sizing: border-box;
}
ul {
	margin:0;
	padding:0;
}
li {
	list-style:none;
    color: #fff;
}
a {
	font-family: "Epilogue", sans-serif;
    font-size:16px;
    color:#000;
}
a:link {
	text-decoration: none;
    color:#000;
}
a:visited {
	text-decoration: none;
    color:#000;
}
a:focus,
a:hover {
	text-decoration: none;
    color:#000;
}
a:active {
	text-decoration: none;
    color:#000;
}
a[href^=tel]{
	color:inherit;
	text-decoration:none;
}
img {
    width: 100%;
    height: auto;
}
input, textare{
	font-family: "Epilogue", sans-serif;
    font-size:1em;
}
textarea:focus, input:focus{
	outline: 0;
	font-family: "Epilogue", sans-serif;
}
::-webkit-input-placeholder {
	color: #000;
	font-family: "Epilogue", sans-serif;
}
:-moz-placeholder { /* Firefox 18- */
	color: #000;
	font-family: "Epilogue", sans-serif;
}
::-moz-placeholder {/* Firefox 19+ */
	color: #000;
	font-family: "Epilogue", sans-serif;
}
:-ms-input-placeholder {
	color: #000;
	font-family: "Epilogue", sans-serif;
}
figure {
    margin: 0;
}
img {
	border:0;
	border:none;
    outline: none;
}
figure img {
	width: 100%;
    height: auto;
}
span,
p {
	font-family: "Epilogue", sans-serif;
    font-size:16px;
    color: #000;
    text-align: justify;
    direction: ltr;
}
button,
span {
	font-family: "Epilogue", sans-serif;
    font-size:16px;
}
button {
    cursor: pointer;
}
iframe {
	border:none;
}
.clear{
	clear:both;
}
.loader {
	width:100%;
	height:3px;
	position:fixed;
	top:0;
	right:0;
	z-index:999999;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.loader:before {
    content: '';
    width: 100%;
    height: 3px;
    background: #000;
    position: absolute;
    top:0;
    left: 0;
    transform: scaleX(0);
}
body.loaded {
	opacity:1;
}
body.loaded .loader:before {
    animation: scaleIn .6s ease-in 0.2s forwards;
}
@keyframes scaleIn {
  100% {
      transform: scaleX(1);
  }
}
body.loaded .loader {
    animation: transY 1s ease-in .5s forwards;
}
@keyframes transY {
  100% {
      transform: translateY(-120%);
  }
}
body.loaded main {
    animation: fadeIn 1s ease-in 0.7s forwards;
}
@keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}
body.loaded #header {
    animation: slideDown .3s ease-in 0.3s forwards;
}
@keyframes slideDown {  
  0% {
      opacity: 0;
      transform: translateY(-40px);
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}
main { 
    width: -moz-calc(100% - 80px);
    width: -webkit-calc(100% - 80px);
    width: -o-calc(100% - 80px);
    width: calc(100% - 80px);
    margin: 0 auto 0 auto;
    padding: 0;
    
}
/***************************************************
				header
***************************************************/
header { 
    width: -moz-calc(100% - 80px);
    width: -webkit-calc(100% - 80px);
    width: -o-calc(100% - 80px);
    width: calc(100% - 80px);
	padding:20px 40px;
	display:flex;
	justify-content:space-between;
	align-items:center;
	position:fixed;
	z-index:999;
	top:0;
	left:0;
	background:none;
}
#logo {
	width:80px;
}
.social-media {
	display:flex;
	justify-content:end;
	align-items:center;
	width:100px;
}
.social-media li a  {
	display:block;
	margin-left:10px;
}
.social-media li a svg {
	width:24px;	
	height:24px;	
}
header nav { 
	display:flex;
	justify-content:center;
	align-items:center;
	display:none;
}
header nav li:nth-child(2) {
	margin:0 50px;
}
header nav li a { 
	cursor:not-allowed;
	color:#fff !important;
	text-transform:uppercase;
	opacity:.5;
}
/***************************************************
				home
***************************************************/
.slider-wrap {
	width:100%;
	height:100dvh;
	background:#000;
}
.mob-slide,
.desk-slide {
	width:100%;
	height:100dvh;
	display:flex;
	background-position:bottom right;
	background-repeat:no-repeat;
	background-size:cover;
	position:relative;
}
.mob-slide {
	display:none;
	background-position:bottom center;
}
.mob-slide label,
.desk-slide label {
	position:absolute;
	left:40px;
	bottom:40px;
	font-family:'Svetze';
	color:#fff;
	font-size: clamp(40px, 4vw, 60px);
	text-transform:uppercase;
}
/***************************************************
				footer
***************************************************/
footer { 
    width: -moz-calc(100% - 80px);
    width: -webkit-calc(100% - 80px);
    width: -o-calc(100% - 80px);
    width: calc(100% - 80px);
	padding:40px;
	display:flex;
	justify-content:space-between;
	align-items:flex-end;
	display:none;
}
.footer-logo svg,
.footer-logo {
	width:40vh;
	max-width:460px;
}
.tag-line {
	font-size: clamp(14px, 0.8vw, 24px);
}

@media screen and (max-width: 960px) {
	header,
	footer,
	main { 
		width: -moz-calc(100% - 40px);
		width: -webkit-calc(100% - 40px);
		width: -o-calc(100% - 40px);
		width: calc(100% - 40px);
	}
	header {
		padding:10px 20px;
	}
	footer { 
		padding:20px;
	}
}
@media screen and (max-width: 680px) {
	.desk-slide {
		display:none;
	}
	.mob-slide {
		display:flex;
	}
}
@media screen and (max-width: 460px) {
	.footer-logo svg,
	.footer-logo {
		width:100%;
		max-width:unset;
	}
}