body, p, h1, h2, h3, h4, ul, li {
  margin: 0;
  padding: 0;
}

body {
  max-height: 100vh;
}

#nav-container > nav > ul {
  list-style-type: none;
  overflow: auto;
}

/* NAVIGATION */
#nav-background {
  /* position: fixed; */
  top: 0;
  z-index: 9000;
  width: 100%;
  background-color: #dd1154;
  border-bottom: 1px solid #ddd;
  /*
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
  */
}

#nav-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  -webkit-box-pack: justify;
  /* -webkit-justify-content: space-between; */
  -ms-flex-pack: justify;
  /* justify-content: space-between; */
  font-family: Arial, Helvetica, sans-serif;
}

#nav-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

#nav-logo {
  color:white;
  text-decoration: none;
}
#nav-logo:hover {
  color: white;
}

.nav-ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  max-width: 700px;
}

.nav-ul > li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.nav-link {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  color: white;
  text-decoration: none;
  font-weight: 600;
  /* font-size: 16px; */
  -webkit-transition: 200ms;
  transition: 200ms;
}

.nav-link:hover {
  background-color: #ff1864;
}

.active-link {
  background-color: #ff1864;
}

/* END NAVIGATION */


/* MOBILE MENU */
@media screen and (max-width: 700px) {

  #nav-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
  }

  #nav-menu-button {
    padding: 16px;
    background-color: #efcc14;
    cursor: pointer;
    padding: 13px;
    margin: 5px;
    border-radius: 5px;
  }

  .nav-ul {
    display: block;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow-y: scroll;
    direction: rtl;
    transition: max-height 400ms;
    max-height: 80vh;
  }

  .hide-ul {
    max-height: 0vh;
  }

  li .nav-link {
    padding: 16px 0;
    /* font-size: 16px; */
    border-bottom: 1px solid #f4f4f4;
  }
}
/* END MOBILE MENU */

/* DESKTOP MENU */
@media screen and (min-width: 701px) {

  #nav-menu-button {
    display: none;
  }

  li .nav-link {
    flex-basis: auto;
    padding: 16px 24px;
  }
}

/* This moves the logo so that it's not touching the left side */
@media screen and (max-width: 1040px) {
  #nav-logo {
    margin-left: 1rem;
  }
}
/* END DESKTOP MENU */

#logo{
  width: 120px;
}


/* ----body---- */


body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  font-family: "Noto Naskh Arabic", Sans-serif;
  font-size: 16px;
}

article{
  min-height: calc(100vh - 140px);
}

h1 {
  font-size: 2rem;
  line-height: 2.5rem;
}
h2 {
  font-size: 1.5rem;
  line-height: 2.5rem;
}
h3 {
  font-size: 1rem;
  line-height: 2rem;
  margin-bottom: 1.5rem;
  font-weight: lighter;
}

/* ----slide--- */

.slide {
  
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}

.slideContent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  max-width: 1000px;
  height: 100%;
  width: 100%;
  margin: auto;
}

.box1 {
  margin-right: 20px;
  margin-top: 6vh;
  text-align: right;
  color: hsl(50, 87%, 51%);
  width: 95%;
}

.box2 {
  display: grid;
  width: 100%;
}

.b2{

  background-color: #02021f;
  text-align: center;
  width: 200px;
  padding: 11px;
  border-radius: 65px;
  font-size: 25px;
  cursor: pointer;
  color: #efcb15;
  font-weight: bold;
  margin: auto;
  margin-top: 0px;
  text-decoration: initial;
  border: 3px solid #dd1111;
}

.b2 svg{
  width: 30px;
  fill: #ff0303;
  margin-bottom: -9px;
}

.box3 {
 margin: auto;
 margin-top: 0px;
}

.box1 h1 {
  width: 40%;
}

.box1 h3{
  color: wheat;
}

/* ----body--- */



.parent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  min-height: 100vh;
}

.box {
  flex: 1 1 600px; /*  Stretching: */
  flex: 0 1 450px;
  margin: 5px;
  display: grid;
  place-items: center;
  text-align: center;
}


.techfeater .box {
  min-height: 25vh;
  max-width: 200px;
  margin: auto;
}
.techfeater {

  display: flex;
  flex-wrap: wrap;
  background: #f7f7f8;
}

.techfeater svg {
  height: 70px;
  color: #efcb15;
}

#footer {
  height: 50px;
  background-color: #dd1154;
  display: grid;
  place-items: center;
  color: white;
  width: 100%;

 }

@media (min-width: 921px) {
  html {
    font-size: 28px;
  }

.box2, .box3 {
  width: 95%;
  margin-right: 20px;
}
.box2{
  margin-right: 8%;
}
.b2{
  margin: initial;
  height: max-content;
}

.parent {
  min-height: unset;
}
.box {
  min-height: 50vh;

}
}

.buty {
  background-image: url(./images/happy.jpg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  height: 14vw;
}

.buty img{
  height: 70%;
  margin-right: 10%;
}

@media (max-width: 921px) {
  html {
    font-size: 24px;
  }

  .changeOrder{
    order: 1;
  }
}

@media (max-width: 543px) {
  
  html {
    font-size: 16px;
  }

}

article{

  max-width: 1000px;
  margin: auto;
  padding: 20px;
  text-align: justify;
  
}
article ul{
  padding-right: 40px;
}

