@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

/* General Body Styles */
* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}

/* Generic link styes */
a {
  text-decoration: none;
  color: inherit;
}

/* Header Mobile Styles */
.header {
  position: relative;
}

.header .top-bar {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.top-bar h1 {
  font-size: 25px;
  font-weight: 700;
  color: #e67e22;
  margin-top: 5px;
  text-shadow: 1px 1px 1px #2c3e50;
}

.top-bar h1>.top-heading-full {
  display: none;
}

.top-bar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  display: none;
}

.top-bar ul li {
  padding: 0;
  margin: 0;
}

.top-bar ul li+li {
  border-left: 2px solid rgba(0, 0, 0, 0.05);
}

.top-bar li>a {
  font-size: 12px;
  font-weight: 600;
  color: #423d3d;
  text-decoration: none;
  display: block;
  padding: 5px 15px;
}

.top-bar li>a>i {
  font-size: 16px;
  transition: color 0.3s ease-in-out;
}

.top-bar li>a>i:hover {
  color: #e67e22;
}

/* Top Bar Tab size media Queries */
@media (min-width: 35em) {
  .top-bar h1 {
    font-size: 20px;
  }

  .top-bar h1>.top-heading-full {
    display: block;
  }

  .top-bar h1>.top-heading-short {
    display: none;
  }
}

/* Top Bar Desktop size media Queries */
@media (min-width: 50em) {
  .top-bar h1 {
    font-size: 20px;
  }

  .top-bar ul {
    display: flex;
  }

  .header .top-bar {
    padding: 0 40px;
  }
}

/* Dropdown Menu styles */
/* Toggle styles */
.menu-toggle {
  display: inline-block;
  position: absolute;
  top: 10px;
  right: 20px;
  border: 0;
  background-color: transparent;
  font-size: 2em;
  width: 1em;
  height: 1em;
  line-height: 0.4;
  text-indent: -15em;
  overflow: hidden;
  cursor: pointer;
}

.menu-toggle::after {
  position: absolute;
  top: 0.2em;
  right: 0.1em;
  display: block;
  content: '\2261';
  text-indent: 0;
}

.menu-toggle:focus {
  outline: 0;
}

/* dropdown menu styles */
.menu-dropdown {
  height: 0;
  position: absolute;
  overflow: hidden;
  z-index: 100;
  right: 0;
  left: 0;
  transition: height 0.4s linear;
}

.menu.is-open .menu-dropdown {
  height: 260px;
  display: block;
}

/* removing toggle & dropdown functionality when on medium and large screens */
@media (min-width: 50em) {
  .menu-toggle {
    display: none;
  }

  .menu-dropdown {
    height: auto;
  }
}

/* Link Styles */
.nav-menu {
  display: block;
  margin: 0;
  padding-left: 0;
  list-style: none;
  background-color: #002633;
}

.nav-menu>li+li {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-menu>li>a {
  display: block;
  padding: 0.8em 1em;
  color: #fff;
  text-shadow: 0.1em 0.1em 0.3em #000;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-image {
  display: none;
}

/* Nav bar styles for medium and large screens */
@media (min-width: 50em) {
  .menu {
    display: relative;
  }

  .menu-dropdown {
    /* margin-top: 20px; */
    position: static;
  }

  .nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #002633;
    padding: 0 80px;
    padding-left: 400px;
  }

  .nav-menu>li+li {
    border-top: none;
  }

  .nav-menu>li>a {
    padding: calc(1vw + 0.35em) calc(1vw + 0.5em);
    color: #fff;
    transition: all 0.3s ease-in-out;
    font-size: calc(1vw + 0.3em);
  }

  .nav-menu>li>a.current {
    background-color: #e67e22;
  }

  .nav-menu>li>a:hover {
    background-color: #e67e22;
  }

  .nav-image {
    display: inline-block;
    position: absolute;
    z-index: 100;
    left: 25px;
  }

  .nav-image img {
    width: 260px;
  }
}

@media (min-width: 65em) {
  .nav-menu>li>a {
    font-size: 16px;
  }

  .nav-image img {
    width: 100%;
  }
}

