.tech-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; }

.tech-group-item {
    color: #6c757d;
    display: block;
    padding: 1.5rem;
    text-align: center; }
    .tech-group-item:hover, .tech-group-item:focus {
      text-decoration: none; }
      .tech-group-item:hover > img, .tech-group-item:focus > img {
        -webkit-transform: scale(1.1);
                transform: scale(1.1);
        transition: -webkit-transform .2s;
        transition: transform .2s;
        transition: transform .2s, -webkit-transform .2s; }
    .tech-group-item > img {
      max-width: 90px; }
    .tech-group-item > span {
      display: block;
      padding-top: 0.5rem; }
  
  /* @media (max-width: 576px) {
    .tech-group > a {
      max-width: 50%;
      padding: 0.8rem; } } */

    .contact-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; }
        .contact-group > a {
            color: #212529;
            padding: 1rem 1.5rem;
            transition: color .3s; }
            .contact-group > a:hover, .contact-group > a:focus {
            color: #007bff;
            text-decoration: none; }
            .contact-group > a > i {
            font-size: 3rem; }

/* Pulse animation to replace animate.css */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Preloader styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2b2826;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 40px;
  height: 40px;
  position: relative;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1.0s;
}

@keyframes sk-bounce {
  0%, 100% { 
    transform: scale(0);
  } 50% { 
    transform: scale(1.0);
  }
}

/* Hide content until loaded */
body.loading #header,
body.loading #navigation,
body.loading #skills,
body.loading #Technologies,
body.loading #aboutme,
body.loading #contact,
body.loading footer {
  opacity: 0;
}

body.loaded #header,
body.loaded #navigation,
body.loaded #skills,
body.loaded #Technologies,
body.loaded #aboutme,
body.loaded #contact,
body.loaded footer {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

/* Media query for smaller screens */
@media all and (max-width: 768px) {
  .tech-group-item > img {
      max-width: 60px; /* Adjust the size as needed */
  }
}