body {
    background-color: #1e1e1e;
    color: #ffffff;
    overflow-y: scroll;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
    margin: 0;
    font-family: 'Open Sans', sans-serif; /* Change the font-family */
    padding-bottom: 60px; /* Adjust the padding to accommodate the fixed footer */

    ::-webkit-scrollbar { 
      display: none;  /* Safari and Chrome */
    }
}

header {
    text-align: center;
    padding: 50px 0;
    /*background-color: #333;*/
    color: #fff;
}

/* Footer styling */
footer {
    /*position: fixed;*/
    bottom: 0;
    width: 100%;
    color: #fff;
    opacity: 20%;
    text-align: right; /* Align text to the right */
    overflow: hidden; /* Prevent overflow */
    white-space: nowrap; /* Ensure text stays on a single line */
    transition: opacity 0.3s; /* Smooth transition for background color */
    box-sizing: border-box;
    padding-right: 20px;
    padding-bottom: 20px;
}

footer:hover {
    opacity: 100%;
}

/* Style for the blinking cursor */
#typed-text::after {
    content: '|';
    animation: blink 0.7s infinite alternate;
}

@keyframes blink {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Example hover effect for links */
a:hover {
    color: #ff4500; /* Change the color on hover */
    transition: color 0.3s ease; /* Add a smooth transition effect */
}

/* Define keyframe animation for stars */
@keyframes twinkling {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Individual stars */
.stars .star {
    position: absolute;
    background-color: #ffffff;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    animation: twinkling 3s infinite;
}

/* Add stars to the body */
.stars::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#contact {
    text-align: center;
}

.contact-icons {
    margin-top: 20px; /* Add some top margin for spacing */
}

.contact-icons a {
    display: inline-block;
    margin: 0 15px;
    font-size: 32px; /* Adjust the font size as needed */
    color: #fff; /* Set the color for the icons */
}

.contact-icons a:hover i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

@keyframes moveGradient {
    50% {
      background-position: 100% 50%;
    }
  }

#repos h1, #projects h1 {
    margin: 10px;
    padding: 10px;
}

#repos, #projects {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 100fr));
    text-align: center;
  }
  
  .item {
    display: inline-block;
    /*width: 250px;
    height: 100px;*/
    margin: 5px;
    background-color: rgba(128, 128, 128, 0.5); /* Gray transparent background */
    border-radius: 10px; /* Smooth corners */
    text-align: left;
    vertical-align: middle;
    align-items: center;
    transition: background-color 0.2s ease-in-out, border-color 0.5s ease, border-radius 0.5s ease; /* Smooth hover transition */
    /*outline: 3px solid rgba(53, 53, 53, 0.5); /* Customize border thickness and opacity */
    border: 2px solid rgba(53, 53, 53, 0.5);
  }
  
  .item:hover {
    background-color: rgba(200, 200, 200, 0.5); /* Light gray transparent background on hover */
    
    --border-width: 5px;
    border-radius: var(--border-width);

    background: rgb(128, 128, 128);

    position: relative;


    &::after {
        position: absolute;
        content: "";
        top: calc(-1 * var(--border-width));
        left: calc(-1 * var(--border-width));
        z-index: -1;
        width: calc(100% + var(--border-width) * 2);
        height: calc(100% + var(--border-width) * 2);
        background: linear-gradient(
        60deg,
        hsl(224, 85%, 66%),
        hsl(269, 85%, 66%),
        hsl(314, 85%, 66%),
        hsl(359, 85%, 66%),
        hsl(44, 85%, 66%),
        hsl(89, 85%, 66%),
        hsl(134, 85%, 66%),
        hsl(179, 85%, 66%)
        );
        background-size: 300% 300%;
        background-position: 0 50%;
        border-radius: calc(2 * var(--border-width));
        animation: moveGradient 4s alternate infinite;
    }

  }

  #pages {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #pages-list {
    display: flex;
    justify-content: center;
  }

  .repo-container {
    overflow: hidden;
    white-space: nowrap;
    /*text-overflow: ellipsis;*/
  }

  .repo-container img, .repo-container i {
    display: inline-block;
    margin: 5%;
  }

  .repo-container .repo-info {
    display: inline-block;
    /*margin-top: -25%;
    margin-left: 35%;*/
  }