/* media So to get the media query calculstion you just divide your desired width by 16 (width / 16), then to get the pixels yould then multiply you max-width by 16 (max-width * 16)  */

/********************************/
/* BELOW  2016px (Large desktops)*/
/********************************/

@media (max-width: 126em) {
  .Mainnav {
    padding: 0 0;

    gap: 2.4rem;
    justify-content: space-around;
  }

  .nav-link {
    font-size: 1.8rem;
  }

  .icon {
    font-size: 2.4rem;
  }

  .socials-icons-list {
    gap: 2.4rem;
  }

  .nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
  }

  .nav-btn {
    font-size: 1.6rem;
  }

  .nav-btn-2 {
    padding: 0.4rem 2rem;
  }

  .records {
    gap: 10rem;
  }

  .about-hero-section {
    height: 100vh;
  }
}

/********************************/
/* BELOW  1680px (Smaller desktops)*/
/********************************/

@media (max-width: 105em) {
  html {
    font-size: 50.2%;
    /* overflow-x: hidden; */
  }

  .logo {
    width: 9rem;
  }

  .logo-box::before {
    width: 90px;
    height: 90px;
  }

  .logo-box::after {
    width: 110px;
    height: 110px;
  }

  .about-hero-section {
    height: 100vh;
  }
}

/********************************/
/* BELOW  1536px (Smaller desktops)*/
/********************************/

@media (max-width: 96em) {
  html {
    font-size: 48.2%;
    /* overflow-x: hidden; */
  }

  .record-h {
    text-align: center;
  }

  .record-txt {
    text-align: center;
  }

  .about-hero-section {
    height: 100vh;
  }
}

/********************************/
/* BELOW  1296px (Smaller desktops)*/
/********************************/

@media (max-width: 81em) {
  .nav-list {
    gap: 2.5rem;
  }
  .socials-icons-list {
    gap: 1.8rem;
  }
  .nav-link {
    font-size: 1.7rem;
  }
  .icon {
    font-size: 2.4rem;
  }

  .logo {
    width: 8rem;
  }
  .logo-box {
    width: 130px;
    height: 130px;
  }

  .Mainnav {
    gap: 1.2rem;
    justify-content: space-around;
    height: fit-content;
  }

  .txt1 {
    font-size: 1.6rem;
  }
  .txt2 {
    font-size: 1.2rem;
  }
  .txt3 {
    font-size: 1.2rem;
  }

  .nav-link {
    font-size: 1.4rem;
  }

  .socials-icons-list {
    /* flex-direction: column;
    gap: 0px; */
  }

  /* .hero-imgs {
    height: 89vh;
  } */

  .about-hero-title {
    font-size: 8rem;
  }

  .about-h-txt {
    font-size: 2.5rem;
    max-width: 60rem;
  }

  .records {
    gap: 8rem;
  }

  .core-card {
    padding: 3.2rem 0.3rem;
  }
  .core-p {
    max-width: 300rem;
    /* text-align: center; */
  }

  .lead-img {
    width: 70rem;
  }

  .about-hero-section {
    height: 100vh;
  }
}

