@font-face {
  font-family: "kohinoor";
  src: url(fonts/kohinoorbangla.ttf);
}

* {
  margin: 0;
  padding: 0;
  font-family: "kohinoor";
  box-sizing: border-box;
}

/* for mobile screen */

.nav_back {
  background-color: #e53935;
  width: 100%;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 3%;
  padding-bottom: 3%;
  position: fixed;
  min-height: 56px;
}
.navbar {
  width: 100%;
  /* padding-left: 1%; */
  padding-right: 5%;
  padding-top: 1.6%;
  padding-bottom: 2%;
  display: flex;
  z-index: 1;
  /* top: 0; */
  position: fixed;
  background: rgba(0, 0, 0, 0);
  overflow: hidden;
}
nav {
  flex: 1;
  text-align: left;
  cursor: pointer;
}

nav ul li {
  list-style: none;
  display: inline-block;
  margin-right: 10px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  transition-duration: 0.2s;
}

nav ul li a:hover {
  color: black;
  /* font-size: 22px; */
}

.tagline {
  padding-right: 3%;
  text-align: right;
  font-size: 1.25rem;
  /* float: right; */
  width: 100%;
  z-index: 100px;
  margin-bottom: -45px;
}
.tagline p {
  text-align: right;
}

.tagline img {
  width: 150px;
  margin-top: 25px;
  position: relative;
  cursor: pointer;
}

.tagline span {
  font-size: 1.25rem;
  color: #e53935;
}

.tagline p {
  width: 100%;
  margin-top: -10px;
  font-size: 0.8rem;
}

.section_one {
  width: 100%;
  min-height: auto;
  background: url(images/back_sec_one.png) repeat 0 0;
  background-size: 100% 100%;
}

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

.col-1 {
  flex-basis: 50%;
  margin-top: 20px;
}
.col-1 img {
  width: 100%;
  margin: 0%;
  padding: 0%;
}
.col-2 {
  flex-basis: 50%;
  /* display: block; */
  margin: 10%;
}

.col-2 img {
  margin-left: 20px;
  width: 60%;
  /* margin: 2%; */
  display: block;
  padding: 5%;
  /* margin: auto; */
  cursor: pointer;
  transition-duration: 0.5s;
}

.col-2 img:hover {
  width: 70%;
  /* transition-duration: 0.5s; */
}

/* section_app */
.section_app {
  width: 100%;
  min-height: auto;
  background: url(images/back_4@2x.png) repeat 0 0;
  background-size: 100% 100%;
  display: block;
  padding: 5%;
}

.app_text {
  width: 100%;
  margin-top: 5%;
  text-align: center;
}

.app_text img {
  width: 20%;
  margin-top: 10px;
  align-items: center;
  transition: 0.05s;
}
.app_image {
  width: 100%;
  height: 100%;
}

.app_text img:hover {
  width: 30%;
}

/* slider */

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

.section_two {
  padding-top: 100px;
  padding-bottom: 100px;
  height: auto;
  margin: auto;
  overflow: auto;
  z-index: -1;
  /* position: relative; */
  width: 100%;
}

.section_two .slider {
  animation: scroll 20s linear infinite;
  display: flex;
  width: calc(250px * 15);
}

.slide img {
  width: 50%;
  /* 50% */
  padding: 10px;
}

/* course_structure */
.course_structure,
.more_feature {
  width: 100%;
  background: url(images/back_2@2x.png) repeat 0 0;
  background-size: 100% 100%;
  text-align: center;
}

.course_structure h2,
.more_feature h2 {
  width: 100%;
}

.grid-container {
  padding: 5%;
  width: 100%;
  display: grid;
  grid-template-columns: auto;
}

.grid-item {
  padding: 2%;
  margin: 0;
  display: flex;
}

.item_text {
  padding: 15px;
  text-align: left;
  font-size: 12px;
}

.item_text h3 {
  color: #e53935;
}
.item_image {
  width: 40px;
}

.footer {
  background-color: #4c4a4a;
  padding: 5%;
  color: white;
  display: block;
  text-align: center;
}

.footer_1,
.footer_2,
.footer_3 {
  padding: 5%;
}

.footer_2 ul li {
  list-style: none;
  cursor: pointer;
  /* display: inline-block; */
  margin-right: 30px;
}

.footer_2 ul li a {
  text-decoration: none;
  color: #fff;
  transition-duration: 0.2s;
}

.footer_2 ul li a:hover {
  color: black;
}

.copyright_section {
  background-color: black;
  color: #fff;
  padding: 2%;
  text-align: center;
}

