* {
  box-sizing: border-box;
  transition: all 0.25s ease-in-out;
}
/* Start https://www.cursors-4u.com */ * {cursor: url(https://cur.cursors-4u.net/nature/nat-3/nat260.cur), auto !important;} /* End https://www.cursors-4u.com */
/* ====== FONTS ====== */
@font-face {
  font-family: 'font';
  src: url('/font/KOMTXT__.ttf');
}
@font-face {
  font-family: 'fonts';
  src: url('/font/Mabook.ttf');
}

/* ====== GENERAL STYLES ====== */
body {
  background-image: linear-gradient(to right, #fbb1e9, #fa99e2, #f868d4);
  font-family: 'font', sans-serif;
  margin: 0;
  padding: 0;
}
#container {
  margin: 0 auto;
  max-width: 1100px;
  padding: 20px;
  display: grid;
  grid-template-columns: 250px 1fr; /* tabs | content */
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "pfp title"
    "tabs content";
  gap: 40px;
  align-items: flex-start;
}
#container {
  animation: fadeIn 2s;
  -webkit-animation: fadeIn 2s;
  -moz-animation: fadeIn 2s;
  -o-animation: fadeIn 2s;
  -ms-animation: fadeIn 2s;
}

@keyframes fadeIn {
  0% { opacity: 0; }
    50%{opacity:0}
  100% { opacity: 1; }
}
/* ====== PROFILE IMAGE ====== */
.pfp {
  grid-area: pfp;
  display: flex;
  justify-content: center;
}
.pfp img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 10px white, 0 0 10px white;
}

/* ====== TITLE ====== */
.title {
  grid-area: title;
  align-self: center;
  text-align: left;
}
.title h1 {
  font-family: 'fonts', sans-serif;
  font-size: 36px;
  letter-spacing: 3px;
  margin: 0;
}

/* ====== TABS ====== */
.tab {
  grid-area: tabs;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 20px;
  height: 100%;
}
.tab button {
  background-color: white;
  color: black;
  padding: 16px;
  width: 100%;
  border-radius: 200px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  font-size: 30px;
  font-family: 'font', sans-serif;
  border: 3px solid white;
  box-shadow: 0px 0px 10px white, 0px 0px 10px white, 0px 0px 14px white;
}
.tab button:hover {
  background-color: #fbb1e9;
}
.tab button.active {
  text-decoration: underline 1px;
  text-decoration-offset: 4px;
}

/* ====== TAB CONTENT ====== */
.tabcontent {
  grid-area: content;
  padding: 30px;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  border: 3px solid white;
  background-color: rgba(255, 255, 255, 0.25);
  min-height: 400px;
  max-width:900px;
  font-size: 20px;
  display: none;
  box-shadow: 0px 0px 10px white, 0px 0px 10px white;
  position: relative;
  float:left;
}

.tabcontent.active {
  display: block;
  animation: fadeIn 0.4s ease;
}



/* ====== SCROLLBAR ====== */
.tabcontent::-webkit-scrollbar {
  width: 10px;
}
.tabcontent::-webkit-scrollbar-thumb {
  background: #fa99e2;
  border-radius: 10px;
}
/*===CONTACT===*/
.important-section{
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 1rem;
  width: 100%;
  max-width: 900px;
  height: 20em;
  padding: 1em;
  overflow-y: auto;
  overflow-x: hidden;
   box-sizing: border-box;
  gap: 20px;
    scroll-behavior: smooth;
      border-top: 3.5px double #000;
      border-left: 3.5px double #000;
      border-right: 3.5px double pink;
      border-bottom: 3.5px double pink;
}
.important-text p{
  font-size:30px;
}
.important-text p:hover{
  text-shadow: 0px 0px 6px white, 0px 0px 6px white;
}
.important-text a:hover{
  text-decoration:underline 1px purple;
  text-decoration-offset:4px;
}
.important-text a{
  color:purple;
  text-decoration:none;
}
/*====FORM==*/
#questions.tabcontent {
  grid-area: content;
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding: 30px;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  border: 3px solid white;
  background-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0px 0px 10px white, 0px 0px 10px white;
  animation: fadeIn 0.4s ease;
}

/* QUESTION section layout */
.question-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
}

/* Text styling */
.question-text {
  text-align: center;
  color: #000;
}
.question-text h1 {
  font-family: 'fonts', sans-serif;
  font-size: 28px;
  text-shadow: 0px 0px 6px white, 0px 0px 6px white;
  margin-bottom: 10px;
}
.question-text p {
  font-size: 18px;
}

/* Tally form iframe */
.question-section iframe {
  width: 100%;
  min-height: 200px;
  border: none;
}


