body {
  background-color: black;
  color: #00FFFF;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
}

p{
  text-align: center;
}

h1{
  text-align: center;
}

h2{
  width: 100%;
  text-align: center;
}

a {
  color: #00FFFF;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.xd {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.image-container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.image-container img {
    max-height: 150px;

    position: relative;

}

.image-container p {
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute;
    bottom: 0px;

    position: absolute;
    top: 0;
    left: 0;

    text-align: center /* Not sure if I misunderstood you with this */

}


.image-container img {
    margin-top: 15px;
}

.dobozcenter {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.floated {
  float:left;
  margin-right:5px;
}




