html, body {
    overflow-x: hidden;
}


body {
    background-color: white;
    color: #333333;
    font-family: "Nunito", sans-serif;
}

/* H TAGS */
h1,h2,h3,h4,h5,h6 {
    font-family: "Nunito", sans-serif;
}
h1 {
    font-size: 62px;
    line-height: 120%;
    font-weight: 500;
}
h2 {
    font-size: 42px;
    font-weight: 600;
    color: #0662B6;
    line-height: 120%;
    margin-bottom: 40px;
}

/* Anchor offset */
[id]::before {
  content: '';
  display: block;
  height:      35px;
  margin-top: -35px;
  visibility: hidden;
}

/* Buttons */
.secondary {
    background-color: #FFF;
    border: 1px solid #0076D1;
    border-radius: 10px;
    color: #0076D1;
    padding: 12px 18px 10px 18px;
    text-transform: uppercase;
    margin-top: 20px;
    -webkit-transition: color .25s linear;
    transition: color .25s linear;
    transition: background-color .15s linear .1s;
}
.secondary:hover {
    background-color: #F1F9FF;
    border-color: #233D7D;
    color: #233D7D;
}

/* Navigation */
.header {
    padding: 28px 0;
}
.logo img{
    height: 44px !important;
    width: auto;

}
.header ul{
    width: 100%;
    text-align: right;
    margin: 0px;
    vertical-align: middle;
}
.header ul li{
    list-style: none;
    font-weight: 400;
    text-decoration: none;
    padding-left: 30px;

}
.header ul li a {
    border-bottom: 1px solid transparent;
    color: #333;
    transition: 600ms;
    text-decoration: none;

}
.header ul li a:hover {
    color: #2674BB;
    border-color: #2674BB;
}


/* Hero */
.hero {
    height: 600px;
    background: url(../img/hero2-couple-md.png), linear-gradient(90deg, rgba(15, 60, 131, 0.9), rgba(255, 255, 255, 0)), url(../img/hero2-bg.jpg);
    vertical-align: middle;
    display: block;
    background-position: top 0px right 60px, 0px 0px, bottom center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size:  50% auto, auto, 100% auto;
}
.hero h1 {
    color: #fff;
}

/* Edge fo Sience */
.block-edge .row{
    margin: 180px auto;
}

/* Our mission */
.block-mission {
    background-image: url(../img/bg-mission-2.png);
    padding: 180px 0 180px 0;
}

.mission-bg {
    background-image: url(../img/bg-mission-3.png) !important;
    background-size: cover;
}

.block-mission .container{
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 100%);
    padding: 60px;
    border-radius: 32px;
}
.block-mission img {
    max-width: 70%;
    margin: auto;
}

/* Science */
.block-science .row {
    margin: 180px auto;
}

/* Join Us */
.block-join {
    background-image:url("../img/join-bg.png");
    padding: 180px 0 180px 0;

}
.block-join .details{
    background-color: #FFF;
    border-radius: 30px;
    padding: 60px;
}

/* Footer */
.footer {
    background-color: #091E37;
    color: #fff;
}

.footer-content {
    font-size: 14px;
    font-weight: 400;
    padding: 60px 0;
    line-height: 200%;
}
.footer-content img {
    max-width: 18px;
    height: auto;
    margin-right: 4px;
}
.footer-content a {
    color: #B5BBC3;
    text-decoration: none;
}
.footer-content a:hover {
    text-decoration: underline;
}

.footer-content span {
    margin: 0 4px;
    color: #304257;
}

/* Supporting Pages */
.subpage {
    background-color: #124E78;
    padding: 80px 0;
    margin-bottom: 60px;
}
#subpage {
    margin-bottom: 60px;
}
.subpage h2 {
    color: #fff;
    margin-bottom: 0;
}
#subpage h1 {
    font-size: 32px;
    margin-bottom: 20px;
}
#subpage h2 {
    font-size: 26px;
    margin-bottom: 20px;
}
#subpage h3 {
    font-size: 20px;
    margin-bottom: 20px;
}
#subpage p, #subpage li {
    font-weight: 400;
    font-weight: normal;
}
.ham {
    width: 32px;
    height: auto;
    margin-left: auto;
}
.footer-content {
    padding: 40px 15px;
}

#hamburger-icon {
  margin: auto 0;
  display: none;
  cursor: pointer;
  float: right;
}

#hamburger-icon div {
  width: 35px;
  height: 3px;
  background-color: #124E78;
  margin: 6px 0;
  transition: 0.4s;
  border-radius: 10px;
}

