/*
	Custom ASCG style
	@blazardsky - 2020 CC0
*/

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

::selection,
::-moz-selection {
  color: var(--bg);
	background: var(--main);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #302626; }
::-webkit-scrollbar-thumb:hover { background: var(--bg); }
::-webkit-scrollbar-button { display: none; }

html {
  scroll-behavior: smooth;
}

html,
body  {
  min-height: 100%;
}

body {
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	color: #cecbd1;/*#e6e6e9;*/
	background: var(--bg); /*#2a2b30;*/
  font-weight: 300;
  width: 100%;
  /*scrollbar nascosta*/
  scrollbar-width: none;
  -ms-overflow-style: none;
}

a,
a:visited {
	text-decoration: none;
	color: #ffffff;
	outline: none;
	font-weight: 500;
}
a:hover,
a:active {
	color: var(--main); /*#82e081; verde*/
}

hr {
  border-width: 3px;
  border-color: var(--bg);
}


h1,
h2,
h3,
h4,
h5,
h6 {
	color: #d1d1d8;
  letter-spacing: .1rem;
	text-rendering: geometricPrecision;
}

h1,
h2,
h3,
.serif {
  font-family: "Vollkorn";
  font-weight: 600;
  }

.font-weight-light {
  font-weight: 200 !important;
  letter-spacing: .35rem;
}

.group-clear:after {
  content: "";
  display: table;
  clear: both;
}

.float-right {
	float: right;
}

.float-left {
	float: left;
}

.text-center {
  text-align: center !important;
}

.text-justify {
  text-align: justify !important;
}

.text-left {
  text-align: left !important;
}

.center-self {
  align-self: center;
}

.pt-5, .py-5, .p-5 { padding-top:    5em !important; }
.pb-5, .py-5, .p-5 { padding-bottom: 5em !important; }
.pl-5, .px-5, .p-5 { padding-left:   5em !important; }
.pr-5, .px-5, .p-5 { padding-right:  5em !important; }

.m-0 { margin: 0 !important; }
.mt-5, .my-5, .m-5 { margin-top:     5em !important; }
.mb-5, .my-5, .m-5 { margin-bottom:  5em !important; }
.ml-5, .mx-5, .m-5 { margin-left:    5em !important; }
.mr-5, .mx-5, .m-5 { margin-right:   5em !important; }

.zoom-fx{
  transition: transform .2s ease-in-out;
}
.zoom-fx:hover {
  transform: scale(1.1)
}

.anchor {
  margin-bottom: 5rem;
}

.desktop-only {
  display: none;
}

.bg-body {
  background: var(--bg) !important;
}

.circle {
  border-radius: 100%;
}

.content-container {
	position: relative;
	min-height: 300px;
	margin: 0;
}

.content {
  width: 100%;
}

.full-size {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  max-height: 100%;
  max-width: 100%;
}

.half-size {
  position: relative;
  min-height: 50vh;
  min-width: 50vw;
  max-height: 100%;
  max-width: 100%;
}

.statement {
  text-align: center;
  padding: 10rem 5rem;
}

.logo-header-ascg {
	display: none;
}


.info {
	width: 100%;
	padding: 2rem 10vw;
	margin-bottom: 6rem;
  text-align: justify;
}

.title {
	text-align: center;
}

p.bigger-text,
p span.bigger-text {
  font-size: 2.215rem;
}

.text-muted {
  color: rgb(95,95,95);
  color: rgba(250,250,250,0.4);
}


.background-media {
  background: no-repeat left bottom fixed; /*left top su mobile perché alcune immagini (events/weddings/clubbing sono collage senza nulla al centro)*/
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  /*position: absolute;
  z-index: -20;
  top: 0;
  bottom: 0;
  left:0;
  right: 0;
  max-width: 100%;
  max-height: 100%;
  display : inline-block;*/
}

#bg-events { background-image: url(../media/events/events_bg.png); }
#bg-weddings { background-image: url(../media/weddings/weddings_bg.png); }
#bg-clubbing { background-image: url(../media/clubbing/clubbing_bg.png); }
#bg-parties { background-image: url(../media/parties/parties_bg.png); }

.hero-image {
  min-height: 100vh;
  min-width: 100vw;
  object-fit: cover;
}

.logo-centrale {
	position: absolute;
	margin: auto;
	height: 100%;
	width: 100%;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo-centrale img {
  display: inline-block;
  min-height: 3vh;
  max-height: 320px;
  width: auto;
}

.noov { overflow: hidden; }

.separator {
  width: 100%;
  height: 15px;
}
.gradient-button,
.gradient-background,
.gradient-text {
  background: rgb(255,255,68);
  background: -moz-linear-gradient(149deg, rgba(162,255,68,1) 0%, rgba(255,255,68,1) 33%, rgba(255,162,68,1) 65%, rgba(255,68,69,1) 100%);
  background: -webkit-linear-gradient(149deg, rgba(162,255,68,1) 0%, rgba(255,255,68,1) 33%, rgba(255,162,68,1) 65%, rgba(255,68,69,1) 100%);
  background: linear-gradient(149deg, rgba(162,255,68,1) 0%, rgba(255,255,68,1) 33%, rgba(255,162,68,1) 65%, rgba(255,68,69,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a2ff44",endColorstr="#ff4445",GradientType=1);
}

.gradient-button {
  border: 0;
  color: #000000 !important;
}

.gradient-button:hover {
  border: 0;
  background: #ffffff;
}

.gradient-button:active {
  opacity: 0.65;
}

.gradient-text {
  -webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-box-decoration-break: clone;
}

.bg-2{
  background: var(--bg2);
}

.light-bg {
  background: #eee;
  color: #222;
}


.red-bg {
  background: var(--main);
  color: #ffffff;
}

.red-bg a {
  position: relative;
}
.red-bg a:hover,
.red-bg a:active {
  color: rgb(250,250,250);
}

.red-bg a:after {
  content: "";
  display: block;
  background: #eeeeee;
  border-radius: 5px;
  position: absolute;
  bottom: 0;
  opacity: 0;
  width: 0%;
  height: .1rem;
  transition: all .2s ease-out;
}

.red-bg a:hover:after,
.red-bg a:active:after {
  opacity: 1;
  width: 100%;
}

.red-bg h4{
  color: #ffffff !important;
}

.footer {
  background: #090909;
  color: #65666e;
  padding: 8rem 15vw 2rem;
  font-size: 1.4rem;
  text-align: justify;
}

.footer h1 {
  font-size: 2.2rem;
  color: #e9e9e9;
}

.footer a,
.footer a:visited {
  color: #85868e;
}

.footer a:hover {
  color: inherit;
}

.higher-legibility {
  background: rgba(2,2,2,0.55);
}

.d-inline { display: inline-block !important; }
.d-block { display: block !important; }
.d-none { display: none !important; }

.gallery {
  flex-wrap: wrap;
}
.gallery .column {
  flex: 0 0 100%;
  text-align: center;
  align-self: center;
  margin-bottom: 2rem;
}
.gallery .column a img {
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
}


/*based on jurassic.ninja*/

h1#titolo-pagina {
  padding: 10rem auto;
  text-align: center;
  position: relative;
  color: #fff;
  overflow-x: hidden;
}

h1#titolo-pagina:hover {
  animation: glitch 2s linear infinite;
}

h1#titolo-pagina:hover:after,
h1#titolo-pagina:hover:before {
  content: 'ascgservice';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  font-weight: lighter;
  font-style: italic;
  font-size: 4.2rem;
}

h1#titolo-pagina:hover:before {
  color: green;
  animation: glitch__before .3s linear infinite;
}

