@font-face {
  font-family: 'Midorima'; /* Choose a name for your font */
  src: local('Midorima'),url('/assets/fonts/midorima.woff2') format('woff2'); /* Specify the path to your WOFF2 file */
}

@font-face {
    font-family: 'Kong Japanese Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Kong Japanese Regular'), url('/assets/fonts/KongJapanese-Wy7PA.woff') format('woff');
  }


@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
html {
    scroll-behavior: smooth;
    background-color: black;
}
body{
    margin: 0;
    padding:0;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
     font-family: 'Inter', sans-serif;
}
.head-wrapper {
    background-color: rgb(255, 255, 255);
    height:70px;
    max-width: 100%;
    width:1200px;
    display: flex;
    margin-top: 25px;
    padding: 30px 40px;
    border-top-left-radius: 75px;
    border-top-right-radius: 75px;
    justify-content: space-between;
   



}
    
.memoji-wrapper {
    display: inline-block;
    position: relative;
    width: 90px; /* 70px image + 12px glow each side */
    height: 90px;
  }
  
  .memoji-container {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 5px;
    border-radius: 50%;
    z-index: 5;
  }
  
  .memoji-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
    
  }
  
  /* Rotating rainbow ring - initially hidden */
  .memoji-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
      from 0deg,
      #ff2965, #ff8e25, #ffea00, #8cff00,
      #00e3ff, #2a7fff, #d400ff, #ff2965
    );
    filter: blur(10px);
    opacity: 0;
    z-index: 4;
    transition: opacity 0.3s ease;
  }
  
  /* Active state for hover/click */
  .memoji-wrapper.active::before {
    opacity: 0.8;
    animation: rotate-colors 1.5s linear infinite;
  }
  
  @keyframes rotate-colors {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Hover effects */
  .memoji-wrapper:hover img {
    transform: scale(1.08);
  }
  
 .nav-bar {
        margin-top: 10px;
        background-color: black;
        width: 350px; /* Increased width for better spacing */
        height: 60px;
        border-radius: 50px;
        display: flex;
        justify-content: center; /* Center the links horizontally */
        align-items: center; /* Center the links vertically */
        position: fixed;
        left: 50%; /* Center the nav bar horizontally */
        transform: translateX(-50%); /* Adjust for the width */
        z-index: 100; /* Ensure it stays on top */
    }

    .nav-links {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-links li {
        margin: 0 20px; /* Add spacing between links */
    }

.nav-links li a {
        text-decoration: none;
        color: white;
        font-size: 0.9em;
        padding: 8px 5px; /* Add padding for better touch/hover area */
        border-radius: 25px; /* Match border-radius for a consistent look */
        transition: background-color 0.3s ease, border-bottom 0.3s ease; /* Smooth transitions */
    }

    .nav-links li a:hover {
        background-color: #CB4042;
        color: rgb(0, 0, 0); /* Subtle hover background */
    }

    .nav-links li a.active {
        border-bottom: 3px solid white;
        color: black; /* Indicate active section */
    }

.time-container {
    position: relative;
    background-color: transparent;
    cursor: pointer;
    margin-top: 30px;
    margin-right: 30px;
}

.realtime-time {
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 0.02em;
    transition: text-content 10s ease; 
}

@media (max-width: 600px) {
    .head-wrapper {
        width:440px;
        height: 40px;
}

.nav-bar {
    margin-top: 5px;
    width: 200px;
    height: 45px;
    padding: 0px 20px;

}
.nav-links li a {
     font-size: 0.75em;
    padding:  5px;
    justify-content: space-around;

}
 .nav-links li {
    margin: 0 10px;
 }
.realtime-time {
    margin-top: -6px;
    margin-right: -28px;
    font-size: 0.8rem;
}
.memoji-wrapper {
    display: inline-block;
    position: relative;
    width: 60px; /* 70px image + 12px glow each side */
    height: 60px;
  }
  
  .memoji-container {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 5px;
    border-radius: 50%;
    z-index: 5;
  }
  
  
    
    
    
  
}

.intro-container {
  background-color: rgb(255, 255, 255);
  width: 1280px;
  height: 440px;
  display: flex;
  justify-content: center;
  margin-bottom: 0px;

  
  

}

.japan-red {
  background-color: #CB4042;
  max-width: 100%;
  width: 200px;
  height: 200px;
  position: absolute;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  border-radius: 100px;
  animation: dropDown 1.5s ease-out forwards; /* Apply the animation */
}

@keyframes dropDown {
  0% {
    top: 60px; /* Start position */
  }
  100% {
    top: 200px; /* End position (equivalent to your initial margin-top) */
  }
}

.japan-red img {
  height: 100%;
  width:100%;
  

  
}
.japan-red img:hover {
  transform: scale(1.1);
  cursor:wait;
  
}


.intro-text {
  margin-top: 250px;
  line-height: 0.1;
  background-color: transparent;
  z-index: 6;
  
  
}

.intro-text h2 {
  font-size: 2rem;
  text-align: center;
  color: #CB4042;
  letter-spacing: -0.125rem;
  
}

.intro-text h3 {
  text-align: center;
  font-size: 1.1rem;
  
}

.my-name  {
  
  text-align: center;
  font-size: 5rem;
  letter-spacing: -0.3rem;
  
}

.glyph {
    opacity: 1; 
    color: #CB4042;
    font-family: 'Kong Japanese Regular';
    letter-spacing: -0.3rem;
  }
  .value {
    color: black;
  }

  #sakura-container {
    position: fixed;
    width: 1280px;
    height: 1200px;
    top: 120px;
  }


  @media (max-width: 600px) {
  .intro-container {
    width: 520px;
    height: 480px;
  }
  .intro-text {
  margin-top: 300px;
  line-height: 0.1;
  background-color: transparent;
  z-index: 6;
  
  
}
.japan-red {
width: 150px;
height: 150px;
}
.intro-text h2 {
  font-size: 1.8rem;
  text-align: center;
  color: #CB4042;
  letter-spacing: -0.125rem;
  
}

.intro-text h3 {
  text-align: center;
  font-size: 0.9rem;
  
}

.my-name  {
  
  text-align: center;
  font-size: 4rem;
  letter-spacing: -0.3rem;
  
}


  

  #sakura-container {
    position: fixed;
    width: 520px;
    height: 700px;
    top: 110px;
  }


  
  }

