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

body { 
 background-image: url('../assets/images/cloud_background.png');
 background-size: cover;  
 color: black; 
 background-position: center;
 background-repeat: no-repeat;
 background-attachment: fixed;
 line-height: 1.6; 

}

p {
  margin-bottom: 1.25rem;
}


.header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background-color: #092c74;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 2rem;
}

.header-left {
  text-align: left;
}

.name {
  margin: 0;
  font-size: 2.5rem;
}

.subtitle {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: white;
}

.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait {
  width: 160px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(8, 6, 21, 0.6);
  display: block;
  margin: 0 auto;
}

.header-right {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: right;
  justify-self: end;
}

.header-right a {
  color: white;
  font-size: 0.9rem;
  text-decoration: none;
}

.header-right a:hover {
  text-decoration: underline;
}



.container {
  max-width: 800px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.75);
  padding: 2rem;
  border-radius: 0;
   box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.35),   /* main shadow for depth */
    inset 0 0 10px rgba(0, 0, 0, 0.05); /* subtle inner shadow for paper texture */

}

section {
  margin-bottom: 1.5rem;
}

h2 {
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.3rem;
}

ul {
  list-style-type: square;
  padding-left: 1.5rem;
}

.visitor-section {
  margin-top: 2rem;
  font-weight: bold;
  text-align: center;
}

.footer {
  min-height: 150px;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;  
  color: white;
  background-color: yellowgreen;
}

@media (max-width: 768px) {
  .header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-left,
  .header-center,
  .header-right {
    justify-self: center;
    text-align: center;
  }

  .header-right {
    margin-top: 1rem;
  }

  .portrait {
    width: 120px;
  }
}