@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0; /* remove default margin */
    padding: 0; /* remove default padding */
    padding-top: 60px; /* Adjust this value to match the height of your navbar */
    display: flex; /* added */
    flex-direction: column; 
    min-height: 100vh; 
}

#logo-image {
    height: 40px; /* Adjust as needed */
    width: auto; /* Maintain aspect ratio */
}

#logo {
    display: flex;
    align-items: center; /* Center-align the image and text vertically */
}

#logo-text {
    margin-left: 10px; /* Add space between the image and text */
    color: #000100; /* Set text color */
    font-size: 20px; /* Set text size */
    font-weight: bold; /* Make text bold */
}

body a {
    color: #000100;
    text-decoration: none;
}


body a:hover {
    color: #918868;
}

main {
    flex: 1;
}

.content-container {
    display: flex;
    justify-content: space-between;
}

.text-content {
    flex: 2; /* 66% */
}

.image-content {
    flex: 1; /* 34% */
}


nav {
    position: fixed; /* make navbar fixed at the top */
    top: 0; /* position at the top */
    width: 100%; /* full width */
    padding: 20px 0;
    background-color: #EFF6FB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 1000; /* to make sure navbar stays above all other content */
    padding-right: 20px; /* Add left padding */
}


#logo {
    color: #000100;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding-left: 20px; /* Add left padding */
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
}

nav li {
    margin-left: 20px;
}
nav li a {
    color: #000100;
    text-decoration: none;
    padding: 20px 10px; /* Increase top and bottom padding */
}

nav li a:hover {
    color: #918868;
}

section {
    width: 100%;
    padding: 50px;
    box-sizing: border-box;
    
}
section:nth-child(even) {
    background-color: rgb(253, 253, 253);
}

section:nth-child(odd) {
    background-color: #EFF6FB;
}

footer {
    color: #B9D9EB;
    background-color: #000100;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    flex-shrink: 0; /* prevent footer from shrinking */
}

footer a {
    color: #B9D9EB; /* Change link color in footer */
}

.footer-column {
    width: 30%;
}

.footer-column ul {
    list-style-type: none;
}

.footer-column ul li a {
    text-decoration: none;
    color: #B9D9EB;
}

.footer-column ul li a:hover {
    color: gray;
}

button {
    padding: 10px 20px; /* control the size of the button */
    font-size: 16px; /* control the size of the text */
    background-color: #000100; /* change the background color */
    color: white; /* change the text color */
    border: none; /* remove the default border */
    cursor: pointer; /* change the cursor when hovering over the button */
    transition: background-color 0.3s ease; /* transition effect for hover */
}

button:hover {
    background-color: #B9D9EB; /* change the background color when hovering */
    color: #000100;
}

.gradio-container {
    position: absolute;
    top: 30px; /* height of the navbar */
    left: 0;
    width: 100%;
    height: calc(100vh - 140px); /* 100px = 60px (navbar) + 40px (footer) */
    border: 0;
}

.gradio-container gradio-app {
    width: 100%;
    height: 100%;
}


iframe {
    position: absolute;
    top: 60px; /* height of the navbar */
    left: 0;
    width: 100%;
    height: calc(100vh - 120px); /* 100px = 60px (navbar) + 40px (footer) */
    border: 0;
}

#overlay {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 2;
    cursor: pointer;
}

#text {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 20px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    text-align: left;
}

#close-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #B9D9EB;
    color: black;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;

}

#close-button:hover {
    background-color: white;
    color: black;
}
