:root {
    --card-color: rgb(9, 14, 0, 0.7);
}

@keyframes appear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@font-face {
    font-family: 'chamos'; /* Name your font */
    src: url('/assets/fonts/chamos.ttf') format('truetype'); /* Specify the path to your font file */
}

body {
    align-items: center;
    background-color: rgb(9, 14, 0);
    display: flex;
    height: 100vh;
    justify-content: center;
    margin: 0px;
    overflow: hidden;
    padding: 0px;
}

#cards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 63vw;
    animation: appear 0.8s;
}

#cards:hover > .card::after {
    opacity: 1;
}

.card {
    background-color: rgba(241, 237, 238, 0.1);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    height: 300px;
    position: relative;
    width: 30vw;
}

.card:hover::before {
    opacity: 1;
}

.card::before,
.card::after {
    border-radius: inherit;
    content: "";
    height: 100%;
    left: 0px;
    opacity: 0;
    transition: opacity 500ms;
    position: absolute;
    top: 0px;
    width: 100%;
}

.card::before {
    background: radial-gradient(
      800px circle at var(--mouse-x) var(--mouse-y),
      rgba(241, 237, 238, 0.06),
      transparent 40%
    );
    z-index: 3;
}

.card::after {
    background: radial-gradient(
      600px circle at var(--mouse-x) var(--mouse-y),
      rgba(241, 237, 238, 0.2),
      transparent 40%
    );
    z-index: 1;
}

.card > .card-content {
    background-color: var(--card-color);
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    inset: 1px;
    padding: 10px;
    position: absolute;
    z-index: 2;
}

/* Styles for the cards themselves */

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    margin-bottom: 10px; /* Add margin for spacing */
}

.project-name {
    color: rgb(219, 84, 97);
    flex-grow: 1; /* Allow the project name to grow to fit available space */
    max-width: calc(100% - 60px); /* Limit maximum width to container width minus the width of the logo */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
    white-space: nowrap; /* Prevent text from wrapping */
}

.logo {
    width: 50px; /* Adjust as needed */
    height: 50px; /* Adjust as needed */
    margin-left: 10px; /* Add margin to separate the logo from the project name */
}

.project-description {
    padding-top: 1vh;
    color: rgb(241, 237, 238);
    font-family: 'chamos';
}

/* Styles for divider */
.divider {
    width: 100%;
    margin: 0;
    border: 1px solid rgba(241, 237, 238, 0.4);
}

/* Styles for bottom row */
.bottom-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.info {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Adjust other text styles as needed */

.icon {
    width: 40px; /* Set all icons to the same size */
    height: 40px; /* Set all icons to the same size */
}

/* Align number to the right */
/* Adjust text styles */
.text {
    color: rgb(241, 237, 238);
    font-family: 'chamos';
    font-weight: bold;
    margin-left: 5px;
    margin-right: 5px; /* Add margin to separate text from icons */
    margin-top: 5px;
    margin-bottom: 5px;
}

.lang-info {
    position: absolute; /* Position the icon absolutely */
    left: 5px; /* Position it at the left corner */
    bottom: 5px; /* Position it at the bottom corner */
}

.issues-info {
    position: absolute; /* Position the icon absolutely */
    left: 50%; /* Position it at the horizontal center */
    bottom: 5px; /* Position it at the bottom */
    transform: translateX(-50%); /* Center it horizontally */
    display: flex; /* Make it a flex container */
    align-items: center; /* Align items vertically */
}

.stars-info {
    position: absolute; /* Position the icon absolutely */
    right: 5px; /* Position it at the right corner */
    bottom: 5px; /* Position it at the bottom corner */
}

/* Styles for default tags */

h3, h4, h5, p, img {
    user-select: none;
}
