/* Apply box-sizing, margin, and padding globally */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Apply specific elements */
body, p, h1, h2, h3, h4, ul, li {
    font-family:  'Roboto Slab', serif;
    font-size: 1.0rem;
}

/* Specific styles for elements with an ID */
#notice {
    font-family: 'Arial', sans-serif;
    font-size: 0.5rem;
}



body {
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}




header {
    background: #4b8681;
    color: #fff;
    padding: 2rem;
    text-align: center;
    width: 100%;
    position: relative;
}

header h1 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 2rem;
    font-family: 'EB Garamond';
}

header p {
    font-size: 1.5rem;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

header::after {
    content: "";
    display: block;
    width: 80%; /* Adjust the width of the line */
    height: 1px; /* Adjust the thickness of the line */
    background-color: #fff; /* White color for the line */
    margin: 1rem auto 0 auto; /* Center the line and add margin to position it */
}



nav a {
    margin: 0 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

main {
    flex: 1;
    padding: 2rem;
    max-width: 50%;
    width: 100%;
}



.talks h2, .talks h3 {
    border-bottom: 2px solid #19635d;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

ul {
    list-style: none;
}

li {
    background: #fff;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

h2 {
    font-size: 1.5rem;
}

h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

footer {
    background: #f4f4f4;
    color: #fff;
    text-align: center;
    padding: 1rem;
    width: 100%;
    margin-top: auto;
}



/* Existing styles remain the same */

.dropdown {
    position: absolute;
    left: 5%;
    top: 25%
}

.dropbtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    width: 50px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.line {
    width: 100%;
    height: 4px;
    background-color: white;
    border-radius: 2px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 5px;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn .line {
    background-color: #919aaa;
}
