body{
    padding: 1% 20%;
    font-family: "DM Sans", sans-serif;
    font-weight: 300;
    background-color: #F8F8F8;
    color: #1D1D1D;
    overflow: hidden;
}


button:hover{
    box-shadow: 4px 4px #4B59D9;
    cursor: pointer;
}

button{
    display: flex;
    margin: auto;
    background-color: #F0F0F0;
    border: 1px solid black;
    padding: 12px 20px;
    border-radius: 12px;
    justify-content: space-between;
    align-items: center;
    width: 200px;

    transition: ease 0.6s;
}



h1{
    margin: 0;
}

p{
    font-size: 1em;
    line-height: 1.3em;
    margin: 0;
}

.text-group h2{
    margin-bottom: 0;
}

.text-group{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.paragraphs{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.color-font{
    color: #4B59D9;
    font-family: "Covered By Your Grace", cursive;
    font-weight: 400;
    font-size: 1.2em;
    margin: 0 4px;

}

span{
    font-weight: 700;
}

main{
    display: flex;
    flex-direction: column;
    gap: 50px;
    height: 95vh;
    justify-content: center;
    
}


#title{
    flex-direction: column;
    gap: 42px;
    /* height: 100vh; */
    justify-content: center;
    align-items: center;
    z-index: 2;
    background-color: #f0f0f03b;
    padding: 20px;
    border-radius: 20px;
}


#title h1{
    text-align: center;
}

#scene1, #scene2, #scene3, #scene4, #scene5{
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
    margin-bottom: auto;

    background-color: #f0f0f03b;
    border-radius: 8px;
    padding: 36px;
    backdrop-filter: blur(8px);
    z-index: 2;
}


#messages1, #messages2, #messages3, #messages4, #messages5{
    display: flex;
    flex-direction: column;
    /* background-color: cadetblue; */
    height: 70vh;
    overflow-y: scroll;
    /* justify-content: flex-end; */
    gap: 12px;
    
}

.ai-message, .user-message{
    background-color: #F0F0F0;
    padding: 16px 20px;
    border-radius: 12px;
}

.ai-message{
    width: fit-content;
    max-width: 430px;
}



.user-message{
    max-width: 430px;
    margin-left: auto;
    margin: 10px 0 10px auto;
}



.options-bar{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.titlescreen-option{
    width: 700px;
}

.option{
    padding: 20px;
    border-radius: 20px;
    min-width: 200px;
    text-align: center;
}


.textbox{
    background-color: #F0F0F0;
    border: 1px solid black;
    padding: 12px 20px;
    border-radius: 12px;
    justify-content: space-between;
    align-items: center;
    display: flex;
    gap: 50px;

    transition: ease 0.6s;
}

.textbox:hover{
    box-shadow: 4px 4px #4B59D9;
    cursor: pointer;
}

.enter-content{
    /* background-color: cadetblue; */
    width: 100%;
    height: 100%;
}

.fa-paper-plane{
    font-size: 12px;
    padding: 15px;
    background-color: black;
    color: #F8F8F8;
    border-radius: 10000px;
    height: fit-content;
}



#summary1, #summary2{
    flex-direction: column;
    gap: 42px;
    background-color: #f0f0f03b;
    border-radius: 8px;
    padding: 36px;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.ending{
    display: flex;
}

.ending-note{
    font-size: 1.3em;
    font-weight: 600;
    /* text-align: center; */
    padding: 24px 0;
    max-width: 600px;
}

.hide{
    display: none;
}

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


#vector1{
    width: 193px;
    height: 193px;
    background-image: url(images/vector1.png);

    opacity: 1;

    position: absolute;
    bottom: 80px;
    right: 20px;
    transition: filter 0.3s ease;

    transform: scale(1.3) rotate(-25deg);
}

#vector2{
    width: 360px;
    height: 360px;
    background-image: url(images/vector2.png);

    opacity: 1;

    position: absolute;
    top: -150px;
    left: -50px;
    /* z-index: -1; */
    transition: transform 0.2s;

    transform: scale(1.1);
    transition: filter 0.3s ease;

    animation: spinPause 6s ease-in-out infinite;

}


#vector2:hover{
    animation: spinPause 2s linear infinite;

}


#vector3a, #vector3b{
    width: 292px;
    height: 290px;
    background-image: url(images/vector3.png);
    background-repeat: no-repeat;
}

#vector3a{
    position: fixed;
    right: 100px;
    top: -100px;

    animation: float 5s ease-in-out infinite;
    transition: filter 0.3s ease;


    transform: scale(0.4);

}

/* #vector3a:hover {
  animation: spinPause 2s ease-in-out infinite;

  transform: scale(0.4);

} */

#vector3b{
    position: fixed;
    right: -70px;
    top: 40px;

    animation: floatAlt 5s ease-in-out infinite;
    transition: filter 0.3s ease;


}

@keyframes spinPause {
  0%   { transform: rotate(0deg); }
  80%  { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
}

#vector4a{
    width: 219px;
    height: 242px;
    background-image: url(images/vector4.svg);
    background-repeat: no-repeat;

    position: fixed;
    left: -70px;
    bottom: 60px;

    transform: scale(0.8);
    transition: filter 0.3s ease;

    animation: twinkle2 3s ease-out infinite;

}

.bright:hover {
  filter: brightness(1.2);
  transition: filter 0.3s ease;
}

#vector4b{
    width: 219px;
    height: 242px;
    background-image: url(images/vector4.svg);
    background-repeat: no-repeat;

    position: fixed;
    left: 80px;
    bottom: -100px;

    transform: scale(0.7);
    transition: filter 0.3s ease, transform 0.3s ease;

    animation: twinkle 2.5s ease-out infinite;

}

@keyframes twinkle {
  0%   { transform: scale(0.7) rotate(0deg); }
  40%  { transform: scale(0.8) rotate(5deg); }
  60%  { transform: scale(0.6) rotate(-3deg); }
  80%  { transform: scale(0.75) rotate(3deg); }
  100% { transform: scale(0.7) rotate(0deg); }
}

@keyframes twinkle2 {
  0%   { transform: scale(0.85) rotate(0deg); }
  40%  { transform: scale(0.9) rotate(3deg); }
  60%  { transform: scale(0.8) rotate(-2deg); }
  80%  { transform: scale(0.87) rotate(2deg); }
  100% { transform: scale(0.85) rotate(0deg); }
}


@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(0.4);
  }
  50% {
    transform: translateY(-20px) scale(0.41);
  }
}

@keyframes floatAlt {
  0% {
    transform: translateY(0) scale(0.5);
  }
  25% {
    transform: translateY(-10px) scale(0.515);
  }
  50% {
    transform: translateY(-22px) scale(0.52);
  }
  75% {
    transform: translateY(-12px) scale(0.51);
  }
  100% {
    transform: translateY(0) scale(0.5);
  }
}


@keyframes softBounceShake {
  0% { transform: translateX(0); }
  15% { transform: translateX(-3px); }
  30% { transform: translateX(3px); }
  45% { transform: translateX(-2px); }
  60% { transform: translateX(2px); }
  75% { transform: translateX(-1px); }
  90% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}