/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans&display=swap');

@font-face {
    font-family: 'Product Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/productsans/v5/HYvgU2fE2nRJvZ5JFAumwegdm0LZdjqr5-oayXSOefg.woff2) format('woff2');
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 7px;
    /* background-color:#1d1d1d; */
    background-color: black;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(transparent, #E3CCFD);
    border-radius: 7px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(transparent, #D5B3FC);
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: black;
    color:#C5C6C7;
    font-family: 'Product Sans', 'Montserrat', sans-serif;
}

a{
    text-decoration: none;
    color:hwb(281 58% 11% / 0.712);
    transition: color 0.2s;
    z-index: 9;
}

h1{
    color : #D5B3FC  
}


a:hover{
    color:  hwb(281 51% 6%);
}

.links{
    margin-bottom: 0.5rem; 
    position: relative;
    z-index: 2;
}

.container {
    display: flex;
    margin-top: 2rem;
    margin-bottom: 4rem;
    justify-content: space-between;
    background-color: black;
    border-radius: 10px;
    box-shadow: 0 4px 6px white(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1;
}

.left {
    width: 30%;
}

.right {
    width: 70%;
}

.tech-stack {
    font-weight: bold;
    margin-bottom: 1.5rem;

}

.tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background-color: #ecddfdc5;
    color: black;
    border-radius: 20px;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.2s ease-in-out; 
}

.tag:hover {
    animation: bounce 0.5s forwards; 
}

/* Keyframes for the bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px); 
    }
    60% {
        transform: translateY(-5px); 
    }
}
.description {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.project-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
}

#canvas {
    position: fixed;
    top : 0;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}


/* media queries */

@media (max-width: 768px) {
    .tags {
        /* Adjust the overall size and spacing for smaller screens */
        margin-bottom: 0.5rem;
    }

    .tag {
        /* Reduce font size and padding for smaller screens */
        font-size: 0.8rem; /* Adjust the font size as needed */
        padding: 0.15rem 0.3rem; /* Adjust padding as needed */
    }

    .tech-stack {
        margin-bottom: 1rem;
    }

    h3{
        font-size: 1.3rem;
    }
    .links{
        font-size: 0.9rem;
    }
    
}

/* Style the footer */
footer {
    background-color: black; /* Background color for the footer */
    margin-top: 2rem;
    text-align: center;
    bottom: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content p {
    font-size: 1rem; 
    margin-bottom: 0.4rem;
}
