:root {
    --bianco:#FFFFFF;
    --giallo: #FFDA01;
    --viola: #6F2277;
    --grigio: rgba(0, 0, 0, 0.1);
}

@font-face {
    font-family: 'Daxline';
    font-style: normal;
    font-weight: 700;
    src: url('../font/DaxlinePro-ExtraBold.otf');
}

@font-face {
    font-family: 'Daxline';
    font-style: normal;
    font-weight: 400;
    src: url('../font/DaxlinePro-Medium.otf');
}

@media (min-width:1200px) {
    .hidden-desktop {
        display: none;
        width: 0;
        height: 0;
        opacity: 0;
    }
}

@media (max-width:1200px) {
    .hidden-mobile {
        display: none;
        width: 0;
        height: 0;
        opacity: 0;
    }
}

h1,h2,h3,h4,h5,h6 {
    color: var(--viola);
    font-weight: 700;
    font-family: 'Daxline';
}

body {
    font-family: 'Daxline';
    margin: 0;
    padding: 0;
    font-size: 1.8rem;
}

img {
    max-width: 100%;
}

header {
    background-color: var(--giallo);
    text-align: center;
    padding: 0 0 5px 0;
}
header > div {
    margin: 0;
    padding: 1rem 1rem 2rem 1rem;
    -webkit-box-shadow: 0px 0px 10px -3px #000000; 
    box-shadow: 0px 0px 10px -3px #000000;
}

header img {
    margin: 0 auto;
    max-width: 200px;
}

section#slider img {
    object-fit: cover;
    object-position: center;
    width: 100%;
}

section#prodotti {
    text-align: center;
    width: 100%;
    overflow: hidden;
    padding: 4rem 0;
    position: relative;
}
section#prodotti > .carousel-wrapper {
    margin-top: -2rem;
    padding: 0 8rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}
section#prodotti > .carousel-wrapper > img {
    position: absolute;
    height: 60px;
    top: calc(50% - 30px);
    cursor: pointer;
    z-index: 9;
}
section#prodotti > .carousel-wrapper > img.sx {
    left: 8rem;
}
section#prodotti > .carousel-wrapper > img.dx {
    right: 24rem;
}
section#prodotti > .carousel-wrapper > .carousel  {
    display: flex;
    width: 300%;
    transition: all 0.25s ease 0s;
}

section#prodotti > .carousel-wrapper > .carousel > .carousel-item {
    width: calc(100% / 3);
    padding: 0 6rem;
}

section#prodotti > .carousel-wrapper > .carousel > .carousel-item > img {
    min-height: 358px;
    object-fit: cover;
}

section#video > video {
    width: 100%;
}

footer { background-color: var(--giallo);}
footer > div.container {
    padding: 3rem 8rem 1rem 8rem;
}

footer h5 {
    font-size: 1.4rem;
}

footer h6 {
    font-size: 1.2rem;
}

footer > div.container > div.top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    border-bottom: solid 2px var(--viola);
    padding: 0 8rem;
}

footer > div.container > div.top > div > h5 {
    margin-top: 0;
    margin-bottom: 1rem;
}

footer > div.container > div.top > div > h5 > span {
    font-weight: 400;
}
footer > div.container > div.top > div.social > div > a {
    padding: 0 2rem 0 0;
}

footer > div.container > div.top h5 > span > a {
    text-decoration: none;
    color: var(--viola);
    white-space: nowrap;
}


footer > div.container > div.top > div.social > div > a > img {
    height: 40px;
}

footer > div.container > div.bottom {
    padding: 0 8rem;
    text-align: center;
}
footer > div.container > div.bottom > h6 > span {
    font-weight: 400;
}
footer > div.container > div.bottom > h6 > span > a {
    color: var(--viola);
    text-decoration: none;
}


@media (max-width:1200px) {
    header > div {
        margin: 0;
        padding: 1rem 1rem 2rem 1rem;
    }

    section#prodotti > .carousel-wrapper {
        padding: 0 1rem;
    }    
    section#prodotti > .carousel-wrapper > img {
        position: absolute;
        height: 60px;
        top: calc(50% - 30px);
        cursor: pointer;
        z-index: 9;
    }
    section#prodotti > .carousel-wrapper > img.sx {
        left: 1rem;
    }
    section#prodotti > .carousel-wrapper > img.dx {
        right: 3rem;
    }
    section#prodotti > .carousel-wrapper > .carousel {
        width: 1000%;
    }
    section#prodotti > .carousel-wrapper > .carousel > .carousel-item {
        width: 100%;
        padding: 0;
    }
    

    footer > div.container {
        padding: 0;
    }
    footer > div.container > div.top {
        flex-direction: column;
        padding: 4rem 4rem;
        align-items: center;
        text-align: center;
    }
    footer > div.container > div.top h5 {
        font-size: 1rem;
    }
    footer > div.container > div.top > :nth-child(2) {
        margin: 2rem 0;
    }
    footer > div.container > div.bottom {
        padding: 1rem;
        text-align: center;
    }
    footer > div.container > div.bottom > h6 > span {
        font-size: 1rem;
        line-height: 1.4rem;
    }
}