body{
    font-family: "Parkinsans", sans-serif;    
    background-color: #f1f1f1;
    text-align: center;
    color: #575757;
   
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container{
    width: 80%;
    height: auto;
    margin: auto;
    padding: 3rem 0;
}

.title_div{
    display : flex;
    justify-content : center;
    align-items:center;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* COTE SAISIE DES POSTS IT */
.input_div div{
     display : flex;
    flex-direction: column;
    align-items: center;
    
    gap: .4rem; 
    margin-bottom: 2rem; 
}

.text_zone{
    width: 100%;
    height: 10rem;
    padding: 1rem;

    border: 2px solid #b3b3b3; 
    background-color: #f4f4f4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    
    font-size: 1.4rem;
    color: #3b3b3b;
    resize: none; /* Empêche le redimensionnement */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; 
}

.text_zone:focus {
    border-color: #8c8c8c; 
    box-shadow: 0 4px 8px rgba(140, 140, 140, 0.3);
    outline: 2px solid #8c8c8c;
}


.add_btn{
    padding: 0.5rem 2rem;
    background-color: #F0E68C;
    color: #575757;
    font-weight: 600;
    border-radius: .4rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color .3s ease-in-out;
    
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.add_btn:hover{
    background-color: #fcdf3b;
}

.add_btn:focus-visible{
    outline: 3px solid #fcdf3b;
}

.disabled_btn{
    background-color: rgba(240, 235, 190, 0.6);
    cursor: not-allowed;
    position: relative;
}

/* .disabled_btn:hover::after {
    content: attr(title);
    position: absolute;
    background-color: #575757;
    color: white;
    font-weight: 400;
    border-radius: 5px;
    padding: 5px;
    font-size: 1rem;
    bottom: -0px;
    left: 100%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 100;
} */

/* COTE TABLEAU  */
.board{
    width: 100%;
    min-height: 25rem;
    margin: 5rem auto;
    background-color: #ebd5ba;
    border: 2rem ridge #a85f00;
    padding: 3rem;
    border-radius: 1rem;

    display : flex;
    flex-direction: column;
    justify-content : space-between;
    gap: 3rem;
}

.insertion_area{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}


/* STYLE DES POSTS IT */
.post_it{
    border: 3px solid #ffcc00;
    background-color: #ffeb3b; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    word-break:break-all;
    
    max-width: 30rem;
    min-width: 15rem;
    max-height: 30rem;
    min-height: 15rem;
 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.post_it.dragging{
    opacity: 0.5;
}

/* BOUTON DE SUPPRESSION */
.suppr_btn{
    background-color: #fff; 
    font-size: 1rem;
    border-radius: .4rem;
    border: none;
    padding: .4rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease-in-out;
}

.suppr_btn:hover {
    background-color: rgba(204, 0, 0,0.3);
}

/* MEDIAS QUERIES */
@media only screen and (min-width: 500px) {
    .container, .text_zone{
        width: 70%;
    }
}

@media only screen and (min-width: 800px) {
    .container, .text_zone{
        width: 60%;
    }
}

@media only screen and (min-width: 1200px) {
    .container, .text_zone{
        width: 50%;
    }
}