/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

.artetra-menu {
	width: 100%;
	height:100%;
	height: 100vh;
	position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color: #FFF;
	z-index:200;
	inset:0;
	display: flex;
	font-family: "Helvetica", Verdana, Arial, sans-serif;
}

.artetra-menu > div {
	flex:1;
	height: 100%;
	border-right: 1px solid #ccc;
	padding:30px;
}

.artetra-menu > div:last-child {
	flex:1;
	height: 100%;
	border-right: none;
}

.artetra-menu .artetra-menu-logo-small {
	height:18px;
	width:auto;
}

.rotated-r {
  display: inline-block;
  transform: rotate(0) scaleX(-1);
}

.artetra-menu .artetra-menu-logo {
	width: 120px;
	height: auto;
}

.artetra-menu ul {
	list-style:none;
	padding-left:0;
	margin-left:0;
}

.artetra-menu .col-3 ul li a,
.artetra-menu .col-3 ul li {
	font-size:24px;
	font-weight: 400;
	color:#000;
	text-decoration: none;
	line-height: 1.1;
}
.artetra-menu .col-3 {
	position: relative;
	padding-bottom:100px;
}
.artetra-menu .col-2 ul li a {
	font-size:71px;
	font-weight: 500;
	color:#000;
	text-decoration: none;
	line-height: 1.1;
}

.artetra-menu .col-3 h3 {
	font-size:24px;
	color: #ccc;
	line-height: 1.1;
	margin-bottom:0;
	padding-bottom: 0;
}

.artetra-menu .col-3 p {
	font-size:24px;
	color:#000;
	line-height: 1.1;
}

.artetra-menu .col-3 .slogan {
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	padding:0 30px 30px 30px;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	color:#8042ff;
	font-weight: 600;
	font-size:16px;
}

.artetra-menu .col-3 .slogan img {
	width:50px;
	height: auto;
}
@media only screen and (max-width:992px) {
	.artetra-menu {
		overflow-y: auto;
    -webkit-overflow-scrolling: touch;
		flex-direction: column;
		    height: 100dvh; /* <-- differenza decisiva */
    min-height: 100%;
	}

	.artetra-menu .col-2 ul li a {
		font-size:50px;
	}
	.artetra-menu > div {
		padding-bottom:30px;
		padding-top:0;
	}

	.artetra-menu .col-1 {
		padding-top:30px;
	}
}

/** bottone menu e sue animazioni **/
#open-menu {
  width: 28px;
  height: 20px;
  position: fixed;
	z-index:240;
	float:right;
  cursor: pointer;
}

#open-menu::after {
	content:" ";
	display: block;
	clear:both;
}

#open-menu span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
}

/* le due linee parallele */
#open-menu span:first-child { top: 4px; }
#open-menu span:last-child  { top: 14px; }

/* stato “aperto”: div con classe .open */
#open-menu.open span:first-child {
  top: 9px;
  transform: rotate(45deg);
}
#open-menu.open span:last-child {
  top: 9px;
  transform: rotate(-45deg);
}
