* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Baskervville, sans-serif;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  background-image: url(images/tex2.png);
  background-position: right 0;
  background-repeat: repeat;
}

header nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

header nav ul li {
    margin: 0 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}


header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('images/WizardRoom1.webp') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
}


#portfolio, #about, #contact {
  padding: 3rem;
  text-align: center;
}

#portfolio .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 125px;
}

#portfolio img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}


.center-container {
      display: flex;
      justify-content: center; /* Horizontal centering */
      align-items: center;     /* Vertical centering */
      /*height: 100vh;*/
      text-align: center;
      padding: 1rem;
      box-sizing: border-box;
    }

    .center-container p {
      max-width: 70%;
      word-wrap: break-word;
      font-size: 1.2rem;
    }




#contact form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  margin: 0 auto;
}

#contact form label {
  display: block;
  margin-bottom: 0.5rem;
}

#contact form input, 
#contact form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

#contact form button {
  background-color: #222;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact form button:hover {
  background-color: #444;
}




footer {
  text-align: center;
  background-color: #222;
  color: white;
  padding: 1rem;
  position: bottom;
  margin-top: auto;
}

.hidden {
  display: none;
}

#formMessage {
  margin-top: 1rem;
  color: green;
}
