﻿@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
    --color-title: #d4b38b;
    --font-family: 'Inter', sans-serif;
    --body-color: gray;
    --menu-color: #755d5e;
    --body-font-size: 1.1em;
}

body {
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    overflow-x: hidden;
    line-height: 1.5;
    font-size: 1.1em;
    color: var(--body-color);
}

/*.content {
    text-align: justify;
    color: var(--body-color);
}*/

.textcolored {
    color:var(--color-title);
}

a {
    text-decoration: none;
    color: var(--body-color);
    font-family: var(--font-family);
}

    a:hover {
        color: var(--color-title);
    }

h1 {
    color: var(--color-title);
    margin-bottom: 5px;
    font-size:25px;
}

        h1 {
    color: var(--color-title);
    margin-bottom: 5px
}

h2,h3 {
    color: var(--color-title);
}

.LinkmenuToggle {
    text-decoration: none;
    color: whitesmoke;
    opacity: 1;
    font-family: var(--font-family);
    font-size: var(--body-font-size);
    font-weight: 400;
    transition: 200ms;
}

    .LinkmenuToggle:hover {
        color: var(--menu-color);
    }

.button {
    height: 120px;
    width: 120px;
    text-align: center;
    background-color: #d4b38b;
    color: white;
    border: 1px solid lightgray;
    border-radius: 5px;
    vertical-align: middle;
    font-family: inherit
}

/*ul {
    padding: 0;
    list-style-type: none;
}

nav {
    background-color: #d4b38b;
    height: 65px;
}

#menuToggle {
    display: flex;
    flex-direction: column;
    position: relative;
    top: 25px;
    left: 25px;
    width:50px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

    #menuToggle input {
        display: flex;
        width: 40px;
        height: 32px;
        position: absolute;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
    }

    #menuToggle span {
        display: flex;
        width: 29px;
        height: 2px;
        margin-bottom: 5px;
        position: relative;
        background: #ffffff;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 5px 0px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease;
    }

        #menuToggle span:first-child {
            transform-origin: 0% 0%;
        }

        #menuToggle span:nth-last-child(2) {
            transform-origin: 0% 100%;
        }

    #menuToggle input:checked ~ span {
        opacity: 1;
        transform: rotate(45deg) translate(-3px, -1px);
        background: #36383F;
    }

        #menuToggle input:checked ~ span:nth-last-child(3) {
            opacity: 0;
            transform: rotate(0deg) scale(0.2, 0.2);
        }

        #menuToggle input:checked ~ span:nth-last-child(2) {
            transform: rotate(-45deg) translate(0, -1px);
        }

#menu {
    position: absolute;
    width: 180px;
    height: 100vh;
    box-shadow: 0 0 10px #85888C;
    margin: -50px 0 0 -50px;
    padding: 50px;
    padding-top: 125px;
    background-color: #F5F6FA;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);

}

    #menu li {
        padding: 10px 0;
        transition-delay: 2s;
    }

#menuToggle input:checked ~ ul {
    transform: none;
}*/

/*Nuovo menu*/

.container {
    background-color: ghostwhite;
    height: 100vh;
    /*overflow: hidden;*/
    position: relative;
    /*width: 100%;*/
}

.menu {
    align-items: center;
    background-color: var(--menu-color);
    clip-path: polygon(calc(100% - 40px) 32.5px, calc(100% - 19.5px) 32.5px, calc(100% - 19.5px) 36.5px, calc(100% - 40px) 36.5px);
    color: var(--menu-color);
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
    font-size: 28px;
    height: 100%;
    position: absolute;
    top: 0;
    transition: clip-path 400ms cubic-bezier(0.4, 0, 0.2, 1), background-color 400ms cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    padding-bottom:35px
}

.active .menu {
    background-color: var(--color-title);
    clip-path: polygon(101% -1%, 101% 101%, -1% 101%, -1% -1%);
}

.options {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    transform: scale(0.8);
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.option {
    cursor: pointer;
    margin: 8px 0;
}

    .option.selected {
        color: #a02f56;
    }

.active .options {
    transform: scale(1);
}

.x {
    cursor: pointer;
    height: 40px;
    /*opacity: 0.3;*/
    position: absolute;
    right: 10px;
    top: 10px;
    width: 40px;
}

.top-bars {
    stroke: var(--menu-color);
    transition: stroke 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.active .top-bars {
    stroke: var(--menu-color);
}

.bar {
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.bar1 {
    transform-origin: 20px 13.5px;
}

.bar2 {
    transform-origin: 20px 13.5px;
}

.active .bar1 {
    transform: translateY(4.5px) rotate(45deg);
}

.active .bar2 {
    transform: rotate(-45deg);
}

.menu-click-area {
    cursor: pointer;
    height: 40px;
    opacity: 0.3;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 40px;
}

/*FINE nuovo menu*/