@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Rubik+Vinyl&display=swap");

body {
  font-family: "Roboto", cursive;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

.image {
  max-width: 350px;
  max-height: 300px;
}

.invisible {
  display: none;
}

.title-container {
  height: 80px;
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 2;
  border-radius: 0px 0px 12px 12px;
}

.title {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 5px;
  background-color: black;
  background-image: linear-gradient(
    to right,
    #4169e1,
    #40e0d0,
    #ffd700,
    #ffa500,
    #ff69b4
  );
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

.content {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: white;
  position: relative;
}

.content::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(
    to right,
    #4169e1,
    #40e0d0,
    #ffd700,
    #ffa500,
    #ff69b4
  );
  opacity: 0.6;
}

.image-container {
  width: 350px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  border-radius: 5px;
  position: relative;
}

.content-container {
  height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buttons-container {
  border-top: 2px solid #4169e1;
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.buttons-container .action-button {
  flex-grow: 1;
  margin: 5px;
}

.result,
.analyze {
  position: absolute;
}

.result {
  width: 100%;
}

.analyze {
  pointer-events: none;
}

.action-button {
  padding: 10px;
  border-radius: 5px;
  border: 2px solid #4169e1;
  color: #4169e1;
  background-color: white;
  transition: 0.5s;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

.action-button:hover {
  cursor: pointer;
  background-color: #4169e1;
  color: white;
}

.action-button:disabled {
  background-color: #cccccc;
  border-color: #cccccc;
  color: white;
  cursor: default;
}

.control-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  padding-bottom: 100px;
  width: 100px;
  position: relative;
}

.transfer {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 840px) {
  html,
  body {
    height: auto;
    min-height: 100%;
  }

  .content {
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: start;
  }

  .source-container {
    margin-top: 100px;
  }

  .control-container {
    height: auto;
    padding-bottom: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .target-container {
    margin-bottom: 20px;
  }
}
