/*** body ***/


@font-face {
    font-family: 'Montserrat Bold';
    src: url('Montserrat-Bold.eot');
    src: url('../font/montserrat-bold/Montserrat-Bold.eot?#iefix') format('embedded-opentype'),
        url('../font/montserrat-bold/Montserrat-Bold.woff2') format('woff2'),
        url('../font/montserrat-bold/Montserrat-Bold.woff') format('woff'),
        url('../font/montserrat-bold/Montserrat-Bold.ttf') format('truetype'),
        url('../font/montserrat-bold/Montserrat-Bold.svg#Montserrat-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat Regular';
    src: url('../font/montserrat-bold/Montserrat-Regular.eot');
    src: url('../font/montserrat-bold/Montserrat-Regular.eot?#iefix') format('embedded-opentype'),
        url('../font/montserrat-bold/Montserrat-Regular.woff2') format('woff2'),
        url('../font/montserrat-bold/Montserrat-Regular.woff') format('woff'),
        url('../font/montserrat-bold/Montserrat-Regular.ttf') format('truetype'),
        url('../font/montserrat-bold/Montserrat-Regular.svg#Montserrat-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


* {
  /*-webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;*/
  cursor: none;
}

body {
	font-family: 'Montserrat Regular', Arial, sans-serif;
	background: #000;
	margin: 0;
	position: relative;
	overflow-x: hidden;
}

a {
	color: #fff;
	text-decoration: none;
}

a:hover {
	-webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

h2 {
	font-family: "Montserrat Bold", Arial, sans-serif;
	font-size: 1.2em;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: transparent;
  text-shadow: 0 0 3px rgba(243,112,1,1);
  text-stroke-width: 1px;
  -webkit-text-stroke-width: 1px;
  -moz-text-stroke-width: 1px;
  -o-text-stroke-width: 1px;
  text-stroke-color: rgba(243,112,1,1);
  -webkit-text-stroke-color: rgba(243,112,1,1);
  -moz-text-stroke-color: rgba(243,112,1,1);
  -o-text-stroke-color: rgba(243,112,1,1);
	text-align: center;
	margin: 50px 0;
}

h3 {
	font-family: "Montserrat Bold", Arial, sans-serif;
	text-transform: uppercase;
	font-size: 1em;
	margin: 0;
	padding: 0;
	color: #fff;
}

p {
	font-size: .8em;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #aaa;
	text-align: center;
	margin-bottom: 50px;
}

span {
	color: #fff;
	text-transform: uppercase;
	font-size: .8em;
}


/*** header ***/

header {
	position: fixed;
	top: 0;
	width: 100vw;
	padding: 20px;
	height: 200px;
	box-sizing: border-box;
	z-index: 10;
	color: #fff;
	background: linear-gradient(rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.header-scroll {
	background: linear-gradient(rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
	opacity: 1;
}

.header-info {
	display: block;
	width: 200px;
	color: #fff;
}

.logo-header {
	position: absolute;
	width: 100vw;
	top: 0;
	left: 0;
	/*margin: -55px 0;*/
	opacity: 1;
	padding: 40px 30px;
}

.logo-header2 {
	opacity: 1;
	/*background: #000;
  box-shadow: 30px 0 50px rgb(0 0 0 / 80%);*/
  margin: 0;
}

.logo-header-scroll {
	opacity: 1;
}

.logo-container-header {
	width: 150px;
	height: 70px;
	display: block;
	/*margin: auto;*/
	top: 50px;
	/*background: #000;
	border-radius: 100%;*/
	
}

.logo-container-header .logo-text {
	background-image: url(../img/ambrio_logo_white.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 60%;
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
}

.logo-container-header .logo-ring {
	display: none;
	position: absolute;
	background-image: url(../img/ambrio_ring_logo_white.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 100%;
	height: 100%;
}

.logo-container-header .logo-ring-1 {
	background-size: 78%;
	-webkit-animation:spin 100s linear infinite;
    -moz-animation:spin 100s linear infinite;
    animation:spin 100s linear infinite;
}

.logo-container-header .logo-ring-2 {
	background-size: 87%;
	transform: rotate(20deg);
	-webkit-animation:spin 150s linear infinite;
    -moz-animation:spin 150s linear infinite;
    animation:spin 150s linear infinite;
}

.logo-container-header .logo-ring-3 {
	background-size: 95%;
	transform: rotate(-30deg);
	-webkit-animation:spin 120s linear infinite;
    -moz-animation:spin 120s linear infinite;
    animation:spin 120s linear infinite;
}

#follower {
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	width: max(32px,2.2222222222vw);
	height: max(32px,2.2222222222vw);
	pointer-events: none;
	--size: max(14px,0.97222222220vw);
	--size-outer: max(32px,2.22222222220vw);
	mix-blend-mode: difference;
}

#follower .cursor_inner__1phfQ {
	-webkit-transition: all .1s ease-in-out;
	transition: all .1s ease-in-out;
	background: #fff;
}

#follower .cursor_inner__1phfQ, .cursor_outer__YIP63 {
	position: absolute;
	top: 50%;
	left: 50%;
	width: max(14px,0.9722222222vw);
	height: max(14px,0.9722222222vw);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	border: 1px solid transparent;
	border-radius: 50%;
	mix-blend-mode: difference;
}

#follower .cursor_outer__YIP63 {
	-webkit-transition: border-color .1s ease-in-out,width .22s ease-in-out,height .22s ease-in-out;
	transition: border-color .1s ease-in-out,width .22s ease-in-out,height .22s ease-in-out;
	will-change: transform;
}

#follower .cursor_inner__1phfQ, .cursor_outer__YIP63 {
	position: absolute;
	top: 50%;
	left: 50%;
	width: max(14px,0.9722222222vw);
	height: max(14px,0.9722222222vw);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	border: 1px solid transparent;
	border-radius: 50%;
	mix-blend-mode: difference;
}

#follower .cursor_hover {
	width: max(50px,0.9722222222vw);
	height: max(50px,0.9722222222vw);
}

@keyframes noise {
  0%, 100% { transform:translate(0, 0) }
  10% { transform:translate(-5%, -10%) }
  20% { transform:translate(-15%, 5%) }
  30% { transform:translate(7%, -25%) }
  40% { transform:translate(-5%, 25%) }
  50% { transform:translate(-15%, 10%) }
  60% { transform:translate(15%, 0%) }
  70% { transform:translate(0%, 15%) }
  80% { transform:translate(3%, 35%) }
  90% { transform:translate(-10%, 10%) }
}

.noise {
	width: 50vw;
	background-image: url(../img/noise.png);
  background-repeat: repeat;
  position: fixed;
  z-index: 50;
  width: 300%;
  height: 300%;
  left: -100%;
  top: -100%;
  pointer-events: none;
  will-change: transform;
  -webkit-animation: noise 6s steps(10) infinite;
  animation: noise 6s steps(10) infinites;
}


/*** main ***/

main {
	overflow: hidden;
}

.video-home {
	width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
	background: #000;
	opacity: 0.4;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
}

.scroll-container {
	position: relative;
  height: 120vh;
  margin-bottom: 150px;
}

.scroll-container > div {
	position: fixed;
	display: block;
	width: 100%;
	height: 100%;
	-webkit-transition: all 0s ease-in-out;
  -moz-transition: all 0s ease-in-out;
  -o-transition: all 0s ease-in-out;
  transition: all 0s ease-in-out;
}

.section-wrapper {
	
	height: 94vh;
	top: 0;
	left: 0;
	padding: 3vh;
	border-radius: border-box;
	position: relative;
	display: flex;
	overflow: hidden;
	transition: all 1s ease;
	
}

.section-1 {
	background: url('../img/ambrio_spm_comp.png');
	display: flex;
	justify-content: center;
  align-items: center;
  flex-grow: 0;
}

.section-2 {
	background: url('../img/ctm.png');
	flex-grow: 0;
}

.section {
	height: 100%;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	box-sizing: border-box;
	border-radius: 50px;
	transition: flex-grow 0.8s ease;

}

.section-flex-grow {
	flex-grow: 100;
}

.section-flex-0 {
	flex-grow: 0;
}

.text-wrapper {
	position: absolute;
	width: 97vw;
	height: 94vh;
	display: flex;
	justify-content: center;
  align-items: center;
}

.section-wrapper span {
	position: absolute;
	color: #fff;
	font-size: 2em;
	display: block;
	margin: auto;
	text-align: center;
	font-family: "Montserrat Regular", Arial, sans-serif;
	text-transform: uppercase;
	font-weight: bold;
	overflow: hidden;
  white-space: nowrap;
	animation: 
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
  color: transparent;
  text-shadow: 0 0 5px rgba(255,255,255,0.7);
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

.logo-container {
	height: 70vh;
	width: 70vh;
	margin: auto;
	display: block;
	padding: 50px;
	box-sizing: border-box;
}

.logo {
	width: 100%;
	height: 100%;
	position: relative;
}

.logo-text {
	background-image: url(../img/ambrio_logo_white.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 50%;
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
}

.bounce {
  width: 970vw;
  text-align: center;
  opacity: 1;
  margin: auto;
  /*margin-top: 85vh;*/
  bottom: 0;
  z-index: 100;
  position: absolute;
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

.bounce-scroll {
  opacity: 0;
}

.bounce a {
  font-size: 1em;
  width: 50px;
  height: 50px;
  margin: auto;
  display: block;
  padding: 50px;
  z-index: 9999;
  animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  -moz-animation: bounce 2s infinite;
  -o-animation: bounce 2s infinite;
}

@-webkit-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
  }
}

@-moz-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -moz-transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
  }
}

@-o-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -o-transform: translateY(0);
  }
  40% {
    -o-transform: translateY(-30px);
  }
  60% {
    -o-transform: translateY(-15px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.logo-scroll {
	height: 20vh;
	width: 100%;
	
	transform: scale(0.2);
}

.logo-scroll .bounce {
	opacity: 0;
}

.text {
	
}

.text-1 {
	width: 50%;
	margin: auto;
	color: #fff;
	font-size: 1.5em;
	margin-top: 0;
	/*background: #2b2d2e;*/
	border: 2px solid #fff;
	padding: 50px;
	font-family: "Montserrat Regular", Arial, sans-serif;
	margin-top: 200px;
}

.text-1- {
}

.quote-end {
	text-align: right;
}

.text-2 {
	margin: 200px auto;
}



/* PORTFOLIO */

.portfolio {
	margin: 50px 3vh;
	padding: 5px;
	display: flex;
	flex-wrap: wrap;
	--border-width: 1px;
	background: hsl(223, 31%, 7%, 0.5);
	backdrop-filter: blur(12px);
	box-sizing: border-box;
	border-radius: 50px;
	background: #13131E;
}

.portfolio-item {
	flex: 1 1 calc(50% - 30px);
	flex-direction: column;
	padding: 1rem;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

.portfolio-img, .portfolio-vid-container {
	padding: 1rem;
	height: 400px;
	border-radius: 40px 40px 0 0;
	background-size: cover;
	background-position: center;
	box-shadow: 0 0 20px rgb(0 0 0 / 50%);
}

.portfolio-vid-container {
	position: relative;
  height: 400px;
  overflow: hidden;
}

.portfolio-vid {
	position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  overflow: hidden;
}

.portfolio-txt {
  color: #fff;
  margin-top: 0.5rem;
  position: absolute;
  bottom: 0;
  margin: 20px;
  background: #000;
  border-radius: 50px;
  padding: 20px;
  text-transform: uppercase;
  font-size: 0.8em;
}

.portfolio-item span {
  color: #fff;
}

.portfolio-txt {
	position: absolute;
	bottom: 10px;
	padding: 20px 40px;
	background: black;
	border-radius: 50px;
	--border-width: 1px;
	background: hsl(223, 31%, 7%, 0.5);
	backdrop-filter: blur(12px);
}

.portfolio-txt-2 {
	text-align: center;
	background-color: #F37001;
	border-radius: 0 0 40px 40px;
	padding: 15px 0;
}

.portfolio-txt-2 span {
	animation: 
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

.portfolio-txt::before {
	content: '';
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: inherit;
	border: var(--border-width) solid transparent;
	background: linear-gradient(#393F62, #141420) border-box;;
	mask: linear-gradient(black) border-box,
				linear-gradient(black) padding-box;
	mask-composite: subtract;
}

/*** footer ***/

footer {
	position: fixed;
	bottom: 0;
	width: 100vw;
	height: 100px;
	-webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.footer-info {
	position: absolute;
	left: 50px;
	bottom: 45px;
	color: #fff;
	font-size: .8em;
	text-transform: uppercase;
	letter-spacing: 2px;
	z-index: 101;
	background: black;
	border-radius: 50px;
	--border-width: 1px;
	background: hsl(255, 44%, 7%, 0.5);
	backdrop-filter: blur(12px);
}

.footer-info a {
	display: block;
	padding: 20px;
}

.footer-info:hover {
	background: hsl(255, 44%, 20%, 0.5);
}

.socials-container {
	position: absolute;
	right: 50px;
	bottom: 45px;
	padding: 20px;
	z-index: 101;
	background: black;
	border-radius: 50px;
	--border-width: 1px;
	background: hsl(223, 31%, 7%, 0.5);
	backdrop-filter: blur(12px);
}

.socials-container::before {
	content: '';
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: inherit;
	border: var(--border-width) solid transparent;
	background: linear-gradient(#393F62, #141420) border-box;;
	mask: linear-gradient(black) border-box,
				linear-gradient(black) padding-box;
	mask-composite: subtract;
}

.footer-info::before {
	content: '';
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: inherit;
	border: var(--border-width) solid transparent;
	background: linear-gradient(#393F62, #141420) border-box;;
	mask: linear-gradient(black) border-box,
				linear-gradient(black) padding-box;
	mask-composite: subtract;
}

.socials-container:hover {
	background: hsl(255, 44%, 20%, 0.5);
}

.socials-container a {
	padding: 5px;
}

.newsletter-container {
	width: 100%;
	padding: 10px 0;
	z-index: 9999;
	margin-bottom: 200px;
}

.newsletter-container span {
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
	width: 100%;
	display: block;
	margin-bottom: 20px;
}

#mc_embed_signup {
	display: block;
	margin: auto;
	width: 380px;
	z-index: 101;
	background: black;
	border-radius: 50px;
	--border-width: 1px !important;
	background: hsl(223, 31%, 7%, 0.5);
	backdrop-filter: blur(12px);
}

form {
	display: inline-block;
}

.newsletter-container input {
	padding: 20px 30px;
	background: unset;
	color: #fff;
	font-size: .8em;
	text-transform: uppercase;
	letter-spacing: 2px;
	width: 150px;
	z-index: 101;
	border-width: 0px;
}

.newsletter-container button {
	background: unset;
	color: #fff;
	font-size: .8em;
	text-transform: uppercase;
	letter-spacing: 2px;
	z-index: 101;
	border-width: 0px;
	border-left: #fff 1px solid;
	padding-left: 20px;
}

#mc_embed_signup::before {
	content: '';
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: inherit;
	border: var(--border-width) solid transparent;
	background: linear-gradient(#393F62, #141420) border-box;;
	mask: linear-gradient(black) border-box,
				linear-gradient(black) padding-box;
	mask-composite: subtract;
}

@media screen and (max-width: 700px) {
	.section-wrapper {
		padding: 0;
	}
	.logo-header {
		padding: 40px 0;
	}
	.logo-container-header {
		margin: auto;
	}
	.footer-info {
		left:10px;
		bottom: 10px;
	}
	.socials-container {
		right:10px;
		bottom: 10px;
	}
	.section-wrapper span {
		white-space: unset;
		animation: 0;
	}
	.portfolio {
		margin: 50px 0;
	}
	.portfolio-item {
    flex: 1 1 100%;
  }
  .portfolio-img {
  	height: 300px;
  }
  .follower {
  	opacity: 0;
  }
}



