/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Verdana, sans-serif;
  background-color: #1f1f1f;
  color: white;
}

h1 {
  font-family: 'Yusei Magic', sans-serif;
  font-size: 2.5rem;
  color: #e8ecee;
}

h2 {
  font-family: 'Syncopate', sans-serif;
  font-size: 2.0rem;
  color: #e8ecee;
  padding: 0px 0px 10px 0px;
}

/* Page Sections */
.section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  margin: 0;
}

.section-top {
  background-color: #000000;
  min-height: 100px;
  padding: 50px 5px 20px 20px; /* top/bottom: 40px, sides: 20px */
  display: block; /* or remove display:flex entirely */
  text-align: center;
}

.section-top h1 {
  margin-bottom: 1px; /* instead of default ~20-40px */
  letter-spacing: 4px;
}

.section-2nd-down {
  background-color: #000000;
  min-height: 450px;
  padding: 50px 5px 0 5px;
  display: block;
  text-align: center;
}

.section-3rd-down {
  background-color: #000000;
  min-height: 225px;
  display: block;
  padding: 5px 5px 5px 5px; /* Adjust as needed */
  text-align: center;
}

.about-text {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.6rem;    /* default for desktops/laptops */
  line-height: 1.7;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  color: #e8ecee;
}

.about-text p {
  margin-bottom: 0.8em; /* adjustable space between paragraphs */
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Medium screens (tablets) */
@media (max-width: 1024px) {
  .about-text {
    font-size: 1.3rem;
  }
}

/* Small screens (phones) */
@media (max-width: 600px) {
  .about-text {
    font-size: 1.1rem;
  }
}

/* Footer */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
  background-color: #222;
}

.icon-row {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.footer-text {
  color: #e8ecee;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.social-icon {
  background-color: #444;
  color: white;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: background-color 0.3s, transform 0.3s;
  text-decoration: none;
}

.social-icon:hover {
  transform: scale(1.1);
}

/* Individual icon hover colors */
.linkedin:hover {
  background-color: #0077b5;
}

.instagram:hover {
  background-color: #e4405f;
}

.youtube:hover {
  background-color: #FF0000;
}

.email:hover {
  background-color: #dd4b39;
}

.cert-images {
  margin-top: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cert-images img {
  width: 180px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0px 0px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.cert-images img:hover {
  transform: scale(1.05);
}

.image-fade-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000;
}

.fade-image {
  width: 50vw;      /* 50% of the viewport width */
  max-width: 350px; /* never gets larger than 400px */
  height: auto;     /* keeps proportions */
  margin-top: 0;
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 89%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: cover;

  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 89%, rgba(0, 0, 0, 0) 100%);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;
}

.no-break {
  white-space: nowrap;
  display: inline-block;
}
