/* style.css */
body {
  scroll-behavior: smooth;
}
.navbar-brand {
  font-weight: bold;
  
}

.section {
  padding: 60px 0;
}
.section-title {
  margin-bottom: 40px;
}
.logo {
  width: 45px;
  height: 55px;
  margin-right: 10px;
}
.navbar-custom {
  --bs-bg-opacity: 1;
  background-color: rgb(83 83 83) !important;
}
footer {
  padding: 20px 0;
  text-align: center;
  background-color: #f8f9fa;
}
.random-images {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
}
.nested-list ul {
  list-style-type: circle;
  text-align: left;
  margin-left: 40px;
}
.nested-list ul ul {
  list-style-type: square;
}
.code-editor {
  background-color: #f5f5f5;
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  padding: 15px;
  position: relative;
  font-family: "Courier New", Courier, monospace;
}
.copied-text {
  display: none;
  color: green;
  font-weight: bold;
  margin-left: 5px;
}
.copy-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  padding: 5px 10px;
  font-size: 12px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.copy-btn:hover {
  background-color: #0056b3;
}

.image-sample {
  width: 200px;
  height: 200px;

}
.card {
background-color: #2c2c2c;
color: white;
border: none;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.card img {
border: 5px solid white;
}
.card .social-icons a {
font-size: 1.5rem;
color: white;
margin: 0 10px;
}
.card .social-icons a:hover {
color: #007bff;
}
.social-icons .btn {
  padding: 0.4rem; /* Reduce padding for a more compact button */
  width: 3.5rem;
  height: 3.5rem;
}

.social-icons .btn i {
  font-size: 1.2rem; /* Set a fixed size for the icons */
  line-height: 2.5rem; /* Center the icons vertically */
}
@media (max-width: 576px) {
  .social-icons .btn {
    width: 2rem;
    height: 2rem;
  }
  
  .social-icons .btn i {
    font-size: 1rem;
    line-height: 2rem;
  }
}
.footer-custom {
  background-color: rgb(83, 83, 83) !important;
  color: white;
  padding: 20px 0;
  text-align: center;
}
/* Ensure all images are square */
.image-sample {
  width: 100%;
  height: auto;
  object-fit: cover; /* Maintains the image ratio */
  border-radius: 8px;
  display: block; /* Ensures images are block-level elements */
}

/* Make the images responsive to fit the container */
@media (max-width: 768px) {
  .image-sample {
    width: 100%; /* Images will fill the width of the container */
    height: 100%; /* Maintain height consistency */
  }
}

@media (max-width: 480px) {
  .image-sample {
    width: 100%; /* Ensure full width on smaller screens */
    height: 100%; 
  }
}

/* Add margins between images */
.col-6, .col-sm-4, .col-md-3 {
  padding-left: 5px;
  padding-right: 5px;
}