* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  overflow-wrap: break-word;
}

aside {
  display: flex;
  flex-direction: column;
  margin: 0 1% 0 2%;
  min-width: 15%;
}

.article-container {
  margin: 0 0 1% 0;
  padding-top: 0.5%;
}

.article-container p {
  margin: 0;
  padding: 0 1% 0.5% 1%;
  text-align: left;
}

.article-container-row {
  display: flex;
  flex-direction: row;
  padding: 0 1% 0 1%;
}

.article-container-row a {
  align-items: center;
  color: #293133;
  display: flex;
  margin: 0 4% 0% 0;
}

.article-container-row a:hover {
  text-decoration: none;
}

.article-container-row .show-article-tags {
  align-items: center;
  display: flex;
  margin: 0 4% 0% 0;
  padding: 5px;
}

.article-container-row a p {
  color: #293133;
  padding: 5px;
}

.article-container-row a:hover p {
  text-decoration: underline;
  text-decoration-color: #293133;
}

.article-tags {
  display: flex;
  justify-content: right;
  margin: 0 0 0.5% 0;
}

.article-tags span {
  font-weight: bold;
  margin: 0 1% 0 1%;
  padding: 2px;
}

body {
  background-color: #ffffff;
  font: 1.3rem/1.61538 "Montserrat", sans-serif;
  margin: 0;
  padding-bottom: 1px;
  line-height: 1.5;
}

.blog-container {
  margin: 0 10% -1% 10%;
}

.blog-title-container:hover {
  cursor: pointer;
}

.blog-container h2 {
  color: #293133;
  font-size: 30px;
  margin-bottom: 1%;
}

.blog-container h3 {
  color: #293133;
  font-size: 17.5px;
  margin-bottom: 1%;
  margin-top: 1%;
}

.blog-container a:hover {
  text-decoration: underline;
  text-decoration-color: #293133;
}

.blog-container ul {
  list-style-type: none;
  font-size: 17.5px;
}

.blog-container ul li {
  display: flex;
  margin-bottom: 1%;
}

.blog-container ul li a {
  display: flex;
  text-decoration: none;
  justify-content: center;
}

.blog-container ul li .fa-li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-container ul li a p {
  color: #293133;
  font-size: 15px;
  margin: 0%;
}

.blog-container .blog-subtitle {
  color: #293133;
  font-weight: bold;
}

.blog-container .blog-image-container {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
}

.blog-container .blog-image-container img {
  margin-left: auto;
  margin-right: auto;
}

.blog-title-container {
  position: relative;
  display: inline-block;
}

.blog-title-container .link-icon {
  display: inline;
  position: absolute;
  left: -25px;
  top: 25%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #293133;
}

.blog-title-container .link-icon:hover {
  color: #e1af3b;
}

.hidden {
  display: none;
}

.blog-container .excel-codeblock {
  background-color: #f5f5f5;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 5px;
  border: 1.5px solid #448256;
  font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New;
  margin-bottom: 1%;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
}

.blog-container .r-codeblock {
  background-color: #f5f5f5;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 5px;
  border: 1.5px solid #88A8D3;
  font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New;
  margin-bottom: 1%;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
}

.blog-container .excel-codelabel {
  background-color: #448256;
  color: #ffffff;
  font-weight: bold;
  border: 3px solid #448256;
  text-align: center;
  border-top-left-radius: 7.5px;
  border-top-right-radius: 7.5px;
}

.blog-container .r-codelabel {
  background-color: #88A8D3;
  color: #ffffff;
  font-weight: bold;
  border: 3px solid #88A8D3;
  text-align: center;
  border-top-left-radius: 7.5px;
  border-top-right-radius: 7.5px;
}

.blog-container .excel-codeblock p {
  margin-bottom: 0.1%;
  white-space: pre;
  text-wrap: wrap;
  text-align: left;
}

.blog-container .r-codeblock p {
  margin-bottom: 0.1%;
  white-space: pre;
  text-wrap: wrap;
  text-align: left;
}

.blog-container .excel-codeblock p .comment {
  color: #7A9E89;
}

.blog-container .r-codeblock p .comment {
  color: #7A9E89;
}

.blog-container p {
  text-align: justify;
  margin-bottom: 1%;
}

.blog-container p code {
  font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New;
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit; 
}

button:hover {
  cursor: pointer;
}

.clickable-block {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 1% 0 1%;
  width: 48%;
}

