@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #f7f8f9;
}

header {
    padding: 20px 30px;
    background-color: #fff;
    position: fixed;
    width: 100%;
    z-index: 4;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 15px;
}

.headerBlock {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.selectBlock {
    position: relative;
}

.selectBlock::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z " /></svg>');
    position: absolute;
    top: 40%;
    right: 35px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    pointer-events: none;
}

.logoBlock {
    width: 21%;
}

.canvasBlock {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
   
    justify-content: end;
}

.canvasBlock:first-of-type {
    margin-bottom: 100px;
}

.canvasWrapper {
    position: relative;
    top: 0px;
}

@media (max-width:1600px) {
    .canvasWrapper {
        position: relative;
        top: 124px;
    }
}

.editButton {
    gap: 5px;
    display: flex;
    outline: none;
}

#darkcircle span {
    display: inline-block;
    padding: 0px 4px;
    border-radius: 50%;
    height: 16px;
    width: 16px;
    pointer-events: none;
}

#darkcircle input:focus {
    outline: none;
}

#darkcircle input {
    opacity: 0;
    position: absolute;

}

button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 10px;
    outline: none;

}


button img {
    width: 30px;
    height: 30px;
}

.headerButton {
    display: flex;
    gap: 10px;
}


.headerButton button {
    background-color: #f5f5f6;
    border: 1px solid #f5f5f6;
    padding: 15px 40px;
    font-size: 16px;
    line-height: 1.2;
    border-radius: 50px;
    color: #59606a;
    font-family: "Host Grotesk", sans-serif;

}

.headerButton .btnBlock+.btnBlock button {
    background-color: #000000;
    color: #fff;
}

.backSideImg input,
.frontSideImg input {
    height: 84px;
    width: 100%;
    opacity: 0;
    padding: 0px 20px;
}

.sidebar {
    background-color: #fff;
    padding: 20px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    width: 200px;
    z-index: 3;
    padding-top: 130px;
}

.sidebar select:focus {
    outline: none;
}

.sidebar select option {
    padding: 10px;
    background-color: #f7f8f9;
}

.sidebar select {
    width: 85%;
    padding: 15px 20px;
    margin-bottom: 10px;
    border: 1px solid #f7f8f9;
    border-radius: 2px;
    background-color: #f7f8f9;
    color: #333;
    -webkit-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    font-size: 16px;
    line-height: 1.5;
    font-family: "Host Grotesk", sans-serif;

}

.sidebar .frontBlock button,
.sidebar .backBlock button {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.2;
    color: #59606a;
    text-transform: capitalize;
    font-family: "Host Grotesk", sans-serif;
}

.sidebar .Qauntity {
    padding: 20px 0px;
}

.sidebar .Qauntity a {
    text-decoration: underline;
    font-family: "Host Grotesk", sans-serif;

}

.sidebar .Qauntity a,
.sidebar .Qauntity p {
    font-size: 16px;
    line-height: 1.2;
    color: #59606a;
    font-family: "Host Grotesk", sans-serif;

}

.sidebar .frontBlock {
    margin-bottom: 20px;
}

.sidebar .frontBlock .frontSideImg .imgWrapper img,
.sidebar .backBlock .backSideImg .imgWrapper img {

    width: 100%;
    height: 64px;
    display: none;
    pointer-events: none;
    object-fit: cover;
}

.sidebar .frontBlock .frontSideImg .imgWrapper,
.sidebar .backBlock .backSideImg .imgWrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 74%;
    pointer-events: none;
}

.frontSideImg p,
.backSideImg p {
    position: absolute;
    top: 50%;
    left: 0%;
    right: 0%;
    margin: 0 auto;
    text-align: center;
    transform: translateY(-50%);
    font-size: 16px;
    line-height: 1.2;
    color: #59606a;
    font-family: "Host Grotesk", sans-serif;
    pointer-events: none;
}

.backSideImg {
    position: relative;
}

.sidebar .frontBlock .frontSideImg,
.sidebar .backBlock .backSideImg {
    background-color: #f7f8f9;
    position: relative;
    padding: 20px 20px;
    height: 130px;
    width: 150px;

}

.canvas {
    /* position: absolute; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    /* Horizontal centering */

    width: 100vw;
    /* Full viewport width */
    height: 100vh;
    top:20px;
}

.lock-overlay {
    position: absolute;
    width: 400px;
    height: 600px;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1;
    cursor: not-allowed;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    outline: none;
}

canvas {
    border: 2px solid #f7f8f9;
}

.logoBlock img {
    width: 120px;
}


.bottomBlock .rangeSlider {
    width: 300px;
}

.bottomBlock {
    position: fixed;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 2;
    bottom: 0;
    background: #f7f8f9;

}

.bottomBlock img {
    width: 40px;
}

/*Range style*/

.rangeSlider {
    display: flex;
    align-items: center;
}

#range-slider__range {
    appearance: none;
    width: 300px;
    height: 4px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    padding: 0;
    margin: 0;
}

/*Range black ⚫ thumb*/
#range-slider__range::-webkit-slider-thumb {
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background: #7b7b7b;
    cursor: pointer;
    transition: background 0.15s ease-in-out;
}

/*On hover change colour of black thumb into green 🟢 and scale size*/
#range-slider__range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: #c7c7c7;
}

#range-slider__range:active::-webkit-slider-thumb {
    transform: scale(1.1);
    background: #c7c7c7;
}

/*Range current value*/
#range-slider__value {
    display: inline-block;
    position: relative;
    width: 60px;
    color: #000;
    line-height: 20px;
    text-align: center;
    border-radius: 3px;
    background: #f5f5f6;
    padding: 5px 10px;
    margin-left: 8px;
}

.editButton button {
    position: relative;
}