@media only screen and (min-width: 500px) {
  /* For tablets: */
  .privacy {
    padding: 4%;
  }
  .grid-container {
    padding: 5%;
    /* width: 100%; */
    display: grid;
    grid-template-columns: auto auto;
    /* background-color: #2196F3; */
  }
  .grid-item {
    /* width: 50%; */
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    /* background-color: rgba(255, 255, 255, 0.8); */
    /* border: 1px solid rgba(0, 0, 0, 0.8); */
    display: flex;
    text-align: left;
  }
  .footer {
    background-color: #4c4a4a;
    padding: 2%;
    color: white;
    display: flex;
    text-align: center;
  }
  .footer_1,
  .footer_2,
  .footer_3 {
    width: 33%;
    padding: 1%;
  }
  .footer_1 p,
  .footer_2 p,
  .footer_3 p {
    font-size: 16px;
  }
  .footer_1 {
    text-align: left;
  }
  .footer_3 {
    text-align: right;
  }
}

@media only screen and (min-width: 800px) {
  /* For desktop: 768*/

  .navbar {
    padding-left: 5%;
  }

  nav ul li a {
    font-size: 18px;
    margin-right: 20px;
  }

  .tagline {
    font-size: 2rem;
  }
  .tagline img {
    width: 200px;
    margin-top: 40px;
  }
  .tagline span {
    font-size: 2rem;
  }

  .tagline p {
    margin-top: -15px;
    font-size: 1.25rem;
  }
  .log_in {
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    font-size: 18px;
    width: 150px;
  }
  .log_in a {
    font-size: 18px;
  }
  .row {
    width: 100%;
  }
  .col-1 {
    flex-basis: 22%;
    margin-left: 5%;
    margin-top: -10px;
  }
  .col-1 img {
    width: 80%;
  }
  .col-2 {
    flex-basis: 78%;

    display: flex;
    margin: 0;
    padding: 10%;
    /* float: right; */
  }

  .col-2 p {
    font-size: 20px;
    line-height: 2;
  }

  /* .col-2 img{
        width: 28%;
        margin-right: 50px;
        padding: 0%;
        cursor: pointer;
        transition-duration: 0.5s;
    }
    .col-2 img:hover{
        width: 35%;
        transition-duration: 0.5s;
    } */

  /* section_app */
  /* .section_app{
    width: 100%;
    min-height: auto;
    background: url(images/back_4@2x.png) repeat 0 0;
    background-size: 100% 100%;
    display: block;
    padding: 5%;
} */
  .section_two {
    padding-top: 0px;
    padding-bottom: 0px;
    height: auto;
    margin: auto;
    overflow: auto;
    z-index: -1;
    /* position: relative; */
    width: 100%;
  }

  .app_text {
    width: 100%;
    margin-top: 5%;
    text-align: center;
  }

  .app_text p {
    padding: 10px;
  }

  .app_text img {
    width: 15%;
    margin-top: 10px;
    align-items: center;
    transition: 00.5s;
  }
  .app_image {
    width: 100%;
    height: 100%;
  }
  .app_text img:hover {
    width: 20%;
  }

  /* .course_structure{
    margin-top: 100px;
  } */

  .course_structure h2,
  .more_feature h2 {
    padding: 2%;
    margin-bottom: -5%;
  }

  .grid-container {
    padding: 5%;
    /* width: 100%; */
    display: grid;
    grid-template-columns: auto auto;
  }
  .grid-item {
    padding: 10%;
    display: flex;
    text-align: left;
  }

  .item_text {
    /* margin-left: 20px; */
    
    margin-top: 50px;
  }
  .item_text p {
    font-size: 15px;
    padding-left: 20px;
  }
  .item_text h3 {
    padding-left: 20px;
    color: #e53935;
    /* font-size: 16px; */
  }
  .item_image {
    width: 200px;
  }

  .footer {
    background-color: #4c4a4a;
    padding-top: 2%;
    padding-bottom: 2%;
    color: white;
    display: flex;
    text-align: center;
  }

  .footer_1,
  .footer_2,
  .footer_3 {
    width: 33%;
  }
  .footer_1 {
    text-align: left;
  }
  .footer_3 {
    text-align: right;
  }

  .contact-form {
    margin: auto;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 5%;
    width: 50%;
  }

  [type="text"],
  select,
  textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    /* resize: vertical; */
  }

  .blank_div {
    width: 100%;
    height: 70px;
    /* background-color: #4c4a4a; */
  }

  /* .contact-form input[type=submit] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  } */

  /* .contact-form input[type=submit]:hover {
    background-color: #45a049;
  } */
}
