/* GLOBAL RESET */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
}

a {
  color: var(--brand-darkest-color);
}

a:visited {
  color: var(--brand-darkest-color);
}

a:active {
  color: var(--brand-darkest-color);
}

:root {
  --brand-darkest-color: #223843;
  --brand-lightest-color: #eff1f3;
  --brand-lightest-2-color: #d77b6127;
  --brand-2nd-lightest-color: #dbd3d8;
  --brand-3rd-lightest-color: #d8b4a0;
  --brand-highlight-color: #d77a61;
}

.bold-text-highlight {
  background-color: var(--brand-darkest-color);
  color: var(--brand-lightest-color);
  padding: 7px 12px;
  border-radius: 7px;
  width: 50px;
}

a.bold-text-highlight {
  color: var(--brand-lightest-color);
}

body {
  background-color: var(--brand-lightest-color);
  background-image: url("./assets/images/background.svg");
}

/* NAVIGATION */

.header-container {
  display: flex;
  gap: 35px;
  width: 100%;
  padding: 20px 35px 15px 35px;
  border-bottom: 1px solid rgba(188, 197, 217, 0.23);
  box-shadow: rgba(149, 157, 165, 0.08) 0px 8px 24px;
  background-color: var(--brand-lightest-color);
}

.header-logo {
  height: 30px;
  filter: invert(15%) sepia(57%) saturate(405%) hue-rotate(155deg)
    brightness(95%) contrast(88%);
}

.desktop-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-gr-1 {
  display: flex;
  gap: 20px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-top: 20px;
  height: 100%;
}

.content-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 75vw;
  justify-content: space-between;
}

.intro-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
}

.intro-section h1 {
  font-size: 95px;
  margin-top: 10px;
  color: var(--brand-darkest-color);
}

.section-title-intro {
  font-size: 35px;
  margin-top: 5px;
  text-align: center;
  color: var(--brand-darkest-color);
}

.cta-section {
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 200px;
  gap: 10px;
}

.cta-section .cta-gr-1 {
  width: 70%;
  display: flex;
  justify-content: right;
  padding-right: 10px;
}

.cta-section .cta-gr-2 {
  border-left: 1px solid #000000;
  margin-right: 20px;
  padding-left: 20px;
}

.cta-section .cta-gr-1 .cta-gr-1-button {
  padding: 10px 20px;
  border-radius: 9px;
  transition: all .5s;
  color: var(--brand-lightest-color);
  background-color: var(--brand-highlight-color);
}

.cta-section .cta-gr-1 .cta-gr-1-button:hover{
  background-color: #ca6f56;
}


.enterprise-cta-text {
  color: var(--brand-darkest-color);
  text-align: center;
}

.enterprise-cta-highlight {
  color: var(--brand-highlight-color);
  text-align: center;
}

.enterprise-cta-text-bold {
  color: var(--brand-darkest-color);
  font-weight: bold;
}

.enterprise-training-cta-buttons {
  display: flex;
  align-items: center;
}

.cta-right-arrow-icon {
  height: 16px;
  margin-left: 3px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.card {
  display: flex;
  flex-direction: column;

  width: 100%;
  max-width: 1000px;

  border: 1px solid rgba(100, 100, 111, 0.1);
  height: 200px;
  border-radius: 9px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.card-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px 20px;

  color: #ffffff;
  background-color: darkgreen;

  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
}

.card-header-title {
  color: #ffffff;
}

.card-icon-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-icon-container .study-icon {
  filter: invert(100%);
  height: 20px;
}

.card-icon-container .exam-icon {
  filter: invert(100%);
  height: 27px;
}

.tag {
  color: #ffffff;
  background-color: green;
  padding: 4px 6px 2px 6px;
  border: 1px solid darkgreen;
  border-radius: 9px;
}

.card-attributes {
  display: flex;
  justify-content: space-between;
  background-color: green;
  padding: 10px;
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--brand-darkest-color);
  padding: 30px 0 30px 0;
  color: white;
  width: 100%;
}

.upcoming-courses-section {
  margin-bottom: 50px;
  margin-left: 10px;
  margin-right: 10px;
  width: 100%;
}

.section-title {
  font-size: 35px;
  margin-top: 20px;
  color: var(--brand-darkest-color);
}
.course-list{
  min-height: 20vh;
  width: 100%;
}

.course-list-item {
  cursor: pointer;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(34, 56, 67, 0.155);
  margin-top: 14px;
  border-radius: 9px;
  height: 80px;
  width: 100%;
}
.course-list-text{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
  width: 100%;
}

.course-list-title{
  text-overflow: ellipsis;
  height: 10%;
}

.course-tag{
  display: flex;
  gap: 5px;
}
.tag-item{
  background-color: gray;
  color: white;
  border-radius: 5px;
  font-size: 75%;
  padding: 3px 5px;
  font-weight: 600;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.date-square {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--brand-lightest-color);
  background-color: #223843;
  font-weight: bold;
  height: 100%;
  min-width: 80px;
  max-width: 80px;
  border-radius: 9px;
}

.parallelogram {
  width: 100%;
  height: 100%;
  background: var(--brand-darkest-color);
  border-radius: 9px;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-bottom: 33px;
}

.white-text {
  color: white;
  padding-left: 20px;
  padding-top: 20px;
}

.course-list-content, .course-list-text{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 5px;
} 
@media screen and (max-width: 1000px) {
  .content-container{
    max-width: 90vw;
  }
  .course-list-content{
    display: none;
  }
}

/* NAVBAR */
.hamburger{
  display: none;
  cursor: pointer;
  transform: scale(1.5);
}
.nav-mobile{
  display: none;
}
.show-mobile-nav{
  width: 100vw;
  height: 100vh;
  position: absolute;
  z-index: 100;
  background-color: var(--brand-lightest-color);
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  padding: 0 20px;
  gap: 22px;
}
.nav-mobile-item{
  color: var(--brand-darkest-color);
  font-weight: 630;
  font-size: 1.5rem;
  cursor: pointer;
  border-bottom: var(--brand-2nd-lightest-color) 2px solid;
}
.stop-scroll{
  overflow: hidden;
}


@media screen and (max-width: 1000px) {
  .desktop-navigation{
    display: none;
  }
  .hamburger{
    display: flex;
    align-items: center;
  }
  .header-container{
    justify-content: space-between;
    align-items: center;
  }
  .nav-mobile-copyright{
    text-align: center;
    position: fixed;
    bottom: 0;
    margin-bottom: 5vh;
    margin-left: -20px;
    width: 100%;
    color: grey;
  }
}