
.nav {
  display: block;
  position: fixed;
  left: -23px;
  height: 176.9px;
  width: 106vw;
  background: url('../img/Header.png') bottom / auto;
  top: -114px;
  background-position: left;
  z-index: 100;
}

.text-right {
  margin-top: 0;
  margin-bottom: 1rem;
  color: white;
  bottom: 8px;
  right: 150px;
  position: absolute;
}

@media (min-width:1400px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    width: 100%;
    max-width: 100%;
  }
}

#top-menu .row {
  flex-wrap: nowrap;
}

.col-md-3 {
  position: relative;
  margin: 0 4px;



}





.menu-item-BI,
.menu-item-HBS,
.menu-item-MI,
.menu-item-PBS {
  border-radius: 90px;
  border: 20px solid;
}

.menu-item-BI,
.menu-item-HBS,
.menu-item-MI,
.menu-item-PBS {
  margin-top: 60px;
}




#top-menu .col-md-3.menu-item-PBS {
  border-color: #6CCDD6;
  background-image: url("../img/PBS-background.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateY(-60px);
  transition: all 0.8s ease;
}

#top-menu .col-md-3.menu-item-PBS::after {
  background-image: url('../img/PBS-bubble-float.png');
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 60%;
  height: 300px;
  display: block;
  position: absolute;
  margin: 0 auto;
  left: 50px;
  bottom: -260x;
  z-index: 113;
  overflow: visible !important;
  content: "";
}

#top-menu .col-md-3.menu-item-PBS:hover {

  transform: translateY(-20px);

}

#top-menu .col-md-3.menu-item-HBS {
  border-color: #4C93A6;
  background-image: url("../img/HBS-bg.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateY(-60px);
  transition: all 0.8s ease;
}

#top-menu .col-md-3.menu-item-HBS:hover {

  transform: translateY(-20px);

}

#top-menu .col-md-3.menu-item-HBS::after {
  background-image: url('../img/HBS-bubble-float.png');
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 50%;
  height: 300px;
  display: block;
  position: absolute;
  margin: 0 auto;
  left: 50px;
  bottom: -220px;
  z-index: 113;
  overflow: visible !important;
  content: "";
}


#top-menu .col-md-3.menu-item-BI {
  border-color: #1C3D5D;
  background-image: url("../img/BI-bg.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateY(-60px);
  transition: all 0.8s ease;
}

#top-menu .col-md-3.menu-item-MI:hover {

  transform: translateY(-20px);

}

#top-menu .col-md-3.menu-item-MI::after {
  background-image: url('../img/MI-bubble-float.png');
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 50%;
  height: 300px;
  display: block;
  position: absolute;
  margin: 0 auto;
  left: 50px;
  bottom: -220px;
  z-index: 113;
  overflow: visible !important;
  content: "";
}

#top-menu .col-md-3.menu-item-BI::after {
  background-image: url('../img/BI-bubble-float.png');
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 60%;
  height: 300px;
  display: block;
  position: absolute;
  margin: 0 auto;
  left: 50px;
  bottom: -270px;
  z-index: 113;
  overflow: visible !important;
  content: "";
}


#top-menu .col-md-3.menu-item-MI {
  border-color: #264E6C;
  background-image: url("../img/MI-bg.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateY(-60px);
  transition: all 0.8s ease;
}

#top-menu .col-md-3.menu-item-BI:hover {

  transform: translateY(-20px);

}

.col-md-3 img {
  position: absolute;
  object-fit: cover;
  width: 100%;

}

#top-menu {
  position: relative;
  height: 570.8px;
  width: 95%;
  display: block;
  margin-top: -60px;
  margin-bottom: 293px;
}

#top-menu-mobile {
  display: none;
}


@media (max-width: 768px) {
  #top-menu {
    top: 8px;
    position: relative;
    height: 768.8px;
    width: 95%;
  }
}


@media (min-width: 768px) {
  #menu-top-mobile>.col-md-3 {

    flex: 0 0 24.5%;
    width: 95%;
  }
}

#instruction>h1 {
  text-align: center;
  font-weight: bold;
  font-size: 4.2rem;
}

#instruction>h1::after {
  content: '';
  background: linear-gradient(to right, #6ccdd6 0%, #08193F 100%);
  display: block;
  height: 6px;
  width: 100%;
  border-radius: 2rem;

}

#instruction>ul {
  width: fit-content;
  margin: 0 auto;
}

#instruction>p,
ul {
  max-width: 703px;
  margin: 13px auto;
  font-size: 1.2rem;
}

#instruction>ul li {
  list-style-type: none;
}

