* {
    box-sizing: border-box;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    margin: auto;
}

.bg-image {
    position: absolute;
    bottom: -88%;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0 124px;
    width: 100%;
    margin: auto;
    border: #fbab40;
    height: 100vh;
    background-color: #242628;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: 70px;
    background-origin: padding-box;
}

.js-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffdddd;
    color: #000;
    text-align: center;
    padding: 5px;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

p {
    color: white;
    word-wrap: break-word;
    white-space: normal;
    width: 500px;
    text-align: center;
}

.spacer {
    height: 60px;
    width: 100%;
}

.spacer-small {
    height: 10px;
    width: 100%;
}

.spacer-med {
    height: 30px;
    width: 100%;
}

.spacer-large {
    height: 100px;
    width: 100%;
}

.spacer-with-line {
    height: 60px;
    position: relative;
    width: 100%;
}

.spacer-with-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgba(30, 30, 30, 0) 0%, rgba(30, 30, 30, 1) 50%, rgba(30, 30, 30, 0) 100%);
    transform: translateY(-50%);
}

.title-link {
    text-decoration: none;
    color: inherit;
}

.title-link:hover {
    text-decoration: underline;
}

.header h4 {
    text-align: center;
    color: #afafaf;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    margin: 0;
    line-height: 25px;
}

.header h3 {
    text-align: center;
    color: #afafaf;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    margin: 0;
    line-height: 25px;
}

.header h2 {
    text-align: center;
    color: #ffffff;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    margin: 0;
    line-height: 36px;
}

.header h1 {
    text-align: center;
    color: #ffffff;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    margin: 0;
    line-height: 36px;
}

.header {
    margin-top: 20px;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    font-style: normal;
}

.header>h1 {
    font-style: normal;
    font-weight: 600;
    font-size: 48px;
    line-height: 150%;
    display: flex;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.header>p {
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    text-align: center;
    color: #ffffff;
    flex-grow: 0;
    margin: 16px 0px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #323436;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    width: 230px;
    height: 400px;
}

.project:hover {
    cursor: pointer;
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.project.no-hover:hover {
    cursor: default;
    /* Remove pointer cursor */
    transform: none;
    /* No scale */
    box-shadow: none;
    /* No shadow effect */
}

.project img {
    width: 100%;
    height: auto;
    max-width: 200px;
    min-height: 200px;
    display: block;
    margin: 0 auto;
    border-radius: 32px 32px 32px 32px;
    margin-bottom: 15px;
}

.project h3 {
    color: white;
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.project h4 {
    color: white;
    margin: 0 0 10px;
    font-size: 1rem;
}

.project p {
    font-size: 0.9rem;
    color: white;
    margin: 0;
    flex-grow: 1;
    max-width: 200px;
}

ul {
    color: white;
}

li {
    color: white;
}

.list {
    list-style-type: disc;
    margin: 5px 0 0 20px;
    padding: 0;
    font-size: 14px;
    color: #ffffff;
    text-align: left;
}

.list li {
    margin-bottom: 5px;
}

.placeholder-text {
    font-style: normal;
    font-weight: 300;
    font-size: 150px;
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(0, 0, 0, 0.25);
    display: block;
    margin: 0 auto;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
}

.project:hover {
    transform: translateY(-5px);
}

@media (max-width: 1024px) {
    .project-grid {
        grid-template-columns: 1fr;
        padding: 10px
    }

    .project {
        padding: 10px;
        align-items: center;
    }

}

@media screen and (max-width: 1024px) {
    .container {
        background-size: contain;
        background-position-y: center;
    }
}