@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Inter:wght@400;500&display=swap');

* {
  box-sizing: border-box;
}

body {
  background-color: #202124;
  max-height: 100vh;
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Fredoka One', cursive;
  font-size: 50px;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 800;
  background-clip: text;
  background: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #ff5722);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: default;
}

.subheader {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Inter', sans-serif;
  color: rgb(255, 255, 255);
  font-size: 20px;
  margin-top: 0px;
  margin-bottom: 20px;
}

.main-container {
  position: relative;
  padding: 20px 30px;
  margin-left: 25px;
  margin-right: 25px;
  border-radius: 20px;
  background: #3c4043;
  box-shadow: -3px 8px 21px 5px rgba(0, 0, 0, 0.57);
  -webkit-box-shadow: -3px 8px 21px 5px rgba(0, 0, 0, 0.57);
  -moz-box-shadow: -3px 8px 21px 5px rgba(0, 0, 0, 0.57);
}

.upload-container {
  position: absolute;
  top: 10px;
  left: 10px;
}

.color-image-container {
  height: 46rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.color-container {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: nowrap;
  margin-left: 3em;
}

.image-container {
  position: relative;
  height: 100%;
  width: 100rem;
  background-color: #404144;
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 1px 1px 10px 5px rgba(0, 0, 0, 0.43);
  -webkit-box-shadow: 1px 1px 10px 5px rgba(0, 0, 0, 0.43);
  -moz-box-shadow: 1px 1px 10px 5px rgba(0, 0, 0, 0.43);
}

.color-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 11rem;
  border-radius: 20px;
  transition: all 0.2s;
  box-shadow: -2px 1px 9px 1px rgba(0, 0, 0, 0.43);
  -webkit-box-shadow: -2px 1px 9px 1px rgba(0, 0, 0, 0.43);
  -moz-box-shadow: -2px 1px 9px 1px rgba(0, 0, 0, 0.43);
}

.color-box:hover {
  box-shadow: -3px 4px 21px -2px rgba(0, 0, 0, 0.57);
  -webkit-box-shadow: -3px 4px 21px -2px rgba(0, 0, 0, 0.57);
  -moz-box-shadow: -3px 4px 21px -2px rgba(0, 0, 0, 0.57);
}

.img-source {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

#inpFile::-webkit-file-upload-button {
  cursor: pointer;
}

.btn {
  color: #e2e2e2;
  background-color: #202124;
  border-color: #202124;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 20px;
  font-weight: bold;
}

.upload-btn-wrapper input[type='file'] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.copy-btn {
  /* visibility: hidden; */
  border-radius: 4px;
  border-style: none;
  cursor: pointer;
  font-family: 'Farfetch Basis', 'Helvetica Neue', Arial, sans-serif;
  background: transparent;
  color: rgb(255, 255, 255);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  overflow: hidden;
  padding: 9px 20px 8px;
  text-align: center;
  text-transform: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  opacity: 0.25;
}

.copy-btn:hover {
  color: rgb(255, 255, 255);
  font-style: bold;
  opacity: 1;
  transition: all 0.2s;
}

#inpFile {
  cursor: pointer;
}

#color1 {
  background-color: #202124;
}

#color2 {
  background-color: #202124;
}

#color3 {
  background-color: #202124;
}

#color4 {
  background-color: #202124;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.footer-heart {
  text-align: center;
  font-family: open sans, sans-serif;
  color: #e2e2e2;
}

.footer-heart a {
  border-bottom: 1px solid #726c92;
  color: #726c92;
  padding-bottom: 0.25em;
  text-decoration: none;
}

.footer-heart a:hover {
  color: #2196f3;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 20 4'%3E%3Cstyle type='text/css'%3E.squiggle{animation:shift .3s linear infinite;}@keyframes shift {from {transform:translateX(0);}to {transform:translateX(-20px);}}%3C/style%3E%3Cpath fill='none' stroke='%23453886' stroke-width='2' class='squiggle' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E");
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: 20%;
  border-bottom: 0;
  padding-bottom: 0.3em;
  text-decoration: none;
}

.emoji {
  vertical-align: middle;
}