.editButton button p {
    /* position: relative; */
    display: none;
    background-color: #2c3e50;
    padding: 3px;
    color: #fff;
    border-radius: 4px;
    width: 100%;

}

.editButton button#settingsBtn:hover p {
    width: 140px;
    left: -35px;
}

.editButton button#exportImage:hover p {
    width: 100px;
    left: -21px;

}

.editButton button#rotate:hover p {
    width: 120px;
    left: -30px;
}

.editButton button#expandBtn:hover p {
    width: 66px;
    left: -5px;
}

.editButton button#darkcircle:hover p {
    width: 95px;
    left: -27px;
}

.editButton button#lockBtn:hover p {
    margin-top: 5px;
    width: 120px;
    left: -30px;
}

.editButton button:hover p {
    display: block;
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 80%;

}

.editButton button {
    border-radius: 100%;
}

.editButton button:hover {
    background-color: #f5f5f6;
    transition: all .5 ease-in-out;
}

.editButton button p:after {
    position: absolute;
    top: -6px;
    left: -7px;
    width: 0;
    height: 0;
    border-top: 7px solid #2c3e50;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    content: "";
    transform: rotate(180deg);
    right: 0;
    margin: 0 auto;
    border-top-right-radius: 25px;
}

.canvas-container {
    position: absolute;
}


.leftSideBar .innerBlock svg circle,
.leftSideBar .innerBlock svg rect,
.leftSideBar .innerBlock svg path {
    stroke: #fff;
}

.leftSideBar .innerBlock svg path {
    fill: #fff;
}

.leftSideBar .innerBlock svg {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
}

.leftSideBar .innerBlock {
    margin-bottom: 20px;
}

.leftSideBar .innerBlock {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leftSideBar .innerBlock p {
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    font-family: "Host Grotesk", sans-serif;
    text-transform: capitalize;
}

.leftSideBar {
    position: fixed;
    width: 100px;
    left: 0;
    padding: 130px 20px 0px 20px;
    top: 0px;
    background: #2c3e50;
    height: 100vh;
    z-index: 3;

}

.leftSideBar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leftSideBar button.innerBlock {
    padding: 0;
}

.colorBar {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.colorBar span {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    display: inline-block;

}

#colorPickercustom {
    border: 1px solid #585858;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.colorBar svg {
    width: 8px;
    height: 8px;
}

.colorBar {
    display: flex;
    position: absolute;
    width: 100%;
    max-width: 470px;
    gap: 14px;
    background-color: #fff;
    padding: 10px;
    bottom: -30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: -1;
}

.colorBar input:focus {
    outline: none;
}

.colorBar input {
    opacity: 0;
    position: absolute;

}

.overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    /* background: rgba(245, 242, 242, 0.7); */
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 1;
}

.popup {
    margin: 70px auto;
    padding: 25px 25px 40px 25px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 2s ease-in-out;
}

.popup .close {
    position: absolute;
    top: 10px;
    right: 13px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}


.popup .content {
    /* max-height: 50%; */
    overflow: auto;
    margin: 30px 30px 30px 30px;
    display: flex;
    justify-content: center;
}

 @media (min-width: 1024px) {
    .popup .content {
        /* min-height: 220px;    */


    }
 }

@media (min-width: 1440px) {
    .popup .content {
        /* min-height: 350px; */

    }
    
}
@media (min-width: 1600px) {
    .popup .content {
        /* min-height: 350px; */
      
    }
    /* .canvas{
        height: 80vh;
    } */
    
}

.frontPreviewButton {
    display: none;

}

.previewButton {
    background-color: #000000;
    border: 1px solid #000000;
    padding: 10px 20px;
    font-size: 14px;
    line-height: 1.2;
    border-radius: 50px;
    color: #fff;
    font-family: "Host Grotesk", sans-serif;
    margin: 10px 30px;
    outline: none;
    margin: 0 auto;


}

.BackPreviewButton {
    display: block;
    margin: 0 auto;
}


.cc-cursor {
	position: absolute;
	z-index: 10003;
	width: 120px;
	height: 120px;
	cursor: none;
	pointer-events: none;
}
.cc-cursor-eye {
	position: absolute;
	/* 	top: -5px;
	left: -5px; */
	width: 20px;
	height: 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='100%25' height='100%25'%3E%3Cg stroke='%23000' stroke-width='8'%3E%3Cpath d='m 0 50 l 25 0'%3E%3C/path%3E%3Cpath d='m 100 50 l -25 0'%3E%3C/path%3E%3Cpath d='m 50 100 l 0 -25'%3E%3C/path%3E%3Cpath d='m 50 0 l 0 25'%3E%3C/path%3E%3C/g%3E%3Ccircle cx='50' cy='50' r='25' fill='none' stroke='%23000' stroke-width='5'%3E%3C/circle%3E%3C/svg%3E");
}

.cc-cursor-blob-grid::before {
	content: "";
	position: absolute;
	top: 0px;
	left: 0px;
	width: 120px;
	height: 120px;
	background-size: 12px 12px;
	background-position: 4px 4px;
	background-image: linear-gradient(to right, #fff 1px, transparent 1px),
		linear-gradient(to bottom, #fff 1px, transparent 1px);
	opacity: 0.5;
	z-index: 1;
	mix-blend-mode: difference;
}




.minicolors_eyedropper {
	cursor: pointer;
	position: absolute;
	color: #ddd;
	border-radius: 0 3px 3px 0;
	padding: 2px 0 0 6px;
	font-size: 14px;
    top: -3px;
    left: -1px;
}
/* 
.cc-input {
	width: 100% !important;
	border: 0 !important;
} */
button:focus {
    outline: none!important;
    
}
button#darkcircle {
    width: 50px !important;
}