body {
    position: relative;
    z-index: 1;
}

body nav {
    display: flex;
}

/* */

.edit-container {
	padding-bottom: 8px;
}

.edit-container *:nth-child(2) {
	display: inline-block;
}

.edit-button {
	color: #555;
	padding: 8px 12px;
	border: 2px solid #aaa;
	border-radius: 30px;
	box-shadow: 1px 3px 2px rgba(0, 0, 0, 0.4);
	display: inline-block;
	margin-right: 8px;
    background-color: #fff;;
}


/* */

.profile-image-container {
    display: block;
    max-width: 400px;
    margin: auto;
}

.profile-image-container .edit-container {
    position: relative;
    z-index: 2;
}

.profile-image-container .edit-container a.edit-button {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
}

.profile-image-container .edit-container a.edit-button span {
    position: relative;
    z-index: 4;
}

.profile-image-container .edit-container svg,
.profile-image-container .edit-container img,
.profile-image-container img,
.profile-image-container  svg
{
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

.profile-content {
    text-align: center;
}

/* */

h1.profile-name {
    padding-bottom: 0;
    margin: 24px auto 4px auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

h3.profile-permalink {
    margin-bottom: 24px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    font-weight: 200;
}

.profile-notes {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* */

.profile-send-button-container {
    margin-top: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-items: center;
    justify-content: center;
}

.send-message-button {
    margin: 0 4px;
}

.profile-permalink-button {
    margin: 0 4px;
}

/* */

.qrcode-container {
    display: none; 
    position: fixed; 
    z-index: 10; 
    top: 0; 
    bottom: 0; 
    right: 0; 
    left: 0; 
    background-color: rgba(0, 0, 0, 0.2);
}

.qrcode-content{
    display: block; 
    position: absolute; 
    width: 256px; 
    height: 256px; 
    top: calc( 50% - 149px ); 
    left: calc( 50% - 149px ); 
    padding: 16px; 
    background-color: #fff; 
    border: 1px solid black; 
    border-radius: 8px; 
    box-sizing: content-box;
}