a {
    color: black !important;
}

@media only screen and (min-width:430px) {
    #header>a {
        color: black !important;
        font-size: 40px;
    }

    .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
    }

    .box {
        width: 46%;
        margin: 2%;
        padding: 20px;
        box-sizing: border-box;
        text-align: center;
        background-color: rgb(255, 255, 255);
        color: black;
        border: 1px solid black;
        border-radius: 10px;

    }

    .box2 {
        width: 46%;
        margin: 2%;
        padding: 20px;
        box-sizing: border-box;
        text-align: center;

        color: rgba(127, 127, 127, 0);


    }



    #header {
        padding: 0px;
        display: flex;
        justify-content: start;
        align-items: center;
        padding: 10px;
    }

    #header img {
        width: 500px;
        height: 100px;

    }

    #header a {
        margin-left: 10px;
        font-size: 40px;
    }

    .principale {
        background-image: url("../immagini/ruspa.png");
        height: 70vh;
        background-size: cover;
        background-position: 25% 80%;
        display: flex;
        align-items: center;
    }

    .intro {
        margin-left: 50px;
        width: 60%;
        padding: 20px;
        background-color: rgb(255, 255, 255, 0.2);
    }

    .testointro {
        font-family: 'Playfair Display', serif;
        font-weight: normal !important;
    }

    a {
        text-decoration: none !important;
    }

    .round-button {
        background-color: beige;
        border: 1px black solid;
        border-radius: 7%;
        color: black;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 30px;
        margin: 30px 3px;
        padding: 30px;
        cursor: pointer;
        line-height: 40px;
    }

    h1 {
        font-size: 2.5em;
        font-family: 'Playfair Display', serif;
    }

    h2 {
        font-size: 3em;
    }

    h3 {
        font-size: 2.5em;
    }

    p {
        font-family: 'Playfair Display', serif;
        font-size: 15px;
    }

    .tre-colonne {
        display: flex;
        margin: 20px 5%;
    }

    .col {
        margin-right: 10%;
    }

    .mappa {
        margin: 20px 12%
    }

    .map {
        width: 76%;
    }

    .prima-foto {
        width: 95%;
        height: auto;
    }

    .contenitore {
        display: flex;
        justify-content: start;
    }

    .fascia {
        display: flex;
    }

    body>main>div.mappa>div>iframe {
        width: 700px;

    }

    .categoria {
        font-size: 2em !important;
    }

    p {
        font-size: 1.8em;
    }


}

@media only screen and (min-width: 1024px) {
    #header>a {
        color: black !important;
        font-size: 40px;
    }

    #header {
        padding: 0px;
        display: flex;
        justify-content: start;
        align-items: center;
        padding: 10px;
    }

    #header img {
        width: 300px;
        height: 75px;

    }

    #header a {
        margin-left: 10px;
        font-size: 20px;
    }

    .principale {
        background-image: url("../immagini/ruspa.png");
        height: 84vh;
        background-size: cover;
        display: flex;
        align-items: center;
    }

    .intro {
        margin-left: 30px;
        width: 30%;
        padding: 20px;
        background-color: rgb(255, 255, 255, 0.2);
    }

    .testointro {
        font-family: 'Playfair Display', serif;
        font-weight: normal !important;
    }

    .dueblock {
        display: flex;
        margin-left: 0;
    }

    a {
        text-decoration: none !important;
    }

    .round-button {
        background-color: beige;
        border: 1px black solid;
        border-radius: 7%;
        color: black;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        margin: 20px 2px;
        cursor: pointer;
        line-height: 30px;
    }

    h1 {
        font-size: 2.5em;
        font-family: 'Playfair Display', serif;
    }

    h2 {
        font-size: 1em;
    }

    p {
        font-family: 'Playfair Display', serif;
        font-size: 1.4em;
    }

    .tre-colonne {
        display: flex;
        margin: 20px 12%;
    }

    .col {
        margin-right: 10%;
    }

    .mappa {
        margin: 20px 12%;
    }

    .map {
        width: 76%;
    }

    .prima-foto {
        width: 95%;
        height: auto;
    }

    .contenitore {
        display: flex;
        justify-content: start;
    }

    .fascia {
        display: flex;
    }




    .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .box {
        width: 20%;
        margin: 2%;
        padding: 20px;
        box-sizing: border-box;
        text-align: center;
        background-color: rgb(255, 255, 255);
        color: black;
        border: 1px solid black;
        border-radius: 10px;



    }

    h3 {
        font-size: 1.2em;
    }

    .categoria {
        font-size: 2em !important;
    }

   
}