.sc-wrapper{
display:flex;
background:#fff;
padding:30px;
border-radius:15px;
gap:40px;
}

.sc-preview{
display:flex;
gap:40px;
align-items:center;
}

.sc-preview img{
width:280px;
}

.sc-front-wrap,
.sc-back-wrap{
position:relative;
}

#sc-logo-img{
position:absolute;
top:80px;
right:47px;
max-width:50px;
}

#sc-text-overlay{
position:absolute;
top:95px;
right:47px;
font-weight:bold;
font-size:16px;
max-width:50px;
max-height:50px;
overflow:hidden;
text-align:center;
word-break:break-word;
line-height:1.1;
display:flex;
align-items:center;
justify-content:center;
}

.sc-colors{
display:flex;
gap:15px;
margin-bottom:20px;
}

.sc-colors span{
width:35px;
height:35px;
border-radius:50%;
cursor:pointer;
}

.sc-colors span:nth-child(1){background:black;}
.sc-colors span:nth-child(2){background:#3d5220;}
.sc-colors span:nth-child(3){background:#0033ff;}
.sc-colors span:nth-child(4){background:red;}

button{
background:#a7b400;
border:none;
padding:10px;
border-radius:8px;
color:white;
margin-top:10px;
margin-bottom:10px;
cursor:pointer;
}

input{
width:100%;
padding:8px;
}

#sc-text-size,
#sc-text-color{
width:100%;
margin-top:8px;
}

/* Tablets */
@media (max-width: 1024px){

.sc-wrapper{
flex-direction: column;
padding:20px;
gap:30px;
}

.sc-preview{
justify-content:center;
flex-wrap:wrap;
gap:20px;
}

.sc-preview img{
width:220px;
}

.sc-controls{
width:100%;
}

}

/* Mobile */
@media (max-width: 767px){

.sc-wrapper{
padding:15px;
gap:20px;
}

.sc-preview{
flex-direction:column;
align-items:center;
gap:15px;
}

.sc-preview img{
width:180px;
}

.sc-colors{
justify-content:center;
flex-wrap:wrap;
}

.sc-colors span{
width:30px;
height:30px;
}

button{
padding:12px;
font-size:14px;
}

input,
#sc-text-size,
#sc-text-color{
font-size:14px;
padding:10px;
}

h3{
font-size:16px;
}

}

/* Small Mobile */
@media (max-width: 480px){

.sc-preview img{
width:150px;
}

#sc-logo-img,
#sc-text-overlay{
top:70px;
right:35px;
max-width:40px;
max-height:40px;
font-size:14px !important;
}

}