@font-face {
  font-family: 'Manifont Grotesk';
  src: url('fonts/manifont/ManifontGroteskBook-webfont.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Abordage'; 
  src: url('fonts/abordage/Abordage-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Custom';  
  src: url('fonts/Crozet-Regular.woff') format('woff');  
  font-weight: normal;
  font-style: normal;
}

body {
  width: 100%;
  font-family: 'lores-12', sans-serif;
  font-size: 13px;
  margin: 0px;
  padding: 0;
  background-color: rgb(26, 26, 26);
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: url('imgs/personas_imgs/cursor.png'), auto;
}

::selection {
  color: rgb(0, 0, 0);
  background: rgb(255, 255, 255);
}

.container {
  width: 70%;
  top: 0;
}

/* ----------------------------- HEADER ----------------------------- */
header {
  width: 100%;
  text-align: center;
  display: flex; 
  align-items: center;
  flex-direction: column;
  margin-top: 10px; 
}

.title { 
  text-align: justify;
  font-family: 'Custom'; 
  font-size: 130px; 
  margin-bottom: -50px; 
}

header p {
  width: 42%; 
  margin-bottom: 30px; 
  font-size:14px;
  text-align: justify;
  text-align-last: center;
}

header img {
  position: absolute;
  height: auto;
  opacity: 0.85;
}

/* ----------------------------- CONTENT ----------------------------- */
h2 {
  width: 100%;
  margin: 0px;
  padding: 0px; 
}

h3 {
  margin: 0px; 
  margin-bottom: 20px;
  font-size: 25px;
  padding: 0px; 
}

h4 {
  margin: 0px;
  padding: 0px; 
  font-size: 25px;
}

.sec_title {
  font-family: 'Custom'; 
  font-size: 45px;
  text-align: center;
}
/* ----------------------------- SECTIONS ----------------------------- */

.section {
  margin-bottom: 60px;
  text-align: center;
}

.section img {
  width: 90%;
  height: auto;
  margin-top: 20px;
}

.section h3{
  font-size: 15px;
  text-align: justify;
  text-align-last: center;
  padding: 0px; 
}
/* ----------------------------- PART 1 ----------------------------- */

.questions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
  height: 500px;
  margin-top: 30px;
  text-align: center;
}

.questions ul {
  width: 80%; margin: 0 auto; padding: 0; text-align: center; justify-items: center;
}

ul .sec_title {
  font-size: 30px;
  line-height: 40px;
  text-align: center;
}

.cloud-textbox {
  display: block;
  padding: 9.5px;
  margin: 5px 0;
  border: 2px dotted #000;
  background-color: #fff;
  font-size: 14px;
  color: #000;
  transition: transform 0.2s ease-in-out;
  text-align: center;
  width: 100%;
}

.cloud-textbox:hover {
  animation: shiver 0.5s infinite ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@keyframes shiver {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(2deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-2deg); }
}

.sketch img, .storyboard img {
  margin-top: 10px; 
  height: 500px;
  width: auto;
}

/* ----------------------------- PART 2 ----------------------------- */

.notes-container {
  display: flex;
  gap: -20px;
  position: relative;
  justify-content: center;
}

.post-it {
  width: 150px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  transform: rotate(var(--rotation));
  z-index: var(--index);
  margin-left: -10px;
  margin-top: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  transition: margin 0.5s ease-in-out; /* Smooth transition over 0.5s */
}

.post-it p {
  font-family: 'Abordage', sans-serif;
  font-weight: 100;
  display: inline-block;
  vertical-align: middle;
}

.post-it:nth-child(1) { background-color: #240115; --rotation: -3deg; --index: 1; color: white}
.post-it:nth-child(2) { background-color: #F3DAD8; --rotation: 2deg; --index: 2; color: black}
.post-it:nth-child(3) { background-color: #DE3C4B; --rotation: -2deg; --index: 3; color: black}
.post-it:nth-child(4) { background-color: #87F5FB; --rotation: 1deg; --index: 4; color: black}
.post-it:nth-child(5) { background-color: #2F131E; --rotation: -1deg; --index: 5; color:white}

.post-it:hover {
  animation: shiver 1s infinite ease-in-out;
  z-index: 1000;
  margin-right: 10px; /* Or whatever larger margin you want */
  margin-left:10px;
}

/* ----------------------------- PART 3 ----------------------------- */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 2px solid black;
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
  text-align-last: center;
  opacity: 90%;
  color: black;
}

.popup::selection {
  color: rgb(255, 255, 255);
  background: rgb(0, 0, 0);
}

.popup button {
  font-family: 'Abordage', sans-serif;
  background-color: #000;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  text-transform: uppercase;
  border-width: 0px; 
}

/* ----------------------------- PART 4 ----------------------------- */ 
.personas {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 20px;
  gap: 40px;
}

.personas img {
  width: 400px;
  height: auto;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  margin-top:20px;
  cursor: help;
}

.persona {
  width: 480px;
  text-align: justify;
  text-align-last: center;
}

.persona img[alt="Empathy Map for Anxious Amber - the unsure freshman"] { 
  transform: rotate(-3deg); 
}
.persona img[alt="Empathy Map for Joyful Jamie - the confident senior"] { 
  transform: rotate(3deg); 
  margin-top:32px;
}

.persona img[alt="Empathy Map for Anxious Amber - the unsure freshman"]:hover {
  animation: shiver 0.7s infinite ease-in-out;
}

.persona img[alt="Empathy Map for Joyful Jamie - the confident senior"]:hover {
  animation: shiver2 0.7s infinite ease-in-out;
}

@keyframes shiver {
  0%, 100% { transform: rotate(-3deg); }
  25% { transform: rotate(-1deg); }
  50% { transform: rotate(1deg); }
  75% { transform: rotate(-1deg); }
}

@keyframes shiver2 {
  0%, 100% { transform: rotate(3deg); }
  25% { transform: rotate(1deg); }
  50% { transform: rotate(-1deg); }
  75% { transform: rotate(1deg); }
}

footer a {
  background:black; 
  color: white;
  font-style:italic; 
  text-decoration: none;
  padding: 3px;
}

footer a:hover {
  background: white;
  color: black;
}

/* ----------------------------- SEC CURSOR ----------------------------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px; 
  height: 20px;
  pointer-events: none;
  transition: transform 0.1s ease;
  z-index: 9999;
  cursor: url('imgs/personas_imgs/cursor.png'), auto;
  background-size: cover; 
}