@font-face {
	font-family: 'estherregular';
	src: url('../fonts/esther-webfont.woff2') format('woff2'),
			url('../fonts/esther-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: 'Fractul';
    src: url('../fonts/Fractul-Light.eot');
    src: local('Fractul Light'), local('Fractul-Light'),
        url('../fonts/Fractul-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Fractul-Light.woff2') format('woff2'),
        url('../fonts/Fractul-Light.woff') format('woff'),
        url('../fonts/Fractul-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

:root {
	--color-primary: #fff;
	--color-secondary: #dbbf69;
}

* {
	font-family: "estherregular", sans-serif;
	font-size: 16px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}

ol, ul, li {
	list-style: none;
	padding: 0;
	margin: 0;
}

a {
text-decoration: none;
}

body {
	padding: 0;
	margin: 0;
}

/* =======================
	=== SOCIAL ICONS ===
	======================= */
.instagram-icon {
	background-image: url(../images/social-networks/instagram.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 65px;
	height: 65px;
	display: inline-block;
	transition: transform 0.5s;
}

.instagram-icon:hover {
	/* transform: scale(2); */
	/* background-image: url(../images/social-networks/instagram-yellow.svg); */
}

.facebook-icon {
	background-image: url(../images/social-networks/facebook.svg);
	margin: 0 30px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 65px;
	height: 65px;
	display: inline-block;
	transition: transform 0.5s;
}

.facebook-icon:hover {
	/* transform: scale(2); */
	/* background-image: url(../images/social-networks/facebook-yellow.svg); */
}

.linkedin-icon {
	background-image: url(../images/social-networks/linkedin.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 65px;
	height: 65px;
	display: inline-block;
	transition: transform 0.5s;
}
.linkedin-icon:hover {
	/* transform: scale(2); */
	background-image: url(../images/social-networks/linkedin-yellow.svg);
}

/* =======================
	=== PAGE PRINCIPALE ===
	======================= */
.home {
	background-color: #fff;
	background-image: url(../images/background-lg.jpg);
	background-size: 100vw;
	background-position: cover;
	background-repeat: no-repeat;
	height: 100vh;
	width: 100vw;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden; 
}

.centered-text {
	color: #000;
	text-align: center;
	margin: 0 auto;
	font-size: 50px;
	line-height: 0.9;
}

.text-container {
	margin: 0 auto;
	position: relative;
}

.footer-text {
	font-size: 50px;
	font-family: 'Fractul', sans-serif;
	color: #000;
	text-align: center;
	margin-bottom: 10px;
}

.footer-icons {
	display: flex;
	justify-content: center;
	position: relative;
	margin-bottom: 20px;
}

  
/* =======================
	=== MEDIA QUERIES ===
	======================= */

@media screen and (max-width: 480px) {
	.home {
		background-image: url(../images/background-sm.jpg);
		background-size: 100% !important;
        background-position: center;
        background-position-y: 55px;
        
	}

	.text-container  {
		top: 55%;
	}

	.footer-text {
		margin-top: 10px;
		font-size: 25px;
	}

	.centered-text {
		font-size: 30px;
	}
}

@media screen and (min-width: 481px) and (max-width: 767px) {
	.home {
		background-image: url(../images/background-md.jpg);
		background-size: 100% !important;
		background-position: center;
	}

	.text-container  {
		top: 45%;
		margin-left: 3% !important;
	}

	.footer-text {
		margin-top: 10px;
		font-size: 20px;
	}
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	.home {
		background-image: url(../images/background-md.jpg);
		background-size: 100% !important;
		background-position: center;
	}

	.text-container  {
		top: 45%;
		margin-left: 3% !important;
	}

	.footer-text {
		margin-top: 10px;
		font-size: 28px;
	}
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
	.home {
		background-image: url(../images/background-md.jpg);
		background-size: 100% !important;
		background-position: center;
	}

	.text-container  {
		top: 45%;
		margin-left: 3% !important;
	}

	.footer-text {
		margin-top: 10px;
		font-size: 40px;
	}
}

@media screen and (min-width: 1281px) {
	.home {
		background-image: url(../images/background-lg-1.jpg); 
		background-size: 100% !important;
		background-position: center;
	}

	.text-container  {
		top: 45%;
        margin-left: 3% !important;
	}

	.footer-text {
		font-size: 45px;
        
	}

	.logo {
		width: 300px;
		height: 300px;
	}
}

  
@keyframes spin {
	0% {
	  transform: rotate(0deg);
	}
	100% {
	  transform: rotate(360deg);
	}
}
  
body:not(.loaded) .home {
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.6s ease;
}
  
body.loaded .loader {
	display: none;
}
  
body.loaded .home {
	visibility: visible;
	opacity: 1;
}
  
  