@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*,
*::after,
*::before 
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html 
{
    scroll-behavior: smooth;
    font-size: 20px;
}
body 
{
    overflow-x: hidden;
}
.stars-div,
.fuji-div,
.sakura-div,
.clouds-div {
    display: none;
}
/* Scroll */
::-webkit-scrollbar {
    width: 15px;
}
::-webkit-scrollbar-track {
    background: #dbe0ed;
}
::-webkit-scrollbar-thumb {
    background:#8da9ef;
}
::-webkit-scrollbar-thumb:active {
    background:#6991f6;
}
/* Parallax section */
.parallax-section,
.info-section
{
    width: 100%;
    height: 100vh;
    color: white;
}
.parallax-section
{
    /* background-image: linear-gradient(to top, #a6c0fe 0%, #f68084 100%); */
    background-color:#a6c0fe;
    font-family: 'Varela Round', sans-serif;
}
.clouds,
.fuji,
.sakura
{
    position: absolute;
    bottom: 0;
    left: 0;
}

.clouds
{
    top: 0;
    animation: clouds 8s infinite;
}
.hero-container 
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: max-content;
    gap: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 5%;
    z-index: 10;
}
h1 
{
    font-size: 3.5rem;
    text-shadow: 0px 0px 4px rgba(0,0,0,0.42);
    text-transform: uppercase;
}
p 
{
    font-size: 20px;
}
button 
{
    padding: 10px 50px;
    border: none;
    font-size: 20px;
    background-color: #f68084;
    color: white;
    cursor: pointer;
    border-radius: 15px;
    transition: background-color 300ms;
}
button:hover, button:active
{
    background-color: #a6c0fe;
}
/* Info-section */
.info-section 
{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    background-image: linear-gradient(to bottom, #a6c0fe 0%, #f68084 20%);
}
.stars-container
{
    position: absolute;
    background-image: url(stars.svg);
    background-size: 100%;
    width: 100%;
    height: 100vh;
    animation: moving-stars 10s infinite alternate linear;
}
.section-container 
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 20px;
    text-align: center;
    width: 100%;
    height: 100vh;
    max-width: 1200px;
    z-index: 10;
    background-image: linear-gradient(to bottom, #a6c0fe 0%, #f68084 20%);
}
/* Text */
.japanese-text {
    font-size: 1rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.679);
}
.english-text 
{
    font-weight: 200;
    font-size: 1rem;
}
.author {
    font-weight: 400;
    color: rgba(0, 0, 0, 0.679);
}
/* Footer */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 0;
}
footer p {
    font-size: 13px;
    font-weight: 200;
}
footer a {
    text-decoration: none;
    color: black;
    transition: color 300ms;
}
footer a:hover {
    color: #a6c0fe;
}
/* Animations */
@keyframes clouds {
    50% {
        transform: translate(30px);
    }
    100% {
        transform: translateX(0px);
    }
}

@keyframes moving-stars {
    100% {
        background-position: left;
    }
}
/* MediaQ */
@media screen and (max-width: 900px) {
    .stars,
    .clouds,
    .fuji,
    .sakura {
        display: none;
    }
    .parallax-section {
        position: relative;
    }
    .stars-div,
    .fuji-div,
    .sakura-div,
    .clouds-div {
        display: inline-block;
        position: absolute;
        background-repeat: no-repeat;
        height: 100vh;
        width: 100%;
    }
    .stars-div {
        background-image: url(stars.svg);
        background-repeat: repeat;
        background-size: cover;
    }
    .fuji-div {
        background-image: url(fuji.svg);
        background-position: bottom;
    }
    .sakura-div {
        background-image: url(sakurav.svg);
        background-position: center;
    }
    .hero-container {
        position: absolute;
        top: -50%;
    }
    button:hover, button:active {
        background-color: #fcabae;
    }
}
@media screen and (max-width: 670px) {
    h1 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 460px) {
    html {
        font-size: 15px;
    }
    h1 {
        font-size: 2rem;
    }
}



[data-scroll] {
    transition: all 1s;
  }
  [data-scroll="in"] {
    opacity: 1;
    transform: translateY(0);
}
[data-scroll="out"] {
    opacity: 0;
    transform: translateY(-200px);
  }



/* @media screen and (max-width: 600px) {
    h1 {
        font-size: 35px;
    }
    .stars {
        height: 100vh;
    }
    .fuji {
        height: 500px;
        left: auto;
        right: calc(100% - 730px);
    }
    .clouds {
       display: none; 
    }
    .sakura {
        bottom: auto;
        left: auto;
        top: 180px;
    }
}
@media screen and (max-height: 700px) {
    h1 {
        font-size: 35px;
    }
    .clouds {
        display: none;
    }
    .stars {
        height: 100vh;
    }
    .hero-container {
        bottom: 50%;
    }
} */