* {
	margin:0px;
	padding:0px;
}

body{
  font-family: ' Helvetica', sans-serif;
  background-color: white;
}

html {
  scroll-behavior: smooth;
}


.nav {
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 1000;
}

.nav-link {
  padding-block: 12px;
  padding-inline: 20px;
  font-size: 18px;
  text-decoration: none;
  font-weight: bold;
  margin: 0;
  position: relative;
  color: white;
  border-bottom: 2px solid black;
  transition: border-bottom 0.3s;
}

.nav-link::after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0px;
  margin: 0;
  background-color: gold;
  transition: width 0.15s ease;
}

.nav-link:hover::after {
  width: 80%;
  background-color: gold;
  transition: width 0.2s ease;
}


h2 {
  text-align: center;
  margin-block: 20px;
}

.logo {
  margin-inline: 35px;
  height: 32px;
}

.logo img {
  height: 32px;
  width: 100%;
}

.space {
  user-select: none;
}


.hrefs {
  text-decoration:none;
  color:rgb(255, 255, 255);
  transition: color 0.5s ease;
  text-align:center;
  padding-inline: 1%;
}

.hrefs:hover {
  color: gold;
}

#logo {
  color: rgb(255, 255, 255);
  font-size: 40px;
  transition: color 0.5s ease;
}

#logo:hover {
  color: gold;
}

.article {
  width: 65%;
  margin: auto;
  background-color: white;
}

h1 {
  padding-inline: 0;
  font-size: 40px;
  padding-block: 60px 40px;
}

.article p {
  padding: 20px;
  padding-inline: 0;
  font-size: 23px;
  line-height: 40px;
}

.article ul, ol {
  padding-inline:5%;
  font-size: 23px;
  line-height: 40px;
}

.article img {
  width: 70%;
  margin-inline: 15%;
}

.article figcaption {
  font-size: 17px;
  text-align: center;
  margin: 2%;
}

.article hr {
  width: 100%;
  margin-inline: 0;
  height: 7px;
  border: none;
  background: linear-gradient( to right, blue, red);
  border-radius: 20px;
}

a {
  color: black;
  text-decoration: underline;
}

.article table {
  margin:auto;
  border: 1px solid black;
  width: 88%;
  border-collapse: collapse;
  border-radius: 30px 30px 0 0;
  border: none;
}

.article th {
  font-size: 20px;
  padding: 2%;
  background-color: rgb(0, 0, 0);
  color: white
}

.article td {
  font-size: 20px;
  padding-inline: 1.5%;
  line-height: 30px;
  padding-block: 3%;
}

.article tr:nth-of-type(even) {
  background-color: rgb(223, 223, 223);
  color: rgb(0, 0, 0);
}

.article tr:nth-of-type(odd) {
  background-color: rgb(247, 247, 247);
  color: rgb(0, 0, 0);
}

.article td:nth-of-type(odd) {
  text-align: center;
  width: 35%;
}

.author {
  padding-inline: 0;
  font-size: 20px;
  padding-block: 2%;
}

.date {
  color: rgb(71, 71, 71);
}

.buttons {
  padding-inline: 6%;
  padding-block: 7%;
  text-align: center;
  
}

.button {
  width: 20%;
  height: 50px;
  background-color: black;
  border: none;
  color: white;
  border-radius: 20px;
  font-size: 20px;
  margin-inline: 3%;
  transition: all 0.5s ease;
  box-shadow: 0px 0px 7px black;
  cursor: pointer;
}

.button:hover {
  color: gold;
  box-shadow: 0px 0px 13px black;
}

h2 {
  text-align: center;
  font-size: 30px;
  margin-block: 5%;
}

.footer{
  text-align:center;
  background-color: rgb(0, 0, 0);
  color:white;
  padding:30px;
  width: 80%;
  margin-left: 20%;
}

::-webkit-scrollbar { 
  width: 1vw;
}

