/*General appearance of the web*/
body {
    margin: 0%;
    padding: 0%;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffde7b;
}

header {
    margin-top: 5%;
}

/*Profile card style*/
.profile-card {
  display: flex;
  align-items: center;
  border: 2px solid #F1CCFF;
  padding: 30px 60px;
  border-radius: 20px;
  background: #fff4cd;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.1);
}

.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-right: 25px;
  border: 2px solid #F1CCFF;
}

.name-box h3 {
  margin: 0%;
  font-size: 3rem;
  color: #555;
}

.name-box h1 {
  margin: 0%;
  font-size: 5rem;
  color: #101820;
}

/*Button style to select the category to display*/
.button-group {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.theme-button {
  width: 100px;
  height: 100px;
  font-size: 3rem;
  border: none;
  border-radius: 10px;
  background-color: #fff4cd;
  transition: 0.3s;
  cursor: pointer;
}

.theme-button:hover {
  background-color: #F1CCFF;
}

/*Style of project display, buttons, text and cards*/
.display-projects {
  margin-top: 40px;
  width: 800px;
  height: 400px;
  padding: 20px;
  border: 3px solid #00ff00;
  border-radius: 10px;
  background-color: #111;
  box-shadow: 0 0 20px #00ff00;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.placeholder {
  font-size: 1.4rem;
  color: #0f0;
  opacity: 0.8;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

#typed-text::after {
  content: '|';
  animation: blink 1s infinite;
  color: #00ff00;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.project-card {
  display: flex;
  width: 100%;
  height: auto;
  gap: 20px;
  background-color: #000;
  border: 2px solid #00ff00;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px #00ff00;
  box-sizing: border-box;
}

.project-card img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
  border: 2px solid #00ff00;
}

.project-content {
  text-align: left;
  flex: 1;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #00ff00;
}

.project-description {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #00ff00
}

.project-awards {
  font-size: 0.9rem;
  opacity: 0.8;
  color: #00ff00
}

.project-link {
  display: block;
  margin-top: 0.1%;
}

/*Carousel Style of the project display*/
.carousel-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.carousel-button {
  background-color: transparent;
  border: 2px solid #00ff00;
  color: #00ff00;
  padding: 5px 15px;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-button:hover {
  background-color: #00ff00;
  color: #000;
}

/*Contact Card Style*/
.contact-card {
  margin-top: 50px;
  border: 3px solid #F1CCFF;
  padding: 30px 60px;
  border-radius: 20px;
  background: #fff4cd;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: scale(1.15);
  justify-content: center;
  display: flex;
}

.contact-content {
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
}

.contact-avatar {
  width: 250px;
  height: auto;
  border-radius: 50%;
  border: 2px solid #F1CCFF;
  object-fit: cover;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-text h2 {
  margin: 0 0 10px 0;
  font-size: 2.2rem;
  color: #101820;
}

.contact-text button i {
  margin-right: 10px;
  font-size: 1.5rem;
  vertical-align: middle;
}

.contact-text button {
  font-size: 1.2rem;
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  background-color: #ffde7b;
  color: #101820;
  cursor: pointer;
  transition: 0.3s;
  text-align: left;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-text button:hover {
  background-color: #F1CCFF;
  color: #fff;
}

/*Style of the Hobby Card, groups, photos and buttons*/

.hobby-card {
  width: 90%;
  max-width: 800px;
  height: 400px;
  overflow-y: auto;
  padding: 20px;
  border: 3px solid #F1CCFF;
  background-color: #fff4cd;
  border-radius: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  scroll-behavior: smooth;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hobby-group {
  flex: 0 0 auto;
}

.photo-group {
  display: flex;
  flex-direction: row;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.photo-group h2 {
  flex: 1 0 100%;
  margin-bottom: 20px;
}

.photo-group::-webkit-scrollbar {
  height: 8px;
}

.photo-group::-webkit-scrollbar-thumb {
  background-color: #aaa;
  border-radius: 4px;
}

.photo-frame {
  width: 250px;
  height: 250px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.photo-frame.visible {
  opacity: 1;
  transform: translateX(0);
}

.btnmore {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #ffde7b;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btnmore:hover {
  background-color: #F1CCFF;
}

/*Style of the footer of the web*/
footer {
  margin-top: 60px;
  width: 100%;
  background-color: #fff4cd;
  border-top: 3px solid #F1CCFF;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

footer h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #101820;
  font-weight: normal;
}

/*
Collage for the photos section.
All photos taken by Kiki!
*/
.collage-container {
  column-count: 3;
  column-gap: 15px;
  padding: 20px;
  background-color: #fff4cd;
  border: 3px solid #F1CCFF;
  border-radius: 20px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  max-width: 1000px;
  margin-top: 60px;
  width: 90%;
}

.collage-container img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 2px solid #F1CCFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  break-inside: avoid;
}

.collage-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}