
/*
Theme Name: Sohajda Zsolt Portfólió
Author: Sohajda Zsolt Zoltán
Description: Portfólió
Version: 1.0
*/

@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom right, #f2f6ff, #d9e4f5);
  color: #333;
  scroll-behavior: smooth;
}

header {
  text-align: center;
  padding: 3rem 1rem;
  background: #0066cc;
  color: white;
  animation: fadeIn 1.5s ease-in-out;
}

header img {
  width: 160px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-top: 1rem;
  border: 4px solid white;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background: #004c99;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, background 0.3s;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

nav a:hover {
  background: #005bb5;
  transform: scale(1.05);
}

section {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: auto;
  background: white;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

section h2 {
  color: #004c99;
  margin-bottom: 1rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #00264d;
  color: white;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.5rem;
  }
  nav {
    flex-direction: column;
    align-items: center;
  }
  nav a {
    width: 80%;
    text-align: center;
  }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

a {
  color: #0066cc;
}

a:hover {
  color: #004c99;
  text-decoration: underline;
}


/* Fix vízszintes menü + ne legyen kék hover */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 20px 0;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  text-decoration: none !important;
  color: black !important;
  font-weight: bold;
}

nav ul li a:hover {
  color: black !important;
}
