@charset "utf-8";
/* CSS Document */

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	color: #2C2B2B;
	background-color: #ECEBEA;
	scroll-behavior: smooth;
	font-family: "OpenSans";
}

body::-webkit-scrollbar {
	width: 10px;
	background-color: #FFF;
}

body::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: rgba(0, 0, 0, .3);
}

body::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	background-color: #FFF;
}

@font-face {
	font-family: "OpenSans";
	src: url("https://davanti.sfumato.lv/images/fonts/OpenSans-Regular.ttf");
}

@font-face {
	font-family: "Mukta";
	src: url("https://davanti.sfumato.lv/images/fonts/Mukta-Regular.ttf");
}

/* CURSOR */

.cursor {
	--cursor: #C3C8DE;
	position: fixed;
	z-index: 999999999999;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: none;
	border: solid 2px var(--cursor);
	pointer-events: none;
	transform: translate(-10px, -10px);
	transition: transform .3s ease, background-color .3s ease, border-color .3s ease, width .3s ease, height .3s ease;
	overflow: hidden;
}

.cursor.link {
	width: 60px;
	height: 60px;
	transform: translate(-30px, -30px);
	background-color: rgba(190, 70, 7, .7);
	cursor: none;
}

.cursor.forward {
	width: 30px;
	height: 30px;
	transform: translate(-15px, -15px);
	background-color: rgba(0, 0, 0, .7);
	cursor: none;
}

.cursor.menu {
	background-color: rgb(247, 126, 62, .7);
	border: solid 2px #F77E3E;
}

.cursor.product {
	width: 60px;
	height: 60px;
	transform: translate(-30px, -30px);
	cursor: none;
	background-color: #FFF;
}

.cursor.product img {
	width: 100%;
	height: 100%;
}

.cursor.forward .fa {
	font-size: 20pt;
	transform: translate(6.5px, 2px);
}

.cursor.link .fa {
	transform: translate(15px, 15px);
}

.cursor .fa {
	font-size: 22pt;
	color: #FFF;
	display: none;
}

.cursor img {
	display: none;
	opacity: 0;
}

body a {
	cursor: none !important;
}

@media (hover: none) {
	.cursor {
		display: none;
	}
}

/* NAVBAR */

.navbar {
	background-color: rgba(255, 255, 255, 0.9);
	transition: all .3s ease;
	position: fixed;
	width: 100%;
	height: 85px;
	top: 0;
	left: 0;
	display: flex;
	z-index: 9999;
	box-shadow: 0 0.9rem 0.7rem rgba(0, 0, 0, 0.05),
		0 0.2rem 0.2rem rgba(0, 0, 0, 0.02);
}

.navbar.out {
	transform: translateY(-100%);
}

.navbar .logo-container {
	width: 250px;
	margin: auto 0;
	text-align: center;
}

.navbar .logo-container img {
	width: 75%;
}

