/* import local font from fonts file */
@font-face {
  font-family: "Grifter Bold";
  src: url("fonts/grifterbold.otf");
}

body {
  background-color: #f5f5f5;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

button:focus {
  outline: none;
}

input,
select {
  outline: none;
}

svg {
  width: 17px;
}

a {
  color: #1c79f2;
  text-decoration: none;
  /* clip text to */
}

.header__text {
  font-family: "Grifter Bold";
  font-size: 2rem;
  color: rgb(0, 0, 0);
  letter-spacing: 1px;
}

.images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  padding: 0 10px;
  margin-bottom: 5rem;
}

.images__image {
  transition: 0.3s;
  border-radius: 10px;
  position: relative;
  border-radius: 50%;
  padding: 0;
}

.images__image:hover {
  border-radius: 10px;
}

.images__image__img {
  width: 100px;
  transition: 0.3s;
  border: solid 5px transparent;
  padding: 0;
  margin: 0;
}

.images__image:hover .images__image__img {
  transform: scale(0.9) translateY(-90px);
  background: white;
  border: solid 5px white;
}

.image__control__buttons {
  margin-top: 5px;
  position: absolute;
  bottom: 5px;
  left: 5px;
  right: 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 5px;
  opacity: 0;
  transition: 0.5s;
  border-radius: 10px;

  transform: translateY(10px);

  z-index: 1;
}

.image__control__input {
  width: 100%;
  padding: 5px;
  border: 1px solid #f5f5f5;
  border-radius: 5px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin: 0;
  outline: none;
}

.hor {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.images__image:hover .image__control__buttons {
  transform: translateY(0px);
}

.image__control__buttons .image__control__button {
  border: 1px solid #f5f5f5;
  width: 30px;
  height: 30px;
  font-size: 15px;
  border-radius: 5px;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}

.image__control__buttons .image__control__button:hover {
  background-color: #ffffff;
  color: #0075fd;
}

.images__image:hover .image__control__buttons {
  opacity: 1;
}

/* rand btn  */
.randomize__btn {
  border: none;
  border-radius: 50px;
  width: 50px;
  height: 50px;
  background-color: black;
  color: white;

  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 999;
}
