/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* @import '~@fortawesome/fontawesome-free/css/all.min.css'; */

/* || GENERAL STYLES */
*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  display: flex;
  flex-direction: column;
}

body {
  /* background-color:  #DADADB; */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
}

main {
  margin-bottom: 5rem;
}

nav a {
  text-decoration: none;
  color: rgba(0, 195, 255, 0.904);

}

nav li {
  list-style: none;
}

/* || NAVIGATION BAR */
.navbar1 {
  min-height: 3.75rem;
  width: 100%;
  background-color: rgba(10, 8, 3, 0.651);
  display: flex;
  position: fixed;
  justify-content: space-around;
  align-items: center;
  border: .1px solid rgba(0, 195, 255, 0.904);
  font-style: italic;
}

.navbar-ul ul {
  display: flex;
}

.brand a {
  font-family: Algerian;
  font-weight: 800;
  font-size: 1.6rem;
  color: rgba(0, 195, 255, 0.904);
  border-radius: 15%;

}

.brand span {
  font-size: 1rem;
  color: #ff5d6c;
}

.navbar-ul ul li {
  padding: 1rem;
}

.navbar-ul ul li a {

  font-size: 1.2rem;
  font-weight: 600;
  /* background-color: #a2a9b1; */
}

.nav-link-active,
.fa-grin-beam-sweat {
  color: rgba(0, 195, 255, 0.904) !important;
}

.navbar-ul li :hover {
  color: #ff5d6c !important;
}

.toggle-burger {
  display: none;
  height: 4vh;
  flex-direction: column;
  justify-content: space-between;
}

.toggle-bar {
  background-color: rgb(235, 227, 227);
  width: 2rem;
  height: 0.2rem;
}

.navbar2 {
  min-height: 3.5rem;
  background-color: #276A80;
  font-weight: 700;
  font-size: large;
  position: relative;
  top: 3.5rem;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-style: italic;
  box-shadow: 0.3rem 0.6rem 1rem;


}

.main-nav-2 {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.nav-links-2 {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  padding: 2.5rem;
}

.nav-links-2:hover {
  color: #ff5d6c;
}


.post-tag {
  display: inline-block;
  background-color: #f0f0f0;
  color: #333;
  padding: 0.3rem 0.6rem;
  margin-right: 0.5rem;
  border-radius: 0.3rem;
  text-decoration: none;
  font-size: 0.875rem;
}

.post-tag:hover {
  background-color: #e0e0e0;
}

/* main page  */

.svg-icon:hover {
  cursor: pointer;
}

#main-content {
  display: flex;
  justify-content: space-between;
  /* margin-right: 1.5rem; */
  margin-top: 10rem;
  /* z-index:-1; */
  /* background-color: #00BFFF; */
}

.post-one {
  display: flex;
  flex-direction: column;
  align-items: center;

}

.post-share-icons {
  background-color: #fff;
  border: 1px solid rgba(0, 195, 255, 0.904);
  ;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: .2rem;
  position: fixed;
  left: 0;
  box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.6);
}

.post-share-icons-text {
  font-size: 1rem;
  font-weight: 500;
}

.post-social-media-icon {
  padding: .5rem;
  cursor: pointer;

}

.post-social-media-icon:hover {
  transform: scale(1.6);
  transition: transform .3s ease-in;

}

.fa-facebook {
  color: #3B5998;
}

.fa-twitter {
  color: #55ACEE;
}

.fa-instagram-square {
  color: #E1306C;
  ;
}

.fa-reddit {
  color: #ff6314;
}

.fa-quora {
  color: #b92b27;
}

.fa-linkedin {
  color: #007bb5;
}
/* images and special characters */
.I-dont-know-gif {
  width: 10rem;
  height: 5rem;
  vertical-align: text-top;
  /* float: right; */
}

/* main article */
.post-one-main-post {
  margin-left: 5%;
  width: 80%;
  margin-right: 2%;
  display: flex;
  flex-direction: column;
}

.post-one-img1 {
  width: 100%;
  height: 60vh;
  align-self: center;
  margin-top: 3rem;
  object-fit: cover;
}

.post-one-img2 {
  width: 30%;
  height: auto;
  align-self: right;
  margin-top: 1rem;
  object-fit: contain;
  float: right;
}

.post-one-img-p4 {
  height: auto;
  width: 30%;
  float: right;
  margin-left: 1rem;
}

.post-table-content {
  background-color: #D3D3D3;
  border: .1px solid rgba(0, 195, 255, 0.904);
  border-radius: .5rem;
  color: rgba(0, 195, 255, 0.904);
  padding-left: 2rem;
  width: 50%;
  margin: 1.5rem 0 1rem .5rem;
}

.post-table-content ul li {
  padding: 1rem 0;
  text-decoration: none;
}

.post-table-content li:hover {
  color: #ff5d6c;
}

.post-table-content ul li a {
  color: black;
  font-weight: 900;
}

.post-one-main-post h1 {
  align-self: center;
  margin-top: 2rem;
  font-size: 2rem;
}

