body {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  margin: 0;
  padding: 0;
  background-color: white;
}

.header {
  /*position: fixed;*/
  width: 100%;
  background-color: transparent;
  transition: background-color 0.3s ease-in-out;
  /*z-index: 1000;*/
}

.navigation a {
  text-decoration: none;
  color: white;
  margin: 0 6px;
  font-size: 18px;
  font-weight: 600;
}

a#hide-menu {
  display: none;
}

.header.scrolled {
  background-color: white;
}

.header.scrolled .navigation a {
  color: black;
}

.header.scrolled {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: linear-gradient(to right, #2F2B8C, #04BFBF);
}

.header-title {
  color: white;
  font-size: 18px;
  width: 100%;
  margin-left: 10%;
}

.logo-img {
  width: 50%;
  height: auto;
  /* margin-right: -6%; */
  margin-left: 15%;
  display: block;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 95%;
  color: black;
  margin-top: 15px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  color: white;
  background-color: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  font-weight: 600;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2e2d8d;
  min-width: 125px;
  z-index: 1;
  margin-top: 1%;
  padding: 10px 0;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 18px;
}

.dropdown-content a:hover {
  background-color: #77feff61;
  border-left: 3px solid #06b5bb;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.hamburger-icon {
  display: none;
  cursor: pointer;
  font-size: 30px;
  color: white;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  margin: 20px -10px;
  margin-left: 70px;
}

.menu-logo {
  display: none;
}

.close-icon {
  display: none;
}


.dropdown-content a {
  color: white !important;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 18px;
  background-color: #2e2d8d;
}

.dropdown-content a:hover {
  background-color: #77feff61 !important;
  border-left: 3px solid #06b5bb;
}

.dropdown:hover .dropdown-content {
  display: block;
  background-color: #2e2d8d !important;
}

@media (max-width: 768px) {
  a#hide-menu {
    display: block;
  }

  .close-icon {
    display: block;
  }

  .navigation {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  a.dropbtn {
    display: none;
  }

  body {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    margin: 0;
    padding: 0;
    background-color: white;
  }

  .header {
    /*position: fixed;*/
    width: 100%;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
    z-index: 1000;
    padding: 0px;
    padding-bottom: 18px;
  }

  .navigation a {
    text-decoration: none;
    color: black;
    margin: 0 6px;
    font-size: 18px;
    font-weight: 600;
  }

  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: linear-gradient(to right, #2F2B8C, #04BFBF);
  }

  .header-title {
    color: white;
    font-size: 18px;
    width: 100%;
    margin-left: 10%;
  }

  .logo-img {
    width: 35%;
    height: auto;
    margin-right: 2%;
    margin-left: 6%;
  }

  .hamburger-icon {
    display: block;
    color: black;
    font-size: 40px;
    cursor: pointer;
    z-index: 1000;
    font-weight: bold;
    margin-right: 5%;
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-color: white;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    /*overflow-y: auto;*/
  }


  .menu.show {
    display: flex;
    transform: translateX(0);
    gap: 0%;
    margin: 0;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
  }

  .menu.show+.hamburger-icon {
    display: none;
  }

  .menu a {
    display: block;
    margin: 15px 0;
    font-size: 24px;
    text-decoration: none;
    color: #2F2B8C;
  }

  .menu a:hover {
    color: #2F2B8C;
  }

  .menu a.active {
    color: #2F2B8C;
    font-weight: bold;
  }

  .menu-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    width: 100%;
    justify-content: center;
  }

  .close-icon {
    position: absolute;
    bottom: 70%;
    right: 15%;
    font-size: 50px;
    color: #2e2d8d;
    cursor: pointer;
  }

  .menu-logo {
    display: block;
    width: 50%;
    height: auto;
    margin-left: 10px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .dropdown {
    position: relative;
    display: none;
  }

  .dropbtn {
    color: white;
    background-color: transparent;
    border: none;
    padding: 14px 16px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #2e2d8d;
    min-width: 125px;
    z-index: 1;
    margin-top: 1%;
    padding: 10px 0;
  }

  .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 18px;
  }

  .dropdown-content a:hover {
    background-color: #77feff61;
    border-left: 3px solid #06b5bb;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  @keyframes slideIn {
    from {
      transform: translateX(100%);
    }

    to {
      transform: translateX(0);
    }
  }

  @keyframes slideOut {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(100%);
    }
  }

  .menu.show {
    animation: slideIn 0.3s ease-in-out;
  }

  .menu.closing {
    animation: slideOut 0.3s ease-in-out forwards;
  }
}

@media (max-width: 431px) {
  a#hide-menu {
    display: block;
  }

  .close-icon {
    display: block;
  }

  .navigation {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  a.dropbtn {
    display: none;
  }

  body {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    margin: 0;
    padding: 0;
    background-color: white;
  }

  .header {
    /*position: fixed;*/
    width: 100%;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
    z-index: 1000;
    padding: 0px;
    padding-bottom: 18px;
  }

  .navigation a {
    text-decoration: none;
    color: black;
    margin: 0 6px;
    font-size: 18px;
    font-weight: 600;
  }

  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: linear-gradient(to right, #2F2B8C, #04BFBF);
  }

  .header-title {
    color: white;
    font-size: 18px;
    width: 100%;
    margin-left: 10%;
  }

  .logo-img {
    width: 50%;
    height: auto;
    margin-right: 2%;
    margin-left: 6%;
  }

  .hamburger-icon {
    display: block;
    color: black;
    font-size: 40px;
    cursor: pointer;
    z-index: 1000;
    font-weight: bold;
    margin-right: 5%;
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-color: white;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    /*overflow-y: auto;*/
  }


  .menu.show {
    display: flex;
    transform: translateX(0);
    gap: 0%;
    margin: 0;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
  }

  .menu.show+.hamburger-icon {
    display: none;
  }

  .menu a {
    display: block;
    margin: 15px 0;
    font-size: 24px;
    text-decoration: none;
    color: #2F2B8C;
  }

  .menu a:hover {
    color: #2F2B8C;
  }

  .menu a.active {
    color: #2F2B8C;
    font-weight: bold;
  }

  .menu-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    width: 100%;
    justify-content: center;
  }

  .close-icon {
    position: absolute;
    bottom: 70%;
    right: 15%;
    font-size: 50px;
    color: #2e2d8d;
    cursor: pointer;
  }

  .menu-logo {
    display: block;
    width: 50%;
    height: auto;
    margin-left: 10px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .dropdown {
    position: relative;
    display: none;
  }

  .dropbtn {
    color: white;
    background-color: transparent;
    border: none;
    padding: 14px 16px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #2e2d8d;
    min-width: 125px;
    z-index: 1;
    margin-top: 1%;
    padding: 10px 0;
  }

  .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 18px;
  }

  .dropdown-content a:hover {
    background-color: #77feff61;
    border-left: 3px solid #06b5bb;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  @keyframes slideIn {
    from {
      transform: translateX(100%);
    }

    to {
      transform: translateX(0);
    }
  }

  @keyframes slideOut {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(100%);
    }
  }

  .menu.show {
    animation: slideIn 0.3s ease-in-out;
  }

  .menu.closing {
    animation: slideOut 0.3s ease-in-out forwards;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 3) {
  .menu.show {
    margin: 0;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
  }

  .logo-img {
    margin-left: 6%;
  }

  .hamburger-icon {
    margin-right: 5%;
  }

}