html {
    background-color: #212529;
    width: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    background-color: white;
}

::-moz-selection {
    /* Code for Firefox */
    color: rgb(243, 243, 243);
    background: rgb(142, 12, 5);
}

::selection {
    color: rgb(243, 243, 243);
    background: rgb(142, 12, 5);
}
h2::selection{
    background-color: black;
    color: whitesmoke;
}

.primo {
    margin-left: 20px;
}

.navbar{
    padding-top: 0px!important;
    padding-bottom: 0px;
}
.nav-item {
    padding: 15px;
    font-size: 20px;
}

.navbar-nav a:hover {
    color: brown;
}

.navbar-nav a:active {
    color: white;
}


/* head banner */
.head-banner {
    background-color: #dfdfdf;
    background-image: url("./img-Demar/albertoLello.jpg");
    padding-top: 21em;
    padding-bottom: 21em;
    background-size: cover;
    /* settare img */
    background-position: top;
    background-blend-mode: multiply;
    /* dare colore più scuro img */
    font-family: 'Goblin One', cursive;
    text-shadow: -1px 2px 9px rgba(0, 0, 0, 0.57);
    margin-bottom: 3rem;

    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}

.testo-head {
    position: relative;
    top: 25px;
}

img {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}


/* chi siamo */
.chi_siamo p,
.tradizione p,
.sfizi p,
.gastronomia p {
    color: #878787;
    letter-spacing: 0.3px;
}

.chi_siamo,
.tradizione {
    padding-top: 3vh;
}


/* eccellenza */
.carousel-item h2 {
    text-shadow: -1px 2px 9px rgba(0, 0, 0, 0.57);
    font-family: 'Goblin One', cursive;
    margin-bottom: 0px;
    font-size: calc(1.5rem + 1vw);
}

.carousel-caption {
    padding-bottom: 0.9rem;
}

.simmenthal2,
.sashi2,
.prussiana2,
.chianina2,
.charra2,
.buenero2,
.pezzatarossa2,
.rubiagallega2 {
    display: none !important;
}