.post-one-main-post h2,
h2,
h3 {
  align-self: center;
  margin-top: 2rem;
}

.post-one-caracteristics {
  display: flex;
  justify-content: space-around;
  border-bottom: 2px solid rgba(10, 8, 3, 0.651);
  padding: 1rem;
  font-size: .9rem;
}

.post-one-date,
.post-one-author {
  border-right: 2px solid rgba(10, 8, 3, 0.651);
  padding-right: 2rem;
  display: flex;
  align-items: center;

}

.post-one-date>span,
.post-one-author>span {
  padding-right: .5rem;

}

.post-one-car-span {
  font-weight: 900;
}

.post-p {
  padding: .5rem;
  text-align: justify;
  display: inline !important;
}

.post-p-li {
  margin-left: 1rem
}

.conclusion-p {
  margin-bottom: 2rem;
}

/* comments  */
.comments-container {
  margin: 8rem 0;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 5px;
  width: 70%;
  box-shadow: inset 0 0 7.5px rgba(0, 0, 0, 0.2),
    inset 0 0 15px rgba(0, 0, 0, 0.1);
}

.comments-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-input {
  width: 100%;
  height: 50px;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  resize: vertical;
  /* Allows vertical resizing */
}
.comment-username {
  padding: .3rem;
  border-radius: 5px;
  margin-left:1rem,

}

.comment-body {
  border: 1px solid rgba(0, 195, 255, 0.2);
  padding: .5rem;
  border-radius: 5px;
  background-color: #f9f9f9;
  box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;

}
.comment-meta {
  color: #333;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  /* display: inline-block; */
}

.comment-date {
  color: #666;
  font-size: 0.8rem;
  margin-right: 1rem;
}
.comment-replies{
  margin-left: 3rem;
}

.reply-form{
  width: 60%;
  margin-left:4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.single-reply {
  margin-left: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.reply-username {
  padding: .3rem;
  border-radius: 5px;
  
}
.reply-input{
  width: 100%;
  height: 50px;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  resize: vertical;
 
}
.reply-buttons {
  display:flex;
  justify-content:space-around;
}
.reply-buttons button {
  padding:.5rem;
  border-radius:5px;
  color: #000;
}
.reply-buttons button:hover {
  background-color: rgba(0, 195, 255, 0.2);
  cursor: pointer;
} 
.cancel-reply {
  background-color: #ff5d6c;
  color: #fff;
}
/* !side bar  */
.sidebar {
  min-width: 25%;
  padding: 10px;
  background-color: #D3D3D3;
  border-radius: 5px;
  padding: 1rem;

}

.talk-to-me-div {
  margin-left: 1rem;
  position: relative;

}

.talk-to-me-div::after {
  content: 'Talk to me on X';
  background-color: black;
  color: white;
  padding: .4rem;
  border-radius: 5px;
  margin-top: 1rem;
  opacity: 0;
  /* Hide by default */
  transition: opacity 0.3s ease;
}

.talk-to-me-div:hover::after {
  opacity: 1;
  /* Show on hover */
}

.talk-to-me-pic {
  width: 50px;
  /* Adjust the size of the photo */
  height: 50px;
  /* Make sure width and height are equal for a perfect circle */
  border-radius: 50%;
  /* This makes the photo round */
  border: 3px solid #4b5563;
  /* Optional: Add a border with Twitter's brand color */
  display: block;
  /* Ensures the image behaves as a block element */
  transition: transform 0.3s ease;
  /* Optional: Adds a hover effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

}


footer {
  text-align: center;
  padding: 20px 0;
  background-color: #D3D3D3;
  color: #0028FF;
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
}

/* post2 variabilities  */
.post2_subtitle {
  text-align: center;
}

.csp_benefits {
  margin-left: 3rem;

}

.post2_subtitle {
  color: rgba(0, 195, 255, 0.904);
}

pre {
  background-color: #17202A;
  border: 1px solid rgba(0, 195, 255, 0.904);
  border-radius: 5px;

  overflow-x: auto;
  /* Enable horizontal scroll if needed */
  color: #fff;
}

#nonce-radom-in-post2_title5-subtitle3,
#hash-radom-in-post2_title5-subtitle3 {
  width: 17rem;
  display: inline;
}

.challenge-span {
  color: #ff5d6c;
}

.code-comment-span {
  color: #00ff33;
}

/* post3 variabilities  */
.useEffect-pitfall-img {
  width: 100%;
  height: 30rem;
  object-fit: contain;

}

.post-ol {
  margin-left: 2rem;
  padding: 1rem;
}

.inline-bold {
  display: inline !important;
}

@media screen and (max-width: 768px) {
  main {
    flex-direction: column;
  }

  .blog-posts,
  .sidebar {
    width: 100%;
  }

  .nav-links li {
    display: block;
    margin: 5px 0;
  }
}

/*# sourceMappingURL=stories_posts_bundle.d20e24af53f2913f8786.css.map*/