html, body {
    margin: 0;
    height: fixed;
}

body {
    font-family: 'Inter', system_ui, sans-serif;
    background: linear-gradient(180deg,rgba(61, 212, 137, 1) 0%, rgba(196, 255, 215, 1) 50%, rgba(250, 245, 245, 1) 100%);    
    transition: all 0.5s ease-out;
}

/* Main*/
#scroll-face {
    position: fixed;
    color:grey;
    top: 1rem;
    right: 1rem;
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.05rem;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
    user-select: none;
}

.main {
    min-height: 20vh;
    padding-top: 4rem; 
    padding-bottom: 1.5rem;
    padding-left:  0rem;
    display: flex;
}

.main img {
    max-height: 18vh;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

@media (max-width: 767px) {
    .main img {
        max-width: 100%;
        user-select: none;
        place-items: center;
    }
}

.main-title {
    display: inline-block;
    font-family: "Italianno", cursive;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 5.4rem;
    line-height: 0.7;
    letter-spacing: 0;
    font-weight: 700;
    color:white;
    text-shadow: -0.6px -0.6px 0 #FA1919, 0.6px -0.6px 0 #FA1919, -0.6px 0.6px 0 #FA1919, 0.6px 0.6px 0 #FA1919;
    user-select: none;
}

.main-title2 {
    display: inline-block;
    font-family: "Nothing You Could Do", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 4.2rem;
    line-height: 0.7;
    letter-spacing: -0.3rem;
    font-weight: 700;
    color:white;
    text-shadow: -0.7px -0.7px 0 #FA1919, 0.7px -0.7px 0 #FA1919, -0.7px 0.7px 0 #FA1919, 0.7px 0.7px 0 #FA1919;
    user-select: none;
}

.main-text {
    display: inline-block;
    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 3rem;
    line-height: 0.7;
    font-weight: 700;
    letter-spacing: -0.05rem;
    color:white;
    text-shadow: -1px -1px 0 #FA1919, 1px -1px 0 #FA1919, -1px 1px 0 #FA1919, 1px 1px 0 #FA1919;
    user-select: none;
}

.main-text2 {
    display: inline-block;
    font-family: "Arapey", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 2.6rem;
    line-height: 1.08;
    letter-spacing: -0.05rem;
    font-weight: 700;
    color: #FA1919;
    user-select: none;
}

.main-text3 {
    font-family: "Arapey", serif;
    padding-top: 1.5rem;
    padding-bottom: 0.1rem;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1rem;
    letter-spacing: 0.05rem;
    font-weight: 700;
    color: grey;
    text-align: right;
}

.typed {
    font-family: "Arapey", serif;
    padding-top: 1.5rem;
    padding-bottom: 0.1rem;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.1;
    letter-spacing: 0.05rem;
    font-weight: 700;
    color: #FF2676;
}

@media (max-width:767px) {
    .typed {
    display: inline-block
}
}

/* Intro */
.container .intro{
    position: relative;
    display: grid;
    place-items: center;
    display: flex;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 4rem;
    margin: 0 auto 2rem auto;
    transition: all 0.4s ease;
}

.i{
    position: absolute; 
    margin: 0 auto; 
    top: 50; 
    width: 100%;
    text-align: center;
      font-size: 20vh;
      font-weight: 900;
      color: #FF2676;
      user-select: none;
      opacity: 40%;
}

.intro-text{
    position: relative; 
    top: 0; 
    width: 100%;
    padding: 2.5rem 2rem 2.5rem 2rem;  
    font-optical-sizing: auto;
    font-size: 1rem;
    font-family: "Arapey", serif;
    line-height: 1.8;
    color: grey;
}


/* Main Content - Text Box Style */
.main-content {
    padding: 0 0;
}

.section-box {
    padding: 0.1rem 1.5rem;
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
}

.section-box:hover {
    border-color: #d0d0d0;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    user-select: none;
}

.section-number {
    font-size: 1.2rem;
    font-family: "Pixelify Sans", sans-serif;   
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1;
    color:white;
    text-shadow: -0.06rem -0.06rem 0 #FA1919, 0.06rem -0.06rem 0 #FA1919, -0.06rem 0.06rem 0 #FA1919, 0.06rem 0.06rem 0 #FA1919;
    min-width: 32px;
}

.title-row:hover .section-number {
    filter: blur(0.1rem);
}

.section-title {
    font-size: 1.5rem;
    font-family: "Arapey", serif;
    font-weight: 600;
    margin: 0;
    color: #FA1919;
    flex: 1;

}

.title-row:hover .section-title {
    filter: blur(0.1rem);
}

.toggle-icon {
    font-size: 1.3rem;
    transition: transform 0.4s ease;
    color: #FA1919;
}

.title-row:hover .toggle-icon {
    transform: rotate(45deg);
}

/* Expand Animation */
.expand-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: 
        max-height 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.7s ease 0.2s,
        transform 0.7s ease 0.2s;
}

.expanded .expand-content {
    max-height: 800px;
    opacity: 1;
    transform: translateY(0);
}

.section-text img{
    width:100%; 
    max-height: 480px;
    object-fit: contain;
}

.section-text {
    font-size: 1rem;
    font-family: "Arapey", serif;
    line-height: 1.8;
    color: grey;
    margin-top: 1.8rem;
    margin-bottom: 0.1rem;
}

.source {
    text-align: right;
}
.rotating-text {
    display: inline-block;
    animation: spin 4s cubic-bezier(1,.5,.5,1) infinite;
    font-size: 0.75rem;
    font-family: "Arapey", serif;
    line-height: 1;
    color: #FF2676;
    margin-top: 1.8rem;
    margin-bottom: 0.1rem;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.rotating-text:hover { 
    animation-play-state: paused; 
}

.section-text2 {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: -0.02rem;
    font-family: "Arapey", serif;
    line-height: 1;
    color: #FF2676;
    margin-top: 1.8rem;
    margin-bottom: 0.1rem;
}

/* Footer */
.footer {
    padding-top: 0.5rem;
    padding-bottom: 2rem;
    text-align: center;
    font-family: "Arapey", serif;
    color: grey;
}

.footer a{
  color: #FF2676;
}

.footer a:hover{
  color: #37f400;
}

.footer a::after{
  color: #37f400;
}

@media (max-width: 765px) {
    .footer svg {
        width: inherit;
    }
}
/* Bouncer */
#bouncer {
    position: fixed;
    z-index: 9999;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

@media (min-width: 768px) {
    #bouncer {
        width: 130px;
        height: 130px;
    }
}

#bounce-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}