.div1{
  height:275px;
  max-width:100%;
  background: linear-gradient(#000000, #2E8B57);
  text-align: center;
  border: 2px solid grey;
}
.h11{
  font-size:8vw;
 max-width: 100%;
 color:white;
}
.forl{
  font-size:4vw;
 max-width: 100%;
}
.footer{
  height:100px;
  width:100%;
  background:black;
  text-align:center;
  line-height:100px;
  border: 2px solid grey;
}
.p1{
  color:white;
}
.totalbox{
width:100%;
}



/* Adicione isso no topo do seu CSS */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Evita rolagem horizontal se algo escapar */
}

.totalbox {
    width: 95%; /* Usa quase toda a tela, mas deixa um respiro */
    max-width: 1200px; /* Não deixa ficar exagerado em telas grandes */
    margin: 20px auto; /* Centraliza horizontalmente */
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

#divp {
    width: 100%; /* Ocupa apenas o que o totalbox permitir */
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap; /* Importante: faz os cards pularem linha em telas pequenas */
    justify-content: center;
    gap: 10px;
}


        
        .box2 {
            margin-bottom: 20px;
        }
        
        .imginpt {
            margin-right: 10px;
        }
        
        .btn1 {
            padding: 5px 15px;
            background: linear-gradient(#000000, #2E8B57);
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        
        .btn1:hover {
            background: linear-gradient(#000000, #2E8B57);
        }
        
        .load02 {
            width: 200px;
            height: 200px;
            border: 2px solid #ddd;
            border-radius: 8px;
            margin: 10px;
            display: inline-block;
            overflow: hidden;
            background-color: #f9f9f9;
        }
        
        .load02 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .btns {
            margin-top: 20px;
            text-align: center;
        }
        
        
        .color-card {
            display: inline-block;
            width: 100px;
            margin: 10px;
            text-align: center;
            cursor: pointer;
            transition: transform 0.2s;
        }
        
        .color-card:hover {
            transform: scale(1.05);
        }
        
        .color-swatch {
            width: 100px;
            height: 80px;
            border: 2px solid #ddd;
            border-radius: 8px;
            margin-bottom: 5px;
            position: relative;
            overflow: hidden;
        }
        
        .color-percent {
            display: block;
            background: rgba(0,0,0,0.7);
            color: white;
            font-size: 11px;
            padding: 2px;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            text-align: center;
        }
        
        .color-edit {
            margin-top: 5px;
            display: flex;
            gap: 5px;
            justify-content: center;
        }
        
        .color-input {
            width: 60px;
            height: 30px;
            border: 1px solid #ccc;
            border-radius: 4px;
            cursor: pointer;
        }
        
        .edit-btn {
            padding: 5px 10px;
            background: linear-gradient(#000000, #2E8B57);
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 11px;
        }
        
        .edit-btn:hover {
            background: linear-gradient(#000000, #2E8B57);
        }
        
        .generate-btn {
            padding: 10px 20px;
            background: linear-gradient(#000000, #2E8B57);
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            margin-top: 10px;
        }
        
        .generate-btn:hover {
            background: linear-gradient(#000000, #2E8B57);
        }
        
        .section-title {
            font-weight: bold;
            margin: 10px 0;
            text-align: center;
        }
        
        
        
        
        .config-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px dashed #bbb;
    justify-content: center;
}

.config-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.config-group label {
    font-size: 12px;
    font-weight: bold;
    color: #555;
}

.config-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    /* Aqui está a borda normal: espessura, estilo e cor */
    border: 1px solid #ccc; 
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Um leve sombreado para dar profundidade */
}

/* Mantendo seus estilos de input para combinar */
.config-group input, .config-group select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none; /* Remove aquele contorno azul padrão do navegador */
}

.config-group input:focus, .config-group select:focus {
    border-color: #2E8B57; /* Muda a cor ao clicar para verde */
    box-shadow: 0 0 5px rgba(46, 139, 87, 0.3);
}