#instruction>ul li::before {

  content: "\2022";
  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #69C9D2;
  /* Change the color */
  font-weight: bolder;
  font-size: 1.3rem;
  /* If you want it to be bold */
  display: inline-block;
  /* Needed to add space between the bullet and the text */
  width: 1.3em;
  /* Also needed for space (tweak if needed) */
  margin-left: -1em;
  /* Also needed for space (tweak if needed) */

}

#instruction h3 {
  margin-top: 10px;
  font-weight: bold;
  font-style: italic;
}


#top-menu div div h5 {
  padding-bottom: 8px;
  font-size: x-large;
  font-weight: bold;
  border-bottom: 5px solid #263D79;
  z-index: 2;
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.footer-menu-item  div{
  display: flex;
  align-items: center;
  justify-content: center;

}

.footer-menu-item  div p{
  margin: 0;
}
@media (max-width: 1025px) {
  #top-menu div div h5 {
    padding-bottom: 8px;
    font-size: large;
    font-weight: bold;
    border-bottom: 5px solid #263D79;
    z-index: 2;
    position: relative;
    width: 100%;
  }

  #top-menu .white-bg {
    position: absolute;
    width: 121% !important;
    height: 102%;
    background: rgba(255, 255, 255, 0.88);
    z-index: 1;
    border: none;
    padding: 0;
    left: -15px;
    top: -11px;
    border-radius: 70px;
  }

  #footer-menu>.bubble-wrapper {
    display: none !important;
  }

  #top-menu div div h5 {

    margin-top: 0;
  }

  #instruction.container {
    width: 70%;
    margin-bottom: 45px;
    position: relative;
  }


  .bubble-wrapper:nth-child(2) {

    left: 486px !important;
  }

  #instruction>h1 {

    font-size: 2.2rem;
  }

  #pop-up .pop-up-container .pop-up-content .pop-up-content-wrapper {

    font-size: 1rem !important;
    padding: 20px !important;
  }


}

#top-menu div div .menu-item-container {
  height: 591.8px;
  padding: 209px 5px;
  max-height: 768.8px;
  background-repeat: no-repeat;
  position: relative;
  margin: 0 auto;
  display: flex;
  justify-content: end;
  flex-direction: column;
}


@media (max-width: 768px) {
  #top-menu div div {
    height: 548.8px;
    padding: 20px;
    margin-top: 0;
    max-height: 340.8px;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 140px;
    background-color: #6ccdd6;
    border: 17px solid rgb(108, 205, 214);
    margin: 0 auto;
    overflow: hidden;
    width: 78%;
    justify-items: center;
  }
}

h3 {
  margin-top: 33px;
  text-align: center;
}

.h5,
h5 {
  font-size: 1.25rem;
  margin-top: 72px;
  text-align: center;
}

body {
  margin: 0;
  height: fit-content;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #263D79;
  background-color: #fff;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  #top-menu div div img {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
    margin: 0 auto;
    bottom: 0;
    z-index: 0;
  }
}

#top-menu div div img {
  position: absolute;
  left: -123px;
  top: 0;
  margin: 0 auto;
  bottom: -8px;
  z-index: 0;
  flex-shrink: 0;
  min-width: 200%;
  min-height: auto;
}

#top-menu div div p {
  position: relative;
  z-index: 1;
  width: 100%;
  z-index: 2;
}

#top-menu .white-bg {
  position: absolute;
  width: 110%;
  height: 102%;
  background: rgba(255, 255, 255, 0.88);
  z-index: 1;
  border: none;
  padding: 0;
  left: -15px;
  top: -11px;
  border-radius: 70px;
}

#top-menu a {
  z-index: 2;
  display: inline-block;
  margin: 0 20px;
  text-align: center;
  width: 31%;
  font-weight: bolder;
  font-size: 20px;
  color: #851A79;
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x)/ -2);
  margin-left: calc(var(--bs-gutter-x)/ -2);
}

