/* adding font */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300&display=swap');

/* Nav styling start */
* {
  margin     : 0;
  padding    : 0;
  box-sizing : border-box;
  font-family: 'Courier New', Courier, monospace;
}


.navbar {

  height         : 5rem;
  width          : 100%;
  background     : rgb(0, 0, 0);
  color          : rgb(255, 255, 255);
  display        : flex;
  align-items    : center;
  justify-content: space-between;
}

.mainMenu {
  display   : flex;
  list-style: none;
}

.link {
  font-family    : Arial, sans-serif;
  border-radius  : 2.75px;
  display        : inline-block;
  padding        : 15px;
  text-decoration: none;
  text-transform : uppercase;
  color          : rgb(255, 255, 255);
  font-size      : 18px;
  transition     : 0.2s ease;
}

.link:hover {
  background: rgb(255, 255, 255);
  color     : rgb(0, 0, 0);
}

.openMenu {
  font-size: 2rem;
  margin   : 20px;
  display  : none;
  cursor   : pointer;
}

.mainMenu .closeMenu,
.icons i {

  font-size: 2rem;
  display  : none;
  cursor   : pointer;
}

.fa-facebook:hover {
  color: rgb(0, 110, 255);
}

.fa-twitter:hover {
  color: rgb(86, 154, 243);
}

.fa-instagram:hover {
  color: rgb(255, 0, 191);
}

.fa-github:hover {
  color: rgb(255, 123, 0);
}

@media (max-width: 800px) {


  .mainMenu {
    height         : 50vh;
    position       : fixed;
    top            : 0px;
    right          : 0px;
    left           : 0px;
    z-index        : 10;
    flex-direction : column;
    justify-content: center;
    align-items    : center;
    color          : #fff;
    background     : rgb(0, 0, 0);
    transition     : top 1s ease 0s;
    display        : none;
  }

  .mainMenu .closeMenu {
    display : block;
    position: absolute;
    top     : 20px;
    right   : 20px;
  }

  .openMenu {
    display: block;
  }

  .link:hover {
    background-color: #fff;
    color           : rgb(0, 0, 0);
  }

  .icons i {
    display: inline-block;
    padding: 12px;
  }

}

.logo_img {
  margin-left  : 5px;
  width        : 4rem;
  border-radius: 5.75px;
  height       : 50px;
}

/* Nav styling end   */

/* main styling start */

.projects {
  border-radius   : 25px;
  background-image: url("../img/html-background.jpeg");
  overflow        : hidden;
  width           : 80%;
  margin-top      : 2rem;
  margin-left     : 20%;
  border          : 1px solid #000;
  display         : flex;
  align-content   : space-between;
  box-shadow      : -9px 20px 12px #000;
}

.heading_container {
  display    : grid;
  font-size  : 2.1rem;
  place-items: center;
  width      : 50%;


}

.heading {
  text-transform: uppercase;
  font-family   : 'Roboto Slab', monospace;
}

.pera_container {
  font-weight: 900;
  padding    : 1rem;
  text-align : center;
  width      : 50%;
  font-size  : 1.5rem
}

.python {
  box-shadow      : 9px 20px 12px #000;
  width           : 85%;
  display         : flex;
  background-image: none;
  border          : 1px solid #000;
  border-radius   : 25px;
  padding         : 1rem;
  margin-top      : 5rem;
}

.notes {
  box-shadow   : -9px 20px 12px #000;
  border       : 1px solid #000;
  margin-top   : 5rem;
  border-radius: 25px;
  padding      : 1rem;
  display      : flex;
  width        : 80%;
  margin-left  : 19.562%;
}

.notes_pera_container {
  width: 50%;
}

.notes_pera {
  text-align : center;
  font-size  : 1.5rem;
  font-weight: 900;
}

.notes_head_container {
  display            : grid;
  font-size          : 2.5rem;
  place-items        : center;
  width              : 50%;
  background-repeat  : no-repeat;
  background-position: center;
  background-size    : contain;
  background-image   : url("../img/notes.png");
}

.notes_head_container a {
  color: rgb(0, 0, 0);
}

.free_books {
  box-shadow   : 9px 20px 12px #000;
  display      : flex;
  padding      : 1rem;
  width        : 80%;
  margin-right : 20%;
  border       : 1px solid red;
  border-radius: 25px;
  margin       : 5rem 0;
}

.book_container {
  width              : 50%;
  font-size          : 2rem;
  display            : grid;
  place-items        : center;
  background-image   : url("../img/books.jpg");
  background-repeat  : no-repeat;
  background-position: center;
  background-size    : contain;
}

.book_container a {
  color: #fff;
}

.book_pera {
  width      : 50%;
  text-align : center;
  font-size  : 1.5rem;
  font-weight: 900;
}

.footer {
  display         : grid;
  place-items     : center;
  width           : 100%;
  height          : 5rem;
  background-color: gray;
  color           : #fff;
  font-size       : 1.5rem;
  font-weight     : 800;
}

.python_con {
  background         : url("../img/python.jpg") no-repeat;
  background-position: center;
  background-size    : contain;
}

.python_con a {
  color: rgb(0, 0, 0);
}

.logo {
  height: 2rem;
  color : #fff;
}