/* 
$--primary: #003769;
$--accent: #002241; 
#333
*/

* {
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
  font-family: Nunito;
  font-style: normal;
}

.header {
  display: flex;
  align-items: center;
  background-color: white;
  height: 500px;
  gap: 1rem;
  padding: 0;
  width: 900px;
  margin: 0 auto;
  padding-right: 100px;
}

.header h1 {
  color: #003769;
  text-align: center;
  font-size: 36px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 5px;
}

.header p {
  width: 90%;
  color: #333;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 1px;
}

.banner {
  height: auto;
  margin-top: -2rem;
  width: 350px;
}

nav,
nav section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.h1-container {
  margin-bottom: 40px;
}

.title-container {
  display: flex;
  flex-direction: column;
}

.title-container h3 {
  color: #222;
  font-family: Nunito;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0.18px;
}

.title-container h5 {
  color: #222;
  font-family: Nunito;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  letter-spacing: 0.28px;
}

.button {
  margin-top: 30px;
  /* width: 150px; */
  height: 40px;
  background-color: #003769;
  color: white;
  border: none;
  border-radius: 4px;
  font-family: Nunito;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* about section */
.about-section-backg {
  background-color: rgba(0, 54, 105, 0.1);
  width: 100%;
}

.about-section {
  padding: 6rem 2rem;
  width: calc(1000px - 6rem);
  margin: 0 auto;
}

.h2-container {
  color: rgb(0, 34, 65);
  text-align: left;
  margin-bottom: 3.5rem;
  letter-spacing: 2px;
  margin-left: 3rem;
}

.h2-container h2 {
  font-size: 26px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.h2-container p {
  font-style: normal;
  font-size: 20px;
}

.about-section .content-cont {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 3rem;
  padding: 0 3rem;
}

.about-img {
  width: 300px;
  margin-top: -2rem;
}

.about-section ul {
  list-style-type: none;
  text-align: left;
}

.about-section li {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: white;
  color: rgb(0, 34, 65, 0.875);
  font-weight: 500;
  border-radius: 10px;
  max-width: 600px;
  font-size: 18px;
}

/* modules section */
.modules {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  height: auto;
  padding: 6rem 2rem;
  width: fit-content;
  margin: 0 auto;
}

a {
  text-decoration: none;
}

.dashboard__card {
  margin: 0 10px;
  text-align: center;
  border: 1px solid rgba(0, 54, 105, 0.1);
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  width: 375px;
  border-radius: 10px;
}

.dashboard__card h3 {
  color: #003769;
  font-family: Nunito;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0.18px;
  text-align: center;
  padding: 20px 15px;
}

/* .list-items li:hover {
  border: 1px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: default;
} */

.dashboard__card:hover {
  text-align: center;
  border: 1px solid white;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 1px 1px 20px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  cursor: pointer;
}

.dashboard__card__image-container {
  height: 225px;
}

.dashboard__card__image-container img {
  width: 100%;
  height: 100%;
}

.dashboard__card__list {
  padding: 1rem 0.5rem;
  list-style-type: none;
  text-align: center;
}

.dashboard__card__list li {
  margin-bottom: 0.5rem;
  font-style: normal;
  letter-spacing: 1px;
  font-size: 18px;
}

.dashboard__card__image-container h3 {
  color: #4f4f4f;
  font-size: 1.25rem;
}

.dashboard {
  display: inline-flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  width: 100%;
  overflow-y: scroll;
}

.dashboard__card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* connect section */
.connect-backg {
  background-color: rgba(0, 54, 105, 0.1);
  width: 100%;
}

.connect {
  padding: 6rem 2rem;
  width: calc(1000px - 6rem);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.connect h3 {
  font-size: 20px;
}

.connect p {
  margin-top: 10px;
  width: 80%;
  font-size: 20px;
}

.content {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.banner2 {
  margin-bottom: 20px;
  width: 350px;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.button-container h4 {
  color: #002241;
  font-family: Nunito;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.28px;
  margin-bottom: 1rem;
}

.link {
  display: flex;
  width: 313px;
  height: 44px;
  padding: 0px 16px;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-top: 20px;
  text-decoration: none;
}

.uppercase {
  text-transform: uppercase;
}

.footer {
  /* background-color: white; */
  background-color: rgb(0, 34, 65, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 1rem;
  padding: 1rem 2rem 0.875rem;
}

.footer h6 {
  /* color: #002241; */
  color: white;
  text-align: center;
  font-family: Nunito;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1px;
}

@media (max-width: 1500px) {
  .header h1 {
    font-size: 32px;
  }

  .header p {
    width: 75%;
    font-size: 18px;
  }

  .h2-container h2 {
    font-size: 24px;
  }

  .h2-container p {
    font-size: 18px;
  }

  .button {
    font-size: 14px;
    width: auto;
  }

  .about-section li {
    font-size: 16px;
  }

  .dashboard__card h3 {
    font-size: 20px;
  }

  .dashboard__card__image-container {
    height: 200px;
  }

  .dashboard__card__list li {
    font-size: 16px;
  }

  .title-container {
    width: 100%;
  }

  .banner2 {
    margin-bottom: 20px;
    width: 325px;
  }

  .button-container h4 {
    font-size: 18px;
  }
}

@media (max-width: 1250px) {
  .title-container {
    width: 100%;
  }
}

@media (min-width: 1001px) {
  .header-btn2 {
    display: none;
  }
}

@media (max-width: 1000px) {
  .header-btn1 {
    display: none;
  }

  nav,
  nav section {
    display: block;
    text-align: center;
  }

  /* about section */
  .about-section {
    height: auto;
    padding: 4rem 2rem;
    width: auto;
  }

  .h2-container {
    text-align: center;
    margin-bottom: 2.5rem;
    margin-left: 0;
    letter-spacing: 1px;
  }

  .h2-container h2 {
    margin-bottom: 1rem;
  }

  .about-section .content-cont {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
  }

  .about-img {
    margin: 0;
  }

  .title-container {
    width: 100%;
  }

  .header {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0rem;
    padding: 0;
    padding-bottom: 5rem;
  }

  .header h1{
    font-size: 25px;
  }

  .h1-container {
    margin-top: 30px;
  }

  .title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .title-container h1 {
    display: contents;
  }

  .header p {
    text-align: center;
    width: 80%;
  }

  .banner {
    margin: 0;
    margin-top: -5rem;
    height: 300px;
    width: 335px;
  }

  .modules {
    padding: 5rem 0rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
  }

  .dashboard__card-container {
    display: block;
    margin: 0 auto;
    max-width: 100%;
  }

  .dashboard__card {
    margin-bottom: 30px;
    height: auto;
    width: auto;
    margin-left: 5px;
    margin-right: 5px;
  }

  .connect {
    height: auto;
    padding: 4rem 2rem 7rem;
    width: auto;
  }

  .content {
    flex-direction: column;
  }

  .banner2 {
    margin-top: 0px;
    width: 300px;
  }

  .title-container {
    text-align: center;
    padding-bottom: 50px;
  }

  nav {
    margin-left: 0px;
  }

  .dashboard__card h3 {
    padding: 10px;
  }
}

@media (max-width: 600px) {
  .banner {
    width: 250px;
  }


  .header h1 {
    font-size: 20px;
  }

  .about-img {
    width: 250px;
  }

  .title-container {
    padding-left: 10px;
    width: 90%;
  }

  .head-nav {
    padding-left: 0px;
  }

  .banner2 {
    width: 250px;
    margin-top: -0.5rem;
  }

  .button-container {
    text-align: center;
  }

  .dashboard__card h3 {
    padding: 10px;
  }

  .header p {
    text-align: center;
    width: 100%;
    font-size: 14px;
  }

  .footer {
    flex-direction: column;
    gap: 0;
  }

  .footer h6 {
    font-size: 13px;
    font-weight: 600;
  }
}
