@import url('https://fonts.googleapis.com/css?family=Lato:400,700|Lora|Playfair+Display:700i,900');

html,
body {
  margin: 0;
  width: 100%;
}

h1,
h2,
p,
i,
a,
.first-letter,
.authorName a {
  color: rgba(0, 0, 0, 0.84);
  text-rendering: optimizeLegibility;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  text-align: left;
  margin-bottom: 8px;
}

h2 {
  font-family: "Lato", sans-serif;
  font-size: 26px;
  font-weight: 700;
  padding: 0;
  margin: 56px 0 -13px -1.883px;
  text-align: left;
  line-height: 34.5px;
  letter-spacing: -0.45px;
}

h3 {
  font-family: "Lato", sans-serif;
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  margin: 56px 0 -13px -1.883px;
  text-align: left;
  line-height: 34.5px;
  letter-spacing: -0.45px;
}
p, i, a {
  margin-top: 21px;
  font-family: "Lora";
  font-size: 21px;
  letter-spacing: -0.03px;
  line-height: 1.58;
}

a {
  text-decoration: underline;
}

img{
      max-width: 100%; /* Limit the image's max width to the container's width */
    height: auto; 
}
blockquote {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-style: italic;
  letter-spacing: -0.36px;
  line-height: 44.4px;
  overflow-wrap: break-word;
  margin: 55px 0 33px 0;
  /* text-align: center; */
  color: rgba(0, 0, 0, 0.68);
  padding: 0 0 0 50px;
}

li{
  margin-top: 21px;
    font-family: "Lora";
    font-size: 21px;
    letter-spacing: -0.03px;
    line-height: 1.58;
}


.calltoAction {
    width: 100%;
    background-color: #25373F;
    text-align: center;
    color: #fff;
    height: 400px;
    padding-top: 100px;
}

.contentWrapper {
    width: 90%; /* Adjusted width for smaller screens */
    max-width: 1200px; /* Added maximum width for larger screens */
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Stack items vertically on small screens */
    align-items: center; /* Center content horizontally on small screens */
}

.leftContent {
    width: 100%; /* Full width on small screens */
    text-align: center; /* Center text on small screens */
    margin-bottom: 20px; /* Add space between left and right content on small screens */
}

.rightContent {
    width: 100%; /* Full width on small screens */
    text-align: center; /* Center text on small screens */
}

.biggerbtn {
    background-color: #009b72;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    font-size: 16px;
    margin: 10px 0; /* Add space between buttons */
}

.biggerbtn:hover {
    background-color: #007a5e;
}

/* Media query for screens 768px and larger */
@media (min-width: 768px) {
    .contentWrapper {
        flex-direction: row; /* Display items side by side on larger screens */
        justify-content: space-between; /* Space out left and right content */
    }

    .leftContent {
        width: 70%;
        text-align: left;
        margin-bottom: 0; /* Remove space between left and right content */
    }

    .rightContent {
        width: 30%;
        text-align: right;
    }

}




.subtitlecta{
  color: #fff;
  font-size: 16px;

}
.cta{
  color: #fff;
  font-size: 48px;
  line-height: 55px;
  
}
.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.68);
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}

.code-container {
  position: relative;
      overflow-x: auto; /* Add horizontal scroll for code overflow */
    max-width: 100%; /* Allow the container to adapt to its parent */
}
pre {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  padding: 45px;
  white-space: pre-wrap; /* Allow text to wrap and break lines */
  overflow-x: auto; /* Add horizontal scroll for code overflow */
  max-width: 100%; /* Allow the container to adapt to its parent */
    word-wrap: break-word; /* Allow long words to break onto the next line */
  overflow-wrap: break-word; /* Allow long words to break onto the next line */
  white-space: pre-wrap;
  word-wrap: break-word;
  text-align: justify;
    word-break: break-all;

}

code {
  font-size: 18px;
  white-space: pre-wrap; /* Allow text to wrap and break lines */
  max-width: 100%; /* Allow the container to adapt to its parent */
    word-wrap: break-word; /* Allow long words to break onto the next line */
  overflow-wrap: break-word; /* Allow long words to break onto the next line */
  white-space: pre-wrap;
  word-wrap: break-word;
  text-align: justify;
}

ccode {
  font-size: 18px;
  white-space: pre;
  text-wrap: balance;
background-color: rgba(0,0,0,.05);
  color: #000;
  padding-left: 7px;
  padding-right: 7px;
      font-family: monospace;
}

        table {
            border-collapse: collapse;
            width: 100%;
        }

        /* Header row styles */
        table tr:first-child {
            background-color: #333; /* Grey */
            color: white;
        }

        /* Table cell styles */
        td, th {
            border: 1px solid #333; /* Grey */
            padding: 8px;
            text-align: left;
        }


        /* Alternating row colors */
        /*tr:nth-child(even) {
            background-color: #f2f2f2; 
        }*/

        /* Hover effect */
        tr:hover {
            background-color: #ddd; /* Darker grey */
        }



.highlighted {
  background: #009b72;
  color: #F2F2F2 ; /*  this could be F2F2F2 or FFD700 (goldish) */
}

.orange_background{
    background: #009b72;
  color: #F2F2F2 ; /*  this could be F2F2F2 or FFD700 (goldish) */
}

strong {
  font-weight: 700;

}

.callout::before {
    content: "\f0eb"; /* Font Awesome lightbulb icon Unicode */
    font-family: 'Font Awesome 6 Free';
    font-weight: 300; /* Light style of the lightbulb icon */
    margin-right: 10px; /* Adjust spacing between icon and text */
}

