/* style.css - unified modern aesthetic with consistent sans-serif font */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  background-image: url('Images/SiteBackground1.jpg');
  background-size: cover;
  color: #212529;
  line-height: 1.6;
}

.SiteContainer {
  background-size: cover;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.SiteContent {
  width: 100%;
  background: white;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.Header {
  text-align: center;
  margin-bottom: 2rem;
}

.TitleText {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #343a40;
}

.JPLangDiv {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.JapaneseLanguageSelector {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.TabCollection {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.TabCollection button {
  background-color: #e9ecef;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.TabCollection button:hover,
.TabCollection button:focus {
  background-color: #dee2e6;
}

.tabcontent {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
  margin-top: 2rem;
}

.tabcontent.active {
  display: block;
}

.SelfPortrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.SelfPortraitImage {
  width: 200px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.SelfPortraitText {
  font-style: italic;
  color: #6c757d;
  margin-top: 0.75rem;
  text-align: center;
}

.MainPageParagraphSection {
  text-align: center;
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.EducationContentWrapper,
.EducationHeading,
.EducationText {
  text-align: left;
  margin: 1rem;
}

.UniversityLogoSection {
  text-align: center;
  margin-top: 2rem;
}

.UniversityImage {
  max-width: 200px;
  height: auto;
}

.ProgrammingPageText {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.GithubLogo {
  display: block;
  margin: 1rem auto;
  max-width: 200px;
  height: auto;
}

.HobbiesTabContent,
.HobbiesTextContent {
  text-align: center;
}

.OtherTabContent {
  text-align: center;
}

.AppsTabContent {
  text-align: center;
  margin: 1rem auto;
}

.ContactContent {
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #868e96;
  margin-top: 3rem;
}

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

@media (max-width: 768px) {
  .TabCollection button {
    flex: 1 1 100%;
  }

  .TitleText {
    font-size: 2rem;
  }

  .SelfPortraitImage {
    width: 150px;
  }

  .MainPageParagraphSection {
    font-size: 1rem;
    padding: 0 1rem;
  }
}
