:root {
  --color-sub: #2d2d39;
}

/*=======================
  GLOBAL CLASSES
========================*/

.avatar {
  border: none;
}

.title {
  color: #000;
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  letter-spacing: -0.02em;
}

.btn--sub {
  background-color: var(--color-sub-light);
}

.card {
  background: #ffffff;
  border: 1px solid rgba(73, 101, 204, 0.06);
  box-sizing: border-box;
  box-shadow: 0px 10px 11px rgba(35, 57, 138, 0.07);
  border-radius: 4px;
}

img {
  max-width: 100%;
  height: auto;
}

.tag > i.im {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.line {
  height: 1px;
  background: #c4c4c4;
  margin-top: 15px;
  margin-bottom: 15px;
}

.content-box {
  width: 95%;
  max-width: 85rem;
  margin: 0 auto;
}

.container {
  width: 1320px;
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.title--center {
  text-align: center;
}

/*=======================
  BUTTONS
========================*/

.buttons {
  display: flex;
}
.main-button-nav {
  padding: 10px 30px;
  background-color: #233782;
  color: #fff;
  border-radius: 100px;
  cursor: pointer;
}

.main-button {
  background-color: #3b53ad;
  color: #fff;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 5px 15px;
}

.podcasts .main-button {
  margin-bottom: 40px;
}

.main-button--top-offset {
  margin-top: 30px;
  padding: 10px 30px;
}

.apply.main-button {
  width: 100%;
}

.main-button-subscribe {
  padding-left: 16px;
  padding-right: 16px;
  background-color: #3b53ad;
  color: #fff;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  outline: none;
  border: none;
  height: 65px;
  cursor: pointer;
}

.main-button:hover {
  background: #0f0e61;
  transition: all 250ms;
}
.main-button-nav:hover {
  background: #0f0e61;
  transition: all 250ms;
}
.main-button-subscribe:hover {
  background: #0f0e61;
  transition: all 250ms;
}

/*=======================
  SEARCH BOX
========================*/

.search-box {
  position: relative;
  width: 50%;
}

.search-box .general-search {
  width: 100%;
  padding: 10px 20px;
  border-radius: 4px;
  border: 1px solid rgba(216, 216, 232, 0.79);
  margin: 20px auto;
}

.search-box .search-icon {
  position: absolute;
  cursor: pointer;
  right: 20px;
  top: 35%;
}

/*=======================
  HEADER SECTION
========================*/
.header {
  position: sticky;
  z-index: 111;
  background-color: #3b53ad;
  padding: 1.5rem 0;
}

.header > .container {
  display: flex;
  padding-left: 15px;
  padding-right: 15px;
  justify-content: space-between;
  align-items: center;
}

.header__logo > img {
  height: 3.8rem;
}

.header__nav > ul {
  display: inline-flex;
  align-items: center;
  list-style: none;
  gap: 6.5rem;
}

.header__menuItem > a {
  color: var(--color-light);
  font-weight: 300;
}

.toggle-menu > span {
  display: none;
}

.header__nav input[type="checkbox"] {
  display: none;
}

.header__nav input[type="checkbox"]:checked ~ .header__menu {
  opacity: 1;
  pointer-events: all;
}

.project--thumbnail {
  height: 250px;
  object-fit: cover;
}

/*=======================
  HERO SECTION
========================*/

.hero-container {
  display: flex;
  width: 959px;
  margin: auto;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}

.hero-section {
  padding: 5rem 0;
  height: 372px;
  display: flex;
  align-items: center;
  background-color: #f0f0f0;
}

.hero-section .container {
  display: flex;
  flex-direction: row;
}

.hero-container .hero-col:first-child {
  width: 55%;
  text-align: left;
}

.hero-section .container .hero-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}

.hero-section .phone-placeholder {
  margin-bottom: 10%;
  transform: scale(1.15) translate(80px, 0px);
}

.hero-section__box {
  margin-bottom: 4rem;
}

.hero-section__box > h2,
.hero-section__box > h2 > span {
  font-size: 4rem;
  color: #000;
  line-height: 1.3;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.02em;
}

.hero-section__box > h2 {
  font-weight: 300;
}

.hero-section__box > h2 > span {
  font-weight: 700;
}

.hero-section__search > .form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.hero-section__search > .form label {
  position: absolute;
  left: -9999px;
}

.hero-section__search > .form input.input--text {
  width: 50rem;
}

.hero-section .input-group {
  display: inline-flex;
  background-color: #ffffff;
  padding-left: 1rem;
  border: 1px solid rgba(216, 216, 232, 0.79);
  border-radius: 4px;
  width: 100%;
  justify-content: space-between;
}

.hero-section .input-group .ecards-area--mainl-input {
  border: 0;
  font-size: 18px;
  line-height: 22px;
  width: 100%;
  color: #000;
  padding: 0 1rem;
  margin-right: 1rem;
}

.hero-section .input-group .email-input {
  border: 0;
  font-size: 18px;
  line-height: 22px;
  width: 100%;
  color: #000;
  padding: 0 1rem;
  margin-right: 1rem;
}

.email-input:focus {
  outline: none;
}

/*=======================
  PAGINATION SECTION
========================*/

.pagination__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 30px;
}

