html {
	background: white;
	height: 100%;
}

body {
	height: 100%;	
	margin: 0;
	padding: 0;
    font-family: Arial;
}

p {
	margin: 0;
}

html {
    min-width: 100vw;
    height: 100vh;   
}
body {
    margin: 0;
    padding: 0;
    background-color: #c5c2d1;
}

@media screen and (orientation: portrait) {
    .mockup {
        width: 100vw !important;
        height: 100vw !important;
    }
}

@media screen and (orientation: landscape) {
    .mockup {
        width: 100vh !important;
        height: 100vh !important;
    }
}

body {
    width: 100vw;
    height: 100vh;
    display: grid;
    justify-content: center;
    align-items: center;
}

.mockup {
    /* margin: auto; */
    position: relative;
    background-color: #c5c2d1;
    z-index: 2;
    user-select: none;
}

.canvas-container {
    position: absolute;
    top: 9.3%;
    left: 8.5%;
    aspect-ratio: 1/1;
    width: 82% !important;
    background-color: transparent;
    transition: background-color 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000);

}
.has-mockup-hidden .canvas-container {
    background-color: black;
    transition-duration: 0s;
}

.loading-label {
    font-family: 'Arial';
    margin: auto;
}

.mockup_img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 100%;
    transition: opacity 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.has-mockup-hidden .mockup_img {
    opacity: 0;
}

.has-mockup-hidden .signature {
    /* opacity: 0; */
}

svg {
    
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    max-height: 100%;
    width: 100% !important;
    height: 100% !important;
}

.shop-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: white;
    color: black;
    padding: 15px 25px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid black;
    z-index: 1000;
    transition: opacity 0.3s cubic-bezier(0.215, 0.610, 0.355, 1.000), color 0.3s cubic-bezier(0.215, 0.610, 0.355, 1.000), background-color 0.3s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    pointer-events: none;
    opacity: 0;
    font-size: 11px;
    white-space: nowrap;
}

.shop-button:hover {
    background-color: black;
    color: white;
}

.has-shop-button .shop-button {
    opacity: 1;
    pointer-events: all;
}

body {
	height: 100%;	
	margin: 0;
	padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

canvas, svg {
    max-height: 100vh;
    max-width: 100vw;
}