
body {
  background-color: #121212;
}
section h1 {
  font-size: 40px;
}
/* Styling all text in all pages */
.all-maven-text {
  font-family: 'Titillium Web', sans-serif;
}

/* Header */
/* Navbar color */
.navbar-color {
  background:linear-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)), #36414c;
}
.nav-menu {
  background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .4))#36414c;
  padding: 30px;
  transition: all .7s;
}

.menu-item {
  font-size: 13px;
  letter-spacing: 1px;
  color: #eee;
}

.menu-item:hover {
  color: #70aed2;
  transition: color .5s;
}

.line1, .line2, .line3 {
  width: 23px;
  height: 3px;
  margin: 5px;
  transition: all .4s;
}

.change .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.change .line2 {
 opacity: 0;
}
.change .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

.custom-navbar {
  padding: 5px 30px;
  background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .9));
  transition: all .7s;
}

#main-table-cart {
  margin-top: 150px;
  /* margin-left: 20px;
  margin-right: 10px; */
  width: 100%;
}

#main-cart-icon {
  margin-top: 12px;
  margin-left: 1rem;
}
/* End of Header */

/*  Main Section  */
.main-section {
  height: auto;
  background-color: rgba(91, 157, 227, 0.08);
}

/* End of Main Section */

/* Main Body Section */
.main-body-section {
  height: auto;
  background-color:  #ffffff;
}
/* End of Main Body Section */

/* Main course section */
.main-course-section {
  height: auto;
  background-color: rgba(91, 157, 227, 0.08);
}
.main-courses-columns {
  box-shadow: 0 5px 20px 0 rgba(25, 71, 128, 0.2);
  background-color: #ffffff;
}

.course-main-section {
  margin-bottom: 10rem;
  margin-top: 8rem;
}
/* End of Main course section  */

/* Career section */
.career-section {
  height: auto;
  background-color: whitesmoke;
}
/* styling the owl carousel */
.owl-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

/* End of Career section */

/* Information Section */
.information-section {
  background-color: #36414c;
}
/* End of Information Section */

/* Bottom Contact Section */
.bottom-contact-section {
  height: auto;
  background-color: whitesmoke;
}
/* End of Bottom Contact Section */

/* Bottom Section */
.bottom-section {
  width: 100%;
  height: auto;
  background-color: #343a40;
}
/* End of Bottom Section */

/* Footer Section */
.footer-section {
  width: 100%;
  height: 100%;
  background-color: #36414c;
}
/* End of Footer Section */

/* Courses page main-section */
.second-container {
  margin-top: 12px;
  margin-bottom: 12px;
}

#modal-x-button {
  display: block;
  height: 30px;
  width: 30px;
  line-height: 22px;
  border: 1px solid #4a90e2;
  border-radius: 15px;
  text-align: center;
  font-size: 2rem;
  color: #4e90e2;
}

#modal-submit-button {
  border-radius: 25px;
  font-family: 'Titillium Web', sans-serif;
}
/*End of  Courses page main-section */

/*Creating the typing effect framework */
#wordToggle {
  margin-right: 3px;
  border-right: solid 3px rgba(0, 255, 0, 0.75); /* This sets the cursor border and color and opacity*/
  white-space: nowrap; /* Keeps the content on a single line */
  overflow: hidden; /*Ensures the content is not revealed until the animation*/ 
  font-size: 40px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto; /* This will ensure that scrolling effect as the typing happens */
}
/* End of Creating the typing effect */

/* invoking the animation for the typing effect */
#wordToggle {
  animation: animated-text 3s steps(29,end) 1s 1 normal both, animated-cursor 600ms steps(29,end) infinite;
  /* This sets the cursor steps and the time of the steps*/
}
/* End of Creating the animation for the typing effect */

/* Creating the funtionality of animation */
@keyframes animated-text {
  from{width: 0;}
  to{width: 380px;}
}
/* This piece pertains to the cursor, its direction and color */
@keyframes animated-cursor {
  from{border-right-color: rgba(0, 255, 0, 0.75);}
  to{border-right-color: transparent;}
}
/* End of Creating the funtionality of animation */

#style-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.course-carousel {
  margin-top: 3rem ;
  margin-bottom: 3rem ;
  margin-left: 1rem ;
 }
 
.social-media-icons {
  margin-top: 1rem;
  float: right;
}

#product-details {
  width: 94px;
  height: 84px;
 }

.add-to-cart {
  width: 250px;
  border-radius: 25px;
}

.add-to-enquiry-btn {
  border-radius: 35px;
  width: 200px;
}

.student-pictures {
  max-width: 100%;
  max-height: 100%; 
}

#cart-table {
  border-bottom: 1px solid #dbdbdb;
  width: 100%;
}

#cart-table-amounts {
  margin-top: 2rem;
}

#second-container {
 border-radius: 5px;
 box-shadow: 0 15px 30px 0 rgba(25, 71, 128, 0.2); 
}

#close-button {
  float: left;
}

#course-control {
  position: absolute;
  top: 0;
}

.cart-items-number {
  width: 4.5rem;
  border: 1px solid #4e90e2;
  border-radius: 25px;
  text-align: center;
}

#course-outline {
  font-size: 3.188rem;
}
/* .student-picture and .information-sentence: This is to rearrange the students pictures in the students carousel so that the pictures appear on top of the text associated with them 
#empty-block: This is displayed to none on small screens because i used these blocks to position my tiny  cart on the cart page, when i remove the empty blocks the tiny cart will position nicely on small screen sizes.
*/
@media(min-width: 600px){
  #style-modal{
    width: 800px;
  }
}
@media(max-width: 580px){
  .student-pictures {
    order: 1;
    max-width: 100%;
    max-height: 100%;
  }
  .information-sentence {
    order: 2;
  }
  #empty-block {
    display: none;
 }
}

@media(max-width: 500px){
  .all-maven-text {
    text-align: center;
  }
  #learn {
    display: block;
  }
  #read{
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  .social-media-icons {
    margin-top: 0;
    float: none;
  }
  .social-media-platforms{
    float: left;
    align-self: flex-start;
    margin: 5px 5px;
  }
  #product-details {
   display: none;
  }
  #style-modal {
    width: 440px;
  }
}