@media (max-width: 900px) {
  .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x)/ -2);
    margin-left: calc(var(--bs-gutter-x)/ -2);
  }

  #pop-up {

    position: absolute;

  }

  .floating-bubbles {
    display: none !important;
  }

  .bubble-wrapper {
    display: none !important;
  }

  #top-menu {
    display: none;
  }

  #footer-menu .col-2 {

    flex: 0 0 auto;
    width: 103.666667%;

  }

  #instruction {
    width: 70%;
    margin-top: 70px;
    margin-bottom: 45px;
    position: relative;
  }

  #top-menu-mobile {
    display: block;
    margin-top: 60px;
  }

  #top-menu-mobile .col-md-3 {
    position: relative;
    margin: 10px auto;
    width: 90%;
    height: fit-content;
    padding: 22px;
    overflow: hidden;
  }

  #top-menu-mobile .menu-item-container {
    opacity: 1;
    transition: all 0.5s ease;
    cursor: pointer;
    z-index: 0;
    transform: translateY(0);
    top: 0;
    position: relative;
  }

  #top-menu-mobile .menu-item-container h5 {
    margin-top: 0;
    font-weight: bold;
  }

  #top-menu-mobile .col-md-3.menu-item-PBS {
    border-color: #6CCDD6;
    background-image: url("../img/PBS-background.jpg");
    background-position: center center;
    background-size: 110% 110%;
    background-repeat: no-repeat;

    transition: all 0.8s ease;
  }

  #top-menu-mobile .col-md-3.menu-item-HBS {
    border-color: #4C93A6;
    background-image: url("../img/HBS-bg.png");
    background-position: center center;
    background-size: 110% 110%;
    background-repeat: no-repeat;

    transition: all 0.8s ease;
  }

  #top-menu-mobile .col-md-3.menu-item-BI {
    border-color: #1C3D5D;
    background-image: url("../img/BI-bg.png");
    background-position: center center;
    background-size: 110% 110%;
    background-repeat: no-repeat;

    transition: all 0.8s ease;
  }

  #top-menu-mobile .col-md-3.menu-item-MI {
    border-color: #264E6C;
    background-image: url("../img/MI-bg.png");
    background-position: center center;
    background-size: 110% 110%;
    background-repeat: no-repeat;

    transition: all 0.8s ease;
  }

  #top-menu-mobile .white-bg {
    position: absolute;
    width: 118%;
    height: 157%;
    background: rgba(255, 255, 255, 0.88);
    z-index: -1;
    border: none;
    padding: 0;
    left: -33px;
    top: -29px;
    border-radius: 70px;
  }


}

#top-menu .link-container {
  width: fit-content;
  display: flex;
  margin: 0 auto;
  flex-direction: row;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  text-align: center;
  height: fit-content;
  overflow: visible;
}

html {
  font-family: proxima-nova, sans-serif;
}

.menu-item-container {
  opacity: 0;
  transition: all 0.5s ease;
  cursor: pointer;
  z-index: 2;
  transform: translateY(-100px);
}

.menu-item-container:hover {
  opacity: 100;
  transform: translateY(0);
}

#instruction {
  width: 70%;
  margin-bottom: 155px;
  position: relative;
}

#footer-menu {
  display: flex;
  width: 100%;
  position: relative;
  padding: 0;
  padding-bottom: 16px;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  background: linear-gradient(to right, #6ccdd6 0%, #08193F 100%);
  transition: all 0.5s ease;
  z-index: 1;
}

#bubble-container {
  position: absolute;
  bottom: -468px;
  z-index: 0;
  display: none;
}

#footer-menu .row {
  margin: 0;
  padding: 0;
}



#footer-menu .footer-menu-item {
  display: flex;
  padding: 0 14px;
  width: 100%;
  margin: 10px auto;
  text-align: center;
  flex-wrap: wrap;
  font-size: 1.2rem;
  z-index: 1;
}


#footer-menu .footer-menu-item>div {
  padding: 20px 5px;
  border: solid 2px white;
  color: white;
  border-radius: 60px;
  margin: 0 auto;
  cursor: pointer;
  transition: all 0.5s ease;
}

#footer-menu .footer-menu-item>div:hover {

  color: #08193F;

}

.col-2 {
  flex: 0 0 auto;
  width: 13.666667%;
}

#footer-menu .footer-menu-item>div:nth-child(1) {
  background-color: #69C9D2;
}

#footer-menu .footer-menu-item>div:nth-child(1):hover {
  background-color: #ffffff;
}

#footer-menu .footer-menu-item>div:nth-child(2) {
  background-color: #61BBC7;
}

#footer-menu .footer-menu-item>div:nth-child(2):hover {
  background-color: #ffffff;
}


#footer-menu .footer-menu-item>div:nth-child(3) {
  background-color: #4C93A6;
}

#footer-menu .footer-menu-item>div:nth-child(3):hover {
  background-color: #ffffff;
}

#footer-menu .footer-menu-item>div:nth-child(4) {
  background-color: #4C93A6;
}

#footer-menu .footer-menu-item>div:nth-child(4):hover {
  background-color: #ffffff;
}


#footer-menu .footer-menu-item>div:nth-child(5) {
  background-color: #264E6C;
}

#footer-menu .footer-menu-item>div:nth-child(5):hover {
  background-color: #ffffff;
}


