* {
box-sizing: border-box;
}

body {
margin: 0;
padding: 2rem;
font-family: 'Inter', sans-serif;
background-color: #2c2f33; /* darker gray background */
color: #f2f2f2;
line-height: 1.6;
  }

.container {
max-width: 800px;
margin: 0 auto;
}

.intro-flex {
display: flex;
align-items: center;
gap: 1.5rem;
flex-wrap: wrap;
margin-bottom: 2rem;
}
    
.nav-wrapper {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    display: flex;
    justify-content: center;
}
    
.intro-image {
width: 140px;
height: 140px;
border-radius: 50%;
object-fit: cover;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.intro-text {
flex: 1;
}

h2 {
font-size: 1.75rem;
margin: 0;
color: #ffffff;
}

h3 {
font-size: 1.3rem;
margin-bottom: 0.5rem;
color: #222; /* Inside white box */
}

p, li {
font-size: 1rem;
}

nav {
    display: flex;
    gap: 1.5rem;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
    justify-content: flex-start;
    flex-wrap: wrap;
}

nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

nav a:hover {
    background-color: #f2f2f2;
}

.section {
background: #ffffff;
color: #333;
padding: 1.5rem 2rem;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
margin-bottom: 2rem;
}

.button {
display: inline-block;
margin-top: 0.5rem;
padding: 0.6rem 1.2rem;
background-color: #0077cc;
color: white;
border-radius: 6px;
text-decoration: none;
font-weight: 600;
transition: background-color 0.3s ease;
}

.button:hover {
background-color: #005fa3;
}

@media (max-width: 600px) {
.intro-flex {
    flex-direction: column;
    text-align: center;
}

.intro-text {
    margin-top: 1rem;
}
}

.embed-wrapper {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

iframe {
  width: 100%;
  height: 90vh;  /* 90% of the visible height of the browser */
  border: none;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0077cc;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
