/* Global Styles */
body {
    background-color: #f4f4f9;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

nav {
  background-color: #f4f4f4;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  gap: 15px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

nav ul li a:hover {
    background-color: #01a5a5;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

nav ul li a:active {
    transform: translateY(1px);
    box-shadow: none;
}

/* Home Page Styling */
.homeP {
    background: white;
    color: #333;
    padding: 2em;
    margin: 50px auto;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    text-align: center;
}

.homeLink {
    font-size: 1.2em;
    color: white;
    background: #2575fc;
    padding: 1em 2em;
    border-radius: 8px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.homeLink:hover {
    background: #6a11cb;
    transform: scale(1.05);
}

h2.welcome {
    font-size: 2.5em;
    font-weight: bold;
    color: #01a5a5;
}

/* Chess Page Styling */
body.chessBody {
    background: url(WDV101/images/chess-836784_1920.jpg) no-repeat center center fixed;
    background-size: cover;
}

.chessP {
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    padding: 2em;
    margin: 40px auto;
    max-width: 85%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

iframe {
    display: block;
    margin: 20px auto;
    border: none;
    width: 90%;
    height: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Resume Page Styling */
body.resumeBody {
    background: url(WDV101/images/desk-593327_1920.jpg) no-repeat center center fixed;
    background-size: cover;
}

.resumeNav {
    background: white;
    padding: 20px;
    margin: 30px auto;
    max-width: 75%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.portrait {
    height: 180px;
    width: 180px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}