a.phoneNumNav {
  display: none;
}
.top-bond {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: fit-content;
  background-color: #0e024d;
  color: white;
  z-index: 900;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: bold;
}
.bg-dark-blue {
  background-color: #0d3b66;
  color: white;
}
.btn-success {
  box-shadow: 1px 1px 4px black;
  background-color: #0e024d;
  border: none;
}
.course-card,
.audience-card {
  min-height: 180px;
}

.d-small {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

i.hero {
  color: teal;
  font-size: 4rem;
  padding: 1rem;
  border: 1px teal ridge;
  border-radius: 0.5rem;
}

i.hero.activated,
i.hero:hover {
  cursor: pointer;
  background-color: rgb(195, 251, 251);
  color: #0d3b66;
}

section.sectionAbout {
  background-image: url("../img/AKS/0.png");
  background-repeat: no-repeat;
  background-size: cover ;
  background-position: right;
  min-height: 600px;
}

div#containerTeacherImage {
  height: 400px;
  width: 400px;
  border-radius: 1rem;
  overflow: hidden;
  background-image: url("../img/AKS/2.jpg");
  background-position-x: right;
  background-position-y: top;
  background-repeat: no-repeat;
  background-size: cover ;
  margin-left: 2rem;
}

div#aboutTeacherText{ 
  color: white;
  font-family: kalamehBold;
  font-size: larger;
  text-align: justify;
  max-width: 1000px;
}
div#aboutTeacherText ul{
  font-family: kalameh;
}
div#aboutTeacherText li{
  opacity: 0;
}
.t-shadow {
  color: black;
  filter: drop-shadow(0 0 0.25rem rgb(255, 255, 255));
  text-shadow: 0px 0px 30px rgb(255, 255, 255) !important;
  /* background-color: rgba(255, 255, 255, 0.053); */
  display: inline-block;
  padding: 2px 4px;
}
/* hero section */

.fancy-hero {
  background: white;
  height: fit-content;
  overflow: hidden;
  position: relative;
  /* margin-top: 100px; */
}

.hero-item {
  display: none;
  opacity: 0;
  transform: translateY(70px);
  width: auto;
  transition: all 1.5s ease-in-out;
}

.fancy-hero > div.container {
  height: 700px;
}

.group {
  width: 50%;
  height: 100%;
}
.float-in.active {
  display: flex;
  opacity: 1 !important;
  transform: translateY(0px) !important;
}

.group > img {
  width: 90%;
  height: auto;
}

.scale-animation {
  animation: shrinkgrow 5s forwards infinite linear;
}

.hero-text {
  width: 45%;
}

/* home sec */
section.home-section {
  height: 100vh;
  width: 100%;
  background-color: #0d3b66;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  transition: 0.6s ease-in;
  overflow: hidden;
  /*background-image: url(../img/AKS/1.jpg);*/
  background-size: cover;
  background-repeat: no-repeat;
}

section.home-section.hidden {
  height: 1px !important;
}
div.shade {
  display: flex;
  justify-content: end;
  align-items: center;
  flex-direction: column;
  background-image: linear-gradient(
    40deg,
    rgba(0, 0, 0, 0.705) 40%,
    rgba(146, 146, 146, 0.7)
  );
}
section.home-section h1{
  color: white;
  font-family: kalamehBlack !important;
  transition: 0.5s;
  transform: translateY(-400px);
  font-size: 0.1px;
  margin-bottom: 2rem;
}
h4.classy-text {
  color: white;
  font-family: kalamehBlack !important;
  transition: 0.5s;
  transform: translateY(-400px);
  font-size: 0.1px;
  margin-bottom: 2rem;
  font-stretch: extra-expanded;
  letter-spacing: 6px;
  text-shadow: 2px 1px whitesmoke;
  opacity: 0.2;
  /* margin-bottom: 2rem; */
}



/* animations */

.trans-animation {
  animation: trans-animation 1s ease-out forwards;
}

.transX-animation {
  animation: transX-animation 1s ease-in forwards;
}

.fly-in {
  animation: fly-in 0.6s ease-in 0.1s forwards;
}

.back-gradient {
  animation: back-gradient 1s ease-in 0.2s forwards;
}

.fade-out {
  opacity: 0 !important;
}

@keyframes back-gradient {
  0% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fly-in {
  0% {
    transform: translateY(-100px);
    font-size: 0.1px;
  }
  100% {
    transform: translateY(0);
    font-size: 4rem;
  }
}

@keyframes fly-in-m {
  0% {
    transform: translateY(-100px);
    font-size: 0.1px;
  }
  100% {
    transform: translateY(0);
    font-size: 3rem;
  }
}

@keyframes fly-in-s {
  0% {
    transform: translateY(-100px);
    font-size: 0.1px;
  }
  100% {
    transform: translateY(0);
    font-size: 2rem;
  }
}

@keyframes shrinkgrow {
  0% {
    transform: scale(0.95);
  }
  33% {
    transform: scale(1);
  }
  66% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes trans-animation {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes transX-animation {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

#scrollSection {
  height: 300px;
  overflow-y: scroll; /* enable scrolling */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
#scrollSection::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

#scrollSection2 {
  overflow-x: scroll; /* enable scrolling */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
#scrollSection2::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Nav bar */

#mainNav {
  width: 100%;
  opacity: 0;
  position: fixed;
  z-index: 100;
  top: -100%;
  left: 0;
  transition: 1s ease;
  background-color: #0e024d;
}

.navbar.active {
  transition: 1s;
  opacity: 1 !important;
  top: 0% !important;
}

.article-slider-icons {
  font-size: 1rem;
  padding: 0.5rem;
  background-color: rgb(209, 244, 243);
  border-radius: 10em;
  transition: 0.5s;
}
.article-slider-icons:hover {
  background-color: rgb(43, 77, 125);
  cursor: pointer;
  color: white;
}

.contactFooter a{
  text-decoration: none;
  font-size: 1.6rem;
  margin: 1rem;
  color: white;
}
div#textContainer{
  width: 90% !important;
}

/* responsive */

@media (max-width: 1200px) {
  div.vidDescription{
    max-width: 100% !important;
    
  }
  video#trainingVid{
    width: 70% !important;
  }
  div#containerTeacherImage{
    display: none;
  }
  .fancy-hero > div.container {
    flex-direction: column-reverse;
    height: fit-content;
    width: 80% !important;
  }
  .group {
    width: 45%;
  }
  .hero-text {
    width: 70%;
  }
}

