:root {
  --space: 2rem;
  --space-xs: calc(var(--space) / 3);
  --space-sm: calc(var(--space) / 2);
  --space-md: calc(var(--space) * 2);

  --color-primary: lightgray;
  --color-accent: whitesmoke;
  --color-dark: black;
  --color-mid: gray;
  --color-light: white;
  --color-highlight: dodgerblue;

  --radius: 0.125rem;
}
/* ===========start general style ============ */
.container {
  max-width: 93% !important;
  margin: auto;
}
a, a:hover, a:focus, a:active {
  text-decoration: none;
  color: inherit;

}
p{
  text-align: justify;
}
h2{
  color: #1278a8;
}
/* ===========end general style ============ */

/* =========  start navbar ============ */
.navbar-brand{
  width: 10%;
}
.navbar-brand img{
  width: 60%;
}
@media screen and (min-width:1300px){
    
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
}
}
.navbar {
  padding: 1.5rem 0;
  background-color: #efefef !important;
}
.navbar a {
  font-size: 1rem;
  font-weight: 600;
  color: #1278a8 !important;
}
.navbar-collapse {
  justify-content: end;
}
.navbar-nav .nav-link{
  transition: all 1s;
}
.navbar-nav .nav-link:hover{
  color: #78b442 !important;
}
/*.lang{*/
/*  width:11% !important;*/
/*}*/
/* ========= end navbar ============ */