::-webkit-scrollbar-thumb {
  width: 1vw;
  background-color: gray;
  border-radius: 5vw;
  border: 0.25vw solid white;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgb(63, 63, 63);
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::selection {
  background-color: rgba(168, 168, 168, 0.712);
}

p code {
  background-color: black;
  padding-block: 10px;
  padding-inline: 5px;
  font-size: 5px;
  line-height: 35px;
}

.article p code {
  font-size: 20px;
}

.article td a {
  text-decoration: none;
}

.article td a:hover {
  text-decoration: underline;
}

.article code {
  background-color: rgb(0, 0, 0);
  color: #d8ab06;
  padding: 15px;
  font-size: 25px;
  display: block;
}


.h1-example {
  padding-inline: 0;
  font-size: 2em;
  padding-block: 0px 0px;
}
.h2-example {
  padding-inline: 0;
  font-size: 1.5em;
  text-align: left;
  padding-block: 0px 0px;
  margin-block: 0;
}

.a-example {
  color: blue;
  text-decoration: underline;
}

.a-example:visited {
  color: purple;
}

.onetap {
  width: 100px;
  height: 100px;
  background-color: white;
  border: 1px solid black;
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
}

.sidebar {
  width: 20%;
  float: left;
  height: calc(100vh - 46.6px);
  background-color: rgb(52, 52, 52);
  color: white;
}

.article {
  width: 60%;
  margin-right: 10%;
  margin-left: 30%;
  float: right;
}

.sidebar li {
  padding-left: 10%;
  font-size: 18px;
  padding-block: 5%;
}

.sidebar a {
  color: white;
  text-decoration: none;
  display: block;
}

.sidebar li:hover {
  background-color: gray;
}

.sidebar h2 {
  padding-top: 5%;
  font-size: 25px;
}

.side-wrapper {
  display: flex;
}

.side {
  overflow: auto;
  position: fixed;
}

.side::-webkit-scrollbar-track {
  background-color: rgb(52, 52, 52);
  
}

.side::-webkit-scrollbar-thumb {
  border: 0.25vw solid rgb(52, 52, 52);
  background-color: rgb(161, 161, 161);
  
}

.side::-webkit-scrollbar-thumb:hover {
  background-color: rgb(213, 213, 213);
}

.side::-webkit-scrollbar {
  width: 0.9vw;
}

.htmlcourse {
  width: 80%;
  margin-inline: 5%;
  margin-block: 20px;
  padding-block: 20px;
  border-radius: 50px;
  padding: 5%;
}

.coursep {
  width:100%;

}

.coursep button {
  padding-inline: 20px;
  padding-block: 10px;
  border: none;
  outline: none;
  background-color: black;
  color: white;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  width: 90%;
  margin-inline: 5%;
  margin-block: 30px;
}

.coursep button:hover {
  color: gold;
}

.coursep p {
  font-size: 18px;
  line-height: 30px;
}

.courseimg {
  width: 100%;
}

.courseimg img {
  height: 150px;
  width: 90%;
  margin-inline: 5%;
  border-radius: 30px;
}



.references {
  width: 100%;
}

.coursepr {
  padding: 200px;
  padding-block: 30px;
}

.coursepr button {
  padding-inline: 50px;
  padding-block: 10px;
  border: none;
  outline: none;
  background-color: black;
  color: white;
  border-radius: 50px;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.5s ease;
  font-weight: bold;
  width: 50%;
  margin-inline: 25%;
  margin-block: 30px;
}

.coursepr button:hover {
  color: gold;
}

.coursepr p {
  font-size: 22px;
  line-height: 40px;
}

.courseimgr img {
  width: 50%;
  margin-inline: 25%;
  margin-bottom: 30px;
}

.all {
  width: 90%;
  margin-inline: 5%;
  background-color: rgb(232, 232, 232);
  border-radius: 50px;
  padding-block: 30px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  margin-bottom: 50px;
}