* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

html {
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
}

#app_legume {
    width:100%;
    padding: 4rem 40rem;
    flex-direction:column;
    display: flex;
    justify-content: center;
    align-items: center;
}

#app_plan {
    width:100%;
    flex-direction:column;
    display: flex;
    justify-content: center;
    align-items: center;
}

#app_parcelle {
    display: flex;
    align-items: center;
    justify-content: center;
}

#affichage {
    margin-top: 3rem;
    border: 1px solid black;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 1.3rem;
}

#navig_year {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
}

#navig_year button {
    font-size: 1rem;
    padding: .3rem;
    border-radius: .5rem;
    border: 1px solid black;
    cursor: pointer;
}

#navig_year h3 {
    margin-left: 2rem;
    margin-right: 2rem;
}

#block_plan_affichage {
    display: flex;
    align-items: flex-start;
    width: 95%;
}

#showNewColumn {
    cursor: pointer;
}

#submitNewColumn {
    cursor: pointer;
    display: none;
}

#plan {
    margin-left: 15rem;
    width: 45%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#plan_svg {
    width: 100%;
    height: 100%;
}

.st0 {
    display:none;
}

.st1 {
    fill:#8a8a8a;
    stroke:#000000;
    stroke-miterlimit:10;
}

.st2:hover {
    fill-opacity: .2;
}

#parcelle_container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 5rem;
    width: 40%;
}

#parcelle_container h2 {
    text-align: center;
}

#svg_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#parcelle_form {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: .8rem;
}

#legume_form {
    gap: .5rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: .8rem;
}

#legume_form select,
#legume_form input {
    width: 10rem;
    height: 1.5rem;
    font-size: 1rem;
}

#linkDeleteLegume {
    text-decoration: none;
    font-size: 1.5rem;
    color: red;
}

#parcelle_form div {
    margin-top: .8rem;
}

#parcelle_form select {
    width: 15rem;
    height: 2rem;
    font-size: 1rem;
}

#legume_envoyer {
    font-size: 1rem;
    padding: .1rem .3rem;
    border-radius: .5rem;
    border: 1px solid black;
}

#retourBtn {
    top: 1rem;
    left: 1rem;
    position: fixed;
}

#retourBtn button,
#addLegumeBtn button {
    font-size: 1rem;
    padding: .3rem;
    border-radius: .5rem;
    cursor: pointer;
    border: 1px solid black;
}

#legend {
    display: flex;
    gap: 1rem;
    align-content: center;
    flex-direction: column;
}

table {
    margin-bottom: 2rem;
    border-collapse: collapse;
}

tr,
th,
td {
    border: 1px solid black;
    padding: .5rem;
    text-align: center;
}

td a {
    text-decoration: none;
}

#newYear {
    margin-top: 5rem;
    width: 10rem;
    height: 10rem;
    font-size: 5rem;
    border-radius: .5rem;
    border: 1px solid black;
}

#newMap {
    margin-top: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.info {
    font-size: .8rem;
    font-style: italic;
    color: rgb(0, 133, 0);
}

.error {
    font-size: .8rem;
    font-style: italic;
    color: rgb(177, 0, 0);
}

#colors {
    display: flex;
    align-items: center;
    justify-content: center;
}

#squareColor {
    height: 2rem;
    margin-right:.5rem;
    width: 4rem;
    border: 2px solid black;
}

.app-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.login-form {
    margin-top: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    border-radius: 15px;
    border: 2px solid black;
    padding: 3rem 2rem;
}