/********************************/
/* BELOW  1160px (Smaller desktops)*/
/********************************/
@media (max-width: 73em) {
  .core-card {
    width: 25rem;
  }

  .records {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .divider2 {
    display: none;
  }

  .num-blocks {
    background: #1a3a6b;
    border-radius: 50%;
    padding: 35%;

    height: 15rem;
    width: 15rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .record-number {
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
  }

  .record-header {
    font-size: 3rem;
    letter-spacing: 1px;
    color: #1a3a6b;
  }

  .last-num-block {
    grid-column: 1/3;
    justify-self: center;
  }

  .record-section {
    padding: 2.4rem 2.4rem;

    background: none;
  }

  .about-hero-section {
    height: 100vh;
  }

  .lead-img {
    width: 50rem;
  }
  .lead-p {
    font-size: 1.7rem;

    max-width: 50rem;
  }

  .leadership-header {
    text-align: center;
  }

  .leadership-txt-part {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .socials-hide {
    display: none;
  }

  .head-of-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
  }

  .core-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-p-2 {
    grid-column: 1/3;
    justify-self: center;
  }
}

/********************************/
/* BELOW  944px (Smaller desktops)*/
/********************************/
@media (max-width: 59em) {
  .lead-group {
    display: flex;
    flex-direction: column-reverse;
  }

  .leadership-img-part {
    margin-bottom: 3rem;
  }

  .record-section {
    background-color: #e8f0fa;
    border-radius: 15px;
    border: 1px solid #1a3a6b;
  }

  .about-h-txt {
    font-size: 2rem;
  }

  .about-hero-title {
    font-size: 6rem;
  }

  /* Hide destop navigation */
  .nav-main,
  .socials {
    display: none;
  }

  /* Show hambuger */
  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 5rem;
    height: 5rem;

    border: none;
    background: transparent;
    cursor: pointer;
  }

  /* The three lines */

  .hambuger {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .hambuger span {
    display: block;

    width: 3.2rem;
    height: 0.3rem;

    background-color: #e8f0fa;
    border-radius: 10px;

    transition: all 0.3s ease;
  }

  /* MOBILE MENU */

  .mobile-menu {
    display: flex;

    position: absolute;

    top: 100%;
    right: 2rem;

    width: 25rem;

    padding: 2rem;

    background-color: #1a3a6b;

    flex-direction: column;
    gap: 1.8rem;

    border-radius: 0 0 1rem 1rem;

    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);

    /* Hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);

    transition: all 0.3s ease;

    z-index: 1000;
  }

  /* Menu becomes visible when JS adds .active */

  .mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Mobile links */

  .mobile-menu a {
    color: #fdf2e9;
    text-decoration: none;
    font-size: 1.8rem;
    padding: 0.8rem 1rem;
    transition: 0.2s ease;
  }

  .mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
  }

  /* Mobile social icon */

  .mobile-socials {
    display: flex;

    gap: 1.5rem;

    padding-top: 1rem;

    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-socials ion-icon {
    font-size: 2.5rem;
    color: #e8f0fa;
  }

  /* on to */

  .records {
    max-width: 99vw;
    padding: 0 2rem;
  }

  .program-cards {
    column-gap: 8rem;
  }

  .head-of-footer {
    grid-template-columns: repeat(2, 1fr);
    justify-items: left;
    align-items: left;
    column-gap: 8rem;

    padding: 0 5rem;
  }

  .mobile-menu.active {
    display: flex;
  }

  .about-hero-section {
    height: 70vh;
  }
}

/********************************/
/* BELOW  816px (Smaller desktops)*/
/********************************/
@media (max-width: 51em) {
  .about-hero-section {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 1.2rem;

    height: 70%;

    margin-bottom: 6rem;

    margin-top: 9rem;
  }
  .all-about-hero-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-hero-header {
    align-items: center;
  }

  .about-hero-text {
    text-align: center;
  }

  .about-hero-image {
    width: 90%;
    display: flex;
    justify-content: center;
  }

  .about-h-img {
    width: 100%;
  }

  .m-and-v {
    display: flex;
    flex-direction: column;
  }

  .mAv-section {
    /* margin-top: 20rem; */
  }
}

/********************************/
/* BELOW  688px (Smaller desktops)*/
/********************************/
@media (max-width: 43em) {
  /* .hero-imgs {
    height: 70vh;
    width: 100vw;
  }

  .all-hero-section {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .program-cards {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 8rem;

    column-gap: 8rem;
  }

  .latest-news-pair {
    flex-direction: column;
    justify-content: center;
  }

  .news-img {
    border-radius: 50%;
  }

  .news-text {
    text-align: center;
  }

  .hero-welcome {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 7.4rem;
  }

  .h-txt {
    font-size: 2rem;
  }
  .hero-btn {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    justify-content: center;
  }

  .btn-1 {
    margin-bottom: 3rem;
  }
  .remove-space {
    margin-right: 0;
  }

  .card-body {
    max-width: 30rem;
    padding: 2.4rem 0rem;
  }

  .ready-head-txt {
    font-size: 3.3rem;
  }

  .ready-txt {
    margin-bottom: 1.2rem;
  }

  .about-cards {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 6.4rem;
    column-gap: 9.6rem;

    margin-top: 3.2rem;
  } */
}

/********************************/
/* BELOW  576px (Smaller desktops)*/
/********************************/
@media (max-width: 36em) {
  /* .hero-imgs {
    height: 70vh;
    width: 100vw;
  } */
  /* 
  .all-hero-section {
    left: -4%;
  }

  .news {
    border-radius: 15px;
    padding: 9rem 14rem;
  }

  .upcoming-events {
    border-radius: 15px;
    padding: 9rem 14rem;
  }

  .ready {
    width: 90vw;
    height: 20vh;
  }

  .records {
    max-width: 85%;
  }

  .program-cards {
    row-gap: 5rem;

    column-gap: 3rem;
  } */

  .Mainnav {
    height: 6vh;
  }

  /* .news-head {
    width: 8rem;

    max-width: 70%;
  } */

  .txt1,
  .txt2 {
    display: none;
  }

  .txt3 {
    text-align: center;
    max-width: 2rem;

    margin-top: 3rem;
  }

  .nav-dot {
    display: none;
  }

  .Mainnav {
    justify-content: space-between;
    height: 12rem;
  }

  .img-txt {
    margin-left: 2rem;
  }

  .menu-btn {
    margin-right: 2rem;
  }

  .logo {
    width: 7.7rem;
  }

  .logo-box::before {
    width: 80px;
    height: 80px;
  }
  .logo-box::after {
    width: 100px;
    height: 100px;
  }
}

/********************************/
/* BELOW  480px (Smaller desktops)*/
/********************************/
@media (max-width: 30em) {
  .Mainnav {
    height: 11vh;
  }

  .head-of-footer {
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
    align-items: center;
  }

  .mission-p,
  .vision-p {
    font-size: 1.7rem;
    max-width: 600px;
    text-align: center;
  }

  .vision,
  .mission {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.8rem;
  }

  .mission-h,
  .vision-h {
    text-align: center;
  }

  .icon-about {
    font-size: 5.2rem;
  }

  .core-cards {
    grid-template-columns: 1fr;
  }

  .grid-p-2 {
    grid-column: 1/1;
    justify-self: center;
  }
}

/********************************/
/* BELOW  368px (Smaller desktops)*/
/********************************/
@media (max-width: 23em) {
  .lead-img {
    width: 40rem;
  }

  .records {
    grid-template-columns: 1fr;
  }

  .last-num-block {
    grid-column: 1 / 1;
    justify-self: center;
  }

  .record-header {
    text-align: center;
  }
}
