@import url("https://fonts.googleapis.com/css?family=Open+Sans");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 10;
}

body {
  padding: 10PX;
  font-family: "Open Sans", sans-serif;
  color: rgb(10, 10, 10);
  background-color: rgba(115, 99, 115, 0.133);
  background-image: url("images/homebkn.png");
  padding-bottom: 50px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* navigation menu*/
.nav {
  position: fixed;
  background-color: #222;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.3s ease-in-out;
  z-index: 9999;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: all 0.3s ease-in-out;
}

.nav ul {
  display: flex;
  list-style-type: none;
  align-items: center;
  justify-content: center;
}

.nav a {
  color: #fff;
  text-decoration: none;
  padding: 7px 15px;
  transition: all 0.3s ease-in-out;
}

.nav.active {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav.active a {
  color: #000;
}

.nav.active .container {
  padding: 10px 0;
}

.nav a.current,
.nav a:hover {
  color: #c0392b;
  font-weight: bold;
}
/*end of navigation menu and start of text functions*/

.heading {
  margin-top: 100px;
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.heading h1 {
  font-size: 40px;
  color: rgb(234, 228, 228);
  margin-bottom: 25px;
  position: relative;
  
}
/*line under About us
.heading h1::after{
content: "";
position: absolute;
width: 100%;
height: 4px;
display: block;
margin: 0 auto;
background-color:  #dfcac7;
}*/

.heading p {
  margin-left: 45px;
  text-align: justify;
  font-size: 18px;
  color: rgb(222, 230, 230);
  margin-bottom: 35px;
  letter-spacing: 0.1rem;
}

.container-2 {
  width: 90%;
  margin: 0 auto;
  padding: 10px 20px;
}
.about {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.about-image {
  flex: 1;
  margin-right: 40px;
  overflow: hidden;
}
.about-image image {
  max-width: 100%;
  height: auto;
  display: block;
  transition: 0.5s ease;
}
.about-image:hover {
  transform: scale(1.2);
}

/*content margin side to video*/
.video1 {
  border-radius: 15px;
}

.about-content {
  margin-left: 45px;
  flex: 1;
}
.about-content h2 {
  font-size: 23px;
  color: rgb(228, 220, 220);
  margin-bottom: 15px;
}
.about-content p {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  color: rgb(229, 223, 223);
  letter-spacing: 0.1rem;
}
strong {
  color: #c0392b;
  font-weight: 800;
}
/*responsive functions*/

@media screen and(max-width:760px) {
  .heading {
    padding: 0px 20px;
  }
  .heading h1 {
    font-size: 36px;
  }
  .heading p {
    font-size: 17px;
    margin-bottom: 0px;
  }
  .container-2 {
    padding: 0;
  }
  .about {
    padding: 20px;
    flex-direction: column;
  }
  .about-image {
    margin-right: 0px;
    margin-bottom: 20px;
  }
  .about-content {
    padding: 0px;
    font-size: 16px;
  }
}

/* form*/