/* Carousel Styles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: none;
}

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
}

/* next & prev buttons */
@media(min-width:35em) {

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    display: block;
    width: 30px;
    height: 50px;
  }
}

/* Cards Styling */

.card-info {
  text-align: center;
  color: #002a52;
  padding: 0 20px;
  margin-top: 25px;
}

.card-info h2 {
  font-size: 1.5rem;
  margin: 0;
}

.card-info p {
  font-size: 1rem;
  margin-top: 10px;
}

.cards {
  display: grid;
  padding: 20px 20px 80px;
  margin-bottom: 3em;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1.2em;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 35em) {

  .cards,
  .card-info {
    padding: 10px 20px;
  }
}

@media (min-width: 50em) {
  /* .cards {
        grid-gap: 5em;
    } */

  .card-info h2 {
    font-size: 2rem;
  }

  .card-info p {
    font-size: 1.5rem;
  }
}

.card {
  /* border: 1px solid transparent; */
  text-align: center;
  padding: 5px;
  /* border: 1px solid #90a1ad; */
  box-shadow: 0 0 10px -5px #002a52;
  border-radius: 5px;
  transition: all 0.2s ease-in-out;
}

.card .icon {
  display: block;
  background-color: #e67e22;
  border-radius: 5px;
  padding: 15px 5px;
  color: #fff;
}

.card .classification {
  font-size: 1.2rem;
  margin-bottom: 2.5em;
  padding: 5px;
}

.card .classification .title {
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
}

.card .btn {
  cursor: pointer;
  background: transparent;
  border: none;
  background-color: #286090;
  color: #fff;
  font-size: 1.2rem;
  border-radius: 5px;
  padding: 0.4em 1.2em;
  display: block;
  margin: 0.4em auto 0.8em;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.card .register-btn:hover {
  background-color: #002a52;
}

.card .login-btn {
  background: none;
  border: none;
  color: #002a52;
  display: flex;
  font-size: 1.15rem;
  justify-content: space-between;
  align-items: center;
}

.card .login-btn i {
  margin-right: 0.8em;
}

.card .login-btn:hover {
  color: #423d3d;
  text-shadow: 0 1px 1px #2c3e50;
}

.card .btn:active {
  transform: scale(0.98);
}

.card .btn:focus {
  outline: none;
}

/* Personnel Styles */

.personnel {
  margin-top: 3em;
  padding: 10px 0;
  background-color: #f1f3f5;
}

.personnel .card-info p {
  font-size: 1rem;
}

@media (min-width: 50em) {
  .personnel {
    padding: 40px;
  }

  .personnel .card-info p {
    font-size: 1.4rem;
  }
}

.personnel .column {
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 15px -5px #bbb;
  background-color: #fff;
  border-radius: 5px;
}

.column .column-img {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background: white;
}

.column .column-img img {
  width: 100%;
  height: 350px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  object-fit: cover;
}

.column .column-text {
  background: #fff;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 20px 20px 20px 10px;
}

.column-text h3,
p {
  margin: 0;
}

.column-text h3 {
  font-size: 1rem;
}

.column-text p {
  font-size: 0.85rem;
  margin-top: 0.3em;
  font-weight: 600;
}

@media (min-width: 50em) {
  .column-text h3 {
    font-size: 1rem;
  }

  .column-text p {
    font-size: 0.8rem;
    font-weight: 600;
  }
}

/* Footer styles */
.footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 10px;
}

.copyright .nsemp {
  font-weight: 700;
}

.credits .company {
  font-size: 1.2rem;
  text-shadow: 1px 1px 1px #2c3e50;
}

.credits .name {
  text-transform: uppercase;
  font-weight: 700;
}

.company.red {
  color: #ff0000;
}

.company.blue {
  color: #0000ff;
}

/* Footer Responsive styles */
@media (min-width: 35em) {
  .footer {
    flex-direction: row;
    padding: 10px 20px;
  }
}

@media (min-width: 50em) {
  .footer {
    padding: 10px 40px;
  }
}