/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: #202020;
    background-color: #ffffff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #202020;
}

section{
    padding: 120px 0;
}

section h2{
    font-size: 3rem;
    font-weight: 800;
}

section h3{
    font-size: 3rem;
}

section p{
    font-size: 1.5rem;
    line-height: 1.5;
}

section ul{
    font-size: 1.5rem;
    line-height: 1.5;
}

@media(min-width: 1600px){
    .container{
        max-width: 1540px;
    }
}

.back-to-top{
    color: #202020;
    font-size: 2rem;
}

@media (max-width: 992px) {

    section h2{
        font-size: 2rem;
    }

    section h3{
        font-size: 2rem;
    }

    section p{
        font-size: 1.2rem;
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    color: #fff;
    background-color: transparent;
    padding: 20px 0;
    transition: all 0.5s;
    z-index: 997;
}

@media (max-width: 1200px) {
    .header .logo {
        order: 1;
    }

    .header .cta-btn {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 15px;
    }

    .header .navmenu {
        order: 3;
    }
}

.scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
    background: #8c6a68e3;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu>ul>li {
        white-space: nowrap;
        padding: 15px 20px;
    }

    .navmenu>ul>li:last-child {
        padding-right: 0;
    }

    .navmenu a,
    .navmenu a:focus {
        color: #fff;
        font-size: 1.2rem;
        padding: 0 2px;
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        position: relative;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    .navmenu a:hover:before,
    .navmenu li:hover>a:before,
    .navmenu .active:before {
        visibility: visible;
        width: 100%;
    }

    .navmenu li:hover>a,
    .navmenu .active,
    .navmenu .active:focus {
        color: color-mix(in srgb, #fff 90%, white 15%);
    }

    .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: #fff;
        display: block;
        position: absolute;
        visibility: hidden;
        left: 14px;
        top: 130%;
        opacity: 0;
        transition: 0.3s;
        border-radius: 4px;
        z-index: 99;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu .dropdown ul li {
        min-width: 200px;
    }

    .navmenu .dropdown ul a {
        padding: 10px 20px;
        font-size: 15px;
        text-transform: none;
        color: #202020;
    }

    .navmenu .dropdown ul a i {
        font-size: 12px;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover>a {
        color: #ff4a17;
    }

    .navmenu .dropdown:hover>ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navmenu .dropdown .dropdown ul {
        top: 0;
        left: -90%;
        visibility: hidden;
    }

    .navmenu .dropdown .dropdown:hover>ul {
        opacity: 1;
        top: 0;
        left: -100%;
        visibility: visible;
    }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: #e5eaee;
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: #ffffff;
        border: 1px solid color-mix(in srgb, #202020, transparent 90%);
        box-shadow: none;
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
    }

    .navmenu a,
    .navmenu a:focus {
        color: #202020;
        padding: 10px 20px;
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(in srgb, #ff4a17, transparent 90%);
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: #ff4a17;
        color: #fff;
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: #ff4a17;
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: #ff4a17;
        color: #fff;
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: #fff;
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown>.dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu>ul {
        display: block;
    }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    min-height: 80vh;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg,rgba(218, 167, 178, 1) 0%, rgba(80, 189, 110, 1) 100%);
}

.hero img.bg-gagini {
    position: absolute;
    display: block;
    object-fit: contain;
    z-index: 1;
    right: 0;
    bottom: 0;
    height: 90%;
}



.hero h2 {
    margin: 0;
    font-size: 6rem;
    font-weight: 400;
    color: #fff;
}

.hero h2 .bold{
    font-weight: 800;
}

.hero p {
    color: color-mix(in srgb, #ffffff, transparent 20%);
    margin: 10px 0 0 0;
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .hero img.bg-gagini {
        display: none;
    }

    .hero .content{
        z-index: 1;
    }
}

.hero .btn-scopri{
    display: block;
    padding: 30px 50px;
    width: fit-content;
    color: #8C6A68;
    background-color: #fff;
    border: 2px solid white;
    border-radius: 99px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.5rem;
    transition: .3s;
}

.hero .btn-scopri:hover{
    color: #fff;
    background-color: transparent;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

.footer {
    background: linear-gradient(135deg,rgba(241, 192, 202, 1) 0%, rgba(177, 221, 188, 1) 100%);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #ffffff;
    border-color: #000 transparent #000 transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*--------------------------------------------------------------
# Home Fumetto
--------------------------------------------------------------*/

#home-fumetto {
    background: linear-gradient(90deg, #E47F9580 0%, #5EBB7580 100%);
}

/*--------------------------------------------------------------
# Home Crediti
--------------------------------------------------------------*/

#home-crediti {

}

#home-crediti .immagine{
    position: relative;
    padding-bottom: 100%;
    border-radius: 50%;
    background-color: #8C6A68;
}

#home-crediti .immagine img{
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/*--------------------------------------------------------------
# Home Acquista
--------------------------------------------------------------*/

#home-acquista .btn-formato{
    padding: 1rem 2rem;
    border: 4px solid #82a096;
    border-radius: 99px;
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    transition: .3s;
}

#home-acquista .btn-formato:hover{
    background-color: #82a096;
}

#home-acquista .btn-acquista{
    padding: 1rem 2rem;
    border: 4px solid #9db296;
    background-color: #9db296;
    border-radius: 99px;
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    transition: .3s;
}

#home-acquista .btn-acquista:hover{
    background-color: transparent;
}

/*--------------------------------------------------------------
# Home Contatti
--------------------------------------------------------------*/

#home-contatti p{
    color: #707070;
    font-size: 1.2rem;
}

#home-contatti a{
    color: #707070;
    font-weight: 600;
}

.loghi-ist-header {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.loghi-ist-header img {
    height: 40px;
}

.loghi-ist {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.loghi-ist img {
    height: 100px;
}

@media (max-width: 991px) {
    .loghi-ist {
        gap: 20px;
    }

    .loghi-ist img {
        height: 40px;
    }
}

/*--------------------------------------------------------------
# Video
--------------------------------------------------------------*/

.p-60{
    padding: 60px 0;
}

.inner-main{
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
}

.video{
    border-radius: 12px;
    background-color: #000;
}

.video video{
    aspect-ratio: 16 / 9;
    max-width: 100%;
    border-radius: 12px;
}