:root {
    --color-grey: #444444;
    --color-ruggine: #AF6E58;
    --color-dark: #331614;
    --color-bianco-sporco: #FFF3E5;
    --color-light-grey: rgba(68, 68, 68, 0.2);
    --interno: 50px;
    --sezione: 90px;
}

/* HEADER */
.header-svg {
    width: 360px;
}

/* OFFCANVAS */
.offcanvas {
    background-color: var(--color-light-grey);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: backdrop-filter 0.3s ease;

    a span {
        font-size: 48px;
        font-weight: bold;
        line-height: 60px;
        text-transform: capitalize;
    }

    .social a span {
        font-size: 18px;
        font-weight: bold;
        text-transform: uppercase;
    }
}

/* MAIN */
.riga-riferimento {
    height: 500px;

    div:first-of-type {
        width: 400px;
        height: 370px;
        max-width: 75%;
    }

    div:nth-of-type(2) {
        width: 400px;
        max-width: 75%;
    }
}

.reg-svg {
    width: 20px;
    height: 20px;
}

.img-full {
    height: 600px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;

    .row {
        position: relative;
        z-index: 3;
    }

    .position-absolute {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.75) 100%);
    }
}

.schede-prodotti .col {
    .position-relative {
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        aspect-ratio: 1;
    }

    .position-absolute {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.75) 100%);
    }
}

.button-white,
.button-ruggine {
    text-transform: uppercase;
    display: inline-block;
    font-weight: bold;
    border-top: 2px solid;
    border-left: 2px solid;
    border-right: 2px solid;
    padding: 8px 20px 0;
    transition: 0.4s;
}

.button-white {
    color: white;
    border-color: white;

    &:hover {
        color: var(--color-ruggine);
        background-color: white;
    }
}

.button-ruggine {
    color: var(--color-ruggine);
    border-color: var(--color-ruggine);

    &:hover {
        color: white;
        background-color: var(--color-ruggine);
    }
}

/* FOOTER */
#footer {
    p {
        font-size: 16px;
        color: var(--color-dark);
    }

    a {
        font-size: 16px;
        color: var(--color-dark);
        font-weight: bold;
    }
}


/* CUSTOM GENERAL */
.psb {
    padding-bottom: var(--sezione);
}

.pst {
    padding-top: var(--sezione);
}

.pib {
    padding-bottom: var(--interno);
}

.pit {
    padding-top: var(--interno);
}

.mst {
    margin-top: var(--sezione);
}

.msb {
    margin-bottom: var(--sezione);
}

.mib {
    margin-bottom: var(--interno);
}

a {
    text-decoration: none;
    color: unset;
    font-family: 'Work-sans';
}

img {
    max-width: 100%;
}

/* OWL CAROUSEL */
.owl-theme .owl-dots {
    margin-top: 16px;
}

.owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
}

.owl-theme .owl-dots .active span {
    background-color: var(--color-ruggine) !important;
}

.owl-carousel .owl-nav {
    color: var(--color-ruggine);
    margin: 0;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    top: 47.5%;
    transform: translateY(-100%);

    &:hover {
        color: var(--color-ruggine) !important;
        background-color: transparent !important;
    }
}

/* FONT */
@font-face {
    font-family: 'Baskerville';
    src: url('./font/LibreBaskerville-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Baskerville';
    src: url('./font/LibreBaskerville-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Work-sans';
    src: url('./font/WorkSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Work-sans';
    src: url('./font/WorkSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Baskerville';
    margin: 0;
}

h1 {
    font-size: 64px;
    line-height: 75px;
    font-weight: bold;
}

h2 {
    font-size: 84px;
    font-weight: bold;
}

h3 {
    font-size: 56px;
    line-height: 73px;
    font-weight: bold;
}

h4 {
    font-size: 34px;
    line-height: 44px;
    font-weight: bold;
}

h5 {
    font-size: 21px;
    font-weight: bold;
}

p,
.p-style {
    font-size: 18px;
    font-family: 'Work-sans';
    margin: 0;
}

/* FORM */
.form-check-input:checked {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000' stroke-width='2' d='M1 8l4 4L15 1'/%3e%3c/svg%3e") !important;
}

#submit {
    background-color: transparent;
    border-bottom: none;
    color: var(--color-ruggine);
    border-color: var(--color-ruggine);

    text-transform: uppercase;
    display: inline-block;
    font-weight: bold;
    border-top: 2px solid;
    border-left: 2px solid;
    border-right: 2px solid;
    padding: 8px 20px 0;
    transition: 0.4s;

    &:hover {
        color: white;
        background-color: var(--color-ruggine);
        border-color: var(--color-ruggine);
    }
}

.wpcf7-acceptance .wpcf7-list-item {
    margin: 0 !important;
}