@import url('https://use.typekit.net/ryu7nps.css');

:root {
    /* colori */
    --brown: #695f5b;
    --beige-medium: #EDE8DF;
    --beige: #eee9e2;
    /* fonts */
    --script-font: bickham-script-pro-3, sans-serif;
}

/* fonts */

.bickham-font {
    font-family: var(--script-font);
}

.eaves-cap {
    font-family: mrs-eaves-roman-all-petite-c, serif;
}

/* dimensioni testi */

.text-60-76 {
    font-size: clamp(60px, 54.4348px + 1.7391vw, 76px);
}

.text-32-76 {
    font-size: clamp(32px, 16.6957px + 4.7826vw, 76px);
}

.text-20-30 {
    font-size: clamp(20px, 16.5217px + 1.087vw, 30px);
}

.text-body {
    font-size: clamp(20px, 18.6087px + 0.4348vw, 24px);
}

/* svg */

svg {
    display: block;
    width: 100%;
    height: auto;
}

/* box bianchi */

.whitebox-1 {
    position: relative;
}

@media screen and (min-width: 1660px) {
    .whitebox-1::before {
        width: calc(100% + 20vw) !important;
    }
}

@media screen and (min-width: 1280px) {
    .whitebox-1::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: calc(100% + 10vw);
        height: calc(100% + 10vw);
        background-color: white;
        transform: translate(-50%, -50%);
        z-index: -1;
    }
}

/* decorazioni */

.decorazione-2 {
    position: relative;
}

.decorazione-2::before {
    display: block;
    content: url(../assets/decorazione-2.svg);
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-90%, 60%);
}

.decorazione-2-dx::before {
    display: block;
    content: url(../assets/decorazione-2.svg);
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(105%, 60%);
}

.decorazione-2b-dx::before {
    display: block;
    content: url(../assets/decorazione-2.svg);
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(60%, 125%);
}

@media screen and (max-width: 1280px) {
    .decorazione-2::before {
        position: relative;
        top: unset;
        left: unset;
        transform: translate(-25%, 0) scale(.5);
    }

    .decorazione-2-dx::before {
        position: relative;
        top: unset;
        right: unset;
        transform: translate(-25%, 0) scale(.5);
    }

    .decorazione-2b-dx::before {
        position: relative;
        top: unset;
        right: unset;
        transform: translate(-25%, 0) scale(.5);
    }
}

/* bordi colorati */

.rainbow-border {
    border: 5px solid;
    border-image: linear-gradient(to right,
            #2EA8D3, #2EA8D3,
            #9AC31C, #F9B036,
            #F9B036, #D83066,
            #D83066) 1;
}

/* body */

body {
    font-family: mrs-eaves, serif;
    font-weight: 400;
    font-style: normal;
    background-color: var(--beige);
    color: var(--brown);
    overflow-x: hidden;
}

/* header */

header nav ul li.home a {
    display: block;
    font-size: 0;
    content: url(../assets/logo.svg);
    width: auto;
    height: clamp(80px, 47.6522px + 10.1087vw, 173px);
    transform: translateY(clamp(0px, -5.5652px + 1.7391vw, 16px));
    pointer-events: none;
}

@media screen and (max-width: 767px) {
    header nav ul li:not(.home) {
        display: none;
    }
}

/* footer */

.footer-social svg {
    display: block;
    width: 40px;
    height: 40px;
    fill: var(--beige);
}

@media screen and (max-width: 1280px) {
    .footer-social svg {
        width: 34px;
        height: 34px;
    }
}

/* form di contatto */

input[type="text"],
input[type="email"] {
    display: block;
    width: 100%;
    height: 49px;
    background-color: var(--beige-medium);
    padding: 0 16px !important;
}

textarea {
    display: block;
    width: 100%;
    height: 160px;
    background-color: var(--beige-medium);
    padding: 16px !important;
    resize: none !important;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-list-item label {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 20px;
    cursor: pointer;
    font-size: 16px;
}

.wpcf7-list-item label input[type="checkbox"] {
    all: unset;
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    border: 1px solid var(--brown);
    transform: translateY(5px);
    transition: .25s;
}

.wpcf7-list-item label input[type="checkbox"]:checked {
    background: var(--beige-medium);
}

input[type="submit"] {
    padding: 10px 46px;
    margin-top: 30px;
    text-transform: uppercase;
}

.wpcf7-not-valid-tip {
    font-size: 16px !important;
    margin-top: 5px !important;
}

.wpcf7-response-output {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    font-size: 16px !important;
    color: #dc3232 !important;
}