h1,h2,h3 {text-align: center}
h1 {font-size: 25px;}
h2 {font-size: 20px;}
h3 {font-size: 18px;} 
a img { border: 0px; }

p {
    font-size: 16px;
    margin: 10px auto;
    max-width: 545px;
 }

body {
    text-align: left;
    background-color: #2F2A35;
    font-family: "Arial", sans-serif;
    color: whitesmoke;
    line-height: 1.7;

}

#container {
    border: solid 1px whitesmoke;
    background-color:#F8E8CC;
    max-width: 790px; 
    width: 100%; 
    margin: 0 auto;
}
  
#nav {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background-color: #914E56;
    padding: 20px;
    width: 100%;
    max-width: 790px; 
    height: 150px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box; 
}

#nav img {
    width: 120px;
    height: 120px;
    border-radius: 50%; 
    margin-right: 10px; 
}

#nav a {
    text-decoration: none;
    background-color: transparent; 
    font-weight: 500; 
    padding: 5px 5px;
}

#nav a:hover {
    color: whitesmoke;
    background-color: #4D303F;
}

#nav a.active {
    color: #4D303F;
    font-weight: bold;
    background-color: #F8E8CC;
}

a:link,
a:visited {
    color: #F8E8CC;
}

a:active {
    background-color: #914E56;
    color: #F8E8CC;
}

#tagline {
    font-size: 16px;
    font-weight: bold;
    color: #2F2A35;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 10px;
    animation: waveMotion 3s ease-in-out infinite;
}

@keyframes waveMotion {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

#top {
    width: 525px;
    max-width: 545px;
    margin: 10px auto;
    background-color: #4D303F;
    padding: 1px 20px;
    text-align: left;
}

#content {
    background-color: #4D303F;
    width: 525px;
    max-width: 545px;
    margin: 10px auto;
    padding: 10px 20px;
    
}

#box {
    border: solid 2px whitesmoke;
    padding: 20px;
    margin: 20px 0;
}

table {    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid whitesmoke;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #914E56;
    color: white;
}

td {
    background-color: #914E56;
}

#location-image img {
    width: 100%;
    object-fit: cover;
}

#map iframe {
    width: 100%;
    border-radius: 8px;
}

form {
    display: flex;
    flex-direction: column;
    background: #914E56;
    padding: 20px;
    max-width: 545px;
    margin: 20px 0;
}

label {
    font-weight: bold;
    margin-top: 10px;
    font-weight: bold;
    display: block;
}

input, textarea {
    width: 100%;
    padding: 5px;
    margin-top: 5px;
    border: 1px solid #F8E8CC;
}

button {
    background: #4D303F;
    color: white;
    border: none;
    font-weight: bold;
    padding: 10px;
    font-size: 16px;
    margin-top: 15px;
    width: 100%;
}

button:hover {
    background: #2F2A35;
    color: whitesmoke;
}

#sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

#sponsor {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

#sponsor img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
}