@font-face {
    font-family: 'Questa Sans';
    src: url('./fonts/2-questa_sans_regular-webfont.woff2') format('woff2'), url('./fonts/2-questa_sans_regular-webfont.woff') format('woff'), url('./fonts/2-questa_sans_regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Questa Grande';
    src: url('./fonts/2-questa_grande_regular_31-webfont.woff2') format('woff2'), url('./fonts/2-questa_grande_regular_31-webfont.woff') format('woff'), url('./fonts/2-questa_grande_regular_31-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#japan {
    position: fixed;
    bottom: 0;
    right: 0;
    cursor: pointer;
    opacity: .2;
    transition: opacity .3s;
}
.kaizoku{
    background-color: #f39772;
    transition: background-image 1.45s;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' width='80' height='80'%3E%3Cpath fill='%235f3f2e' fill-opacity='0.07' d='M14 16H9v-2h5V9.87a4 4 0 1 1 2 0V14h5v2h-5v15.95A10 10 0 0 0 23.66 27l-3.46-2 8.2-2.2-2.9 5a12 12 0 0 1-21 0l-2.89-5 8.2 2.2-3.47 2A10 10 0 0 0 14 31.95V16zm40 40h-5v-2h5v-4.13a4 4 0 1 1 2 0V54h5v2h-5v15.95A10 10 0 0 0 63.66 67l-3.47-2 8.2-2.2-2.88 5a12 12 0 0 1-21.02 0l-2.88-5 8.2 2.2-3.47 2A10 10 0 0 0 54 71.95V56zm-39 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm40-40a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM15 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm40 40a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'%3E%3C/path%3E%3C/svg%3E");
}
.default{
    background-color: #f39772;
    transition: background-image 1.45s;
background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 16c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zm33.414-6l5.95-5.95L45.95.636 40 6.586 34.05.636 32.636 2.05 38.586 8l-5.95 5.95 1.414 1.414L40 9.414l5.95 5.95 1.414-1.414L41.414 8zM40 48c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zM9.414 40l5.95-5.95-1.414-1.414L8 38.586l-5.95-5.95L.636 34.05 6.586 40l-5.95 5.95 1.414 1.414L8 41.414l5.95 5.95 1.414-1.414L9.414 40z' fill='%235f3f2e' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

#mugs {
    display: flex;
    align-items: center;
}

#brook{
    cursor:pointer;
    transition: opacity .3s;
}
#logo .st0 {
    fill: #fff;
}

#logo {
    position: fixed;
    height: 0;
    width: 100vw;
    z-index: 19;
    max-height: 80px;
    max-width: 100px;
    margin: 1.25vh 1.5vw;
}

#title {
    margin: 1.25vh 0;
    position: fixed;
    display: flex;
    width: 100%;
    font-weight:300;
    justify-content: center;
    text-align: center;
    font-family: 'Questa Sans'
}
#title a {
    font-family: 'Questa Grande';
    text-decoration: none;
    color: #f3f3f3;
    font-size: 75px;
}

#toggle-item {
    position: fixed;
    right: 2%;
    top: 1%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#toggle-item span {
    margin: 20px;
    font-size: 30px;
    text-align: center;
    color: #5F3F2E;
}

#item {
    width: 444.5px;
    height: 427.7px;
    box-sizing: border-box;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

#mug {
    cursor: pointer;
    transition: opacity .3s;
    transition: fill .3s;
}

#mug:active {
    background: transparent;
}

#mug, #brook {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

svg text::selection {
    background: none;
}

#mug:hover {
    fill: #777;
    transition: fill .3s;
}

.faces {
    opacity: 0;
}

#face10 {
    opacity: 1;
}

body {
    width: 100vw;
    height: 100vh;
    background-color: #f39772;
    overflow: hidden;
    color: #5F3F2E;
    display: grid;
    grid-template-rows: (90vh 10vh);
}

#click-me {
    position: fixed;
    bottom: 5vh;
    font-family: "Questa Sans";
    font-size: 24px;
    left: 0;
    right: 0;
    text-align: center;
    letter-spacing: .2em;
    text-transform: uppercase;
}

#textInBubble {
    max-width: 50px;
    text-align: center;
    font-size: 24px;
    white-space: space break-all;
    font-family: 'Questa Sans';
}

#bubble {
    display: flex;
    justify-content: flex-start;
}

/* #click-me::after{
    content:'if you can..';
    position:absolute;
    left:0;
    right:0;
    text-align:center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size:16px;
    font-style:italic;
    font-weight:100;
    text-transform: lowercase;
    bottom:-2.33vh;
} */

/* TOGGLEUH */

#container a {
    font-family:'Questa Sans';
    text-decoration: none;
    opacity: .6;
    padding: 60px;
    position: absolute;
    right: 0px;
    bottom: 0px;
    font-size: 1.4em;
}

#container a:hover {
    opacity: 1;
}

#container {
    width: 160px;
    height: 36px;
    margin: auto;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    user-select: none;
    cursor: pointer;
}

.inner-container {
    position: absolute;
    left: 0;
    top: 0;
    width: inherit;
    height: inherit;
    text-transform: uppercase;
    font-size: .6em;
    letter-spacing: .2em;
}

.inner-container:first-child {
    background: #e9e9e9;
    color: #a9a9a9;
}

.inner-container:nth-child(2) {
    background: #5F3F2E;
    color: white;
    clip-path: inset(0 50% 0 0);
    transition: .3s cubic-bezier(0, 0, 0, 1);
}

.toggle {
    width: 50%;
    position: absolute;
    height: inherit;
    display: flex;
    box-sizing: border-box;
}

.toggle p {
    margin: auto;
}

.toggle:nth-child(1) {
    right: 0;
}

@media screen and (max-width:1024px) {
    body,
    html {
        overflow-x: hidden;
    }
    #toggle-item {
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        background: #f3f3f3;
    }
    #toggle-item span {
        font-size: 14px;
        position: fixed;
        bottom: -1%;
        left: 0;
    }
    h1 {
        font-size: 22px;
        font-weight:300;
    }
    #title a {
        font-size: 28px;
    }
    #title #first{
        font-weight:300;
    }
    #logo {
        display: none;
    }
    #item {
        width: 200px;
        height: 350px;
    }
    #click-me {
        bottom: 15vh;
        font-size: 18px;
        letter-spacing: normal;
    }
    #textInBubble {
        font-size: 16px;
    }
    #mug {
        transform: translateX(-10%);
    }
    #Calque_1 {
        transform: translateY(-7.337%);
    }
    #mug:hover {
        fill: #5F3F2E;
        transition: fill .3s;
    }
}