.navbar .menu-container {
	width: calc(100% - 250px);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.navbar .menu-container .top-menu-container, .navbar .menu-container .bottom-menu-container {
	display: flex;
	width: 99%;
	margin: auto;
	align-items: center;
} 

.navbar .menu-container .top-menu-container {
	border-bottom: 1.5px solid #2C2B2B;
	height: 40%;
	justify-content: space-between;
}

.navbar .menu-container .bottom-menu-container {
	height: 60%;
	justify-content: center;
}

.navbar .menu-container .right-container, .navbar .menu-container .center-container, .navbar .menu-container .left-container {
	display: flex;
}

.navbar .menu-container .right-container {
	transform: translateX(-20px);
}

.navbar .menu-container a {
	color: #2C2B2B;
	text-decoration: none;
	font-family: "OpenSans";
	font-size: 14pt;
	margin: 0 20px;
	transition: color .2s;
	cursor: pointer;
}

.navbar .menu-container a .fa {
	font-size: 12pt;
}

.navbar .menu-container a:hover {
	color: #F77E3E;
}

.navbar .menu-container .top-menu-container a {
	font-size: 12pt;
}

.fa-globe {
	font-size: 10.5pt !important;
}

.navbar .menu-container .products-container {
	display: flex;
	position: absolute;
	width: 700px;
	background-color: #FFF;
	transform: translate(-300px);
	flex-wrap: wrap;
	box-shadow: 0 0.7rem 0.7rem rgba(0, 0, 0, 0.22);
	transition: .5s !important;
	overflow: hidden;
	align-content: normal;
	justify-content: flex-start;
	align-items: normal;
	flex-direction: row;
	opacity: 0;
	height: 0px;
}

.navbar .menu-container .products-container .product {
	width: 145px;
	height: 100px;
	margin: 0px 15px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.navbar .menu-container .products-container .product .product-header {
	position: absolute;
	text-align: center;
	width: 100%;
	font-size: 13pt;
	left: 0;
	
	margin-top: -5px;
}

.navbar .menu-container .products-container .product .product-image {
	height: 100%;
	background-color: black;
	position: absolute;
	margin-top: 50px;
	overflow: hidden;
	left: 0;
}

.navbar .menu-container .products-container .product img {
	width: 100%;
	height: 100%;
	transition: transform .25s;
}

.navbar .menu-container .products-container .product a:hover img {
	transform: scale(1.3);
}

.navbar .menu-container .other-languages {
	position: absolute;
	background-color: #FFF;
	box-shadow: 0 0.7rem 0.7rem rgba(0, 0, 0, 0.22);	
	transition: .5s;
	opacity: 0;
	height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 60px;
}

.navbar .menu-container .other-languages a {
	position: absolute;
	top: 5px;
} 

.navbar .menu-container .other-languages a:nth-child(2) {
	top: 30px;
}

.navicon-container {
	position: absolute;
	left: 8%;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14pt;
	border: 1px solid #F77E3E;
	border-radius: 50%;
	padding: 8.25px 11.25px;
	cursor: pointer;
	transition: .2s;
	display: none;
}

.navicon-container:hover {
	background-color: #F77E3E;
	color: #FFF;
}

@media (max-width: 870px) {
	.navbar .menu-container {
		display: none;
	}
	
	.navicon-container {
		display: block;
	}
	
	.navbar {
		justify-content: center;
	}
}

@media (max-width: 360px) {
	.navicon-container {
		left: 15px !important;
	}
}

@media (max-width: 315px) {
	.logo-container {
		transform: translate(20px) !important;
	}
}

/* SIDENAV */

.sidenav {
	width: 0;
	height: 100%;
	background-color: #FFF;
	position: fixed;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	transition: .7s;
}

.sidenav a {
	color: #2C2B2B;
	text-decoration: none;
	font-family: "OpenSans";
	font-size: 14pt;
	margin: 0px 20px;
	transition: color .2s;
	cursor: pointer;
}

.sidenav a .fa {
	font-size: 12pt;
	transform: translateY(-1.15px);
}

.sidenav a:hover {
	color: #F77E3E;
}

.sidenav .logo-container img {
	width: 220px;
	margin: 50px 0;
}

.sidenav .menu-container {
	text-align: center;
	display: flex;
	flex-direction: column;
}

.sidenav .menu-container a, .sidenav .products {
	margin: 10px;
}

.sidenav .menu-container .products-container-side {
	height: 0px;
	opacity: 0;
	transition: .5s !important;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.sidenav .menu-container .products-container-side .product {
	width: 220px;
	height: 120px;
	transform: translate(10px);
}

.sidenav .menu-container .products-container-side .product:hover .product-image img {
	transform: scale(1.2);
}

.sidenav .menu-container .products-container-side .product .product-image {
	width: 200px;
	height: 100px;
	overflow: hidden;
}

.sidenav .menu-container .products-container-side .product .product-image img {
	width: 100%;
	transition: .2s;
}

.sidenav .menu-container .products-container-side .product .product-header {
	position: absolute;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	background-color: rgba(0, 0, 0, .5);
	top: 26px;
	z-index: 99;
}

.sidenav .menu-container .products-container-side .product .product-header p {
	color: #FFF;
	position: absolute;
	top: 25%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: .2s;
}

.sidenav .close-container {
	position: fixed;
	top: 20px;
	right: calc(100% + 20px);
	font-size: 16pt;
	transition: .7s;
	cursor: pointer;
}

.contact-container {
	position: fixed;
}

.language-container-side {
	position: fixed;
	display: flex;
	flex-direction: column;
	bottom: 20px;
	left: -70px;
	transition: .7s;
}

.language-container-side a {
	margin: 10px 0;
}

.contact-container {
	position: fixed;
	display: flex;
	flex-direction: column;
	bottom: 30px;
	right: calc(100% + 70px);
	transition: .7s;
}

.contact-container:hover a {
	background-color: #F77E3E;
	color: #FFF;
}

.contact-container a {
	margin: 0;
	font-size: 16pt;
	border: 1px solid #F77E3E;
	border-radius: 50%;
	padding: 2px 10px;
	transition: .2s;
}

.contact-container a .fa {
	transform: translate(0px, -4px);
}

@media (max-width: 320px) {
	.contact-container {
		transform: translate(12.5px) !important; 
	}
	
	.contact-container a {
		padding: 0px 8px !important;
	}
	
	.language-container-side {
		transform: translate(-12.5px) !important; 
	}
}

/* LOADING ANIMATION */

#loading-animation {
	width: 100%;
	height: 100vh;
	background-color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999999999999;
	transition: .5s;
	flex-direction: column;
}

text {
	font-weight: bold;
}

tspan {
	animation: fadeIn 1s ease-in-out forwards;
	animation-delay: 0.5s;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.spinner {
    border-top: 3px solid #F77E3E;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: spin 2s linear infinite;
    margin-left: 10px;
	margin-top: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* FOOTER */

footer {
	position: relative;
	background-color: #FFF;
	padding: 100px 10% 50px;
	display: flex;
	margin-top: -180px;
}

footer .icon img {
	width: 50%;
	border: 5px solid #F77E3E;
	border-radius: 50%;
	padding: 10px;
}

footer .textik {
	transform: translateY(-50px);
	width: calc(100% - 120px);
	display: flex;
	align-items: center;
	width: 100%;
}

footer .icon, footer .links, footer .social, footer .all-contacts {
	display: flex;
	flex-direction: column;
	width: 25%;
	justify-content: center;
	align-items: center;
}

footer .links a, footer .social a {
	text-decoration-color: #2C2B2B;
	color: #2C2B2B;
	font-size: 12pt;
	padding: 5px;
	text-align: left;
	width: 105px;
}

footer .links a .fa {
	color: #F77E3E;
	font-size: 10pt;
}

footer .social a .fa {
	margin-right: 10px;
}

footer .social a:first-child .fa {
	color: #FF007F;
}

footer .social a:nth-child(2) .fa {
	color: red;
}

footer .social a:nth-child(3) .fa {
	color: blue;
}

footer .all-contacts a {
	background-color: #F77E3E;
	padding: 10px 15px;
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
}

@media (max-width: 680px) {
	footer .links, footer .social {
		display: none;
	}

	footer .icon, footer .all-contacts {
		width: 50%;
	}	
}

@media (max-width: 400px) {
	footer .icon {
		display: none;
	}

	footer .all-contacts {
		width: 100%;
	}	
}

@media (max-width: 790px) {
	footer {
		margin-top: -50px;
	}
}

footer .copyright {
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: #2C2B2B;
	color: #ECEBEA;
	text-align: center;
	padding: 15px 0;
	margin-top: 50px;
}

/* SCROLL TO TOP */

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #555;
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
	transition: .3s;
}

#scrollToTopBtn:hover {
    background-color: #333;
}