.pagination__link {
  margin: 0 10px 20px 10px;
  padding: 0;
  border: 1px solid rgba(59, 83, 173, 0.15);
  color: #3b53ad;
  border-radius: 4px;
  background: #fff;
  font-size: 16px;
  min-width: 45px;
  line-height: 45px;
  text-align: center;
  height: 45px;
  transition: 200ms;
}

.pagination__link:hover {
  cursor: pointer;
  background: rgba(59, 83, 173, 0.1);
}

.pagination__link--active {
  background: #3b53ad;
  color: #fff;
  cursor: default;
}

.pagination__link--active:hover {
  cursor: default;
  background: #3b53ad;
  color: #fff;
}

/*=======================
  HOME PAGE
========================*/

.no-style {
  text-decoration: none;
  cursor: pointer;
  color: #000;
}

.podcast-video {
  margin: 0 auto;
  max-width: 100%;
}

.podcast-details-col {
  display: flex;
  flex-direction: column;
}

.podcasts .title.title--center {
  margin-top: 40px;
}

.home .title {
  margin-bottom: 40px;
}

.home .title.cards__title {
  margin-bottom: 0;
}

/*=======================
  SIMPLE PAGE
========================*/

.simple-page {
  display: flex;
  justify-content: space-between;
}

.simple-page__image {
  width: 30%;
}

.simple-page__content {
  width: 65%;
}

/*=======================
  NEWSLETTER PAGE
========================*/

.newsletter-subscribe-box span {
  font-size: 1.15em;
  color: #333333;
  font-weight: 400;
}

.newsletter-subscribe-box .email {
  padding: 2px 6px;
  width: 220px;
  font-weight: 200;
  color: #444;
}

.newsletter-subscribe-box .form {
  padding: 2px 12px 3px;
  background: #3b53ad;
  border: 1px solid #314591;
  border-radius: 2px;
  color: #fff;
}

/*=======================
  ABOUT PAGE
========================*/

.about-page p {
  margin-bottom: 2rem;
}

/*=======================
  PROFILES
========================*/

.profiles {
  padding: 4rem 0;
  background-color: #d8d8d8;
}

.profiles .grid {
  align-items: stretch;
}

.profiles .person .person__profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.profiles .person .person__meta h3 {
  color: var(--color-sub);
  font-size: 2rem;
  font-weight: 700;
}

.profiles .person .person__meta h5 {
  color: var(--color-text);
  font-size: 1.4rem;
  font-weight: 500;
}

.profiles .person .person__info {
  margin: 1.5rem 0;
  font-size: 2em;
  line-height: 1.4;
  text-align: justify;
}

.user-page.social-icons {
  justify-content: center;
  display: flex;
  margin-top: 30px;
}

.profile .social-icons {
  display: flex;
}

.profile .social-icons svg {
  height: 40px;
  width: auto;
  margin-left: 15px;
}

.small.social-icons svg {
  margin-left: 1px;
  height: 25px;
  width: auto;
}

.profile .related-profiles .person__name {
  text-align: center;
}

.profile-container .cards-area {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
}

/*=======================
  CARDS ELEMENTS
========================*/

.cards {
  margin: 40px auto;
}

.cards__list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  width: 959px;
}

