/* main CSS styles */
*{
    font-family: 'Courier New', Courier, monospace;
    font-size: large;
    font-weight: 500;
}
body {
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #000000;
}

#menu {
    display: none;
}

header {
    background-color: #07395f;
    color: #fff;
    /* padding: 10px; */
    text-align: center;
    /* position: fixed; */
    max-width: 100%;
    z-index: 1;
}

header h1{
    color: white;
    padding-top: 10px;
}
#hero div h1{
    color: rgb(238, 143, 20);
}
#hero div a{
    color: #fff;
    text-decoration: none;
    background-color: #C56E3E;
    padding: 10px;
}
#hero div a:hover{
    background-color: #55cbd3;
    color: #000000;
}


#hero {
    background-color: #07395f;
    color: #fff;
    padding: 50px 50px;
    text-align: center;
}

#hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}



#hero p {
    font-size: 18px;
    margin-top: 20px;
    line-height: 1.6;
}

/* #hero{
    margin: 0 auto;
} */

nav {
    background-color: #07395f;
    margin-top: 10px;
    color: #07395f;
    padding-top: 100px;
    margin-bottom:  20px ;
    display: flex;
    position: fixed;
    margin: 0 auto;
}

nav ul {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;

}

nav ul li {
    display: inline-block;
    margin: 10px 10px;
    padding: 5px 5px;
}

nav ul li a:active{
    color: #1d1e1f;
}
nav ul li a:visited{
    color: #0f283a;
}

nav ul li a {
    background-color: #55cbd3;
    padding: 5px 10px;
    border-radius: 5px;
    color: rgb(0, 0, 0);
    text-decoration: none;
}

nav ul li a:hover {
    color: #ffffff;

}
main {
    padding: 20px;
}


.event-heading{
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    grid-column: 1/span 3;
} 

#current-events {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 30px;
    padding: 20px;
    grid-area: 2/3;
}

#current-events h2 {
    text-align: center;
} 

.event {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 2);
}

.event img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.event p {
    margin-bottom: 10px;
}

.event a, .spotlight a {
    display: block;
    background-color: #07395f; 
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    margin: 0 auto;
    border-radius: 5px;
    width: 90px;
    transition: background-color 0.3s ease; 
}
.event a:hover{
    background-color: #55cbd3;
    color: #000000;
}

.card{
    background-color: #55cbd3;
    text-align: center;
}

section {
    margin-bottom: 20px;
    border-bottom: 2px solid #1b6192;
    padding-bottom: 20px;
}
section h2 {
    text-align: center;
    text-decoration: underline;
}

h1, h2 {
    color: #1b6192;
}

ul, ol {
    margin-left: 20px;
}

footer {
    background-color: #07395f;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    font-size: small;
    margin-bottom: 0;
}

.contact-info,.development-info, .social-media{
    color: white;
}

.social-media a{
    color: #f0f0f0;
}


body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    font-family: Arial, sans-serif;
}



#sidebar {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#main-content {
    padding: 20px;
}
#main-content .photos{
    text-align: center;
}
.photos img {
    width: 75%;
    height: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photos img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}



#sidebar h2, #sidebar h3 {
    transition: color 0.3s ease;
}

#sidebar h2:hover, #sidebar h3:hover {
    color: #0e5f76;
}

#sidebar a {
    color: #0e5f76;
    text-decoration: none;
    transition: color 0.3s ease;
}

#sidebar a:hover {
    color: #333;
}

button{
    padding: 10px 15px;
    background-color: #0e5f76;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #333;
}


#sidebar p {
    color: #000000;
    margin: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: clip;
    text-overflow: clip;
    overflow-y:auto ;

    max-width: 100%;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}  


#sidebar p:hover {
    background-color: #f1f1f1;
    border-color: #ccc;
}



/* Join Page */

.join-container {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
}

.container {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 20px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

input, select, textarea {
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="submit"] {
    margin-top: 20px;
    padding: 10px;
    background-color: #07395f;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    max-width: 50%;
    /* margin: 0 auto; */
}

input[type="submit"]:hover {
    background-color: #55cbd3;
    color: #000;
}

#thank{
    padding: 10px;
    background-color: #55cbd3;
    color: #000;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    width: 50%;
    margin: 0 auto;
}

#thanksha{
    padding: 10px;
    background-color: #07395f;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    margin: 0 auto;
}

.membership-benefits {
    margin-top: 20px;
}

.membership-benefits h3 {
    margin-bottom: 10px;
}

.membership-benefits ul {
    list-style-type: none;
    padding: 0;
}


/* directory */

#directory * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#directory {
    margin: 0 auto;
    padding: 0.5rem;
    max-width: 700px;
    background-color: #fff;
}

#directory .menu {
    margin: 1rem auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    background-color: #1b6192;
    text-align: center;
}

#directory .menu button {
    padding: 1rem;
    font-weight: 700;
    
}

#directory section {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    background-color: #eee;
}

#directory .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 5px;
    align-items: center;
}

#directory .grid section {
    text-align: center;
}

#directory .grid img {
    border: 1px solid #fff;
    box-shadow: 0 0 10px #333;
}

#directory .grid section > * {
    margin: 0.1rem;
}

#directory .list {
    display: flex;
    flex-direction: column;
}

#directory .list section {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    margin: 0;
    padding: 0.25rem;
}

#directory .list section > * {
    margin: 0 1rem;
}

#directory .list section img {
    display: none;
}

.list section h3 {
    font-size: 1rem;
}

.list section:nth-child(even) {
    background-color: #55cbd3;
}

section h3 {
    font-size: 1.5rem;
}

section p {
    font-weight: 600;
    font-size: smaller;
}

#directory section a {
    font-size: 0.85rem;
    color: rgb(58, 99, 113);
    letter-spacing: 1.1pt;
}

#directory img {
    height: 75px;
    max-width: 100%;
}


/* home */

#responsive-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
}

#responsive-section section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

#responsive-section section img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

#responsive-section section h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

#responsive-section section p {
    font-size: 1rem;
    line-height: 1.5;
}

#forecast {
    margin-top: 1rem;
}

.forecast-day {
    display: inline-block;
    text-align: center;
    margin: 0.5rem;
}

.forecast-day img {
    width: 50px;
    height: 50px;
}


body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.banner {
    background-color: #55cbd3;
    padding: 1rem;
    text-align: center;
    position: relative;
}

.banner #close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
}

.advert-spotlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;

}

.advert-spotlight section {
    border: 1px solid #ccc;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.7);
}

.advert-spotlight img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.advert-spotlight img {
    max-width: 100%;
    height: auto;
}