/* ========= start heading section ============ */
.header {
  background-image: url(../images/home-bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: black;
  color: aliceblue;
}
.header .info {
  padding: 2rem 0;
}
.header .info div {
  padding: .5rem 0;
}
.video{
  padding-top: 1.5rem;
}
.header .iframe {
  background-color: unset;
  width:360px;
  height:100%;
}

.social a {
  font-size: 1rem;
  padding: 0 0.4rem;
  transition: all 3s;
  color: aliceblue;
}
.social a:nth-child(1) :hover{
color: #1876f2;
}
  
.social a:nth-child(2) :hover{
  color: #f44d55;
}

.social a:nth-child(3) :hover{
color: #00b6f1;
}
.social a:nth-child(4) :hover{
color: #ff0000;
}
  
/* ========= end heading section ============ */

/* Here are the base styles for the main layout and sticky component */
* {
  box-sizing: border-box;
}

main {
  display: flex;
  flex-wrap: wrap;
}

.article {
  flex-basis: 0;
  flex-grow: 999;
  min-width: 40%;
}

.sidebar {
  --offset: var(--space);
  flex-grow: 1;
  background-color: #ffff;
  flex-basis: 300px;
  align-self: start;
  position: sticky;
  top: var(--offset);
  margin-top: -3.8%;
 
}
.del-price {
  text-align: center;
  color: #a87d56;
  font-size: 1.6rem;
  font-weight: 900;
}

.component {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.component .content {
  overflow-y: auto;
  background-color: #ffff;
}

.sidebar .component {
  max-height: calc(100vh - var(--offset) * 2);
  width: 360px;
  margin: auto;
}
.sidebar .component .a-header {
  font-size: 4rem;
  color: #1278a8;
  text-align: center;
  font-weight: 900;
}
 .pay-btn {
  border-radius: 25px;
  margin: 1rem auto;
  background-color: #eee;
  width: 45%;
  height: 55%;
  text-align: center;
}
 .pay-btn img{
  padding: .5rem .2rem;
  width: 80%;
  vertical-align: middle;
  align-items: center;
  
}

/*
   * Other styles
  **/
.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

html,
body {
  height: 100%;
}

[hidden] {
  display: none;
}

body {
  margin: 0 auto;
  padding: 0;
  font-family:  sans-serif !important;
  font-size: 1.25rem;
  line-height: 1.4;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
}

p {
  max-width: 70ch;
  font-size: clamp(1rem, 4vw, 1.25rem);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
  padding: 1.5rem;
  color: aliceblue;

}

/* Until flexbox gap is supported in all modern browsers, we use the negative margin trick to create space between the children elements */
main > *  {
  margin-bottom: calc(var(--space-md) * -1);
  margin-left: calc(var(--space-md) * -1);
}

main {
  margin-bottom: var(--space-md);
  margin-left: var(--space-md);
}

article > * + * {
  margin-top: var(--space);
}

.component {
  position: relative;
  /* border: 1px solid var(--color-primary); */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.04),
    0 4px 8px rgba(0, 0, 0, 0.03), 0 8px 16px rgba(0, 0, 0, 0.03),
    0 16px 32px rgba(0, 0, 0, 0.02), 0 32px 64px rgba(0, 0, 0, 0.02);
}



.component .content {
  max-height: 500px;
  overflow-y: auto;
  padding: 1.5rem;
}
.content .icon{
  padding-right: 1rem;
  text-align: center;
  font-size: 1.3rem;
  color: #5a5a5a;
}

.item {
  position: relative;
  appearance: none;
  display: flex;
  align-items: center;
  padding: var(--space);
  outline: none;
  width: 100%;
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  cursor: pointer;
}

.item:active {
  transform: translateY(1px);
}

.item:focus {
  outline: 2px solid var(--color-highlight);
}

.item > * {
  pointer-events: none;
}

.info {
  width: 100%;
}

.title,
.subtitle {
  width: 100%;
  height: 0.5rem;
  background-color: var(--color-primary);
  border-radius: var(--radius);
}

.title {
  margin-bottom: var(--space-xs);
  max-width: 15ch;
}

.subtitle {
  max-width: 12ch;
}

.thumbnail {
  flex-shrink: 0;
  width: var(--size);
  height: var(--size);
  background: var(--color-primary);
  border-radius: var(--radius);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: var(--space-sm);
}

.grid .item {
  flex-direction: column;
  text-align: center;
}

.grid .info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grid .thumbnail {
  --size: 100px;
  margin-bottom: var(--space);
}

.list > * + * {
  margin-top: var(--space-xs);
}

.list .item {
  padding: var(--space-sm);
}

.list .item::before {
  content: "×";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: var(--space-sm);
  font-size: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  color: var(--color-primary);
  pointer-events: none;
}

.list .thumbnail {
  --size: 50px;
  margin-right: var(--space-sm);
}

.button {
  appearance: none;
  padding: var(--space-xs) var(--space-sm);
  font-family: inherit;
  font-size: 1rem;
  color: white;
  background-color: var(--color-dark);
  border: 1px solid var(--color-dark);
  cursor: pointer;
  border-radius: var(--radius);
  box-shadow: rgba(black, 0.1) 4px 4px;
}

.button:active {
  transform: translateY(1px);
  box-shadow: none;
}

.empty-cart {
  color: var(--color-mid);
  border-color: var(--color-mid);
  background-color: var(--color-light);
}
/* =================== syllabus ================== */
.syllabus {
  border: 1px solid lightgray;
  padding: 2rem 2.3rem;
  margin: 2.5rem 0;
  width: 93%;
}
.syllabus .s-item{
  width: 50%;

}
.article{
  width: 80%;
}
.syllabus .s-item div{
  line-height: 2.5;
  font-size: 19px;
  font-weight: 500;
}
.syllabus .icon{
  padding-right: .7rem;
}


/* ==================== certificat ============= */
.certificat{
  width: 95%;
}
.certificat .certi-item{
  font-size: .9rem;
}
/* =================== footer ============= */

.fexed-footer{
  display: none;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: black;
  color:#eee;
  text-align: center;
  font-weight:bolder;
}
.fexed-footer .price{
  font-size: 1.5rem;
  padding-top: .3rem;
}
.fexed-footer .pay-btn{
  margin: .3rem 0;
  width: 28%;
}
/**********************************whatsapp icon******************************/

.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:20px;
	left: 13px;
	/* background-color:#25d366; */
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}
.register{
	position:fixed;
	width:60px;
	height:60px;
	bottom:95px;
	left: 15px;
	/* background-color:#25d366; */
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}
/* ================= responsive ============ */
@media screen and (max-width: 768px) {
    .navbar-brand{
  width: 35%;
}
  .lang{
    width:32% !important;
  }
  .float {
    bottom: 102px;
    left: 5px;
  }
  .register {
    bottom: 170px;
    left: 5px;
  }
  .header .iframe {
    width:100%;
    height:unset;
 
  }
  main > * {
    margin-left: 0;
  }
  .sidebar {
    margin-left: 0;
  }
  .video{
    padding-bottom: 1.5rem ;
  }

  .sidebar .component {
    width: 100%;
    margin-top: 1rem;
  }
  .sidebar{
    display: none;
  }
 /* =================== footer ============= */

.fexed-footer{
  display:block !important;
}

/* =========== syllabus ===================*/
.syllabus {
  border: 1px solid lightgray;
  padding: 1rem .7rem;
  margin: 2.5rem 0;
  width: 93%;
}

.syllabus .s-item{
  width: 100%;

}


.container {
max-width: 100% !important;
}

.header .info div {
  padding: 0.33rem 0;
}

}
/* ============= about ================ */