#footer-menu .footer-menu-item>div:nth-child(6) {
  background-color: #1C3D5D;
}

#footer-menu .footer-menu-item>div:nth-child(6):hover {
  background-color: #ffffff;
}

#footer-menu .footer-menu-item>div:nth-child(7) {
  background-color: #08193F;
}

#footer-menu .footer-menu-item>div:nth-child(7):hover {
  background-color: #ffffff;
}

.bubble-wrapper:nth-child(1) {
  position: absolute;
  z-index: 0;
  top: -81px;
  width: 186px;
  left: 71px;
  height: fit-content;
}

.bubble-wrapper:nth-child(2) {
  position: absolute;
  z-index: 0;
  top: -81px;
  display: block;
  left: 943px;
  width: 186px;
  height: fit-content;
}

.slide-right {
  -webkit-animation: slide-right 10s ease-in-out infinite alternate-reverse both;
  animation: slide-right 10s ease-in-out infinite alternate-reverse both;
}


@-webkit-keyframes slide-right {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(100px);
    transform: translateX(100px);
  }
}

@keyframes slide-right {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(100px);
    transform: translateX(100px);
  }
}

#pop-up {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 2;
  padding: 0;
  margin: 0;
  display: none;
  top: 0;
  justify-content: center;
}

#pop-up .pop-up-container {
  background: linear-gradient(to bottom, #6ccdd6 0%, #08193F 100%);
  max-width: 990px;
  height: fit-content;
  padding: 15px;
  margin: 0 15px;
  position: absolute;
  border-radius: 3rem;
  opacity: 1;
  top: 60px;
  z-index: 2;
  display: flex;
}

.whiteBG {
  background-color: #ffffffbb;
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
  cursor: pointer;
}

#pop-up .pop-up-container .pop-up-content .pop-up-content-wrapper {
  width: 100%;
  background-color: white;
  border-radius: 3rem;
  padding: 30px;
  opacity: 1;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
}

#pop-up .pop-up-container .pop-up-content .pop-up-content-wrapper h3 {
  background-color: white;
  border-radius: 3rem;
  padding: 0;
  opacity: 1;
  font-weight: bold;
  margin-top: 0;
}

/* #pop-up>div>div>div>ul>li {
  list-style: none;
} */


a {
  color: #851A79;
  font-weight: bold;
}

#pop-up .pop-up-container .pop-up-content .close-button {
  width: fit-content;
  height: fit-content;
  position: absolute;
  display: block;
  right: 60px;
  cursor: pointer;
  font-size: 2rem;
  font-weight: bolder;
}

#pop-up .floating-bubbles {
  width: 70%;
  height: 30%;
  z-index: 1;
  position: absolute;
  left: 0;
  top: 50vh;
  display: block;
  margin: 0 auto;
}

.floater-top img,
.floater-bottom img {
  width: 100%;
  height: auto;
}

#pop-up .floating-bubbles .floater-top {
  position: absolute;
  display: block;
  width: 20%;
  height: auto;
  top: -130px;
  left: 230px;
}

#pop-up .floating-bubbles .floater-bottom {
  position: absolute;
  display: block;
  width: 20%;
  height: auto;

}

.shadow-drop-center {
  -webkit-animation: shadow-drop-center 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: shadow-drop-center 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}


@-webkit-keyframes shadow-drop-center {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }

  100% {
    -webkit-box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.35);
  }
}

@keyframes shadow-drop-center {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }

  100% {
    -webkit-box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.35);
  }
}

.fade-in-fwd {
  -webkit-animation: fade-in-fwd 0.6s ease both;
  animation: fade-in-fwd 0.6s ease both;
  animation-delay: 0.1s;
}

@-webkit-keyframes fade-in-fwd {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in-fwd {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    transform: scale(1);
    opacity: 1;
  }
}

.fade-out-bck {
  -webkit-animation: fade-out-bck 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: fade-out-bck 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation-delay: 0.1s;
}


@-webkit-keyframes fade-out-bck {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
}

@keyframes fade-out-bck {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
}

@media (min-width: 1000px) and (max-width: 1200px) {
  #top-menu div div .menu-item-container {
    
    padding: 30px 5px;
    height: 641.8px;
   
}
  #top-menu .link-container {
  
    flex-direction: column;
    margin: 0;
  }
  .col-md-3{
    margin: 0;
  }
  #top-menu{
    width: 100%;
    max-width: 100%;
  }
  .footer-menu-item  div{
    display: flex;
    align-items: center;
    justify-content: center;

  }

  .footer-menu-item  div p{
    margin: 0;
    font-size: 1.1rem;
  }
}