

#content{
  justify-items: center;
}

#head{
  background-color:var(--e-global-color-17a726c);
  width:100%;
  height:30%;
  border-radius:15px;
	padding:31px;
}

.container {
  margin: 0 auto;
  width: 894px;
}

h1 {
  color: #212529;
  padding: 31px;
  font-weight: normal !important;
  font-style: normal;
  margin-bottom: 0;
  font-size:45px !important;
	font-weight:700 !important;
  padding-bottom: 0;
  text-align: center;
}
.sub-title{
	 color: darkgray;
  font-size: large;
  padding-bottom: 10px;
	text-align:center;
}
/* p {
  color: darkgray;
  font-size: large;
  padding-bottom: 10px;
  text-align: center;
} */

/* CONTROL PANEL */

.control-panel {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-end;
	    margin-top: 20px;
}

/* FLEX LAYOUT */

.text-control{
  flex:0 0 45%;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.size-control{
  flex:0 0 25%;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.text-color-control,
.bg-color-control{
  flex:0 0 9%;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.button-controls{
  flex:0 0 100%;
  display:flex;
  gap:15px;
  margin-top:10px;
}

/* INPUTS */

input[type="text"]{
  width:100%;
  padding:10px;
  border:1px solid #ccc;
  border-radius:6px;
}

input[type="range"]{
  width:100%;
}

input[type="color"]{
  width:100%;
  height:40px;
  border:none;
}

/* BUTTONS */

.button-controls .btn{
  width:auto;
  padding:10px 20px;
}

.btn {
  padding: 10px 7px !important;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  color:white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #4a90e2;
  color: white;
}

.btn-primary:hover {
  background: #357abd;
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
}



/* PREVIEW */

.preview-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 60px 40px;
  margin-bottom: 30px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview {
  font-family: 'Chewy', cursive;
  text-align: center;
  word-wrap: break-word;
  max-width: 100%;
  transition: all 0.3s ease;
  padding: 20px;
}


/* TABLET */

@media (max-width:1024px){

.control-panel{
  gap:15px;
}

}

/* MOBILE */

@media (max-width:768px){

.container{
  width:100%;
	margin-top:89px;
}

.text-control,
.size-control,
.text-color-control,
.bg-color-control{
  flex:0 0 100%;
  width:100%;
}

.text-control input,
.size-control input,
.text-color-control input,
.bg-color-control input{
  width:100%;
}

.button-controls{
  flex:0 0 100%;
  justify-content:flex-start;
	    margin-left: -16px;
}

.preview-container{
  padding:40px 20px;
  min-height:300px;
}

}

/* SMALL MOBILE */

@media (max-width:480px){

body{
  padding:10px;
}

.preview-container{
  padding:30px 15px;
}

}