/* styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
}

header {
    background: url('img/32-9-SAND2027-web.jpg') no-repeat center center;
    background-size: cover;
    color: #000;
    height: 600px; /* Adjusted height */
    text-align: center;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1); /* Adds a dark overlay for better text readability */
}

header .container {
    position: relative;
    z-index: 1; /* Ensures text is above the overlay */
    top: 25%;
    transform: translateY(-50%); /* Centers the text vertically */
}

header h1 {
    font-size: 2em; /* Increased font size */
    margin: 0.5em 0;
    margin-top: 0px;
}

header h2 {
    font-size: 1.5em; /* Increased font size */
}

header h2, header h3 {
    margin: 0.5em 0;
}

nav {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #333;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Roboto', sans-serif; /* Fancy thin font */
    font-size: 1.2em;
    transition: color 0.3s; /* Smooth transition for hover effect */
}

nav ul li a:hover {
    color: #FFD700; /* Change color on hover */
}

main {
    padding: 2em 0;
}

section {
    padding: 0.5em 0;
}

section h2 {
    text-align: left; /* Aligned to the left */
    color: #222; /* Slightly less black */
}

.partners-section {
    text-align: center;
}

.partners-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

p {
    color: #333; /* Slightly less black */
    line-height: 1.6;
    font-family: 'Georgia', serif; /* Pleasant reading font */
    font-size: 1.1em;
    margin: 1em 0;
}

footer {
    background-color: #333;
    text-align: center;
    padding: 1em 0;
    margin-top: 2em;
}


footer div p {
    color: #fff;
}

footer a {
    color: #eee;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    nav ul li {
        display: block;
        margin: 10px 0;
    }
    
    nav ul {
        line-height: 2.5em; /* Same line-height as <p> */
    }
}

nav ul {
    line-height: 2.5em; /* Same line-height as <p> */
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Roboto', sans-serif; /* Fancy thin font */
    font-size: 1.2em;
    transition: color 0.3s; /* Smooth transition for hover effect */
}

ul li {
    font-family: 'Georgia', serif; /* Same as <p> font */
    font-size: 1.1em; /* Same as <p> font size */
    line-height: 1.3em; /* Same line-height as <p> */
    margin: 1em 0; /* Optional: Adds similar spacing as <p> */
}



    h1 {
        font-size: 2.2em;
        font-weight: bold;
        text-align: center;
        margin-bottom: 20px;
    }
    h2 {
        font-size: 1.8em;
        font-weight: bold;
        border-bottom: 2px solid #333;
        padding-bottom: 5px;
        margin-top: 30px;
    }
    h3 {
        font-size: 1.5em;
        font-weight: bold;
        margin-top: 25px;
    }
    h4 {
        font-size: 1.3em;
        font-weight: bold;
        color: #444;
        margin-top: 20px;
    }

    /* Exclude the styles for the specific h1 and h2 headers */
.main-header, .sub-header {
    border-bottom: none;
}

nav ul li a {
    white-space: nowrap;
}

.speaker-photo {
    max-width: 300px; /* Increased from 200px */
    width: 100%;
    height: auto;
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.keynote {
    margin-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 3em;
    overflow: hidden; /* ensures floating content is contained */
}


.proceedings-link {
    background-color: #e0f7fa;
    border-left: 5px solid #00796b;
    padding: 1em;
    margin-bottom: 2em;
    font-size: 1.1em;
    font-family: Georgia, serif;
    color: #004d40;
    border-radius: 6px;
}

.proceedings-link a {
    color: #00796b;
    font-weight: bold;
    text-decoration: underline;
}

.proceedings-link a:hover {
    color: #004d40;
}
