@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
    font-family: "Lucida Console";
    box-sizing: border-box;
    margin: 0;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Lucida Console";
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    color: black;
    text-align: start;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    background-image: url(../pics/styling_pics/human_ai.webp);
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: -1;
}

.featured-projects {
    padding: 2.5rem;
    text-align: center;
}

.featured-projects h1 {
    font-weight: bold;
    max-width: fit-content;
    margin: auto;
    font-size: 2.5rem;
    color: white;
}

.featured-projects h3 {
    padding-bottom: 1.5rem;
    max-width: fit-content;
    margin: auto;
    font-size: 1.75rem;
    font-style: italic;
    padding-top: 10px;
    margin-bottom: 2px;
    color: white;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem 0;
    align-items: center;
}

.projects {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    width: 55%;
    border: 3px solid rgb(7, 171, 189);;
    border-radius: 8px;
}

.projects:hover{
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    background-color: rgba(0, 0, 0, 0.05);
    color: white;
}

.projects:hover .details p {
    color: white;
}

.projects canvas {
    margin-right: 2rem;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 190px;
    height: auto;
    flex-shrink: 0;
    margin-left: 1rem;
}

.projects .details {
    text-align: left;
    flex-grow: 1;
}

.projects .details h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.projects .details p {
    margin: 0;
    font-size: 1rem;
    color: #555;
}
