* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: "Poppins", sans-serif;
}

html {
     scroll-behavior: smooth;
}

:root {
     --main-bg-color: #0f141c;
     --para-color: #b6bcc9;
     --heading-color: #f9fafb;
     --border-color: #ffffff28;
}

body {
     font-family: "Poppins", sans-serif;
     background-color: var(--main-bg-color);
     margin: 1rem 0;
     overflow-x: hidden;
     width: 100%;
}

.layout {
     display: flex;
     flex-direction: column;
     min-height: 100vh;
     width: 100%;
}

/* Main Content */
.main-content {
     /* width: 98%; */
     position: relative;
     /* left: 20%; */
     top: 2.3rem;
     overflow: auto;
     overflow-x: hidden;
     color: #b6bcc9;
     line-height: 2.5;
     margin: 1rem 0;
     padding-bottom: 1rem;
     font-size: 1.12rem;
     text-align: left;
     background-color: #0e121ba6;
     padding: 2rem 2rem 0rem;
     border: 1px solid #2c2c2c;
     padding: 2rem;
     padding-left: 3rem;
}

.main-content ul li {
     list-style: circle;
     margin: 1rem 1.3rem;
     font-size: 1.1rem;
}

.main-content h1 {
     font-size: 2.3rem;
     font-weight: 700;
     padding-top: 0.75rem;
     padding-bottom: 0.75rem;
     color: #f3f4f6;
     margin: 2rem 0;
}

.main-content h2 {
     font-size: 1.75rem;
     font-weight: 600;
     padding-top: 0.75rem;
     padding-bottom: 0.75rem;
     color: #f3f4f6;
     margin: 2rem 0;
}

.main-content h3 {
     font-size: 1.3rem;
     font-weight: 600;
     padding: 0.5rem 0;
     color: #f3f4f6;
     margin: 1.5rem 0;
}

.main-content h4 {
     font-size: 1.1rem;
     font-weight: 600;
     padding: 0.5rem 0;
     color: #f3f4f6;
     margin: 1.5rem 0;
}

pre {
     line-height: 2;
     text-wrap: wrap;
     /* padding: 0 1rem; */
     margin: 1rem auto;
}

video {
     margin: 1.5rem 0;
     width: 70%;
}

.html-code {
     height: 300px;
     width: 374px;
     font-family: Consolas, Menlo, "courier new", monospace;
     background-color: rgb(21, 32, 43);
     color: white;
     border-left: 4px solid #04aa6d;
     border-left-color: rgb(40, 44, 52);
     font-size: 15px;
     margin-top: 16px !important;
     margin-bottom: 16px !important;
     padding: 8px 12px;
     word-wrap: break-word;
     line-height: 1.5;
}

.html-code::before {
     box-sizing: inherit;
}

.html-code::after {
     box-sizing: inherit;
}

.selector-color {
     color: #f99;
}

.tagcolor {
     color: #8cb;
}

.css-code-property {
     color: #c5a5c5;
}

.such-that {
     color: #fff;
}

.css-code-pro-value {
     color: #88c999;
}

.semi-colon {
     color: #fff;
}

.css-brecut {
     color: #fff;
}

table {
     width: 100%;
     border-collapse: collapse;
     margin: 20px 0;
}

table,
th,
td {
     border: 1px solid #dddddd;
}

th,
td {
     padding: 10px;
     text-align: left;
}

th {
     color: #ffffff;
}

.main-content p {
     color: #b6bcc9;
     font-size: 1.12rem;
     margin: 1rem 0rem !important;
     font-size: 1.12rem;
     line-height: 1.5;
}

p a {
     text-decoration: underline;
     color: #7c7cf6;
     margin: 1rem 0;
     font-size: 1.12rem;
}

p a:hover {
     color: #e5e7eb;
}

strong {
     color: #e5e5e5;
     font-weight: 500 !important;
     font-family: Poppins, sans-serif !important;
}

.main-content li strong {
     color: #e5e5e5;
     font-weight: 600 !important;
     font-family: Poppins, sans-serif !important;
}

img {
     border-radius: 1rem;
     border: 1px solid #ffffff62;
     margin: 1.75rem 0;
}

.box {
     border: 1px solid #ffffff62;
     padding: 0.65rem;
     margin: 0.65rem;
}

/* Html-Page-Structure */

.tag {
     color: #9cdcfe;
}

.content {
     margin-left: 1.25rem;
}

.inner-box {
     border: 1px solid #3a3a3a;
     margin: 0.65rem;
     padding: 0.65rem;
}

.line {
     margin: 0.25rem 0;
}

/*  ✅ CSS Styling  */