.callout {
    font-family: "Lato", sans-serif;
    font-size: 21px;
    font-style: normal;
    letter-spacing: -0.36px;
    line-height: 30.4px;
    overflow-wrap: break-word;
    margin: 35px 0 33px 0;

    /* text-align: center; */
    color: rgba(0, 0, 0, 0.68);
    background-color: rgba(128, 128, 128, 0.6);;
    padding: 0 0 0 50px;
    padding-top:20px ;
    padding-bottom: 20px;
    font-weight: 300;
    color: #fff;
}

.first-letter {
  overflow-wrap: break-word;
  font-family: "Playfair Display", serif;
  font-size: 60px;
  line-height: 60px;
  display: block;
  position: relative;
  float: left;
  margin: 0px 7px 0 -5px;
}

.subtitle {
  font-family: "Lato", sans-serif;
  color: rgba(0, 0, 0, 0.54);
  margin: 0 0 24px 0;
}

/* ##################################################################################
########################################  LAYOUT  ###################################
##################################################################################### */

.precontainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 30px;
  border-bottom: solid 1px #F2F2F2;
  margin-bottom: 25px;
}

.logoholder {
  font-size: 36px;
  font-weight: bold;
}

.nodecor2 {
  text-decoration: none;
  font-size: 30px;
  font-weight: bold;
}

.navitems {
  display: flex;
  align-items: center;
  gap: 25px;

}

.navitem {
  margin: 0;
  padding: 0;
      font-size: 12px;
          color: rgba(0, 0, 0, 0.5);
}

.nav-link {
  text-decoration: none;
  color: inherit;
  padding: 5px;
  font-size: 18px;
}

.nav-link:hover {
    color:black;
}

.bigbtn {
  background-color: #009b72;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
}

.bigbtn:hover {
  background-color: #007a5e;
}

.navitem, .bigbtn {
  line-height: normal; /* reset any inherited line-height */
  margin: 0; /* remove any margin */
  height: 100%;
}

.navitems {
  display: flex;
  align-items: center;
  gap: 20px;
}
/* Toggle button styles */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navitems {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    position: absolute;
    top: 100px;
    left: 0;
    background-color: #fff;
    z-index: 1;
  }

  .navitems.show {
    display: flex;

  }
}



.container {
  display: -ms-grid;
  display: grid;
      -ms-grid-columns: auto 0px 740px 0px auto; 
      grid-template-columns: auto 0px 740px 0px auto;
      -ms-grid-rows: 319px auto 150px;
      grid-template-rows: 319px auto 150px;
      grid-template-areas:
    ". img img img ."
    ". . article . ."
    ". . footer . .";
}

.meta {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  -ms-grid-column-span: 3;
  grid-area: img;
  margin: 10px;

  display: -ms-grid;

  display: grid;
      -ms-grid-rows: auto;
      grid-template-rows: auto;
      -ms-grid-columns: 1fr;
      grid-template-columns: 1fr;
      grid-template-areas:
    "info";
}

.image {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: image;
  background: url("https://images.unsplash.com/photo-1525547719571-a2d4ac8945e2?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=ec073341402b36bb155e3bcb77eea9cd&dpr=1&auto=format&fit=crop&w=1000&q=80&cs=tinysrgb");
  background-size: cover;
  background-repeat: no-repeat;
}

.info {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: info;
  padding: 60px 60px 0 0;
  margin-bottom: 30px;
}

.author {
  display: -ms-grid;
  display: grid;
      -ms-grid-columns: 60px auto;
      grid-template-columns: 60px auto;
      -ms-grid-rows: 60px;
      grid-template-rows: 60px;
      grid-template-areas:
    "authorImage authorInfo";
}

.authorImage {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: authorImage;
  border: 2px solid #7DFFB3;
  border-radius: 50%;
  background: url('https://proxiesapi.com/assets/img/avatars/mohan.jpg');
  background-size: cover;
}

.authorInfo {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: authorInfo;
  padding-left: 10px;
}

.authorName,
.authorSub {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-top: 6px;
}

.authorName a {
  font-size: inherit;
  font-family: inherit;
  text-decoration: none;
}

.authorName a:hover {
  text-decoration: underline;
}

.authorSub {
  color: rgba(0, 0, 0, 0.54);
}

.median-divider {
  padding: 0 6px;
}

.lineLength {
  border: 2px dashed rgba(0, 0, 0, 0.54);
}

.article {
  -ms-grid-row: 2;
  -ms-grid-column: 3;
  grid-area: article;
  margin: 40px 10px;
}

.footer {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
  grid-area: footer;
  background: #333333;
}

@media screen and (max-width: 1072px) {
  .container {
        -ms-grid-columns: auto 740px auto;
        grid-template-columns: auto 740px auto;
        grid-template-areas:
      ". img ."
      ". article ."
      ". footer  .";
  }
  .meta {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
  }
  .article {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
  }
  .footer {
    -ms-grid-row: 3;
    -ms-grid-column: 2;
  }
}

@media screen and (max-width: 740px) {
  .container {
        -ms-grid-rows: auto auto -1px;
        grid-template-rows: auto auto -1px;
        -ms-grid-columns: auto;
        grid-template-columns: auto;
        grid-template-areas:
      "img"
      "article"
      "footer";
  }

  .meta {
        -ms-grid-rows: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        grid-template-areas:
      "info";
  }
  .info {
    padding-top: 0;
  }
  .meta {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
  }

  .image {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }

  .info {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .article {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
      margin: 230px 10px;

  }
  .footer {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
}