html {
    font-family: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 200;
}

.navigation {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    background-color: #222222;
    z-index: 9999;
}

.navigation > a {
    width: fit-content;
    height: fit-content;
}

.navigation > a img {
    height: 80%;
}

.navigation > ul {
    display: flex;
}

.navigation > ul li {
    padding: 20px 0;
    margin-right: 30px;
    list-style-type: none;
}

.navigation > ul li a {
    color: white;
    text-decoration: none;
}

.navigation > ul li a:hover {
    color: #42A6CA;
}

.navigation .active {
    color: #42A6CA;
}

/* Index Style */
.section {
    width: 100%;
    position: relative;
}

.section-header {
    height: 100vh;
    background-image: url("../images/header_section.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-header h1 {
    color: white;
    font-size: 6vw;
    letter-spacing: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -250%, 0);
    opacity: 0;
    transition: .6s;
    transition-timing-function: ease-in-out;
    will-change: opacity, transform;
}

.section-header h2 {
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5vw;
    letter-spacing: 5px;
    opacity: .8;
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
}

.section-chi-siamo {
    background-image: url("../images/chi_siamo-min.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.section-chi-siamo > div {
    width: 40%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    text-align: center;
    padding: 50px 65px;
    margin: 120px 0 160px 0;
    border: 1px solid #3694b6;
    outline: 10px solid white;
}

.section-chi-siamo > div h2 {
    color: #a6845f;
    font-size: 2.5vw;
    margin-bottom: 25px;
}

.section-chi-siamo > div p {
    color: #494949;
    margin-bottom: 20px;
    font-size: 1vw;
    line-height: 1.5em;
}

.section-pp {
    background-color: #3694B6;
    overflow: hidden;
    color: white;
    text-align: center;
}

.section-pp > h2 {
    padding: 35px 0;
    font-size: 2vw;
}

.section-pp > p {
    padding: 0 12%;
    font-size: 16pt;
    line-height: 1.5em;
    margin-bottom: 35px;
}

.section-pp > div {
    width: 100%;
    height: 200px;
    position: relative;
}

.section-pp > div > img {
    height: 100%;
    width: 4326px;
    position: absolute;
    left: 0;
    transform: translate3d(50%, 0, 0);
    animation-name: imageCarousel;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    animation-duration: 90s;
    animation-iteration-count: infinite;
    will-change: tranform;
}

.section-pp > div > img:nth-child(2) {
    border-left: 4px solid white;
    border-right: 4px solid white;
    animation-delay: 45s;
}

@keyframes imageCarousel {
    0% {
        transform: translate3d(50%, 0, 0);
    }
    50% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(-150%, 0, 0);
    }
}

.section-prodotti {
    text-align: center;
}

.section-prodotti > h2 {
    color: #a6845f;
    font-size: 36px;
    margin: 30px 0;
}

.section-prodotti > p {
    color: #494949;
    font-size: 16pt;
    margin-bottom: 40px;
}

.prodotti-design {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
}

