/*!
Theme Name: archrobertonegri_theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: archrobertonegri_theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

archrobertonegri_theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
	font-family: 'CenturyGothic'; /* Sostituisci con il nome del font desiderato */
	src: url('./font/CenturyGothic.ttf') format('truetype'); /* Sostituisci con il percorso del font e il formato corretto */
	font-weight: 500;
}

@font-face {
	font-family: 'CenturyGothic'; /* Sostituisci con il nome del font desiderato */
	src: url('./font/gothicb.ttf') format('truetype'); /* Sostituisci con il percorso del font e il formato corretto */
	font-weight: 700;
}

@font-face {
	font-family: 'CenturyGothic'; /* Sostituisci con il nome del font desiderato */
	src: url('./font/CenturyGothicPaneuropeanThin.ttf') format('truetype'); /* Sostituisci con il percorso del font e il formato corretto */
	font-weight: 300;
}


html, body {
	padding: 0 !important;
	margin: 0 !important;
	color: black
}

* {
	font-family: 'CenturyGothic', sans-serif;
	font-weight: 300;
}

p, span {
	font-weight: 300;
}

strong, b {
	font-weight: 500 !important;
}

.border-radius-0 {
	border-radius:0
}

#wpadminbar {
	display: none;
}

header ul {
	margin: 0;
	padding: 0
}

#mainMenu {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

#mainMenu li {
	padding: 20px;
	display: inline-block;
	list-style-type: none;
}

#mainMenu .menu-item a {
	text-decoration: none;
	font-size: 14px;
	color: black;
	opacity: 0.5;
	font-weight: 500;
	text-transform: uppercase;
	background: 
		linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1)),
		linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1), rgba(0, 0, 0, 1));
	background-size: 100% 0.1em, 0 0.1em;
	background-position: 100% 100%, 0 100%;
	background-repeat: no-repeat;
	transition: background-size 400ms;
}

#mainMenu .menu-item a:hover {
	background-size: 0 0.1em, 100% 0.1em;
}

#mainMenu .current_page_item a  {
	color: black !important;
	font-weight: 700 !important;
	opacity: 1 !important;
}

#mainMenuMobile {
	padding: 15px;
	text-align: center
}

#mainMenuMobile li {
	padding: 15px;
	display: block;
	list-style-type: none;
}

#mainMenuMobile .menu-item a {
	text-decoration: none;
	font-size: 14px;
	color: black;
	opacity: 0.5;
	font-weight: 500;
	text-transform: uppercase;
	background: 
		linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1)),
		linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1), rgba(0, 0, 0, 1));
	background-size: 100% 0.1em, 0 0.1em;
	background-position: 100% 100%, 0 100%;
	background-repeat: no-repeat;
	transition: background-size 400ms;
}

#mainMenuMobile .menu-item a:hover {
	background-size: 0 0.1em, 100% 0.1em;
}

#mainMenuMobile .current_page_item a  {
	color: black !important;
	font-weight: 700 !important;
	opacity: 1 !important
}

#logoContainer {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

#logoContainer > .logoDiv {
	display: inline-block;
	width: 15px;
	height: 15px;
	outline: 10px solid black;
	margin-right: 30px
}

#logoContainer > .logoName {
	display: inline-block;
	font-size: 20px;
	font-weight: 500;
}

.line {
	height: 1px;
	margin: 0 10%;
	background: black;
	opacity: 0.2
}

.mask {
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
}

.carousel-card{
	width: 100%;
	height: 600px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	position: relative;
	animation: moveBackground 20s infinite linear alternate;
}

.carousel-title {
	max-width: 80%;
	padding: 30px;
	text-align: center;
	position: relative;
}

.carousel-title > span {
	font-size: 50px;
	text-transform: uppercase;
	font-weight: 500;
	color: white;	
}

.carousel-title > span > a {
	font-weight: 500 !important;
}

.section-title {
	font-weight: 500;
	position: relative;
	display: inline-block;
	z-index: 2;
	text-transform: uppercase;
}

.section-title:before {
	content: '';
	position: absolute;
	top:0;
	left:-7px;
	width: 40px;
	height: 40px;
	outline: 20px solid rgba(0,0,0,0.05);
	z-index: 0;
}

.section-title-inverted {
	font-weight: 500;
	position: relative;
	display: inline-block;
	color: white;
	z-index: 2;
	text-transform: uppercase;
}

.section-title-inverted:before {
	content: '';
	position: absolute;
	top:0;
	left:-7px;
	width: 40px;
	height: 40px;
	outline: 20px solid rgba(255,255,255,0.15);
	z-index: 0;
}

.section-claim {
	font-size: 20px;
	font-weight: 300;
	opacity: 0.7
}

.project-card {
	position: relative;
	width: 100%;
	transition-duration: 500ms;
}

.project-card:hover {
	transform: scale(1.05);
}

.project-card-image {
	width: 100%;
}

.project-card-title {
	display: block;
	font-weight: 500;
	font-size: 18px;
	margin-top: 15px;
	text-transform: uppercase;
}

.project-card-description {
	display: block;
	font-weight: 300;
	opacity:0.7;
	font-size: 14px;
	margin-top: 5px;
	display: -webkit-inline-box; /* Per compatibilità con browser WebKit */
	display: inline-box;
	overflow: hidden;
	text-overflow: ellipsis; /* Aggiunge "..." se il testo è troppo lungo per essere mostrato completamente */
	-webkit-box-orient: vertical; /* Per compatibilità con browser WebKit */
	-webkit-line-clamp: 1; /* Specifica quante righe mostrare */
	line-clamp: 1; /* Specifica quante righe mostrare */
}

.underlined {
	background: 
		linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1)),
		linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1), rgba(0, 0, 0, 1));
	background-size: 100% 0.1em, 0 0.1em;
	background-position: 100% 100%, 0 100%;
	background-repeat: no-repeat;
	transition: background-size 400ms;
}
  
.underlined:hover,
.underlined:focus {
	background-size: 0 0.1em, 100% 0.1em;
}

footer {
	background: black;
	color: white;
	padding-top: 25px;
	padding-bottom: 25px;
	font-size: 12px
}

.strisce {
	background: rgb(0,0,0);
	background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 10%, rgba(255,255,255,1) 10%, rgba(255,255,255,1) 20%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 30%, rgba(255,255,255,1) 30%, rgba(248,248,248,1) 40%, rgba(0,0,0,1) 40%, rgba(0,0,0,1) 100%);
}

a {
	text-decoration: none;
	color: black
}

.wpcp-swiper-dots {
	display: none !important
}

@keyframes moveBackground {
	/* A 0% (inizio dell'animazione), il background-position è "center center" */
	0% {
	  background-position: 0% 0%;
	}
	50% {
	  background-position: 50% 50%;
	}
	100% {
		background-position: 100% 100%;
	}
}

@media(max-width: 768px){
	#logoContainer > .logoName {
		font-size: 16px;
	}
	.carousel-title > span {
		font-size: 30px;
	}
}






