main 
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
}

h1, h2 
{
    text-align: center;
    margin-bottom: 1rem;
}

.u-photo 
{
    width: 40%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
}

figure 
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

figcaption 
{
    font-size: 1rem;
    color: #7234b0;
    font-family: 'Lora', serif;
    margin-top: 1rem;
}

.p-languages 
{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  flex-wrap: wrap; /*allows for wrapping on smaller screens */
}

.p-languages figure 
{
  margin: 0;
  padding: 0;
}

.p-languages img 
{
  width: 60px;
  height: auto;
  transition: transform 0.3s ease;
}

.p-languages img:hover 
{
  transform: scale(1.1); /*slight zoom on hover */
}

p 
{
  text-align: left;
  max-width: 600px;
  margin: 0 auto 1rem auto;
}


hr 
{
    width: 80%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#games-container 
{
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1rem;
  background-color: #1b1b1b;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  max-width: 1200px;
  margin: 0 auto;
}

#games-container > div 
{
  background-color: #2b2b2b;
  border-radius: 10px;
  padding: 1rem;
  width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

#games-container > div:hover 
{
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#games-container h3 
{
  font-family: 'Orbitron', sans-serif;
  color: #ff77ff;
  text-align: center;
  margin-bottom: 0.5rem;
}

#games-container figure 
{
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

#games-container img 
{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

#games-container p 
{
  font-family: 'Lora', serif;
  color: #ffffff;
  text-align: center;
  margin-top: 0.5rem;
  font-size: 1rem;
}

