:root {
  --main-color: linear-gradient(
    90deg,
    rgba(74, 77, 93, 0.938813025210084) 22%,
    rgba(58, 51, 71, 0.7707457983193278) 35%,
    rgba(107, 103, 138, 0.7819502801120448) 52%,
    rgba(11, 22, 59, 0.7819502801120448) 73%
  );
}

h1 {
  text-align: center;
  font-family: "Edu AU VIC WA NT Pre", serif;
  font-optical-sizing: auto;
  font-weight: 500;
}

p {
  line-height: 2;
}

#work-email:focus {
  box-shadow: 0px 9px 30px rgb(91, 108, 202);
  background-color: #848586;
}

.logo {
  height: 35px;
}

.navbar {
  background: var(--main-color);
}

.under-navbar {
  color: black;
  padding: 20px;
  background: var(--main-color);
}
.navbar-brand {
  color: #d4cdcd !important;
}
.nav-link {
  color: black  !important;
  font-weight: bold    !important;
}

.line {
  border-bottom: 1px solid #888;
}

.va-photo {
  width: 400px;
  margin-top: 10px;
}

.va-kori {
  width: 450px;
}

.work-list {
  padding: 20px 200px 5px;
}

.document {
  padding-top: 5px;
  text-align: center;
}

.content-container {
  padding: 0px 150px 30px;
}

.content-container-research {
  padding: 0px 300px 30px;
}

.aboutPG {
  text-align: center;
}

.wrapping-container {
  background-color: #fafbff;
}

.content h2 {
  padding-top: 35px;
}

.content-width {
  max-width: 50% !important;
}

.footer {
  font-size: small;
}

@media (max-width: 991.98px) {
  /* Keep the navbar in the normal page layout */
  .navbar {
    position: relative !important;
    height: auto;
  }

  .navbar > .container,
  .navbar > .container-fluid {
    flex-wrap: wrap;
  }

  /* The opened menu occupies a full row */
  .navbar .navbar-collapse {
    position: static !important;
    flex-basis: 100%;
    width: 100%;

    margin: 10px 0 0;
    padding: 0;

    background: transparent;
  }

  /*
   * No separate background here.
   * The navbar's existing gradient appears behind the menu,
   * so it matches the background behind the Georgian name.
   */
  .navbar .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 6px 0 8px;

    background: transparent;
    border-top: 1px solid rgba(212, 205, 205, 0.35);
    border-radius: 0;
    box-shadow: none;
  }

  .navbar .navbar-nav .nav-item {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .navbar .navbar-nav .nav-link {
    display: block;
    width: 100%;

    margin: 0;
    padding: 8px 18px;

    color: #d4cdcd;
    font-size: 16px;
    line-height: 1.3;
    text-align: right;
  }

  .navbar .navbar-nav .nav-link:hover,
  .navbar .navbar-nav .nav-link:focus {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* Hamburger button */
  .navbar-toggler {
    padding: 5px 8px;
    border-width: 2px;
  }

  .navbar-toggler-icon {
    width: 1.4em;
    height: 1.4em;
  }

  /* Page content */
  .content-container {
    padding: 0 10px;
    text-align: left;
  }

  .content-container-research {
    padding: 0 7px;
  }

  .va-photo {
    width: 350px;
    max-width: 100%;
    height: auto;
    margin-top: 5px;
  }

  .content h1,
  .content h2 {
    padding-top: 5px;
  }

  .content-width {
    max-width: 100% !important;
  }

  .work-list {
    padding: 10px 20px 0;
  }
}
