
html, body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
    font-family: 'Parkinsans';
}

body {
    width: 100vw;
    overflow-x: hidden;
	display: flex;
	flex-direction: column;
    background-color: #f6f5f0;
    color: #111;
}

a {
	text-decoration: none;
	color: inherit;
    cursor: pointer;
}

a, ul, li, p {
    margin: 0;
    padding: 0;
}

b {
    font-weight: 600;
}

li {
    list-style: none;
    font-family: 'Nunito Sans';
}

h1, h2, h3 {
    margin: 0;
}

img {
    width: 100%;
}

button {
    border: none;
    background-color: transparent;
    color: inherit;
    padding: 0;
    font: inherit;
    outline: inherit;
    cursor: pointer;
}

.button {
    margin: 1em 0.5em;
}

.button a {
    padding: 0.5em 1em;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 4px 5px #111;
}

.button a:hover {
    box-shadow: 8px 8px #111;
    transform: translate(-2px);
}

.murales h1,
.murales h2 {
    color: indianred;
}

.murales .button a {
    background-color: indianred;
}

.serigrafia h1,
.serigrafia h2 {
    color: darkcyan;
}

.serigrafia .button a {
    background-color: darkcyan;
}

.eventi h1,
.eventi h2 {
    color: cornflowerblue;
}

.eventi .button a {
    background-color: cornflowerblue;
}


.desktop {
    display: none;
}

@media screen and (min-width: 800px) {

    .mobile {
        display: none !important;
    }
}

.shadow {
    text-shadow: 3px 3px #111;
}

.shadow:hover {
    text-shadow: 5px 5px #111;
    transform: translate(-2px);
}

/**
* MASTHEAD
*/

#masthead {
	width: 100vw;
	display: flex;
	flex-direction: row;
	margin: 2em 0;
    z-index: 100;
}

#masthead .logo-box {
    width: 80%;
    height: 100%;
    margin-inline: 2em;
}

#masthead .logo-container {
    width: 100%;
    margin: 0 auto;
}

#masthead .logo-svg {
    width: 100%;
    height: auto;
    max-width: 100%;
}

#masthead .menu-button {
    width: 20%;
    display: flex;
    flex-direction: column;
}

#masthead .menu-button img {
    width: 55px;
    height: 55px;
}

.bucket {
    position: absolute;
    right: 5%;
    transition: 0.6s cubic-bezier(.68,-0.55,.27,1.55);
}

.fore {
    z-index: 10;
}

.back {
    z-index: 1;
}

.rotate .fore {
    transform: rotate(-80deg);
}

.rotate .back {
    transform: rotate(-128deg) translate(-6px, -38px);    
}

#masthead li {
    text-transform: none;
}

#masthead .mobile.menu {
    display: none;
}

#masthead .mobile.menu.active {
    display: flex;
    position: absolute;
    left: 0;
    margin-top: 4em;
    width: 100%;
    justify-content: center;
}

@media screen and (min-width: 800px) {

    #masthead {
        margin: 2em 0;
        justify-content: space-around;
    }

    #masthead .logo-box {
        width: 50%;
    }

    #masthead nav {
        width: 10%;
        display: flex;
        align-items: center;
        font-weight: 600;
        font-size: 1.5em;
    }

    #masthead nav ul {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        height: 80%;
        width: 100%;
    }
    
    #masthead nav.left ul {
        align-items: flex-end;
    }

    #masthead nav.right ul {
        align-items: flex-start;
    }

}

/**
* PAGES
*/

.content {
    margin-inline: 1em;
    position: relative;
}

.content .intro {
    margin-bottom: 2em;
}

.content h1 {
    font-size: 1em;
    font-weight: 300;
    font-style: italic;
    width: 50vw;
    margin: auto;
    text-align: center;
}

.content h2 {
    text-transform: uppercase;
    font-size: 2.6em;
    line-height: 1;
}

.content h3,
.content p {
    font-weight: 400;
    font-size: 1em;
    text-align: right;
}

.content h3.subtitle {
    text-align-last: left;
    margin-bottom: 1em;
    font-weight: 600;
    font-style: italic;
}

.content h3 {
    font-size: 0.9em;
}

.content .text {
    margin-inline: 1em;
}

.content .banner {
    border: 5px solid #111;
    box-sizing: border-box;
    background-color: #fff;
    margin: 1em 0;
}

.content .banner img {
    mask-image: linear-gradient(to top, transparent 0%, black 50%);
}

.content .banner .description {
    padding: 0 1em 1em;
}


.content .button:nth-child(even) {
    text-align: right;
}

@media screen and (min-width: 800px) {

    .content .banner {
        border: none;
        height: 80vh;
        position: relative;
        background-color: transparent;
    }

    .content .banner img,
    .content .banner .description {
        border: 5px solid #111;
        position: absolute;
    }

    .content .banner img {
        mask-image: none;
        z-index: 1;
        top: 5%;
        width: 50%;
        left: 45%;
    }

    .content .banner .description {
        bottom: 5%;
        right: 40%;
        width: 40%;
        z-index: 2;
        background-color: #fff;
        padding: 1em;
    }

    .content .banner:nth-child(2n) img {
        left: unset;
        right: 45%;
    }

    .content .banner:nth-child(2n) .description {
        right: unset;
        left: 40%;
    }
}

/* PREVENTIVO */
#preventivoForm > div {
	background-color: #fff;
	color: #111;
	padding: 2em;
	margin: 2em auto;
    border: 5px solid #111;
    max-width: 70%;
}

#preventivoForm p,
#preventivoForm h3 {
    text-align: left;
    margin: 1em 0;
}

#preventivoForm h3 {
    font-weight: 700;
}

#preventivoForm select,
#preventivoForm input {
	color: #111;
	border: 2px solid #111;
}

#preventivoForm .cards {
    display: flex;
    gap: 10px;
}

#preventivoForm #supporti.cards {
    justify-content: space-evenly;
}

#preventivoForm #modelli.cards {
    flex-wrap: wrap;
}

#preventivoForm .card {
    cursor: pointer;
    text-align: center;
}

#preventivoForm #supporti .card {
    padding: 20px;
    box-sizing: border-box;
}

#preventivoForm #supporti .card h3 {
    text-align: center;
    font-size: 1.2em;
}

#preventivoForm #modelli .card {
    border: 2px solid #ccc;
    padding: 10px;
    width: 120px;
}

#preventivoForm .card.selected {
    background-color: #f6f5f0;
    border: #111 solid 5px;
width: 80%;
}

#preventivoForm #preventivo-totale h2 {
    text-align: right;
    font-size: 2em;
}

#preventivoForm #preventivo-totale {
    text-align: right;
}

#preventivoForm #preventivo-totale ul,
#preventivoForm #preventivo-totale .totale-riga {
    margin: 1em 0;
}

fieldset {
    border: none;
    padding: 0;
    margin-bottom: 0.5em;
}

legend {
    font-weight: bold;
    margin-bottom: 0.3em;
}

/**
* FOOTER
*/

footer {
    padding: 1em 2em;
}

footer .socials {
    display: flex;
}

footer .socials a {
    display: flex;
    margin-right: 1em;
}

footer .socials svg {
    fill: #111;
}