html {
  background-image: url("imgs/back.jpg");

  /* Full height */
  height: 100%;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

:root { --icon-Size: 64px; } 

body {
  margin: 0;
}
/*
img, div {
  width: var(--icon-Size);
  height: var(--icon-Size);
}

.x {
  animation: x 13s linear infinite alternate;
}

.y {
  animation: y 7s linear infinite alternate;
}

@keyframes x {
  100% {
    transform: translateX( calc(100vw - var(--icon-Size)) );
  }
}

@keyframes y {
  100% {
    transform: translateY( calc(100vh - var(--icon-Size)) );
  }
}*/

.container {
  display: flex;
}

.profile {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 1em;  
  border-radius: 8%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px #246df5;
  transition: 0.2s;
}

.profile:hover {
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px #d10fd8;
}

.content {
  position: absolute;
  bottom: 75px;
  padding: 5px;
  min-width: 400px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: 0.5s;
  box-shadow: 6px 4px 30px 2px #000;
}

.content .header {
  display: flex;
  align-items: center;
}
.content .header img {
  grid-column: 1/2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.imgDisplay {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

.content .header .infos {
  margin-left: 1em;
}
.content .header .infos .name {
  font-size: 1.25em;
  color: #333;
  letter-spacing: 1px;
  font-size: 600;
}

.content .header .infos .title {
  font-size: 0.9em;
  color: #969696;
  font-weight: 500;
}

.content .body {
  padding: 1em;
}

.content .body p {
  font-size: 0.95em;
  color: #272727;
}

.profile:hover .content {
  visibility: visible;
  opacity: 1;
  transform: translateX(0px) translateY(400px);
}