* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f5dcff;
    color: #5D0099;
}

button {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
}

#title {
    font-size: 64px;
    margin: 10px;
}

a {
    color: blue;
}

a:hover {
    text-decoration: none;
}

a:visited {
    color: blue;
}

button:hover {
    cursor: pointer;
}

#form-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: white;
    width: 30%;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgb(179, 179, 179);
}

#form-box > h2 {
    font-size: 48px;
    margin: 0px;
}

.input-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    width: 70%;
}

.input-form > input {
    font-size: larger;
}

.input-form > button {
    background-color: blueviolet;
    border: none;
    border-radius: 20px;
    font-size: larger;
    height: 40px;
    margin-bottom: 20px;
}

.input-form > button:active {
    background-color: rgb(43, 13, 70);
}

.material-symbols-outlined{
  display:inline-block;
  width:24px;
  height:24px;
  font-size:24px;
  line-height:1;
}

#contacts-table th:last-child,
#contacts-table td:last-child{
  width:140px;      
}

.button-container button{
  width:36px;
  height:30px;         
  padding:0;
}

#contacts-table td,
#contacts-table th{
  min-height:44px;
  vertical-align:middle;
}

.table-wrapper{
  contain: layout paint style;
}

#contacts-table tbody{
  content-visibility:auto;
  contain-intrinsic-size: 1000px;