/* sfiziosità */
.sfizi img{
    width: 100%;
}
.hover11 img{
	opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.hover11:hover img{
	opacity: .6;
}


/* footer */
.footer{
    background-color: #f8f8f8;
}
.footer h3{
    font-family: 'Bebas Neue', cursive;
    font-size: calc(1.5rem + 1vw);
    word-spacing: 0.15em;
    line-height: 2em;
    letter-spacing: 0.02em;
}
.footer p{
    color: #878787;
    letter-spacing: 0.3px;
}
.footer a{
    text-decoration: none;
    color: #878787;
}
.footer .svg{
    margin-right: 3px;
}
.footer a:hover, .svg a:hover{
    color: rgb(0, 0, 0);
}


/* copyright
.copyright{
    background-color: #f8f8f8;
}
.copyright p{
    color: #878787;
    margin-bottom: 0px;
    font-size: 13px;
}
.madeby{
    background-color: #212529;
}
.madeby p, .madeby a{
    margin-bottom: 0px;
    color: #878787;
    text-decoration: none;
    font-size: 10px;
} */


/* MEDIA QUERY - iframe.mappa */
@media screen and (max-width: 239px){
    .mappa iframe{
        width: 170px;
    }
} 
@media screen and (min-width: 240px) and (max-width: 300px){
    .mappa iframe{
        width: 220px;
    }
} 
@media screen and (min-width: 301px) and (max-width: 419px){
    .mappa iframe{
        width: 280px;
    }
} 
@media screen and (min-width: 420px) and (max-width: 489px){
    .mappa iframe{
        width: 330px;
    }
} 
@media screen and (min-width: 490px) and (max-width: 649px){
    .mappa iframe{
        width: 380px;
    }
} 
@media screen and (min-width: 650px) and (max-width: 991px){
    .mappa iframe{
        width: 500px;
    }
} 
@media screen and (min-width: 992px) and (max-width: 1200px){
    .mappa iframe{
        width: 250px;
        height: 180px;
    }
}
@media screen and (min-width: 1201px){
    .mappa iframe{
        width: 350px;
        height: 220px;
    }
}
@media screen and (min-width: 1550px){
    .mappa iframe{
        width: 400px;
    }
}


@media screen and (max-width: 575px) {
    .nopad {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .norounded {
        border-radius: 0px !important;
    }
}

@media screen and (min-width: 768px) {
    .eccellenza-titolo h2 {
        margin-bottom: 0px;
    }

    .simmenthal2,
    .sashi2,
    .prussiana2,
    .chianina2,
    .charra2,
    .buenero2,
    .pezzatarossa2,
    .rubiagallega2 {
        display: block !important;
        padding: 1rem 5rem 0rem 5rem;
    }

    .simmenthal1,
    .sashi1,
    .prussiana1,
    .chianina1,
    .charra1,
    .buenero1,
    .pezzatarossa1,
    .rubiagallega1 {
        display: none !important;
    }

}

@media screen and (max-width: 750px) {
    .navbar {
        padding-top: 3px;
        padding-bottom: 3px;
    }

    .navbar-brand img {
        height: 60px;
        width: 100px;
    }

    .head-banner {
        padding-top: 12em;
        padding-bottom: 12em;
        background-position: center;
    }

    .head-banner h1 {
        font-size: 30px;
        margin-bottom: 0;
    }

    .head-banner p {
        font-size: 15px;
    }

}


@media screen and (min-width: 751px) and (max-width: 1000px) {
    .head-banner {
        padding-top: 15em;
        padding-bottom: 15em;
        background-position: center;
    }

    .head-banner h1 {
        font-size: 70px;
        margin-bottom: 0;
    }

    .head-banner p {
        font-size: 30px;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {

    .chi_siamo p,
    .tradizione p,
    .sfizi p,
    .gastronomia p{
        font-size: 15px;
        letter-spacing: 0.2px;
    }

    .tradizione p {
        padding-left: 15px;
    }

    .chi_siamo h2,
    .tradizione h2,
    .sfizi h2,
    .gastronomia h2{
        font-size: calc(1.1rem + .8vw);
    }

    .chi_siamo h6,
    .tradizione h6,
    .sfizi h6,
    .gastronomia h6{
        font-size: 0.8rem;
        margin-bottom: 0.1rem;
    }
}

@media screen and (max-width: 991px){
    .footer .container{
        text-align: center;
    }
}

@media screen and (min-width: 1102px) {
    .head-banner h1 {
        font-size: 80px;
        margin-bottom: 0;
        margin-top: 70px;
    }

    .head-banner p {
        font-size: 50px;
    }

    .d-block img {
        padding: 0rem 5rem 0rem 5rem;
    }

    .eccellenza-titolo h6 {
        padding-top: 3rem;
        color: #878787;
        font-size: 2.5rem;
    }

    .eccellenza-titolo h2 {
        font-size: calc(2rem + 2vw) !important;
        margin-bottom: 0px;
    }

    .eccellenza .carousel-control-next {
        right: 20px;
    }

    .eccellenza .carousel-control-prev {
        left: 20px;
    }

    .tradizione p {
        padding-left: 50px;
    }
}

@media screen and (min-width: 1199px) {
    .head-banner h1 {
        font-size: 80px;
        margin-bottom: 0;
        margin-top: 70px;
    }

    .head-banner p {
        font-size: 50px;
    }

    .head-banner {
        margin-bottom: 4rem;
    }
}


@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .chi_siamo p {
        padding-right: 50px;
        font-size: 1.38rem;
    }

    .tradizione p {
        padding-left: 50px;
        font-size: 1.38rem;
    }

    .chi_siamo h2,
    .tradizione h2,
    .sfizi h2,
    .gastronomia h2 {
        font-size: calc(2rem + .8vw);
        margin-bottom: 20px;
    }

    .chi_siamo h6,
    .tradizione h6,
    .sfizi h6,
    .gastronomia h6 {
        font-size: 1.1rem;
        margin-bottom: 0.1rem;
    }
}

@media screen and (min-width: 1400px) {
    .col-md-6 .align-middle {
        padding-left: 0px;
    }

    .chi_siamo p {
        padding-right: 60px;
        letter-spacing: 0.5px;
        word-spacing: 0.8px;
        font-size: 1.45rem;
    }

    .tradizione p,
    .sfizi p,
    .gastronomia p {
        letter-spacing: 0.5px;
        word-spacing: 0.8px;
        font-size: 1.45rem;
    }

    .chi_siamo h2,
    .tradizione h2,
    .sfizi h2,
    .gastronomia h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .chi_siamo h6,
    .tradizione h6,
    .sfizi h6,
    .gastronomia h6 {
        font-size: 1.5rem;
        padding-top: 60px;
    }
}
