/* ///////////////////////////////////////////////////////////////////// 
//  01 - Universal
/////////////////////////////////////////////////////////////////////*/

html,
body {
    height: 100%;
    background-color: #ffffff;
}

body {
    font-family: "Lato", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Dosis", sans-serif;
}
a {
    color: #e66f69;
    transition: 0.4s ease all;
    outline: none;
}
a:hover,
a:active,
a:focus {
    text-decoration: none;
    color: #e66f69;
    opacity: 0.9;
    outline: none;
}
.btn {
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 0px;
    font-size: 1.2em;
    transition: 0.4s ease all;
}
.btn:hover {
    background: #fff;
    color: #000;
}

.block_title {
    font-size: 2em;
    font-weight: 300;
    text-align: center;
    overflow: hidden;
    margin-bottom: 50px;
    margin-top: 0px;
    background: linear-gradient(to right, #000000, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.block_title:before,
.block_title:after {
    content: "";
    background: #080000;
    display: inline-block;
    height: 1px;
    position: relative;
    width: 42%;
    vertical-align: middle;
}
.block_title:before {
    right: 0.5em;
    margin-left: -42%;
}
.block_title:after {
    left: 0.5em;
    margin-right: -42%;
}

.block_title1 {
    font-size: 2em;
    font-weight: 300;
    text-align: center;
    overflow: hidden;
    margin-bottom: 50px;
    margin-top: 0px;
    background: linear-gradient(to right, #000000, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.block_title1:before,
.block_title1:after {
    content: "";
    background: #080000;
    display: inline-block;
    height: 1px;
    position: relative;
    width: 42%;
    vertical-align: middle;
}
.block_title1:before {
    right: 0.5em;
    margin-left: -42%;
}
.block_title1:after {
    left: 0.5em;
    margin-right: -42%;
}


/* ///////////////////////////////////////////////////////////////////// 
//  05 - Portfolio
/////////////////////////////////////////////////////////////////////*/

#portfolio {
    padding: 80px 0px 0px 0px;
}

.port {
    list-style: none;
    text-align: center; /* Allinea il contenuto al centro */
    padding-bottom: 40px;
    display: flex; /* Attiva Flexbox */
    flex-wrap: wrap; /* Permette agli item di andare a capo se necessario */
    justify-content: center; /* Centra gli items orizzontalmente */
}

.port .item {
    display: inline-block;
    text-align: left;
    position: relative;
    margin: 15px; /* Distanza tra gli items */
    width: calc(
            33.33% - 30px
    ); /* Ogni item occupa il 33% della larghezza con un margine */
}

.port figure {
    margin: 0;
    position: relative;
}

.port figure img {
    max-width: 100%;
    display: block;
    position: relative;
}

.port figcaption {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    background: #111;
    color: #e66f69;
}

.port figcaption h3 {
    margin: 0px 0px 8px 0px;
    padding: 0;
    color: #fff; //colore testo video
}

.port figcaption a {
    text-align: center;
    padding: 8px 15px;
    display: inline-block;
    color: #fff;
}

.cs-style-3 figure {
    overflow: hidden;
}

.cs-style-3 figure img {
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
}

.no-touch .cs-style-3 figure:hover img,
.cs-style-3 figure.cs-hover img {
    -webkit-transform: translateY(-50px);
    -moz-transform: translateY(-50px);
    -ms-transform: translateY(-50px);
    transform: translateY(-50px);
}

.cs-style-3 figcaption {
    height: 100px;
    width: 100%;
    top: auto;
    bottom: 0;
    opacity: 0;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .cs-style-3 figure:hover figcaption,
.cs-style-3 figure.cs-hover figcaption {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
}

.cs-style-3 figcaption a {
    position: absolute;
    bottom: 31px;
    right: 20px;
}

.button {
    background: transparent;
    border: 1px solid #fff;
}

.button:hover {
    background: white;
    color: #000;
}

.btn-center {
    display: block;
    padding: 80px 0px 60px 0px;
    text-align: center;
}

.big.button {
    border: 1px solid #000;
    font-size: 2em;
    color: #000;
    padding: 15px 30px;
}

.big.button:hover {
    background: #000;
    color: #fff;
}

.item-space {
    margin-bottom: 30px;
}

.video-container {
    width: 100%; /* Occupa tutta la larghezza del genitore */
    height: 250px; /* Altezza personalizzabile */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
}

.video-container video {
    width: 100%; /* Occupa tutta la larghezza */
    height: 100%; /* Occupa tutta l'altezza */
    object-fit: cover; /* Assicura che il video si adatti senza distorsioni */
}

/* ///////////////////////////////////////////////////////////////////// 
//  09 - Responsive Fixes
/////////////////////////////////////////////////////////////////////*/

@media all and (min-width: 1400px) {
    .centered p {
        font-size: 3em;
    }
    .bigheadline {
        font-size: 15em;
    }
    .subheadline {
        font-size: 5em;
    }
}

@media all and (max-width: 1200px) and (min-width: 992px) {
    .services {
        max-width: 293px;
        height: 213px;
    }
    .service-wrap i {
        font-size: 4em;
        margin-top: 28px;
    }
    .service-wrap h3 {
        font-size: 1.4em;
    }
    .service-wrap p {
        font-size: 11px;
        padding: 0px 35px;
    }
}

@media all and (max-width: 991px) and (min-width: 768px) {
    .services {
        max-width: 293px;
        height: 293px;
        margin: 0 auto;
        margin-bottom: 30px;
    }
    .service-wrap p {
        padding: 0px 40px;
        font-size: 14px;
    }
    .pe-dj {
        font-size: 6em;
    }
}

@media all and (max-width: 991px) {
    header {
        
        background-size: cover;
        background-attachment: fixed;
        background-position: 50% -50px;
    }
}

@media all and (max-width: 768px) {
    .services {
        max-width: 293px;
        height: 293px;
        margin: 0 auto;
        margin-bottom: 30px;
    }
    .pe-dj {
        font-size: 6em;
    }
    .service-wrap i {
        margin-top: 50px;
    }
    .centered p {
        font-size: 2em;
    }
    .bigheadline {
        font-size: 6em;
    }
    .subheadline {
        font-size: 2em;
    }
    .item-space figure {
        max-width: 360px;
        margin: 0 auto;
    }
    .moreDetails {
        margin-bottom: 60px;
    }
    .copyright,
    .designed {
        text-align: center;
    }
    .scrollDown {
        top: 70%;
        left: 46%;
    }
}
@media all and (max-width: 380px) {
    .logo-text {
        font-size: 2em;
    }
    .centered p {
        font-size: 1em;
    }
    .bigheadline {
        font-size: 4em;
    }
    .subheadline {
        font-family: "Titillium Web", sans-serif;
        font-size: 1.5em;
        font-weight: 200;
        margin: 0;
    }
    .testimonila-block p {
        max-width: 90%;
    }
    .social-icons a {
        width: 30px;
        height: 30px;
    }
}

@media all and (max-width: 480px) {
    .scrollDown {
        top: 70%;
        left: 44%;
    }
}
