@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

*{
    box-sizing: border-box;
    word-break: break-word;
}

body{
  /*font-family: "Ubuntu", sans-serif;*/
  font-family: "Ubuntu", sans-serif;
  font-style: normal;
  font-size:1.1em;
  line-height: 1.8;
}

a{
    text-decoration: none;
}


/* navbar*/ 

nav.navbar.navbar-expand-sm.bg-dark.border-bottom.border-body {
  position: sticky;
  top: 0px;
  z-index: 10000000000;
}

.navbar-brand{
    font-size: 2em;
}


.navbar-nav{
  text-align:center !important;
}

ul.navbar-nav {
  margin: auto;
}

.custom-nav-item:hover{
  background-color: coral;
  transition: 0.4s;
  border-radius: 10px;
}

ul.dropdown-menu.show {
    overflow: auto;
    direction: rtl !important;
    height: 474px;
    background-color: green;
    color: white;
}

/* desc */

.desc > img{
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.desc{
  background-color: #212529;
  padding-top: 100px;
  height: 500px;
  color: white;
  line-height: 2;
}

/* about site */

.aboutsite, .media{
  background-color: coral;
  padding: 10px;
  color: white;
  text-align: center;
  font-size: 1.2em;
}

/* popular and courses*/

.popular{
  margin-top: 40px;
  border: 1px solid gainsboro;
  padding: 10px;
}

.popular h1{
  text-align: center;
  margin-bottom: 10px;
}

.categories_type{
  border: 1px solid gainsboro;
  padding: 5px;
  line-height: 1.8;
  box-shadow: 2px 2px 1px gainsboro, -2px -2px 1px gainsboro;
  text-align: center;
      word-break: break-all;
}

.categories_type p{
    word-break: break-all;
}


.categories_type a{
  text-decoration: none;
  color: black;
  margin-bottom: 10px;
}

.categories_type h2{
  text-align: center;
}

.categories_type .span_type{
  text-align: center;
  font-size: 1.8em;
}

.categories_type img{
  width: 100%;
  height: 150px;
  margin-bottom: 5px;
}

.categories_type:hover{
  transform: scale(0.95);
  transition: .3s;
  z-index: 20000;
}

/* how-to-work */

.how-to-work{
  text-align: center;
  margin-top: 10px;
  border: 2px solid gainsboro;
  padding: 10px;
  border-radius: 5px;  
  background-color:white;
}

.how-to-work span{
  font-size: 2em;
  background-color: coral;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: block;
  margin: auto;
}

.how-to-work .work_images{
  border: 1px solid darkgray;
  border-radius: 5px;
}

.how-to-work .work_images img{
  width: 100%;
}

/* contact_and_map */

.contact_and_map{
  margin-top: 10px;
  border: 1px solid gainsboro;
  padding: 10px;
  border-radius: 5px;
  /*box-shadow: 1px 1px 1px, -1px -1px 1px;*/
}

.contact_and_map h2{
  text-align: center;
}

.form_contact_paner{
  border: 2px solid gainsboro;
  padding: 10px;
  border-radius: 5px;
}

/* feedback */

.feedback{
  margin-top: 20px;
  background-color: #605d5d;
  position: relative;
  color: white;
  border: 1px solid gainsboro;
  padding: 10px;
}

.feedback h1{
  text-align: center;
}

.feedback img{
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.feedback .carousel-caption{
  position: static;
}

/* footer */

footer{
  background-color: #212529;
  color: white;
  padding: 20px;
  text-align:center;
}

footer ul{
  list-style: none;
}

footer ul li a{
  text-decoration: none;
  color: white;
}

footer ul li a:hover{
  text-decoration: underline;
  color: coral;
}


/* signup */

.signup, .signin{
  margin-top: 20px!important;
  margin-bottom: 20px!important;
  border: 2px solid gainsboro;
  padding: 40px;
  background-color:white;
}

.signup img, .signin img{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: auto;
}

/* course */

.course{
  margin: 10px auto;
  border: 1px solid gainsboro;
  padding: 10px;
  border-radius: 5px;
}

.course img{
  width: 100%;
  height: 250px;
  border: 1px solid gainsboro;
}

.course h1{
  text-align: center;
  border-bottom: 1px solid gainsboro;

}

.course form{
  text-align: center;
}

.course_table{
  border: 1px solid gainsboro;
  margin-top: 10px;
  padding: 10px;
}

.course_table table thead th, table tbody td{
  border: 1px solid gainsboro;
}

.pagination {
    overflow: auto;
}

.pagination a.page-link {
    word-break: normal;
}


.cam{
    background-color: #212529;
    color: white;
    border: 1px solid gainsboro;
    padding: 17px;
    box-shadow: 2px 2px 1px gainsboro, -2px -2px 1px gainsboro;
    border-radius: 5px;
}

.cam a{
    color:white;
    font-weight: bold;
    text-decoration: none;
}

.br{
    border: 1px solid gainsboro;
    padding: 17px;
    box-shadow: 2px 2px 1px gainsboro, -2px -2px 1px gainsboro;
    border-radius: 5px;
}


.social{
    font-size:2em;
    margin:5px;
    color:white;
}