h1#titolo-pagina:hover:after {
  color: red;
  animation: glitch__after .3s linear infinite;
}

@keyframes glitch__after {
  0%, 20%, 40%, 60%, 70%, 90% {opacity: 0;}
  10% {opacity: .1;}
  50% {opacity: .5; left: -8px;}
  80% {opacity: .3;}
  100% {opacity: .6; left: 3px;}
}

@keyframes glitch__before {
  0%, 25%, 45%, 65%, 75%, 95% {opacity: 0;}
  15% {opacity: .1;}
  55% {opacity: .5; left: 8px;}
  85% {opacity: .3;}
  100% {opacity: .6; left: -3px;}
}

@keyframes glitch {
  0%, 3%, 5%, 42%, 44%, 100% {opacity: 1; transform: scaleY(1);}
  4.3% {opacity: 1; transform: scaleY(1.7);}
  43% {opacity: 1; transform: scaleX(1.5);}
}

/* page loading slider based on https://codepen.io/mburakerman*/
#page-load-container {
  position: fixed;
  z-index: 100;
  background: var(--bg);
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  opacity: 1;
  display: block;
  transition: opacity .2s ease-out;
  -webkit-transition: opacity .2s ease-out;
}
.sliding-panel {
  width: 100%;
  height: 100%;
  position: absolute;
  margin: auto;
  left: 100%;
  -webkit-transition: all 0.7s cubic-bezier(.63,-0.01,.51,1.16);
  transition: all 0.7s cubic-bezier(.63,-0.01,.51,1.16);
}
.sliding-panel.sp__1 {
  background: var(--main);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
.sliding-panel.sp__2 {
  background: var(--bg);
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.sliding-panel.sp__3 {
  background: var(--main);
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
.sliding-panel.sp__4 {
  background: var(--bg2);
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
.sliding-panel.complete-transition {
  left: -100%;
}

/*********************************/
@media screen and (min-width: 40em) {

  body {
    height: 100%;
  }

  h1#titolo-pagina:hover:after,
  h1#titolo-pagina:hover:before {
    font-size: 5.2rem;
  }

  .background-media {
    background: no-repeat center center fixed;
  }

  h1#titolo-pagina {
    padding: 0 0 18rem 0;
    text-align: center;
  }

  .footer {
    padding: 8rem 15vw 2rem 17vw;
  }
  .info {
  	padding: 2rem 15vw 2rem 17vw;
  }

	.content-container.spaced {
		padding: 20rem 0;
	}

  .statement {
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: auto;
  }

  .gallery .column {
    flex: 0 0 50%;
  }

  .statement h1 { font-size: 8rem; }
  .statement h2 { font-size: 6.375rem; }
  .statement h3 { font-size: 5rem; }
  .statement h4 { font-size: 4.125rem; }
  .statement h5 { font-size: 3.6rem; }
  .statement h6 { font-size: 3.2rem; }
  .statement p { font-size: 3rem; }

  .content {
    width: calc(100% - 5.765rem);
  }

	.page-wrapper {
		min-height: 100vh;
    background: rgb(0,0,0);
    background: linear-gradient(195deg, rgba(29,29,29,0.9850140739889706) 0%, rgba(15,15,15,1) 10%, rgba(0,0,0,1) 23%, rgba(0,0,0,1) 95%);
	}

	#header-logo-image {
		max-width: 260px;
    width: auto;
		height: 136px;
		padding: 2rem 15px 0;
		display: inline-block;
    vertical-align: middle;
    margin: 42px 0 auto;
	}
	.logo-header-ascg {
		display: block;
		position: fixed;
		text-align: center;
		font-size: 80%;
		top: 0;
		left: 0;
		width: 300px;
		height: 220px;
		background: var(--bg2); /*#1c1d22;*/
		color: #acadad;
	}


  .d-pt-5, .d-py-5, .d-p-5 { padding-top:    5em !important; }
  .d-pb-5, .d-py-5, .d-p-5 { padding-bottom: 5em !important; }
  .d-pl-5, .d-px-5, .d-p-5 { padding-left:   5em !important; }
  .d-pr-5, .d-px-5, .d-p-5 { padding-right:  5em !important; }

  .d-mt-5, .d-my-5, .d-m-5 { margin-top:     5em !important; }
  .d-mb-5, .d-my-5, .d-m-5 { margin-bottom:  5em !important; }
  .d-ml-5, .d-mx-5, .d-m-5 { margin-left:    5em !important; }
  .d-mr-5, .d-mx-5, .d-m-5 { margin-right:   5em !important; }

}


@media screen and (min-width: 78em) {

	.journal {
		column-count: 2;
		column-gap: 9.275rem;
	}

  .journal p {
    line-height: 1.525;
    text-align: left;
    text-align-last: left;
    margin: 0 0 1.365rem;
    letter-spacing: .03rem;
  }

  .title {
    text-align: left;
		column-span: all;
	}

  .gallery .column {
    flex: 0 0 25%;
  }

  .gallery .column a img {
    max-width: auto;
    max-height: auto;
    min-height: auto;
    min-width: auto;
    width: 140px;
    height: 140px;
  }

  .desktop-only {
    display: block;
  }
}
