@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Roboto:wght@400;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

html {
  background-color: white;
}

body {
  margin: 0;
}

.container {
  background: url(./example.jpg) no-repeat center center fixed;
  background-color: red;
  background-blend-mode: hard-light;
  justify-content: center;
  align-items: center;
  display: flex;
  height: 100%;
  width: 100%;
  color: white;
  position: relative;
  overflow: hidden;
}

.bannerContainer {
  width: 100%;
  height: 100%;
  justify-content: flex-end;
  align-items: center;
  display: flex;
}

.banner {
  border: 3px solid yellow;
  justify-content: flex-start;
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  width: 50%;
  height: 100%;
  background: #002b65;
  font-family: "Lato", sans-serif;
  font-size: 0.9em;
  position: relative;
}

.banner1 {
  mix-blend-mode: hue;
}

h1 {
  font-family: "Roboto";
}

.buttonContainer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 50%;
  /*width: 150px;*/
  position: absolute;
}

.mixButtons {
  right: 20px;
}

.backgroundButtons {
  left: 40px;
  align-items: flex-end;
}

button {
  height: 25px;
  width: 100px;
  border-radius: 8px;
  box-shadow: 2px 2px 10px;
  font-family: "Roboto";
  background: white;
  color: #0e1111;
}

input {
  font-family: "Roboto";
  margin-right: 10px;
}
input:active {
  outline: none;
}

.active {
  background: #0e1111;
  color: white;
  border: 2px solid #0e1111;
  outline: none;
}

.input {
  box-shadow: 2px 2px 10px black;
  position: absolute;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 30px;
  left: 20px;
  border-radius: 10px;
  /*padding: 10px;*/
  background: white;
}
.input div {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.input input {
  width: 170px;
  border: none;
  border-bottom: 1px solid black;
  margin-left: 10px;
}
.input input:active, .input input:focus {
  outline: none;
}

.input input[type="color"] {
  width: 60px;
  height: 30px;
  border: none;
  padding: 0;
  cursor: pointer;
}

.input input[type="file"] {
  width: 112px;
  border-bottom: none;
  font-size: 0.8em;
}

.colorInput {
  top: 20px;
  left:40px;
}

.backgroundInput {
  top: auto;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.bannerColorInput {
  top: 20px;
  left: auto;
  right: 20px;
}

.backgroundTitle {
  color: white;
  position: absolute;
  left: 120px;
  transform: rotate(-90deg);
}

.mixTitle {
  color: white;
  position: absolute;
  right: 120px;
  transform: rotate(90deg);
}

.downloadContainer {
  position: absolute;
  bottom: 20px;
}

.downloadLeftContainer {
  left: 40px;
}

.downloadRightContainer {
  right: 20px;
}

.downloadLeft,
.downloadRight {
  width: 150px;
  font-size: 0.8em;
  cursor: pointer;
}

.zoomIndicator {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-family: "Roboto", sans-serif;
  font-size: 0.8em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 200;
}

.zoomIndicator.visible {
  opacity: 1;
}

.container.dragOver::after {
  content: "Déposez l'image ici";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 43, 101, 0.5);
  color: white;
  font-family: "Roboto", sans-serif;
  font-size: 1.5em;
  border: 3px dashed white;
  box-sizing: border-box;
  z-index: 300;
  pointer-events: none;
}