.code-box {
     position: relative;
     background-color: #1e293b8b;
     color: #f8f8f2c6;
     padding: 1.25rem;
     border-radius: 0.65rem;
     font-family: "Courier New", monospace;
     overflow-x: auto;
     border: 1px solid #555;
     margin: 1rem 0rem;
}

.tag-text {
     color: white;
     font-weight: 500;
}

.tag-name-1 {
     color: rgb(178, 9, 9);
}

.small-cbox {
     position: relative;
     background: #1e1e2f;
     color: #f8f8f2;
     border-radius: 0.65rem;
     font-family: "Courier New", monospace;
     overflow-x: auto;
     border: 1px solid #555;
     padding: 1rem;
     margin-bottom: 0.5rem;
}

.section {
     border: 1px solid #c4c4c455;
     border-radius: 0.5rem;
     padding: 1rem;
     margin: 1.5rem 0rem;
     font-size: 1.12rem;
     background-color: #111827;
}

.tag-name {
     color: #004080;
     font-weight: bold;
     font-size: 1.1rem;
     margin-bottom: 0.5rem;
}

.tag-description {
     font-size: 1rem;
     color: #000000;
     line-height: 1.6;
     font-weight: 500;
}

/* Html-Tags-Style */

.html-tag-bg-color {
     color: #fff;
     padding: 4px 5px;
     border-radius: 0.25rem;
     background-color: #222a39;
}

/*    Next Blog Section    */

.nextBlogsSec {
     padding: 0 1.5rem;
     border: 1px solid #0e7d55;
     color: #0080ff;
     margin-bottom: 2rem;
}

.nextBlogsSec h2,
a {
     font-size: larger;
}

.nextBlogsSec a {
     color: #0080ff;
}

.nextBlogsSec a:hover {
     color: #116ac3;
}

/* Responsive Code  for Small Scrrens*/

@media screen and (max-width: 1280px) {
     .main-content {
          position: relative;
          left: 5%;
          right: 5%;
          padding: 1rem 1rem 0rem;
          flex-wrap: wrap;
          text-wrap: wrap;
     }

     img {
          width: 80%;
          height: 50%;
          text-align: left;
     }
}

@media screen and (max-width: 1140px) {
     .main-content {
          position: relative;
          padding: 1rem 1rem 0rem;
     }
}

@media screen and (max-width: 1000px) {
     .main-content {
          position: relative;
          overflow-x: hidden;
     }
}

@media (max-width: 800px) {
     .main-content {
          width: 100%;
          position: relative;
          text-wrap: wrap;
          transition: all 0.3s ease;
     }

     img {
          margin: 0 auto;
          width: 75vw;
     }

     video {
          margin: 0 auto;
     }

     pre {
          text-wrap: wrap;
     }

     .main-content h1 {
          font-size: 1.5rem;
          font-weight: 500;
     }

     .main-content h2 {
          font-size: 1.25rem;
          font-weight: 450;
     }

     .main-content h3 {
          font-size: 1.15rem;
          font-weight: 450;
     }

     .main-content h4 {
          font-size: 1rem;
          font-weight: 450;
     }

     li {
          font-size: 0.8rem;
          font-weight: 400;
          text-align: left;
     }

     pre {
          line-height: 2;
          text-wrap: wrap;
     }

     p {
          font-weight: 400;
          font-size: 0.8rem;
          margin: 1rem 0;
     }

     p a {
          font-size: 0.8rem;
     }

     strong {
          color: #ebebeb;
          font-size: 0.8rem;
     }

     video {
          width: 95%;
     }
}

@media (max-width: 516px) {
     .btn-group {
          /* flex-wrap: wrap; */
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 2rem;
          color: #000;
     }

     .main-content li,
     p {
          font-size: 0.7rem;
          text-align: left;
     }
}

/* Responsive Code  for Big Scrrens*/
@media (min-width: 1400px) {
     .main-content {
          width: 100%;
          position: relative;
          left: 5%;
          right: 5%;
          overflow-x: hidden;
          font-size: larger;
     }

     .main-content h1 {
          font-size: 2.5rem;
          font-weight: 500;
     }

     .main-content h2 {
          font-size: 2.25rem;
          font-weight: 450;
     }

     .main-content h3 {
          font-size: 2.15rem;
          font-weight: 450;
     }

     .main-content h4 {
          font-size: 2rem;
          font-weight: 450;
     }

     .main-content ul li {
          font-size: 1.8rem;
          font-weight: 400;
          text-align: left;
     }

     pre {
          line-height: 2.5;
          text-wrap: wrap;
     }

     .main-content p {
          font-weight: 400;
          font-size: 1.8rem;
          margin: 1rem 0;
     }

     .main-content p a {
          font-size: 1.8rem;
     }

     .main-content strong {
          color: #ebebeb;
          font-size: 1.8rem;
     }
}
