@font-face {
  font-family: 'arista_pro_trialbold';
  src: url('fonts/arista-pro-bold-trial-webfont.woff2') format('woff2'),
    url('fonts/arista-pro-bold-trial-webfont.woff') format('woff'),
    url('fonts/arista_pro/Arista-Pro-Bold-trial.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;

}




@font-face {
  font-family: 'arista_pro_trialfat';
  src: url('fonts/arista-pro-fat-trial-webfont.woff2') format('woff2'),
    url('fonts/arista-pro-fat-trial-webfont.woff') format('woff'),
    url('fonts/arista_pro/Arista-Pro-Fat-trial.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;

}




@font-face {
  font-family: 'arista_pro_triallight';
  src: url('fonts/arista-pro-light-trial-webfont.woff2') format('woff2'),
    url('fonts/arista-pro-light-trial-webfont.woff') format('woff'),
    url('fonts/arista_pro/Arista-Pro-Light-trial.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;

}




@font-face {
  font-family: 'arista_pro_alternatebold';
  src: url('fonts/arista-pro-alternate-bold-trial-webfont.woff2') format('woff2'),
    url('fonts/arista-pro-alternate-bold-trial-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}




@font-face {
  font-family: 'arista_pro_alternatelight';
  src: url('fonts/arista-pro-alternate-light-trial-webfont.woff2') format('woff2'),
    url('fonts/arista-pro-alternate-light-trial-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

* {
  /* font-family: Helvetica, Sans-Serif; */
  font-family: 'arista_pro_triallight', sans-serif;
}

a {
  /* color: blue; */
  text-decoration: none;
}

a:hover {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: 15%;
  /* 2.4px */
  text-underline-position: from-font;
}

#add-emotion-btn:hover {
  background: #06F;
  cursor: pointer;
  color: white !important;
  text-decoration: none;
}

canvas {
  display: block;
  z-index: 1;

}

.display-flex {
  display: flex;
}

.flex-direction-column {
  flex-direction: column;
}

.gap-8 {
  gap: 8px;
}

.gap-16 {
  gap: 16px;
}

.align-center {
  align-items: center;
}

.center-top-of-canvas {
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

#title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: absolute;
  top: 55%;
  left: 52.5%;
  transform: translate(-50%, -50%);
  z-index: 3;

  img {
    cursor: pointer;
  }

  a {
    color: blue;
    text-decoration: none;
  }

  a:hover {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: 15%;
    /* 2.4px */
    text-underline-position: from-font;
  }
}

.title-svg {
  background: none;
  position: absolute;
  top: 2%;
  left: 2%;
  width: 150px;
}

.image-container {
  width: 100%;
  overflow: hidden;
}

#moving-aura-gif {
  position: absolute;
  top: 55%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: 950px;
  /* cannot exceed 950px if not it will cause scrolling */
  /* max-width: 100%;
  height: auto;  */
  /* color: white; */
  filter: blur(50px);
  z-index: 3;
}

#abstract {
  button {
    color: #06F;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: 15%;
    /* 2.4px */
    text-underline-position: from-font;
  }
}

#abstract-text {

  text-align: justify !important;
  align-self: stretch;
  width: 409px;
  margin: 0;
  color: #0066FF;
  /* text-align: center; */

}

#credit {
  display: flex;
  padding: 12px 107px 2px 107px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-top: 1px solid rgba(98, 159, 249, 0.50);

  p {
    color: rgba(98, 159, 249, 0.70) !important;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
  }
}

#blur-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: rgba(217, 235, 254, 0.4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.floating {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* palette styles */
/* #emotionList {
  transition:  transform 0.3s ease;
}

#emotionList:hover {
  transform: scale(1.1);
} */

#instruction {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 6;

}

#instruction img {
  cursor: pointer;
}

#slide-up {
  width: 157px;
  height: 25px;
  flex-shrink: 0;
  border-radius: 10px 10px 0px 0px;
  background: #0066FF;
  cursor: pointer;

  position: fixed;
  bottom: 0;
  /* when closed */
  /* bottom: 235px; when open */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.5s;


  
  

}