.cards__item {
  width: 300px;
  background: #fff;
  padding: 20px 20px 10px 20px;
  margin-bottom: 20px;
  box-shadow: 0px 10px 11px rgb(35, 57, 138, 0.07);
}

.cards__title {
  color: #0f0e61;
  font-size: 18px;
}

.cards__sub-title {
  color: #4a5273;
  font-weight: normal;
  font-size: 15px;
  margin-bottom: 5px;
}

.cards__icons {
  margin-top: 5px;
}

.cards__item:empty {
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

/*=======================
  Profile
========================*/

.profile .card > .person {
  padding: 4rem;
}

.person__avatar {
  display: block;
  margin: auto;
}

.person__name {
  color: #0f0e61;
  font-size: 2.8rem;
  font-weight: 400;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.person__title {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.3;
  color: #0f0e61;
}

.person__title {
  margin-top: 1rem;
}

.person__social {
  margin: 3rem 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.personInfo {
  margin-bottom: 3rem;
}

.personInfo__subtitle {
  font-size: 2rem;
  color: var(--color-sub-light);
}

.personInfo__about {
  font-size: 1.45rem;
  line-height: 1.7;
  text-align: justify;
}

/*=======================
  FOOTER
========================*/

.footer-meta {
  background-color: #3b53ad;
  padding: 2rem 0;
}

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

.footer-links {
  display: flex;
  list-style: none;
  flex-direction: row;
  padding: 2rem;
}

.footer-links li:nth-child(n) {
  margin: 1rem 1rem 0 1rem;
}

.copyright-container {
  background-color: #d8d8d8;
  text-align: center;
  padding: 2rem;
}

/*=======================
DIRECTORY PAGE
========================*/

.cards-container {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;
}

.team-member {
  color: #0f0e61;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 400;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.profile-card:empty {
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

.profile-card li {
  list-style: none;
}

.profile-card a {
  color: #0f0e61;
  font-size: 18px;
}

.profile-card .title {
  color: #4a5273;
  font-weight: normal;
  font-size: 15px;
  margin-bottom: 1.5rem;
}

.cards-area--main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.cards-area--main .profile-card {
  margin-left: 30px;
  margin-right: 30px;
}

.general-container .cards-area {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: row;
  width: 959px;
}

.cards-area .profile-card {
  align-self: stretch;
  padding: 10px;
  width: 300px;
  margin-bottom: 30px;
  margin-left: 10px;
  background: #ffffff;
  border: 1px solid rgba(73, 101, 204, 0.06);
  box-sizing: border-box;
  box-shadow: 0px 10px 11px rgba(35, 57, 138, 0.07);
  border-radius: 4px;
  color: #4a5273;
}

.cards-area .profile-card .profile-link {
  display: block;
}

.company-info {
  display: flex;
  justify-content: space-between;
}

.social-icons {
  display: flex;
  list-style: none;
}

.social-icons > li {
  margin-right: 10px;
}

.social-icons path {
  opacity: 0.25;
  transition: 500ms;
}

.social-icons path:hover {
  fill: #0f0e61;
  opacity: 1;
}

.team {
  display: flex;
  margin-top: 1.5rem;
}

.team-text {
  font-size: 12px;
  margin-top: 5px;
  margin-left: 20px;
}

.team .team-profile-img {
  display: inline-flex;
}

.team .team-profile-img > img {
  width: 30px;
  height: 30px;
  margin-right: -12px;
  border: 3px solid #ffffff;
}

.general-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin: auto;
}

.general-container .search {
  margin: auto;
  width: 100%;
}

.general-container .sidebar {
  align-self: flex-start;
  padding: 20px;
  margin-bottom: 25px;
  width: 312px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.54);
}

.general-container .sidebar span {
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #0f0e61;
}

.general-container .sidebar > div {
  height: auto;
  margin-bottom: 4rem;
}

.general-container .sidebar div ul {
  list-style: none;
  margin-top: 10px;
}

.general-container .sidebar div ul li label {
  margin-left: 5px;
  color: #4a5273;
  vertical-align: middle;
}

.general-container .sidebar input {
  position: relative;
  width: 16px;
  height: 16px;
  color: #161475;
  border: 1px solid #ccc;
  border-radius: 1px;
  appearance: none;
  vertical-align: middle;
  outline: 0;
  cursor: pointer;
  transition: background 175ms cubic-bezier(0.1, 0.1, 0.25, 1);
}

.general-container .sidebar input::before {
  position: absolute;
  display: block;
  top: 1.5px;
  left: 5px;
  width: 3px;
  height: 7px;
  border-style: solid;
  border-color: #f0f0f0;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  content: "";
}

.general-container .sidebar input:checked {
  color: #fff;
  background: #3b53ad;
  border-radius: 2px;
}

.general-container .sidebar input:checked:before {
  opacity: 1;
}

/*=======================
  RESPONSIVE MEDIA QUERIES
========================*/

@media screen and (max-width: 1199px) {
  .container {
    width: 1000px;
  }
  .search .cards__list {
    width: 640px;
  }
  .cards {
    margin: 0;
  }
  .home .cards {
    margin: 40px 0;
  }
}

@media screen and (max-width: 991px) {
  .header__logo {
    margin-right: 30px;
  }
  .header__nav > ul {
    gap: 5.5rem;
  }

  .container {
    width: 780px;
  }
  .hero-container {
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  .hero-container .hero-col:first-child {
    width: 85%;
  }
  .hero-section .phone-placeholder {
    transform: scale(1.55) translateX(40px);
  }
  .cards__list {
    width: 100%;
  }
  .search .cards__list {
    width: 100%;
  }
  .apply.main-button {
    width: 200px;
  }
  .search-box {
    width: 100%;
  }
  .search-box .general-search {
    padding: 20px;
  }
  .cards__item {
    width: 47%;
  }
  .search .cards-container {
    flex-direction: column-reverse;
  }
  .general-container .sidebar {
    width: 100%;
  }
  .filter li {
    display: inline-block;
    width: 45%;
  }
  .hero-section__box > h2,
  .hero-section__box > h2 > span {
    font-size: 3.4rem;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding: 0px 15px;
  }

  .cards__item {
    width: 100%;
  }

  .header__logo {
    position: relative;
    z-index: 999;
  }

  .hero-container .hero-col:first-child {
    width: 100%;
  }

  .hero-container .hero-col:last-child {
    display: none;
  }

  .toggle-menu {
    position: relative;
  }

  .toggle-menu > span {
    display: block;
    position: fixed;
    top: 1.5rem;
    right: 2.75rem;
    cursor: pointer;
    padding: 1rem;
    background: var(--color-sub-light);
    z-index: 999;
    font-size: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
  }

  .toggle-menu__lines,
  .toggle-menu__lines::before,
  .toggle-menu__lines::after {
    pointer-events: none;
    content: "";
    display: block;
    height: 2px;
    width: 2.5rem;
    position: fixed;
    top: 4rem;
    right: 4rem;
    z-index: 999;
    background: var(--color-light);
    transition: all 0.3s ease-in-out;
  }

  .toggle-menu__lines::before {
    top: 3.4rem;
    transform-origin: 0 0;
  }

  .toggle-menu__lines::after {
    top: 4.6rem;
    transform-origin: 0 0;
  }

  .header__nav
    input[type="checkbox"]:checked
    + .toggle-menu
    > .toggle-menu__lines::before {
    margin-left: 3px;
    transform: rotate(45deg) scaleX(1.2) translateX(-2px) translateY(-4px);
    visibility: visible;
  }

  .header__nav
    input[type="checkbox"]:checked
    + .toggle-menu
    > .toggle-menu__lines {
    visibility: hidden;
  }

  .header__nav
    input[type="checkbox"]:checked
    + .toggle-menu
    > .toggle-menu__lines::after {
    transform: rotate(-45deg) scaleX(1.2) translateX(-2px) translateY(3px);
    visibility: visible;
  }

  .header__nav > ul {
    opacity: 0;
    pointer-events: none;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: var(--color-sub);
    transition: all 0.5s ease-in-out;
  }

  .header__menuItem a {
    transition: all 0.5s ease-in-out;
    padding: 1rem 3rem;
  }

  .header__menuItem a:hover {
    padding: 1rem 3rem;
    border-radius: 3px;
    background: var(--color-sub-light);
  }
}

@media screen and (max-width: 479px) {
  .profile iframe {
    max-width: 100%;
  }
}

@media screen and (max-width: 374px) {
}