.clickable-block h2 {
  color: #293133;
  font-size: 30px;
}

.clickable-block p {
  font-size: 15px;
  margin: 2%;
  text-align: justify;
}

.clickable-block .image-holder {
  display: flex;
  justify-content: center;
  margin: 2%;
}

.clickable-block .image-holder img {
  width: 60%;
}

hr {
  background-color: #0e0e44;
  height: 2px;
  width: 80%;
  border: none;
  margin-top: 1%;
  margin-bottom: 1%;
}

.snapshot-container {
  margin: 2%;
}

.snapshot-container img {
  width: 100%;
}

.clickable-block ul {
  display: block;
  justify-content: left;
  font-size: 15px;
  margin: 2% 2% 2% 3%;
  padding: 0 0 0 5%;
  text-align: justify;
}

.clickable-block-link-holder {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}

.clickable-block-link-holder a {
  align-items: center;
  color: #293133;
  display: flex;
  justify-content: center;
  margin: 0 2% 0 2%;
  padding: 1%;
  text-decoration: none;
}

.clickable-block-link-holder a:hover p {
  text-decoration: underline;
  text-decoration-color: #293133;
}

.clickable-block-link-holder a p {
  padding: 5%;
  margin: 0px;
}

.dropdown-holder {
  display: none;
  flex-direction: column;
  justify-content: left;
  margin: 0;
}

.dropdown-button {
  background-color: #0e0e44;
  border: none;
  color: #ffffff;
  font-size: 50px;
  margin: 0;
  padding: 0px 0px 0px 10px;
}

#dropdown-icon {
  display: block;
}

.dropdown-list {
  display: none;
  list-style: none;
}

.dropdown-list {
  display: none;
}

.dropdown-list a {
  color: #ffffff;
  font-family: "Montserrat", sans-serif; 
  margin: 0 0 0 15px;
  text-decoration: none;
}

.dropdown-list h4 {
  padding: 10px 0 10px 0;
}

#dropdown-home {
  animation: 0.75s fadeIn;
}

#dropdown-team {
  animation: 1.25s fadeIn;
}

#dropdown-research {
  animation: 2.5s fadeIn;
}

#dropdown-software {
  animation: 3.75s fadeIn;
}

#dropdown-resources {
  animation: 4.5s fadeIn;
}

#dropdown-blog {
  animation: 5.25s fadeIn;
}

#dropdown-conference {
  animation: 6.5s fadeIn;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

#footer {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 1% 0 3% 0;
}

#footer a p {
  font-size: 14px;
}

#footer p {
  font-size: 14px;
}

.footer-holder {
  margin: 0 0 0 5%;
}

.footer-holder h5 {
  color: #0e0e44;
  font-weight: bold;
}

.footer-holder p {
  color: #848e97;
  margin: 0;
}

.footer-image-holder {
  display: flex;
  justify-content: right;
  width: 50%;
}

.footer-image-holder img {
  margin: 0 10% 0 0;
  width: 40%;
}

h1 {
  color: #293133;
  font-size: 41px;
  margin-top: 24px;
  margin-bottom: 12px;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1; 
}

h2 {
  color: #293133;
  font-size: 34px; 
  margin-top: 24px;
  margin-bottom: 12px;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
}

h3 {
  color: #293133;
  font-size: 28px; 
  margin-top: 24px;
  margin-bottom: 12px;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
}

h4 {
  color: #293133;
  font-size: 20px; 
  margin-top: 12px;
  margin-bottom: 12px; 
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
}

h5 {
  color: #293133;
  font-size: 16px; 
  margin-top: 12px;
  margin-bottom: 12px; 
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
}

header {
  background-image: url(../img/banner.svg);
  background-position: center;
  background-size: cover;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 300px;
  justify-content: center;
  margin: 0 0 1% 0;
  padding: 0 0 3% 0;
  text-align: center;
}

header h1 {
  font-weight: bold;
}

header h1, h2 {
  color: #ffffff;
  margin: 0 0 2% 0;
}

html {
  font-size: 10px;
}

.link-center:hover {
  text-decoration: underline;
  text-decoration-color: #0e0e44;
}

.link-uni:hover {
  text-decoration: underline;
  text-decoration-color: #848e97;
}

.list-container {
  margin: 0 10% 0 0;
  width: 75%;
}

.list-container h4 {
  margin: 1%;
}

.list-container p {
  color: #293133;
  font-size: 15px;
}

main {
  display: flex;
  flex-direction: column;
}

