body {
    margin: 0;
    font-family: "Lato", sans-serif;
    overflow-y: scroll;
}

.sidebar {
    margin: 0;
    padding: 0;
    width: 150px;
    background-color: #f1f1f1;
    color: black;
    position: fixed;
    height: 100%;
    overflow: auto;
}

.sidebar a {
    display: block;
    color: black;
    padding: 16px;
    text-decoration: none;
}

.sidebar a.active {
    background-color: #2e4288;
    color: white;
}

.sidebar a:hover:not(.active) {
    background-color: #555;
    color: white;
}

.contact-box {
    background-color: #f1f1f1;
    padding: 16px;
    margin-top: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-box h3 {
    margin-top: 0;
}

.contact-box a {
    color: #2e4288;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

div.content {
    margin-left: 150px;
    padding: 1px 16px;
    height: auto;
    overflow: auto;
}

/* Style the homepage */
.home-content {
    background-image: url('../../assets/images/bg1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vm;
    height: 100vh;
    padding: 20px;
    color: white;
    text-align: center;
    /* Adjust text color for better visibility */
}

/*.top-left {
    position: absolute;
    top: 20%;
    left: 20%;
    font-style: italic;
}*/

.centered {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: larger;
}

/*.bottom-left {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, 0%);
    font-style: italic;
}*/

.about-section {
    background-image: url('../../assets/images/bg1.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    color: white;
    text-align: center;
    /* Adjust text color for better visibility */
}

.sponsor-section {
    background-image: url('../../assets/images/bg2.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    color: white;
    text-align: center;
    /* Adjust text color for better visibility */
}

.committee-section {
    background-image: url('../../assets/images/bg2.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    color: white;
    text-align: center;
    /* Adjust text color for better visibility */
}

.speaker-section {
    background-image: url('../../assets/images/bg2.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    color: white;
    text-align: center;
    /* Adjust text color for better visibility */
}

.agenda-section {
    background-image: url('../../assets/images/bg2.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    color: white;
    text-align: center;
    /* Adjust text color for better visibility */
}

.presentation-section {
    background-image: url('../../assets/images/bg2.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    color: white;
    text-align: center;
    /* Adjust text color for better visibility */
}

.contact-section {
    background-image: url('../../assets/images/bg2.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    color: white;
    text-align: center;
    /* Adjust text color for better visibility */
}

.photo-section {
    background-image: url('../../assets/images/bg2.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    color: white;
    text-align: center;
    /* Adjust text color for better visibility */
}

.image-container {
    position: relative;
    text-align: center;
    color: white;
}

.image-container {
    background-image: url("../assets/images/2.png");
    background-size: cover;
    position: relative;
    height: 300px;
}

.image-text {
    background-color: white;
    color: black;
    font-size: 10vw;
    font-weight: bold;
    margin: 0 auto;
    padding: 10px;
    width: 50%;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

@media screen and (max-width: 700px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .sidebar a {
        float: left;
    }

    div.content {
        margin-left: 0;
    }
}

@media screen and (max-width: 400px) {
    .sidebar a {
        text-align: center;
        float: none;
    }
}


div.gallery {
    border: 1px solid #ccc;
}

div.gallery:hover {
    border: 1px solid #777;
}

div.gallery img {
    width: 100%;
    height: auto;
}

div.desc {
    padding: 15px;
    text-align: center;
}

* {
    box-sizing: border-box;
}

.responsive {
    padding: 0 6px;
    float: center;
    width: 44.99999%;
}

@media only screen and (max-width: 800px) {
    .responsive {
        width: 49.99999%;
        margin: 6px 0;
    }
}

@media only screen and (max-width: 500px) {
    .responsive {
        width: 100%;
    }
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}


/* Style the committee members */
html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.column {
    float: center;
    width: 75%;
    margin-bottom: 16px;
    padding: 0 8px;
}

@media screen and (max-width: 900px) {
    .column {
        width: 100%;
        display: block;
    }
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.container {
    padding: 0 16px;
}

.container::after,
.row::after {
    content: "";
    clear: both;
    display: table;
}

.title {
    color: grey;
}

/* Style the sponsors */
.project-preview {
    border: 2px solid #ccc;
    padding: 10px;
    margin: 10px 0;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.sponsor-container {
    display: flex;
    justify-content: space-around;
    /* Adjust spacing between columns */
    flex-wrap: wrap;
    /* Allow wrapping if needed */
}

.sponsors {
    flex: 1;
    margin: 10px;
    max-width: 30%;
    /* Adjust the width as needed */
    box-sizing: border-box;
    /* Ensure padding and border are included in the width */
    border: 2px solid #ccc;
    /* Add border to the sponsor boxes */
    padding: 10px;
    /* Add padding inside the border */
    border-radius: 5px;
    /* Optional: Add rounded corners */
}

.sponsors img {
    width: 300px;
    height: 300px;
}

.responsive-img {
    width: 100%;
    height: auto;
    max-width: 300px;
    /* Optional: Set a maximum width */
}

/* Media query for smaller screens */
@media screen and (max-width: 800px) {
    .sponsor-container {
        flex-direction: column;
        align-items: center;
    }

    .sponsors {
        max-width: 100%;
    }
}

/* Style the speakers and presentation table */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #ddd;
}

th,
td {
    text-align: left;
    padding: 16px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.first-column {
    width: 20%;
}

.second-column {
    width: 20%;
}

.third-column {
    width: 60%;
}

.spaced-list li {
    margin-bottom: 20px;
    /* Adjust the value as needed for more or less spacing */
}

.speaker-first-column {
    font-style: bold;
    width: 15%;
}

.speaker-second-column {
    width: 30%;
}

.speaker-third-column {
    width: 55%;
}

.pr-first-column {
    width: 15%;
}

.pr-second-column {
    width: 25%;
}

.pr-third-column {
    width: 60%;
}


.photo-section {
    margin-bottom: 20px;
}

.photo-gallery {
    margin: 40px 0;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: center;
}

.photo-grid img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.photo-grid a {
    display: block;
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-grid img {
        width: 150px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid img {
        width: 100%;
        max-width: 150px;
        height: auto;
    }
}