@media (max-width: 800px) {
  .fly-in{
    animation: fly-in-m 0.6s ease-in 0.1s forwards;
  }
  div#containerTeacherImage {
    display: none;
  }
  section.sectionAbout {
    padding: 0 !important;
    padding: 2rem;
    background-image: url("../img/AKS/24.jpg");
    background-size: cover;
    background-position-x: right;
    background-position-y: center;
    background-repeat: no-repeat;
  }
  div#textContainer{
    width: 100% !important;
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.7);
    height: 100% !important;
  }
  div#aboutTeacherText {
    width: 100%;
    padding: 1rem;
    font-size: 1rem !important;
  }
 

  .group {
    width: 70%;
  }
  .hero-text {
    width: 95%;
  }
  i.hero {
    font-size: 2rem;
  }
  section.sectionAbout a {
    display: block !important;
    width: 50%;
    margin: 1rem auto;
  }
}

@media (max-width: 450px) {
    #titleForPhone{
        padding-top: 0.7rem;
        font-family: KalamehBold;
        display: block !important;
        text-align: center;
        width:auto;
        /*border-bottom: 2px solid #ccc;*/
    }
    section.sectionAbout> div.d-flex.justify-content-start.align-items-center#textContainer{
    width: 100% !important;
    height: 100% !important;
  }
  div#whitespaceFixed{
    height: 75vh !important;
  }
  section.home-section>div.shade{
    height: 100% !important;
  }
  section.home-section{
    height: 70vh;
  }
  div.shade.back-gradient> h4, div.shade.back-gradient> h1{
      padding:0.5rem;
      /*background-color: red;*/
  }
  video#trainingVid{
    width: 90% !important;
  }
  section.home-section{
    background-position: center;
  }
  .fly-in{
    animation: fly-in-s 0.6s ease-in 0.1s forwards;
  }
  .course-card-pic img {
    height: 100% !important;
    width: auto !important;
  }
  section.sectionAbout {
    background-size: cover;
    background-position: right;
  }

  a#galleryBtn {
    font-size: 1.1rem;
  }
  p,
  li {
    font-size: smaller !important;
  }
  h2 {
    font-size: 1.4rem !important;
  }
  img#aboutTeacher {
    display: block !important;
    height: auto;
    width: 70% !important;
    margin: auto !important;
  }
  img.heroSectionImages {
    width: auto !important;
    height: 230px !important;
  }
  .bargozari {
    display: none;
  }
  a.phoneNumNav {
    display: inline-block;
    font-size: 1rem !important;
    direction: ltr;
  }
  p.lead {
    display: none;
  }
  div.top-bond > p:first-child {
    display: none;
  }

  .group {
    width: 95%;
  }
  .hero-text > h2 {
    font-size: 1.5rem;
  }
  .hero-text > h4 {
    font-size: 1.2rem !important;
  }
  .hero-text > p {
    font-size: 0.9rem;
  }
  i.hero {
    font-size: 1.3rem;
    padding: 0.5rem;
  }
}

@media (max-width: 350px) {
  img.heroSectionImages {
    width: auto !important;
    height: 200px !important;
    max-width: 95%;
  }
  .fancy-hero > div.container {
    width: 95% !important;
  }
  div.top-bond > p {
    /* display: none !important; */
    font-size: 0.8rem;
  }

  .group {
    width: 100%;
  }
  .group > img {
    width: 97%;
  }
  .hero-text > h2 {
    font-size: 1.3rem;
  }
  .hero-text > h4 {
    font-size: 1rem !important;
  }
  .hero-text > p {
    font-size: 0.9rem;
  }

  .hero-text > a {
    font-size: 1rem !important;
    padding: 6px !important;
  }
}

.course-card-pic {
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.course-card-pic img {
  display: inline-block;
  width: 100%;
  height: auto;
  transition: 1s;
}

.course-card-pic img:hover {
  transform: scale(1.3);
  filter: hue-rotate(70deg);
}
.course-card {
  margin: 0.5rem;
}
.course-card p {
  text-align: justify;
  padding: 1rem;
  margin-bottom: 0;
}
.course-card h5 {
  margin-top: 0.5rem;
  padding: 1rem;
}

.course-card small {
  display: inline-block;
  padding: 1rem;
}