#main-research {
  flex-direction: row;
}

.navbar-holder {
  background-color: #0e0e44;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.navbar-list {
  width: 100%;
  display: inline-flex;
  justify-content: space-evenly;
  list-style: none;
  padding: 1% 0 1% 0;
}

.navbar-list h4 {
  color: #ffffff;
  text-align: center;
}

.navbar-list h4 a {
  border-radius: 10px;
  color: #ffffff;
  font-size: 25px;
  padding: 5px;
  text-decoration: none;
}

.navbar-list h4:hover a {
  background-color: #e1af3b;
  color: #0e0e44;
}

p {
  color: #293133;
  margin: 0 0 12px; 
}

.resource-container {
  margin: 0 10% 0 10%;
}

.resource-container h2 {
  color: #293133;
  font-size: 30px;
}

.resource-container a:hover {
  text-decoration: underline;
  text-decoration-color: #293133;
}

.resource-container ul {
  list-style-type: none;
  font-size: 17.5px;
}

.resource-container ul li {
  display: flex;
  margin-bottom: 1%;
}

.resource-container ul li a {
  display: flex;
  text-decoration: none;
  justify-content: center;
}

.resource-container ul li .fa-li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-container ul li a p {
  color: #293133;
  font-size: 15px;
  margin: 0%;
}

.rotate-forward {
  transform: rotate(90deg);
  transition: all 0.5s ease;
}

.rotate-backward {
  transform: rotate(0deg);
  transition: all 0.5s ease;
}

.rotate-forward-no-anim {
  transform: rotate(-90deg);
}

.rotate-backward-no-anim {
  transform: rotate(0deg);
}

.show {
  display: flex;
  flex-direction: column;
}

.show-article-tags:hover {
  cursor: pointer;
}

.social {
  display: flex;
  flex-direction: row;
}

.social a {
  text-decoration: none;
  color: #293133;
  margin-top: 3%;
  padding-right: 5%;
  font-size: 15px;
}

.software-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 10% 0 10%;
}

.social a:hover {
  color: #e1af3b;
}

.squares-holder {
  margin: 0 10% 0 10%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

.square {
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  margin: 2%;
  color: #ffffff;
  background: #0e0e44;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
  border-radius: 8px;
  align-items: center;
}

.square:hover {
  background: #e1af3b;
  text-decoration: none;
}

.square .image-holder {
  width: 110px;
  height: 110px;
  display: flex;
  justify-content: center;
  margin-top: -20%;
  background: #e1af3b;
  border-radius: 100%;
}

.square:hover .image-holder {
  background: #0e0e44;
  transition: background 0.3s ease;
}

.square:hover .square-text {
  color: #0e0e44;
  transition: background 0.3s ease;
}

.square .image-holder img {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  background-color: #ffffff;
  margin-top: 4%;
}

.square-text {
  margin-top: 20%;
  font-size: 30px;
  color: #ffffff;
  font-weight: bold;
}

table {
  margin: 0 auto;
  border-bottom: 1px solid black;
  border-top: 1px solid black;
}

table th {
  text-align: center;
  border-bottom: 1px solid black;
}

table td {
  text-align: center;
}

.tag {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 3%;
}

.tag p {
  margin-left: 5%;
  margin-bottom: 0;
}

.tag .tag-check {
  margin: 0px;
}

.tag-holder {
  display: flex;
  flex-direction: column;
  margin-bottom: 2%;
}

.tag-holder .tag-clear {
  background-color: #f2f4f8;
  border: none;
  display: none;
  font-size: 15px;
  padding: 1% 3% 1% 1%;
}

.tag-holder .tag-show {
  align-items: center;
  background-color: #f2f4f8;
  border: none;
  display: flex;
  font-size: 20px;
  min-width: 85%;
  padding: 1%;
  text-align: center;
}

.tag-holder .tag-show i {
  margin-left: 2%;
  margin-right: 2%;
}

.tag-holder .tag-show p {
  margin-bottom: 0;
  padding: 2%;
  font-size: 15px;
}

.tag-holder-layout {
  background-color: #f2f4f8;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.tag-holder-layout span {
  font-size: 15px;
  padding: 2%;
}

.team-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: justify;
  color: #293133;
  margin: 4%;
}

.team-block p {
  font-size: 15px;
  margin-top: 2%;
  margin-bottom: 0;
}

