
@media (max-width: 639px) {
    /* Push the button to the right */
    #menuBtn {
        margin-left: auto;
        margin-right: 1rem;
    }
    #menuBtn {
        width: 40px; /* Set the desired width */
    }
    #menuBtn:active {
        background-color: black !important; /* Change background color to black when button is clicked */
    }
    
    
}
.social-links {
    display: flex;
    list-style: none;
    padding: 0;
}

.social-links li {
    margin-right: 10px; /* Adjust as needed */
}
@media (max-width: 639px) {
    #menuItems {
        display: none;
        position: absolute;
        top: 100%;
        right: 0; /* Align the dropdown menu to the right */
        background-color: #000;
        padding: 1rem;
        z-index: 10;
    }

    #menuItems.show {
        display: flex;
        flex-direction: column;
        align-items: flex-end; /* Align the dropdown menu items to the right */
    }

    #menuItems li {
        margin-bottom: 0.5rem;
    }

    #menuItems li:last-child {
        margin-bottom: 0;
    }
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto; /* This will push the button to the right */
  }

@media (min-width: 640px) {
    #menuItems {
        display: flex;
        justify-content: flex-end; /* Align the menu items to the right */
    }
}

@media (max-width: 1023px) {
    .container.min-h-screen {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .container.min-h-screen div.flex.flex-col.lg\:flex-row {
        flex-direction: column;
    }

    .container.min-h-screen img {
        position: static;
        margin-bottom: 2rem;
    }
}


@media (max-width: 1023px) {
    .container.min-h-screen {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .container.min-h-screen div.flex.flex-col.lg\:flex-row {
        flex-direction: column;
    }

    .container.min-h-screen img {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {
    .container.min-h-screen div.flex.flex-col.lg\:flex-row {
        justify-content: space-between;
    }

    .container.min-h-screen div.lg\:w-1\/2:first-child {
        margin-right: 2rem;
    }
}


.container.min-h-screen a {
    color: white; 
    transition: color 0.3s; 
}

.container.min-h-screen a:hover {
    color: red;
}
.fa-icon {
    transition: transform 0.3s ease-in-out;
}

.fa-icon:hover {
    transform: scale(1.2); 
}


/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: black;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

header:hover {
    background-color: #1a1a1a; 
}


.container.min-h-screen {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.container.min-h-screen:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
}

.container.min-h-screen img {
    transition: transform 0.3s; 
}

.container.min-h-screen img:hover {
    transform: translateX(5px) translateY(-5px); 
}



.move-on-hover:hover {
    transition: transform 0.3s ease-in-out;
    transform: translateX(5px) translateY(-5px);
}



@media (min-width: 640px) {
    .move-on-hover {
        font-size: 1.2rem; 
    }
}

@media (min-width: 768px) {
    .before {
        margin-bottom: 1rem; 
    }
}


@media (max-width: 640px) {
    .move-on-hover {
        font-size: 0.8rem; 
    }
}

@media (min-width: 768px) {
    .text-center.sm\:text-left {
        text-align: center; 
    }
}

.single-timeline-box:hover .shadow-lg {
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);

}
.single-skill-content:hover .shadow-lg {
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5); 
}


@media (max-width: 768px) {
    .barWrapper {
        width: 100%; 
    }
}

















/* experience */
/* Responsive adjustments */
@media (max-width: 640px) {
    .move-on-hover {
        font-size: 0.8rem; /* Decrease font size for better readability on smaller screens */
    }
}

@media (min-width: 768px) {
    .experience-time,
    .timeline-content {
        text-align: center; /* Center text on medium screens */
    }
}

/* Hovering effects */
.single-timeline-box:hover .shadow-lg {
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5); /* Add shadow on hover */
}


form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
  
  input,
  textarea {
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: 2px solid #4b5563;
    background-color: #1f2937;
    color: #e5e7eb;
    transition: border-color 0.2s ease-in-out;
    width: 100%;
    box-sizing: border-box;
  }
  
  input {
    height: 3rem;
  }
  
  textarea {
    height: 9rem;
    resize: vertical;
  }
  
  input:focus,
  textarea:focus {
    outline: none;
    border-color: #8b5cf6;
  }
  
  button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.375rem;
    background-color: #8b5cf6;
    color: #8bb8f8;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
    width: 100%;
    height: 3rem;
  }
  
  button:hover {
    background-color: #7c3aed;
    transform: scale(1.05);
  }

  #msg {
    color: green;
  }