.open .bar1 {
  -webkit-transform: rotate(-45deg) translate(-6px, 6px);
  transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  -webkit-transform: rotate(45deg) translate(-6px, -8px);
  transform: rotate(45deg) translate(-6px, -8px);
}

.open .mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #fff;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 95px;
  left: 0;
  height: calc(100vh - 95px);
  width: 100%;
}

.mobile-menu {
    margin: 0;
    padding: 0;
}

.mobile-menu li {
  margin-bottom: 10px;
}

@media (max-width: 1500px) {
    .hero {
        background-position: top 0px right 0px, 0px 0px, top center;
        background-size:  60% auto, auto, 100% auto;
    }
}

@media (max-width: 1250px) {
    .hero {
        background-position: top 0px right -100px, 0px 0px, top center;
        background-size:  70% auto, auto, 100% auto;
    }
    .hero h1 {
        font-size: 52px;
    }
}

@media (max-width: 1060px) {
    .hero {
        background-position: top 0px right -180px, 0px 0px, top center;
        background-size:  80% auto, auto, 100% auto;
    }
}

@media (max-width: 991px) {
    .hero {
        background-position: bottom 0px right -100px, 0px 0px, bottom center;
        background-size:  90% auto, auto, 100% auto;
    }
    .hero h1 {
        margin-top: 100%;
        margin-bottom: 540px;
        line-height: 110%;
        text-shadow: 2px 2px #666;
        font-size: 52px;
    }
    .block-edge .row {
        margin: 60px auto;
    }
    #about_us .img-fluid {
        margin-bottom: 40px;
    }
    #mission {
        padding: 60px 20px;
    }
    #mission .img-fluid {
        margin-top: 40px;
    }
    .block-mission img {
        max-width: 100%;
    }
    .block-mission .container, .block-join .details {
        background: none;
        padding: 25px;
    }
    .block-science .row {
        margin: 80px auto 60px auto;
    }
    .block-science .img-fluid {
        margin-bottom: 40px;
    }
    .block-join {
        padding: 60px 20px 80px 20px;
    }

}

@media (max-width: 768px) {

    h1 {
        font-size: 46px;
        line-height: 100%;
    }
    h2 {
        font-size: 32px;
        margin-bottom: 24px;
    }
    .logo img {
        height: 36px !important;
        width: auto;
    }
    .mobile-menu {
        top: 75px;
    }
    .header {
        padding: 20px;
    }
    .header ul {
        display: none;
    }
    .header ul li {
        padding: 0;
        margin: 20px auto;
    }
    .hero {
        background-position: bottom 0px right -100px, 0px 0px, bottom center;
        background-size:  90% auto, auto, 100% auto;
    }
    .hero h1 {
        margin-top: 100%;
        margin-bottom: 270px;
        line-height: 110%;
    }
    .block-join {
        padding-bottom: 40px;
    }
    .block-join .details {
        padding: 40px;
    }
    .text-md-start {
        margin-bottom: 30px;
    }
    .header nav {
        display: none;
    }
    #hamburger-icon {
        display: block;
    }
    .block-mission img {
        max-width: 70%;
    }
}

@media (max-width: 680px) {
    .hero {
        background-position: bottom 0px right -100px, 0px 0px, bottom center;
        background-size:  100% auto, auto, 100% auto;
        height: 540px;
    }

}

@media (max-width: 600px) {
    .block-mission .container, .block-join .details{
        padding: 5px;
    }

}

@media (max-width: 560px) {
    .hero {
        background-position: bottom 0px right -100px, 0px 0px, bottom center;
        background-size:  120% auto, auto, 100% auto;
    }

}

@media (max-width: 500px) {
    #about_us {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    #mission {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .block-mission img {
        margin-top: 20px;
        max-width: 85%;
    }
    .hero {
        height: 620px;
        background: url(../img/hero2-couple-mobile.png), url(../img/hero2-bg.jpg);
        background-position: bottom -280px left -20px, top 0px center;
        background-size:  540px auto, 1560px auto;
        background-repeat: no-repeat;
        padding: 0;
    }
    .hero .container {
        padding: 0;
    }
    .hero h1 {
        margin-top: 0;
        margin-bottom: auto;
        width: 100%;
        text-align: center;
        padding-top: 30px;
        text-shadow: none;
        font-size: 32px;
        font-weight: 500;
        color: #0662B6;
    }
}

/* Collapse section */
#extra-text {
    display: block;
    margin-bottom: 15px;
    color: #0076D1;
}