.social-links {
  
  margin-top: 0px;
  width: 1280px;
  height: 60px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  
  z-index: 5;

}
.social-links svg {
  width: 30px;
  height: auto;
  
  
  
}

.social-links svg:hover {
  fill: #CB4042;
  transform: translateY(-4px);
 
}

/* Button styles */
.schedule-button {
    background-color: #CB4042;
    color: black;
    padding: 12px 28px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 550;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.schedule-button:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Popup styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    position: relative;
    width: 400px;
    max-height: 90vh;
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #CB4042;
    padding: 0 8px;
    transition: color 0.2s;
}

.close-button:hover {
    color: #CB4042;
}



.coming-soon {
  background-color: white;
  width: 1280px;
  display: flex;
  justify-content: center;
  padding-top: 300px;
  height: 400px;
  z-index: 5;
  border-bottom-left-radius: 75px;
  border-bottom-right-radius: 75px;
  margin-bottom: 30px;
}

.coming-soon h1 {
  font-size: 1rem;
  color: #CB4042;
}

 @media (max-width: 600px) {
  .social-links {
  
  margin-top: 0px;
  width: 520px;
  height: 60px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  
  z-index: 5;

}
.social-links svg {
  width: 30px;
  height: auto;
  
  
  
}

.social-links svg:hover {
  fill: #CB4042;
  transform: translateY(-4px);
 
}

/* Button styles */
.schedule-button {
    background-color: #CB4042;
    color: black;
    padding: 12px 28px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 550;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.coming-soon {
  background-color: white;
  width: 520px;
  display: flex;
  justify-content: center;
  padding-top: 300px;
  height: 400px;
  z-index: 5;
  border-bottom-left-radius: 75px;
  border-bottom-right-radius: 75px;
  margin-bottom: 30px;
}

.coming-soon h1 {
  font-size: 1rem;
}

 }