.prodotti-design > div {
    width: 50%;
    height: 50%;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.prodotti-design > div:nth-child(1) {
    background-image: url("../images/pelleterie01_prod-min.png");
}

.prodotti-design > div:nth-child(2) {
    background-image: url("../images/calzature01_prod-min.png");
}

.prodotti-design > div:nth-child(3) {
    background-image: url("../images/copriabit01_prod-min.png");
}

.prodotti-design > div:nth-child(4) {
    background-image: url("../images/gioielleria01_prod-min.png");
}

.prodotti-design > div > div {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .4s;
    opacity: 0;
}

.prodotti-design > div:hover > div {
    opacity: 1;
}

.prodotti-design > div > div h2 {
    font-size: 2vw;
    letter-spacing: 3px;
}


.prodotti-design > div > div a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.section-certificazioni {
    text-align: center;
}

.section-certificazioni > h2 {
    color: #a6845f;
    font-size: 36px;
    margin: 30px 0;
}

.section-certificazioni > p {
    color: #494949;
    font-size: 16pt;
    margin-bottom: 50px;
    padding: 0 10%;
}

.section-certificazioni > div {
    width: 100%;
    padding: 0 10%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.section-certificazioni > div > div {
    width: 15%;
}

.section-certificazioni > div > div a {
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #494949;
}

.section-certificazioni > div > div img {
    width: 25%;
    margin-bottom: 15px;
}

.section-contatti {
    height: 45vh;
    background-image: url("../images/contact_400.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-between;
}

.section-contatti .contact {
    width: 60%;
    height: 100%;
    text-align: center;
    color: white;
}

.section-contatti .contact > h2 {
    font-size: 2vw;
    margin: 30px 0 60px 0;
}

.section-contatti .contact > div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    font-size: 16pt;
}

.section-contatti .contact > div img {
    margin-right: 10px;
    height: 18px;
}

.section-contatti #g-map {
    width: 35%;
    height: 92%;
    transform: translate(-2%, 4%);
}

footer {
    width: 100%;
    background-color: #222222;
    padding: 10px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer a {
    text-decoration: none;
    color: #A7A7A7;
}

@media only screen and (min-width: 270px) and (max-width: 767px) {
    .navigation {
        padding: 0 3%;
    }

    .navigation > a img {
        height: 50px;
        padding: 10px 0;
    }

    .navigation > ul {
        display: none;
    }

    .section-header h1 {
        color: white;
        font-size: 10vw;
        letter-spacing: 5px;
    }

    .section-chi-siamo {
        height: fit-content;
        padding-bottom: 30px;
        border-top: unset;
    }

    .section-chi-siamo > div {
        width: 80%;
        padding: 20px 30px;
        margin: 50px 0 25px 0;
    }

    .section-chi-siamo > div h2 {
        font-size: 6vw;
        margin-bottom: 15px;
    }

    .section-chi-siamo > div p {
        margin-bottom: 10px;
        font-size: 1em;
    }

    .section-pp > h2 {
        padding: 15px 0;
        font-size: 6vw;
    }

    .section-pp > p {
        padding: 0 3%;
        font-size: 1em;
        line-height: 1.5em;
        margin-bottom: 15px;
    }

    .section-pp > div {
        height: 100px;
    }

    .section-pp > div > img {
        width: 2163px;
    }

    .section-prodotti > h2 {
        font-size: 6vw;
        margin: 15px 0;
    }

    .section-prodotti > p {
        color: #494949;
        font-size: 1em;
        padding: 0 3%;
        margin-bottom: 20px;
    }

    .prodotti-design {
        height: 50vh;
    }

    .prodotti-design > div > div h2 {
        font-size: 4vw;
    }

    .section-certificazioni > h2 {
        font-size: 6vw;
        margin: 15px 0;
    }

    .section-certificazioni > p {
        font-size: 1em;
        margin-bottom: 20px;
        padding: 0 3%;
    }

    .section-certificazioni > div {
        padding: 0 3%;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .section-certificazioni > div > div {
        width: 50%;
        margin-bottom: 15px;
    }

    .section-certificazioni > div > div a {
        padding: 0 10px;
    }

    .section-certificazioni > div > div img {
        margin-bottom: 10px;
    }

    .section-contatti {
        height: auto;
        flex-direction: column;
        align-items: center;
    }

    .section-contatti .contact {
        width: 100%;
        height: auto;
        padding: 0 3%;
    }

    .section-contatti .contact > h2 {
        font-size: 6vw;
        margin: 15px 0 20px 0;
    }

    .section-contatti .contact > div {
        margin-bottom: 15px;
        font-size: 1em;
    }

    .section-contatti .contact > div img {
        margin-right: 10px;
        height: 18px;
    }

    .section-contatti #g-map {
        width: 100%;
        height: 200px;
        transform: unset;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1030px) {
    .navigation {
        padding: 0 3%;
    }

    .navigation > a img {
        height: 50px;
        padding: 10px 0;
    }

    .navigation > ul {
        display: none;
    }

    .section-pp > h2 {
        padding: 20px 0;
        font-size: 36px;
    }

    .section-pp > div {
        height: 150px;
    }

    .section-pp > div > img {
        height: 100%;
        width: 300%;
    }

    .section-chi-siamo > div {
        width: 60%;
        padding: 20px 30px;
    }

    .section-chi-siamo > div h2 {
        font-size: 36px;
    }

    .section-chi-siamo > div p {
        font-size: 16pt;
    }

    .section-contatti {
        height: auto;
        flex-direction: column;
        align-items: center;
    }

    .section-contatti .contact {
        width: 100%;
        height: auto;
        padding: 0 3%;
    }

    .section-contatti .contact > h2 {
        font-size: 6vw;
        margin: 15px 0 20px 0;
    }

    .section-contatti .contact > div {
        margin-bottom: 15px;
        font-size: 1em;
    }

    .section-contatti .contact > div img {
        margin-right: 10px;
        height: 18px;
    }

    .section-contatti #g-map {
        width: 100%;
        height: 200px;
        transform: unset;
    }
}