.team-container {
  display: grid;
  justify-content: center;
  margin-left: 10%;
  margin-right: 10%;
  grid-template-columns: repeat(2, 1fr);
}

.team-details {
  margin-left: 2%;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.team-details h3 {
  margin-top: 0.5%;
  margin-bottom: 0.5%;
  text-align: left;
  font-size: 25px;
}

.team-details h5 {
  color: #293133;
  font-weight: bold;
  margin-top: 0.5%;
  margin-bottom: 0.5%;
}

.team-header {
  display: flex;
  justify-content: center;
  margin: 0 0 0 0;
}

.team-header h2 {
  color: #000000;
  margin: 0 0 0 0;
}

#teamheadermethods {
  margin-top: 3%;
}

.team-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.team-row .image-holder {
  max-width: 25%;
}

.team-row .image-holder img {
  border-radius: 100px;
  width: 100%;
}

.text-holder {
  display: block;
  text-align: justify;
  margin: 3% 10% 3% 10%;
  font-size: 20px;
}

.text-holder p {
  font-size: 20px;
  margin-bottom: 2%;
}

.conference-list {
  font-size: 20px;
  margin-bottom: 2%;
}

@media (max-width: 880px) {
  .article-container p {
    padding-left: 2%;
    padding-right: 2%;
  }

  .article-container-row {
    flex-direction: column;
    padding-left: 2%;
    padding-right: 2%;
  }
  
  .article-container-row a {
    margin: 0 0 2% 0;
  }

  .article-tags {
    flex-direction: column;
  }

  .article-tags span {
    margin: 1% 1% 1% 5%;
    padding: 0;
  }

  .blog-container .blog-subtitle {
    margin-bottom: -1%;
  }

  .blog-container .excel-codeblock {
    margin-bottom: 5%;
  }

  .blog-container .r-codeblock {
    margin-bottom: 5%;
  }

  .blog-container .r-codelabel {
    border: 5px solid #88A8D3;
  }

  .blog-container .excel-codelabel {
    border: 5px solid #448256;
  }

  .blog-container p {
    margin-bottom: 5%;
  }

  .blog-container .blog-image-container img {
    width: 100%;
  }

  .blog-title-container .link-icon {
    display: none;
  }

  .clickable-block {
    width: 100%;
    margin: 0;
  }

  hr {
    margin-top: 5%;
    margin-bottom: 5%;
  }

  #footer {
    flex-direction: column;
    align-items: center;
  }

  .footer-holder {
    margin-left: 2%;
    margin-right: 2%;
    text-align: center;
  }

  .footer-image-holder {
    margin: 3% 0 0 0;
  }

  .footer-image-holder img {
    margin: 0;
    width: 100%;
  }

  .software-container {
    flex-direction: column;
    align-items: center;
    margin: 0 2.5% 0 2.5%;
  }

  .squares-holder {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .dropdown-holder {
    display: block;
  }

  .navbar-list {
    display: none;
  }

  #main-research {
    flex-direction: column;
  }
  aside {
    margin: 2%;
  }

  .list-container {
    margin: 2%;
  }

  .list-container h4 {
    margin-bottom: 4%;
  }

  .article-container {
    margin-bottom: 3%;
  }

  .article-container p {
    font-size: 15px;
  }

  .article-container-row p {
    font-size: 15px;
  }

  .article-container-row .show-article-tags {
    margin: 0 0 2% 0;
    padding: 0;
  }

  .blog-container {
    line-height: 2.5rem;
  }

  .blog-container h2 {
    font-size: 25px;
  }

  .blog-container ul {
    font-size: 20px;
  }

  .clickable-block a p {
    font-size: 15px;
  }
  
  .clickable-block h2 {
    font-size: 25px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  h3 {
    font-size: 20px;
  }

  header {
    padding: 0 0 10% 0;
  }

  .list-container p {
    font-size: 15px;
  }

  .team-container {
    display: flex;
    flex-direction: column;
  }

  .team-details h3 {
    font-size: 17.5px;
  }

  .team-details h5 {
    font-size: 15px;
  }

  .footer-holder h5 {
    font-size: 15px;
  }

  .text-holder p {
    font-size: 15px;
    margin-bottom: 7.5%;
  }

  .conference-list {
    font-size: 15px;
    margin-bottom: 7.5%;
  }

  .resource-container {
    line-height: 2.5rem;
  }

  .resource-container h2 {
    font-size: 25px;
  }

  .resource-container ul {
    font-size: 20px;
  }
}
