
html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: minerva-modern, sans-serif;
    text-transform: uppercase;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 68px;
    line-height: 60px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 19px;
    color: var(--blue);
}

h6 {
    font-size: 17px;
    color: var(--blue);
}

body {
    font-family: halyard-display, sans-serif;
}


/* HEADER */

.blue-strip {
    padding: 30px 20px;
    background-color: var(--light-blue);
    color: white;
}

/* HEADER END */


/* INTRO */

.intro-text {
    margin-top: 80px;
    margin-bottom: 80px;
    align-items: center;
}

.pergola-page .intro-text {
    margin-top: 40px;
}

.img-box {
    max-width: 1000px;
    overflow: hidden;
    height: 450px;
    max-height: 450px;
}

.page-sub {
    margin: 15px 0;
    padding-left: 35px;
}

.page-des {
    padding-left: 35px;
    max-width: 550px;
}

/* INTRO END */


/* CARDS */

.column {
    padding: .75rem .45rem;
}

.product-title {
    margin: 40px 0;
}

/* .card-row {
  max-width: 1;
} */

a {
    color: var(--blue);
}

.promo {
    width: calc(100% - 40px);
    background: #ebf5fa;
}

.promo-card-text {
    background: #ebf5fa;
}

.promo-card h4 {
    color: var(--light-blue);
}

.product-section {
    padding: 0 1.5rem;
    margin-bottom: 80px;
}

.product-column {
    padding: 10px 10px ;
}

.promo-card {
    position: relative;
    display: block;
    background-image: url(../assets/images/CC_raffaeli4_9_04.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 300px;
}

.promo-card h4 {
    font-size: 18px;
}

.promo-card h6 {
    font-size: 17px;
}

.gallery-card-text h4 {
    font-size: 24px;
}

.gallery-card-text h6 {
    font-size: 15px;
    font-family: halyard-display, sans-serif;
    text-transform: uppercase;
}

.promo-card-text {
    padding: 0;
    position: absolute;
    bottom: -60px !important;
    left: 0;
    width: 90%;
    height: 60px !important;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.promo-card:hover > .promo-card-text {
    height: 90px !important;
}

.promo-card-text h4 {
    padding-bottom: 0;
    font-family: halyard-display, sans-serif;
}

.promo-card-text h6 {
    padding-bottom: 0;
}

.card-row {
    justify-content: center;
}

.columns .card-row {
    max-width: 1368px;
}

.card-column{
    margin-bottom: 10pximg;
    height: 300px;
    max-height: 300px;
    width: 630px;
    max-width: 630px;
    overflow: hidden;
}

.gallery-section {
    margin: 0 20px;
    margin-bottom: 120px;
}

.gallery-card-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    transition: .5s;
}

.gallery-card-text h4 {
    color: transparent;
}

.gallery-card-text h6 {
    color: transparent;
}

.gallery-card-text i {
    color: transparent;
}

.promo-card:hover .gallery-card-text h4 {
    color: white;
}
.promo-card:hover .gallery-card-text h6 {
    color: white;
}
.promo-card:hover .gallery-card-text i.mdi-camera {
    color: white;
    font-size: 30px;
}
.promo-card:hover .gallery-card-text i.mdi-play {
    color: white;
    font-size: 80px;
}

.promo-card:hover .gallery-card-text {
    background: rgba(5,33,52, .6);
}

.back-btn {
    margin-bottom: 5px;
}

.gallery-section .promo {
    margin: 20px;
}

.gallery-section .promo-card {
    margin-right: -20px;
    margin-bottom: 20px;
}

/* CARDS END */

.scopri-prodotto-btn {
    display: none;
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: transparent;
    border: transparent;
    color: white;
    border-radius: 20px;
    padding: 5px 12px;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase ;
}

.promo-card:hover .scopri-prodotto-btn {
    display: inline-block;
    cursor: pointer;
}

.scopri-prodotto-btn:focus {
    outline: none;
}

.fancybox-caption {
    background: white;
    color: #052134;
    padding-bottom: 40px;
    padding-top: 25px;
}

.fancybox-close-small {
    color: #000 !important;
}

#realizzazioni-gallery .promo-card-text span {
    margin-left: 20px;
    margin-top: 5px;
}

#realizzazioni-gallery-title h4 {
    margin-bottom: 50px;
    margin-top: 30px;
}
