/* Reset default margins/padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General body settings */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

.flash {
  color: yellow;
  font-weight: bold;
  animation: flashText 10s infinite;
}

.right-align-ip {
    text-align: right;
    color: yellow;
    font-size: 0.4em;  /* makes it slightly smaller */
    font-style: italic;  /* makes it italic */
}

@keyframes flashText {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}


/* Header */
header {
    background-color: #003366;
    color: white;
    padding: 20px 40px;
}

header h1 {
    margin-bottom: 10px;
   vertical-align: baseline; 
}

header p {
    font-size: 1rem;
}

.header-info {
  display: flex;
  justify-content: space-between;  /* left & right alignment */
  align-items: center;
  margin-top: 5px;
  font-size: 14px;
}

.header-info .department {
  text-align: left;
    font-size: 1rem;
}

.header-info .right-align-ip {
  text-align: right;
  color: yellow; /* keep same highlight color */
  font-size: 0.8rem;
}

.logo {
  vertical-align: bottom;  /* aligns with text baseline */
  height: 50px;              /* control size */
  width: auto;               /* keep aspect ratio */
  margin-left: 8px;          /* small spacing from text */
}
/* Navigation bar */
nav {
    background-color: #004080;
    padding: 10px 40px;
}

nav a {
    color: white;
    margin-right: 15px;
    text-decoration: none;
    font-weight: bold;
    transition: text-decoration 0.2s;
}

nav a:hover {
    text-decoration: underline;
}

/* Main content area */
main {
    padding: 40px;
    background-color: white;
}

section {
    margin-bottom: 40px;
}

section h2 {
    color: #003366;
    margin-bottom: 10px;
}

section ul {
    padding-left: 20px;
}

/* Footer */
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    header, nav, main {
        padding: 20px;
    }

    nav a {
        display: block;
        margin: 5px 0;
    }

    main {
        padding: 20px;
    }
}

.research-container {
  display: flex;              /* make two columns */
  justify-content: space-between;
  align-items: flex-start;    /* align at the top */
  gap: 0px;                  /* space between columns */
}

.research-list {
  flex: 1;                    /* left column */
}

.research-photo {
  flex: 1;                    /* right column */
  text-align: left;         /* optional: center the image */
}

.research-photo img {
  max-width: 250px;           /* shrink the photo */
  height: auto;               /* keep aspect ratio */
  border-radius: 8px;         /* optional: rounded corners */
}


