:root {
    --black: #363636;
    --red: #75595A;
    --blue: #4990AC;
    --green: #4cac49;
    
    --dark-green: #3b8b38;
    --grey: #827B7C;
    --white: #E7E8EE;
  }

html {
    background-color: var(--black);
    font-family:Arial, Helvetica, sans-serif;
    color:var(--white);  
}

html, body {
    padding:0;
    margin:0;
}

body {
    display:flex;
    flex-direction:row;
    justify-content:center;
}

.submit {
    margin-top:10px;
    width: fit-content;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 5px;
    background-color: var(--green);
    color: white;
    font-weight: bold;
    border: 1px solid var(--black);
    transition:0.1s;
}

.submit:hover {
    margin-top:10px;
    width: fit-content;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 5px;
    background-color: var(--dark-green);
    color: white;
    font-weight: bold;
    border: 1px solid var(--black);
    transition:0.1s;
}

.centre_row {
    width:100%;
    display:flex;
    flex-direction:row;
    justify-content:center;
}

.page {
    margin-left: 20px;
    margin-right:20px;
    display:flex;
    flex-direction: column;
    justify-content:flex-start;
    width:auto;
    max-width:calc(100vw - 40px);
    aspect-ratio: 5/4;
}

.resizeable {
    resize:both;
}

#charity_system {
    display:flex;
    flex-direction: column;
    width:100%;
}

#category_system {
    display:none;
    flex-direction: column;
    width:100%;
}

#charities_container {
    display:flex;
    flex-direction:column;
    justify-content:start;
}

.select {
    max-width: fit-content;
    padding: 10px;
}

.charity_container {
    display:flex;
    flex-direction:column;
    justify-content:start;
}

.add_form {
    display:flex;
    flex-direction: column;
    justify-content:space-between;
}

.form_input {
    border-radius:5px;
    padding:10px;
    border: 1px solid var(--black);
}

.form_group {
    margin-top:10px;
    margin-bottom: 10px;
    display:flex;
    flex-direction: column;
    font-weight: bold;
}

.charity_name, .form_title, .category_name {
    font-size:24px;
    font-weight:bold;
}

.panel {
    background-color: var(--white);
    color:var(--black);
    border-radius: 20px; 
    font-size:16px;
    padding:35px;
    margin-top:20px; 
    margin-bottom:20px;
}

.category_container {
    display:flex;
    flex-direction:column;
    justify-content:start;
}

#map { 
    margin-top:20px;
    height: 200px;
    width: 100%; 
    border-radius: 5px;
    border: 1px solid var(--black);
}

.top_row {
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 2px solid var(--black);
}

.item_button {
    height:50px;
    width: fill-content;
    border-radius:5px;
    padding:10px;
    color:var(--white);
    border: 2px solid var(--black);
}

.delete_button {
    background-color: red;
}

.edit_button {
    background-color: var(--blue);
}

.hidden_data {
    display:none;
    width:0;
    height:0;
}

.edit_form {
    display:none;
}