
body {
    font-family:'STIXTwoText.' sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow: auto;
    }
    @font-face {
        font-family: 'Fang\ zheng'; 
        src: url('../image/font/STIXTwoText.ttf') format('truetype');
      }




.section {
    height: 100vh;
    padding: 0%;
    position: relative;
   
}
.scrolling-images {
    position: absolute;
    bottom: 20%; 
    display: flex;
    gap: 60px; 
    display: flex;
    gap: 20px;
    animation: scroll 15s linear infinite;
    
}



@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
    
}





nav {
    position: fixed;
    width: 100%;
    background-color: #ff45b2;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 10px;
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
}


.navbar a:hover {
  color: #2f2e25; 
  font-style: italic; 
}


.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }
.transition-page {
    position: absolute;
    width: 100%;
    height: 100vh;
    z-index: 20;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }


.title-margin{
    font-size: 5rem;
    color: #ff09bd;
    text-align: center;
    z-index: 18;
    margin-top: px;
}

.second-margin{
    font-size: 1.3rem;
    color: #ff09bd;
    text-align: center;
    margin-top:-20px;
}

.arrow {
    color: #ff09bd;
    text-align: center;
    font-size: 5rem;
    margin-top: 60px;
    cursor: pointer;
    animation: bounce 1.5s infinite;
}
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
  
}


.section-transition {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 999;
    animation: fadeOut 1s forwards;
  }
  
  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      display: none;
    }
  }


.background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0c3fc, #8ec5fc, #f5e1f5, #ffe3a3);
    background-size: 400% 400%;
    animation: backgroundChange 10s infinite;
    z-index: -1;
}

@keyframes backgroundChange {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}





/* Horizontal Gallery */
.horizontal-gallery {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    animation: scrollImages 10s linear infinite;
}

.horizontal-gallery img {
    width: 30px;
    margin: 0 20px;
}

scrolling-images {
    display: flex;
    animation: scroll 20s linear infinite;
}
@keyframes scrollImages {
    0% {
        transform: translateX(0);
    }
    10% {
        transform: translateX(-100%);
    }
}


.creator-content {
    display: flex;
    flex-direction: column;
    align-items: left;
    color: #333;
    text-align: left;
}

.creator-content h2 {
    font-size: 2.5rem;
    padding-left: 20px;
    margin-top: 60px;
}

.creator-content img {
    width: 200px;
    height: 220px;
    border-width: 50%;
    margin:20px;
    padding-left:20px;
}
.creator-content p{
    text-align: justify;
    font-size: 24px;
    padding-left:300px;
    margin-right:150px;
}
.paragraph{
    text-align: justify;
    margin: 20px;
    font-size: 14px;
    padding-left:20px;
    margin-right:20px;
}

     




.portfolio-content {
    font-size: 2rem;
    color: #333;
    padding-left: 25px;
    padding-left: 30px;
    margin-top: -10px;
   
}


.project h2 {
    cursor: pointer;
    border-bottom: 2px solid black;
    font-size: 2rem;
    transition: font-style 1s, transform 1s;
    padding-left: 20px;
    margin: 40px;
}

.project h3 {
    cursor: pointer;
    border-bottom: 2px solid black;
    font-size: 2rem;
    transition: font-style 1s, transform 1s;
    padding-left: 20px;
}


.project h3:hover {
    font-style: italic; 
    transform: translateX(10px); 
    
}

.expandable {
    display: none;
    height: 30px;
    margin-top: 1px;
    margin-bottom: 9px;
    padding: 8px;
}

.expandable.small-images img {
    display: flex;
    justify-content: space-around;
    overflow: hidden;
    max-width: 100%;
 
    
}

.see-more {
    display: block;
    color: #4e54c8;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    transition: font-style 1s, transform 1s;
}
.see-more:hover {
    font-style: italic; 
    transform: translateX(10px);
    
}



.task-content {
    font-size: 2rem;
    color: #333;
    padding-left: 20px;
    margin-top: 0px;
}


.task h2 {
    cursor: pointer;
    border-bottom: 2px solid black;
    font-size: 2rem;
    transition: font-style 1s, transform 1s;
    padding-left: 20px;
    margin: 40px;
}

.task h3 {
    cursor: pointer;
    border-bottom: 2px solid black;
    font-size: 2rem;
    transition: font-style 1s, transform 1s;
    padding-left: 20px;
}


.task h3:hover {
    font-style: italic; 
    transform: translateX(10px); 
    
}

.expandable {
    display: none;
    height: 230px;
    margin-top: -35px;
    margin-bottom: -12px;
    padding: 15px;
}

.expandable.small-images img {
    display: flex;
    justify-content: space-around;
    overflow: hidden;
    max-width: 90%;
  
    
}

.see-more {
    display: block;
    color: #4e54c8;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    transition: font-style 1s, transform 1s;
}
.see-more:hover {
    font-style: italic; 
    transform: translateX(10px);
    
}

