body {
    font-family: Arial, sans-serif;
    background-color: #f3ecfe;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

* {
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -moz-tap-highlight-color: transparent;
}

.content {
    color: black;
    background-color: #fff;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: inline-block;
}

textarea {
    resize: vertical;
}

h2 {
    text-align: center;
    color: #333;
}

input,
textarea {
    border-radius: 8px 8px 0 0;
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    background-color: #f0ecfb;
    outline: 0;
    border: none;
    border-bottom: solid 2px #b0acbd;
    box-sizing: border-box;

}

input:focus,
textarea:focus {
    outline: 0 !important;
    border: none;
    border-bottom: solid 2px #474459;
}

input[type=button],
input[type=button]:hover,
input[type=button]:focus,
input[type=submit],
input[type=submit]:hover,
input[type=submit]:focus {
    border: none !important;
    text-align: center;
}

.message {
    box-sizing: border-box;
    border-radius: 18px;
    padding: 15px;
    margin: 8px 0;
    border: 1px solid black;
}

.float_box {
    box-sizing: border-box;
    border-radius: 18px;
    padding: 15px;
}

.float_box_primary {
    background-color: #eeeafb;
}
 a:visited, a:active {
    color: inherit;
    text-decoration: none;
}

.message_error {
    background-color: red;
    color: white;
    border: none;
}

.button,
select {
    display: inline-block;
    padding: 12px;
    border-radius: 15px;
    color: #fff;
    background-color: #474459;
    border: none;
    outline: 0;
}
.button svg {
    fill: #fff;
    vertical-align: middle;
    /* line-height: 30px; */
}
.button span {
    vertical-align: middle;
}
a {
    text-decoration: none;
}
.float_box_primary .button,
select,
.float_box_primary input,
.float_box_primary textarea, .secondary_button {
    color: #312e41;
    background-color: #E5DFF9;
}

.button:hover {
    background-color: #645f7e;
}

.float_box_primary .button:hover, .secondary_button:hover {
    background-color: #d8cdfa;
}
.button:hover,
.button:focus,
.box_shadow {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

::selection {
    color: #fff;
    background-color: #474459;
}

#account_header {
    display: block;
    color: #474459;
    padding: 0;
    border: 1px solid #e6e0ea;
    margin-bottom: 12px;
    border-radius: 18px;
    padding: 12px 32px;
}

/* Key List */
#key_list {
    display: block;
    background-color: #eeeafb;
    color: #474459;
    padding: 0;
    border-radius: 18px;
}

#key_list .key_header {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    font-weight: normal;
    padding: 12px 32px;
}

.key_item {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;

    padding: 12px 32px;
    border-bottom: 1px solid #cfccd3;
}

#key_list div:last-child {
    border-bottom: none;
}

#key_list h2 {
    text-align: start;
    margin-bottom: 0px;
    font-family: "Google Sans", "Robotto", Arial, Helvetica, sans-serif;
}

.dialog {
    display: block;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    color: black;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.dialog-content {
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(140, 140, 140, .44);
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    border-radius: 22px;
    transition: opacity 0.3s ease-in-out;
    user-select: none;
}

.dialog * {
    user-select: none;
}

#dialog_title {
    font-weight: 400;
}

@media screen and (max-width:800px) {
    .floating_button {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
    }

    .floating_button .button {
        padding: 20px;
        border-radius: 15px;
    }

    .floating_button .button:hover {
        box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .14), 0 3px 3px -2px rgba(140, 140, 140, .44), 0 1px 8px 0 rgba(0, 0, 0, .12)
    }

    #content {
        margin-bottom: 100px;
    }
}

@media screen and (max-width:9999px) and (min-width:800px) {

    #content {
        box-sizing: border-box;
        margin: 0 auto;
        max-width: 52rem;
        margin: 0px 40px;
    }

    body {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}