/*===== About section====*/
.about-section {
  display: grid;
  grid-template-columns: 1fr 300px; /* text | image */
  gap: 40px;
  align-items: center;
  padding: 20px;
  max-width: 900px;
  margin: 20px auto;
  font-family: 'font', sans-serif;
}
/* Text styles */
.about-text {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}
.about-text h1 {
  font-family: 'fonts', sans-serif;
  font-size: 30px;
  text-shadow: 0px 0px 6px white, 0px 0px 6px white;
  margin-bottom: 20px;
}
.about-text ul {
  list-style: none;
  padding-left: 0;
}

/* Image */
.about-pfp img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
}
.about-pfp {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border: 3px solid white;
  background-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0px 0px 10px white, 0px 0px 10px white;
  transition: transform 0.3s ease;
}
.about-pfp :hover {
animation: shake 0.8s; 
animation-iteration-count: infinite; 
-webkit-filter:blur(1px); 
-webkit-transition: .5s ease-in; 
} 
 
@keyframes shake {
0% { transform: translate(1px, 1px) rotate(0deg); }
10% { transform: translate(-1px, -2px) rotate(-1deg); }
20% { transform: translate(-3px, 0px) rotate(1deg); }
30% { transform: translate(3px, 2px) rotate(0deg); }
40% { transform: translate(1px, -1px) rotate(1deg); }
50% { transform: translate(-1px, 2px) rotate(-1deg); }
60% { transform: translate(-3px, 1px) rotate(0deg); }
70% { transform: translate(3px, 1px) rotate(-1deg); }
80% { transform: translate(-1px, -1px) rotate(1deg); }
90% { transform: translate(1px, 2px) rotate(0deg); }
100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/*==== Music player =====*/
.music-player {
  display: grid;
  grid-template-columns: 200px 1fr; /* left = playlist, right = image/player */
  gap: 30px;
  align-items: center; /* fix: was 'flex', not valid */
  justify-content: center;
  padding: 20px;
  max-width: 700px;
  margin: 40px auto;
  font-family: 'font', sans-serif;
}
.music-player a{
  color: white;
  text-shadow: 0px 0px 5px white;
  text-decoration:underline solid 1px white;
  text-decoration-offset:4px;
  font-size:26px;
}
.music-player a:hover{
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size:30px;
}
/* Playlist section (left side) */
.music-list {
  text-align: center;
}
.music-list h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: white;
  text-shadow: 0px 0px 5px white;
}
.music-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.music-list li {
  background-color: white;
  color: black;
  padding: 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid white;
  box-shadow: 0 0 6px white, 0 0 6px white;
}
.music-list li:hover {
  background-color: #fbb1e9;
}
.music-list li.active {
  background-color: #fa99e2;
  color: white;
  text-decoration: underline;
}

/* Album cover + play button (right side) */
.music-display {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.music-display img {
  width: 220px;
  height: 220px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 0 10px white, 0 0 10px white;
  margin-bottom: 15px;
}
#play-btn {
  font-size: 24px;
  background-color: white;
  border: 2px solid white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 8px white, 0 0 8px white;
}
#play-btn:hover {
  background-color: #fbb1e9;
}


/* ====== RESPONSIVE DESIGN ====== */
@media only screen and (max-width: 700px) {
  #container {
    grid-template-areas:
      "pfp"
      "title"
      "tabs"
      "content";
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr;
    gap: 20px;
    text-align: center;
  }
/*main*/
  .pfp img {
    width: 180px;
    height: 180px;
  }

  .title h1 {
    font-size: 24px;
    text-align: center;
  }

  .tab {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tab button {
    font-size: 16px;
    padding: 10px 14px;
    width: auto;
    min-width: 100px;
  }

  .tabcontent {
    font-size: 16px;
    width: 100%;
  }
  /*ABOUT*/
  .about-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-pfp {
    order: -1; /* image goes above text on mobile */
  }
  .about-pfp img {
    max-width: 200px;
    margin-bottom: 20px;
  }
  /*MUSIC*/
  .music-player {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .music-list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .music-list li {
    margin: 5px;
    font-size: 14px;
  }
  .music-display img {
    width: 150px;
    height: 150px;
  }
  /*FORM*/
  #questions.tabcontent {
    padding: 15px;
  }

  .contact-section iframe {
    min-height: 500px;
  }

  .contact-text h1 {
    font-size: 22px;
  }
  /*CONTACT SECTION*/
   .important-section {
    height: auto;
    max-height: 60vh;
    padding: 0.8em;
    gap: 0.8em;
    border-width: 2.5px;
  }

  .important-text p {
    font-size: clamp(16px, 5vw, 24px);
  }
}


 