:root {
  --color-blue: #001f3f;
  --color-white: #FFFFFF;
  --add-color: #E0E0E0;
  --gold-color: #FFD700;
  --royal-blue: #4169E1;
  --light-gray: #F0F0F0;
  --silver-color: #C0C0C0;
  --olive-green: #8bc34a;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--color-white);
}

nav {
  background-color: var(--color-blue);
  box-shadow: 0px 0px 4px 0px rgb(45, 44, 44);
}

nav ul {
  width: 100%;
  list-style-type: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav li {
  height: 80px;
}

nav a {
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: var(--color-white);
}



nav a:hover {
  background-color: #f0f0f0;
  color: var(--color-blue);
  border-radius: 10px;
}

nav li:first-child {
  margin-right: auto;
}

li.no-hover a:hover {
  background: none;
} 

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background-color: #ffffff3e;
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgb(48, 47, 47);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

/* .sidebar  {
  color: ;
} */

.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
}

.menu-button {
  display: none;
}

.main-page {
  margin-bottom: 80px;
  padding: 40px 90px;
  transition-timing-function: ease-in-out;
}

.about-content {
  justify-content: space-between;
}

.about-content .img-space {
  margin: 0 auto;
  width: 300px;
  /* height: 100px; */
  /* padding: 10px; */
  /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
  text-align: center;
  justify-content: center;
}

.img-space img {
  width: 300px;
  margin-right: 20px;
  border-radius: 10px;
  border: black;
}

.title {
  height: 40%;
}

.textarea p  {
  margin: 0 auto;
  width: 80%;
  line-height: 40px;
  font-style: normal;
  font-size: 20px;
  font-weight: 100;
  text-align: center;
}

.research-page {
  background-color: var(--color-blue);
  color: var(--color-white);
  padding: 40px 90px;
}

.research-page h3 {
  text-align: center;
  font-size: 20px;
  font-weight: bolder;
}

.section {
  display: flex;
  justify-content: space-around;
  margin: 10px 20px;
  position: relative;
  width: 50%;
  /* background: rgb(0, 0, 0, 0.3); */
}

.cards {
  margin: 10px 5px;
  background: var(--royal-blue);
  position: relative;
  border-radius: 6px;
  padding: 10px 20px;
}

.cards h4 {
  margin: 10px 0px;
}

.left-container {
  left: 0;
}

.right-container {
  right: 0;
}

.section::after  {
  content: '';
  position: absolute;
  width: 6px;
  height: 100%;
  background: red;
  top: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -1;
}

.cv-space {
  text-align: center;
  padding: 40px 50px;
  margin-bottom: 100px;
} 

.outreach-space {
  background-color: var(--color-blue);
  color: var(--color-white);
  text-align: center;
  /* padding-bottom: 200px; */
}

.outreach-space p {
  text-align: center;
  padding: 20px 0px;
  font-size: 30px;
}

.hidden {
  opacity: 0;
  transition: all 1s;
  filter: blur(5px);
  transform: translateY(-70%);
}


.show {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.hidden-disabled {
  transition: none;
}

div.cv {
  display: flex;
  justify-content: center;
}
.small-card {
  display: block;
  background: var(--light-gray);
  box-shadow: 1px 1px 1px 1px black;
  border-radius: 10px;
  margin: 10px auto;
  padding: 15px 15px;
  width: 30%;
}

.small-card img {
  width: 300px;
}

.small-card button {
  padding: 10px 9px;
  background-color: var(--color-blue);
  border-radius: 5px;
  border: none;
}

.small-card a {
  text-decoration: none;
  color: var(--color-white);
}

footer {
  margin-top: 200px;
  color: var(--color-white);
}

@media (prefers-reduced-motion) {
  .hidden {
    transition: none;
  }
}

@media (max-width: 800px) {
  body {
    font-size: small;
    min-width: 100%;
  }
  li.no-hover a img {
    width: 150px;
    
  }

  .hideOnMobile {
    display: none;
  }
  .menu-button {
    display: block;
  }
  nav {
    width: 100%;
    padding: 2px 5px;
  }
  .img-space img {
    justify-content: center;
    width: 300px;
  }
  .main-page {
    padding: 10px 10px;
  }
  .about-content .img-space {
    margin: 0px auto;
  }
  .about-content .textarea p  {
    margin: 5px auto;
    width: 100%;
    line-height: 30px;
    font-style: normal;
    font-size: 16px;
    font-weight: 100;
  }
  .research-page {
    padding: 10px 10px;
  }
  .section {
    margin: 5px 10px;
    position: relative;
    width: 80%;
    /* background: rgb(0, 0, 0, 0.3); */
  }

  div.cv {
    display: grid;
    justify-content: center;
  }
  .small-card {
    display: block;
    background: rgba(247, 242, 242, 0.677);
    box-shadow: 1px 1px 1px 1px black;
    border-radius: 10px;
    margin: 5px 5px;
    padding: 15px 15px;
    width: 85%;
  }
  
  .small-card img {
    width: 150px;
  }
  
  .small-card button {
    padding: 10px 9px;
    background: var(--color-blue);
    border-radius: 5px;
    border: none;
  }
  
  .small-card a {
    text-decoration: none;
    color: var(--color-white);
  }
  
}

@media (max-width: 400px) {
  .sidebar {
    width: 100%;
  }
}

