@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Lato:wght@400;500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

body {
  background-color: #000000;
  color: white;
  line-height: 1.6;
}

header {
  background-color: #000000;
  padding: 35px 55px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  border-bottom: 2px solid #0033CC;
  font-size: 1.4rem;
}

header h1 {
  font-family: "Playfair Display", serif;
  color: #E0E1DD;
  white-space: nowrap;
  overflow: hidden;
  width: auto;
}

.intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 60px;
  background: linear-gradient(135deg, #000000, #111111);
}

.profile-photo {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 4px solid #0033CC;
  box-shadow: 0 0 25px 8px rgba(0, 51, 204, 0.7);
  transition: all 0.4s ease;
  animation: aboutGlow 3s infinite alternate;
  justify-self: center;
}

.profile-photo:hover {
  transform: scale(1.08);
  box-shadow: 0 0 60px 20px rgba(0, 51, 204, 1);
  border-color: #0022AA;
  filter: brightness(1.2);
}

@keyframes aboutGlow {
  0%, 100% {
    box-shadow: 0 0 20px 5px rgba(0, 51, 204, 0.5);
  }
  50% {
    box-shadow: 0 0 40px 10px rgba(0, 51, 204, 0.9);
  }
}

.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px;
  position: relative;
}

.about, .description-box {
  text-align: left;
  font-size: 1.2rem;
  padding: 50px;
  border: 2px solid rgba(0, 51, 204, 0.7);
  border-radius: 15px;
  box-shadow: 0 0 20px 5px rgba(0, 51, 204, 0.6);
  background: rgba(17, 17, 17, 0.5);
  transition: all 0.4s ease;
  overflow: hidden;
}

.about {
  transform: translateX(-50px);
}

.description-box {
  transform: translateX(50px);
}

.about:hover, .description-box:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 50px 15px rgba(0, 51, 204, 1);
  border-color: #0022AA;
  background: rgba(17, 17, 17, 0.7);
  filter: brightness(1.15);
}

.about h2, .description-box h2 {
  font-family: "Playfair Display", serif;
  color: #0033CC;
  margin-bottom: 15px;
  font-size: 2rem;
}

.about p, .description-box p {
  font-family: "Lato", sans-serif;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #E0E1DD;
}

@media (max-width: 900px) {
  .about, .description-box {
    transform: none;
    text-align: center;
  }

  .intro {
    padding: 40px 20px;
  }

  .profile-photo {
    width: 280px;
    height: 280px;
  }
}