@font-face {
    font-family: Roboto-Light;
    src: url(fonts/Roboto-Light.ttf);
}

@font-face {
    font-family: Roboto-Regular;
    src: url(fonts/Roboto-Regular.ttf);
}

@font-face {
    font-family: Roboto-Medium;
    src: url(fonts/Roboto-Medium.ttf);
}

@font-face {
    font-family: Roboto-BoldCondensed;
    src: url(fonts/Roboto-BoldCondensed.ttf);
}


body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: white;
}

p {
    font-size: 16px;
}

.text {
    padding-top: 5px;
    line-height: 1.4;
}

hr {
    border: none;
    height: 2px;
    background-color: darkgray;
    margin: 20px 0;
}

a {
    color: black;
}

li {
    margin-bottom: 5px;
}

.top-bar-text {
    font-size: 28px;
}


.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    background-color: rgb(24, 24, 24);
    color: white;
    position: fixed;
    font-family: Roboto-BoldCondensed, Verdana, Geneva, Tahoma, sans-serif;
    font-size: 28px;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 999;
}


.top-bar-button {
    background-color: transparent;
    color: white;
    padding: 0px 15px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    text-decoration: none;
    border-color: transparent;
}

.top-bar-button:hover {
    color: rgb(202, 202, 202);
    text-decoration: underline;
}


.top-bar-left {
    flex: 1;
}

.top-bar-middle {
    display: flex;
    gap: 10px; /* Space between the middle buttons */
    justify-content: center; /* Center the group */
    flex: 2; /* Adjust to balance the middle group */
}

.top-bar-right {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: flex-end;
}


.social-button {
    width: 45px;
    background-color: transparent;
    color: transparent;
    border-color: transparent;
}

.social-icon {
    max-width: 100%;
    height: auto;
}


.page-container {
    max-width: 1300px;
    min-width: 700px;
    margin: 0 auto;
    padding: 80px;
    background-color: white;
}

.content-container {
    display: flex;              /* Makes the container a flexbox */
    align-items: center;        /* Vertically aligns items in the center */
    gap: 30px;                  /* Space between the paragraph and the image */
}

.content-container img {
    max-width: 200px;           /* Limits the width of the image */
    height: auto;               /* Keeps the image's aspect ratio */
    border-radius: 50%;         /* Optional: rounds the corners */
}

.content-container p {
    flex: 1;                    /* Allows the paragraph to take available space */
    line-height: 1.6;           /* Improves readability */
}



.research-header {
    position: relative;
    height: 150px;
    display: flex;
    margin-bottom: 20px;
    margin-top: 20px;
}

.research-header h2 {
    position: absolute;
    color: white;
    left: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    background-image: linear-gradient(90deg, black 77%, transparent 85%);
}

.research-header img {
    position: absolute;
    width: auto;
    height: 100%;
    display: block;
    right: 0px;
}


.grid-container {
    display: grid;
    margin: 5%;
    grid-template-columns: 45% 45%;
    column-gap: 10%;
    row-gap: 20px;
}

.project-grid-element {
    position: relative;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.5);
}

.project-grid-element p {
    margin-left: 8px;
    margin-right: 8px;
    margin-top: 0px;
}

.project-grid-element img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.project-grid-element h1 {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    margin: 0px;
    color: white;
    padding: 10px;
    font-size: 24px;
    background-color: rgba(24, 24, 24, 0.685);
    border-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.project-grid-element button {
    background-color: royalblue;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    padding: 10px;
    padding-left: 14px;
    padding-right: 14px;
    border: 0px;
    margin-left: 8px;
    margin-bottom: 12px;
    cursor: pointer;
}

.project-grid-element-date {
    font-weight: bolder;
    font-size: 18px;
    margin: 8px;
    padding-top: 6px;
    color: royalblue;
}


.showcase-video {
    border-radius: 10px;
}


.showcase-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


.showcase-video-container {
    position: relative;
    padding-bottom: 42.1875%;
    height: 0;
    overflow: hidden;
    width: 100%;
}

.showcase-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.generic-button {
    background-color: royalblue;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    padding: 10px;
    padding-left: 14px;
    padding-right: 14px;
    border: 0px;
    cursor: pointer;
}

.news-element {
    position: relative;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.5);
    margin: 20px;
}

.news-element img {
    width: auto;
    height: 100%;
    display: block;
    border-radius: 10px;
}

.news-element-date {
    font-size: 14px;
    color: gray;
}

.news-element p {
    margin-right: 50px;
}

.news-element h1 {
    top: 0px;
    left: 0px;
    right: 0px;
    padding-bottom: 5px;
    margin: 0px;
    color: black;
    font-size: 24px;
}

