.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.image-container {
  position: relative;
  margin: 10px;
}

.image-container img {
  display: block;
  max-width: 100%;
  height: auto;/**/
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.image-container img:hover {
  transform: scale(1.10);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.image-container .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 14px;
}

.barfoot{
    background-color:#e1f6ff;
    box-shadow: 0 1px 2px 1px #ccc;
    border-radius: 2px;
    max-width: 676px;
	 min-height: 140px;
    padding: 14px;
    /*margin: 2px auto 16px;
    position:relative;*/
}

.iimgcontain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;/*center;*/
}
.iimg0 {
  /*position: relative;absolute;*/
  width: 110px;
  height: 80px;
  /*top: 5px;
  left: 0;*/
}
.iimg1 {
  position: relative;/*absolute;*/
  width: 142px;
  height: 142px;
  top: 0px;
  left: 0px;
  border: 1px solid black;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
.iimg2 {
  position: relative;/*absolute;*/
  width: 100px;
  height: 100px;
  top: -10px;
  left: -36px;
  border: 1px solid black;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.iimg1:hover {
  transform: scale(1.10);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  opacity: 0.8;
}
.iimg2:hover {
  transform: scale(1.10);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  opacity: 0.8;
}
	
.iimg2.rounded {
  border-radius: 50%;
}

/********flex*********/

.flex-container {
  display: flex;
  flex-flow:  wrap;/*  Allow items to wrap into multiple lines */
  flex-direction: row;
  height: 100%;

  gap: 10px; /* проміжок між елементами */
}

.flex-item {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/********animated*********/

.backimg {
  border: 5px dashed black;
  padding: 25px;
  background-repeat: no-repeat;
  /*background-origin: padding-box;content-box;*/
  background-image: url("../img/StounhS.jpg");
  background-size: 100% 100%;
}

.animated {
	width: 99%;
  animation: my-animation 3s forwards;
}
@keyframes my-animation {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animated-div-css {
  width: 70px;
  height: 50px;
  padding: 5px;
  /*background-color: blue;*/
  background-image: url("../img/ukraine32.png");
  background-repeat: no-repeat;
  animation: myAnimation 2s infinite;
}
@keyframes myAnimation {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

.animated-div-js {
  position: relative;/*absolute;*/
  top: 1px;
  left: 1px;
  width: 50px;
  height: 50px;
}

.flex-item-js {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;/*center;*/
  align-items: center;
  min-height: 300px;
}

.is-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.txt {
  font-size: 1.2em;
  color: #6945F5;
}