@import url("https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@300..900&");
@import url("https://fonts.googleapis.com/css2?family=Italianno&family=League+Script&family=Major+Mono+Display&display=swap");

body {
background-image: linear-gradient(transparent, 50%, black);}

h1,
h2 {
  font-family: "Monoton";
}


.framed-art {
  position: relative;
  width: 100%;
  /* Keep the correct shape as it scales */
  aspect-ratio: var(--frame-w) / var(--frame-h);
}

/* Frame overlay */
.framed-art .frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* ensures no distortion */
  pointer-events: none; /* clicks go through to the art if needed */
}

/* Opening (clip area) — sized by pixel insets, converted to % */
.framed-art .art-viewport {
  position: absolute;
  left: calc(var(--inner-left) / var(--frame-w) * 100%);
  top: calc(var(--inner-top) / var(--frame-h) * 100%);
  right: calc(var(--inner-right) / var(--frame-w) * 100%);
  bottom: calc(var(--inner-bottom) / var(--frame-h) * 100%);
  overflow: hidden; /* the key: everything outside is clipped */
  display: flex;    /* optional, helps center if you want */
}

/* Your doodle inside the opening */
.framed-art .art {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fill the opening; use 'contain' to see entire image */
  display: block;
}

.doodle-album-text:hover{
    color:#f5ce45 !important;
}

/* Profile Name */
#profile-name-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#profile-name {
  text-align: center;
}

/* Profile Pic/Game Stats */

#profile-pic-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

#profile-pic {
  position: relative;
  width: 20vw;
  height: 20vw;
  border-radius: 50%;
  margin: 20px;
  border: 5px solid #71bbe9;
  box-shadow: 0 0 20px #71bbe9;
}

#profile-pic img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

#edit-profile-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centering */
  border: solid #33c15b 3px;
  padding: 5px;
  font-size: 150%;
  border-radius: 10px;
  color: #f5ce45;
  background: #33c15b;
  opacity: 0.7;
}

#game-details-container {
  background-color: rgba(19, 19, 42, 0.5);
  position: relative;
  margin: 20px;
  padding: 20px;
  font-size: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Major Mono Display";
  font-weight: 300;
  border: 5px solid #71bbe9;
  box-shadow: 0 0 10px #71bbe9;
  text-transform: lowercase;
}

#pt-1,
#pt-2 {
  display: flex;
  padding: 20px;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-around;
  border-radius:20px;
}
#pt-1 {
  border: 5px outset #f5ce45;
}
#pt-2 {
  border: none;
}
#date-joined {
  font-family: "Major Mono Display";
}
#game-details-container h2 {
  font-size: 1.8vw;
  font-family: "Major Mono Display";
  font-weight: bold;
}

#game-details-container h5 {
  margin-bottom: 0;
  margin-top: 15px;
}

.games-played {
  margin-bottom: 10px;
}

.game-scores-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#profile-pic::before {
  border-radius: 50%;
}

/* Personal Details  */

#tell-us-more,
#who-are-you {
  margin-top: 60px;
}

#about-me-col {
  margin-top: 20px;
  padding-left: 50px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1,
h2 {
  color: #eb539e;
}
#who-are-you-container {
  width: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  height: 70%;
  padding: 20px;
  color: #f5ce45;
  font-size: 1.3vw;
  border-radius: 20px;
  font-family: "Major Mono Display";
}

.personal-details {
  color: #f5ce45;
}

#tell-us-more-header{
    margin-top:20px;
    width:100%;
    text-align: center;
}

#tell-us-more-container {
  margin-top: 70px;
  margin-bottom: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 1.5vw;
  color: #eb539e;
  padding-right: 30px;
}

.purple{
    color:#5e4cb0;
}
.blue, .label
{
    text-shadow: 2px 2px 6px rgb(38, 76, 146), -2px -2px 6px rgb(38, 76, 146), 2px -2px 6px rgb(38, 76, 146), -2px 2px 6px rgb(38, 76, 146);
    color: rgb(113, 187, 233);
}
#who-are-you {
    font-weight: bold;
  /* 1) Define your radial gradient as the background */
  background: linear-gradient(
 #f5ce45, #ff78c0, #5bff8a
  );
 /* 2) Clip the background to the text */
  -webkit-background-clip: text;
          background-clip: text;

  /* 3) Make the actual text transparent so the gradient shows through */
  -webkit-text-fill-color: transparent;
          color: transparent;
}


#tell-us-more {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
      font-size: 1.5vw;
  color: #eb539e;
  height: 60vh;
}

.detail-text {
  font-size: 1.2vw;
   
  font-family: "McLaren", sans-serif;
}

#cap{
     text-transform: capitalize;

}

.personal-details {
  font-family: "Major Mono Display";
}

@media screen and (max-width: 567px) {
  /* Profile Pic/Game Stats */
  #profile-pic,
  #tell-us-more {
    width: 80vw;
    height: 80vw;
  }
  #about-me-col {
    height: fit-content;
    padding-left: 12px;
  }
  #game-details-container h2 {
    font-size: 200%;
  }

  /* About Me */
  #who-are-you-container,
  #tell-us-more-container {
    padding-left: 0;
    align-items: center;
    padding-right:0;
    margin-top:0;
    padding-bottom:0;
    width:100vw;
    padding:0;
    margin-bottom:0;
  }

  #who-are-you {
    align-items: center;
    justify-content: space-around;
    font-size: 100%;
    margin:0;
  }
  #pt-2{
    padding:0;
  }
  #who-are-you-text,
  #tell-us-more {
    font-size: 1rem;
    padding: 0px 30px;
  }
  .row{
    padding-left:0;
    padding-right:0;
  }
  /* Personal Details */
  #tell-us-more {
    align-items: first baseline;
    justify-content: center;
    margin-top: 20px;
    height: fit-content;
    margin-top: 20px;
    width:100%;
    margin-bottom:0;
  }
 
  .detail-text {
    font-size: 0.8rem;
  }
}
