/**
Theme Name: Brainclub Child
Author: William Locatelli
Author URI: https://www.williamlocatelli.it
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brainclub-child
Template: astra
*/

/* Cursore */

/* Portfolio */
.extend-img img {
	object-fit: cover;
	width: 100%;
}
.desc-progetto-singolo {max-width: 600px;}
.portfolio-text-block p:first-child, .desc-progetto strong:first-child  {font-size: 18px; line-height: 26px; font-weight: 400; -webkit-letter-spacing: 2.4px; -moz-letter-spacing: 2.4px; -ms-letter-spacing: 2.4px; letter-spacing: 2.4px; margin: 0 0 16px; text-transform: uppercase;}

.box-header {
    width: 100%;
    max-width: 1312px;
    min-height: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: flex-start;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    color: #ffffff;
    margin: 0;
    padding: 80px 160px;
    max-width: unset;
	background-color: #222222;
}
.box-header h1 {
    margin-top: 1em;
    margin-bottom: 0;
}

.intestazione-portfolio {
    font-size: calc(80px + 3vmin);
    line-height: 96px;
    max-width: none;
    font-family: "Philosopher", Sans-serif;
    font-weight: 400;
    -webkit-letter-spacing: 2.4px;
    -moz-letter-spacing: 2.4px;
    -ms-letter-spacing: 2.4px;
    letter-spacing: 2.4px;
    margin: 0 0 32px;
	color: #FFCF00 !important;
}

.portfolio-flex.portfolio-fullwidth {
    max-width: unset;
	background-color: #222222;
}
.portfolio-flex {
    width: 100%;
    max-width: 1312px;
    min-height: 0px;
    display: flex;
    position: relative;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    align-items: flex-start;
    color: rgb(0, 0, 0);
    margin: 0px;
    padding: 80px 0px 80px 160px;
}
.portfolio-flex > div {
    transition: opacity 0.5s ease 0s, transform 0.8s ease 0s;
}

.portfolio-grid {
    width: 100%;
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(12, minmax(0px, 1fr));
    grid-auto-rows: minmax(0px, 1fr);
    gap: 1rem;
}
.box-portfolio {
    display: block;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    grid-column: span 4 / auto;
}
.box-portfolio h2 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    color: white;
    text-align: center;
    opacity: 0;
	font-size: 16px;
}
.titolo-work {
    font-family: Poppins,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    -webkit-letter-spacing: 0.4em;
    -moz-letter-spacing: 0.4em;
    -ms-letter-spacing: 0.4em;
    letter-spacing: 0.4em;
    margin: 0 0 8px;
    text-transform: uppercase;
}
.css-160s68 {
    position: absolute;
    z-index: 20;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.2s ease 0s;
}
.img-portfolio-layout {
	width: 100%;
	padding-bottom: 60%;
}
img.img-portfolio {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    position: absolute;
    top: 0px;
    left: 0px;
}
.box-portfolio .gatsby-image-wrapper {
    height: 100%;
}
.box-portfolio .video_wrapper {
    height: 102%;
    overflow: hidden;
    position: relative;
}
.box-portfolio .video_wrapper video {
    height: 102%;
    position: absolute;
    max-width: unset;
    width: unset;
    left: 50%;
    top: 0px;
    transform: translateX(-50%);
}

.css-f3fkmv video {
    position: relative;
    max-width: 100%;
    width: 100%;
    z-index: 9;
}
.css-f3fkmv::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-animation: pulse 1s infinite alternate;
    animation: pulse 1s infinite alternate;
    z-index: 1;
}
a:hover .css-160s68 {
    background-color: rgba(0,0,0,1);
}
.box-portfolio:hover h2 {
    opacity: 1;
}
.box-portfolio:nth-of-type(3) {
    grid-area: 1 / 5 / span 2 / span 8;
}
.box-portfolio:nth-of-type(6) {
    grid-area: 3 / 1 / span 2 / span 8;
}
.box-portfolio:nth-of-type(9) {
    grid-area: 5 / 5 / span 2 / span 8;
}
.box-portfolio:nth-of-type(12) {
    grid-area: 7 / 1 / span 2 / span 8;
}

/* Link */
/*
.main-header-bar-navigation nav a:hover:before, .link-animato li a span:hover:before, .link-anim a:hover:before {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

.main-header-bar-navigation nav a:before, .link-animato li a span:before, .link-anim a:before {
    content: '';
    position: absolute;
    display: inline-block;
    background-color: currentColor;
    width: 100%;
    height: 2px;
    left: 0;
    bottom: 0;
    z-index: 100;
    -webkit-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: .3s cubic-bezier(.16,.21,0,.95);
    -o-transition: .3s cubic-bezier(.16,.21,0,.95);
    transition: .3s cubic-bezier(.16,.21,0,.95);
}
*/

/* Footer */



/* Responsive */
/* On screens that are 1280px or less, set the background color to blue */

@media screen and (max-width: 550px) {
.intestazione-portfolio {
    font-size: 52px;
    line-height: 56px;
}
	}

@media screen and (max-width: 768px) {
.portfolio-flex {
    padding-right: 32px;
}
.box-portfolio {
    grid-column: auto / span 12 !important;
    grid-row: auto / span 1 !important;
}
.box-header {
    padding: 64px 32px;
    min-height: 0;
}
	.elementor-516 .elementor-element.elementor-element-8ae7df2 > .elementor-element-populated {
    padding: 32px !important;
}
.box-portfolio h2 {
    line-height: 20px;
}
	}

@media screen and (max-width: 1100px) {
.portfolio-flex {
    padding-right: 0;
}
.portfolio-flex {
    padding: 64px 32px;
    min-height: 0;
}
.intestazione-portfolio {
    font-size: 96px;
    line-height: 88px;
}
	}

@media screen and (max-width: 1280px) and (min-width: 992px) {
  .box-laptop > .elementor-element-populated {
    padding: 60px 80px 60px 80px !important;
}
  .box-laptop-header, .box-laptop-menu, .box-laptop-footer {
    padding: 0px 80px 0px 80px !important;
}
	.box-laptop-footer {
    padding: 60px 80px 60px 80px !important;
}
	.box-laptop-titolo-pagina, .portfolio-flex {
    padding-left: 80px !important;
}
	.box-laptop-titolo-pagina {
    padding-left: 80px !important;
		 padding-right: 80px !important;
}
	}


@media screen and (max-width: 1600px) and (min-width: 1280px) {
  h1.titolo.typewrite {
    font-size: 3.5em;
}
	}

@media screen and (max-width: 1600px) and (min-width: 1024px) {
 .contatti-footer .elementor-widget-wrap {
    padding: 0px !important;
}
	}
