.alert {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.alert .container {
  width: 450px;
  background-color: white;
  position: relative;
  padding: 10px;
  border-radius: 10px;
}
.alert-bg {
  width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.content-container {
  position: absolute;
  top: 25px;
  left: 25px;
  bottom: 25px;
  right: 25px;
  background-color: white;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.icons {
  margin-top: -20px;
}
.icons img {
  display: none;
}
.alert {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.alert.active {
  opacity: 1;
  visibility: visible;
}
.alert.error .icons img.error {
  display: block;
}

.alert.success .icons img.success {
  display: block;
}

.alert #alert-headline {
  font-size: 30px;
  margin: 0;
  margin-bottom: -12px;
}
.alert #alert-content {
  font-size: 20px;
  margin: 0;
}

.alert .restart-btn {
  cursor: pointer;
  border: rgb(90, 90, 90) 2px solid;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 10px;
  display: none;
  gap: 5px;
  background-color: rgb(108, 190, 0);
  color: white;
  align-content: center;
  transition: all 0.3s ease-in-out;
}
.alert.restart .restart-btn{
  display: flex;
}

.alert .restart-btn:hover {
  background-color: rgb(131, 232, 0);
  color: rgb(41, 41, 41);
}

.restart-btn img {
  aspect-ratio: 1;
  object-fit: contain;
}

.confirm img{
  display: none;
  cursor: pointer;
  width: 75px;
  height: 75px;
  margin: -10px;
  margin-bottom: -30px;
  object-fit: contain;
  overflow: hidden;
}

.alert.show-confirm .confirm img {
  display: block;
}