#palette {


  height: 235px;
  width: 1280px;
  /* transform: rotate(90deg); */
  flex-shrink: 0;
  padding: 16px;

  border-radius: 10px 10px 0px 0px;
  background: #E5EEF2;
  box-shadow: 0 -10px 54px rgba(3, 32, 75, 0.06);

}

#arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.rotate {
  transform: rotate(180deg);
  /* Rotates the image 180 degrees */
  transition: transform 0.3s ease;
  /* Smooth transition */
}
#newemotion-btn {
  #face-svg {
    width: 127px;
    height: 128px;
    margin-bottom: 4px;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  p {
    font-family: 'arista_pro_triallight';
    font-weight: normal;
    transition: font-weight 0.3s ease, transform 0.3s ease;
  }

}

#newemotion-btn:hover {
  #face-svg {
    opacity: 1;
    transform: scale(1.1);
    /* Scales image on hover */
  }

  p {
    font-weight: bold;
    transform: scale(1.1);
  }
}






.remove-default-btn-style {
  /* Remove default styling */
  background: none;
  border: none;
  padding: 0;
  outline: none;

  /* Reset appearance */
  color: inherit;
  font: inherit;
  cursor: pointer;
}


/* end of palette styles */

/* Overlay styling */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  /* Semi-transparent background */
  display: none;
  /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Card styling inside the overlay */
.overlay-card {

  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 95%;
  /* Maximum width is 90% of the viewport */
  max-height: 95%;
  /* Maximum height is 90% of the viewport */
  object-fit: contain;
  /* Ensures the GIF maintains its aspect ratio */
  transition: transform 0.3s ease;
  /* Smooth transition for scaling */
}

/* Zoom effect on hover */
.overlay-card:hover {
  transform: scale(1.7)
    /* Scale the GIF by 10% when hovered */
}

/* Close button styling */
.close-btn {
  position: absolute;
  top: 20px;
  /* Distance from the top */
  right: 20px;
  /* Distance from the right */
  background: transparent;
  border: none;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

/* detecting new-emotion pg styles */
.button {
  border-radius: 8px;
  border: 1.25px solid #06F;
  background: white;
  display: inline-flex;
  padding: 10px 36px;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#selection-card {
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  padding: 24px;


  

}
#selection-card-h1 {
  margin: 0;
  color: #0066FF;
}

#selection-card-p {
  margin: 0;
  color: #0066FF;
  text-align: center;
}

#emotion-btns-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;

  .row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }
}

#selection-card .emotion-btn {
  display: flex;
  width: 103px;
  height: 107px;
  padding: 10px;
  flex-direction: column;
  justify-content: center !important;
  align-items: center;
  gap: 16px;

  border-radius: 8px;
  border: 1.25px solid #06F;
  background: #FFF;
}

#selection-card .emotion-btn img {
  width: 63px;
  height: 28px;
  flex-shrink: 0;
}

#selection-card .emotion-btn svg {
  width: 63px;
  height: 28px;
  flex-shrink: 0;
  /* margin-top: 24px; */
}

#selection-card .emotion-btn p {
  align-self: stretch;
  color: #06F;
  text-align: center;
  /* font-family: "Arista Pro Trial"; */
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin: 0px;
}


  
  


#selection-card .emotion-btn:hover {
  background: #06F;
  cursor: pointer;
}

#selection-card .emotion-btn:hover p {
  color: white;
}

#selection-card .emotion-btn:hover path {
  fill: white;
}



.loader {
  display: inline-flex;
  gap: 10px;
}

.loader:before,
.loader:after {
  content: "";
  height: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(#222 0 0) top/100% 40% no-repeat,
    radial-gradient(farthest-side, #000 95%, #0000) 50%/8px 8px no-repeat #fff;
  animation: 2.5s infinite;
  animation-name: l8-1, e8-2;
}

@keyframes l8-1 {

  0%,
  40%,
  100% {
    background-size: 100% 40%, 8px 8px
  }

  50%,
  80% {
    background-size: 100% 0%, 8px 8px
  }
}

@keyframes l8-2 {

  0%,
  50% {
    background-position: top, 50% 50%
  }

  60%,
  65% {
    background-position: top, 70% 50%
  }

  70%,
  75% {
    background-position: top, 30% 50%
  }

  90%,
  100% {
    background-position: top, 50% 50%
  }
}
