body {
    margin-top: 0;
}

h1 {
    margin-top: -10px;
    margin-bottom: 0;
}

h3 {
    margin: 2px 0;
}

section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 5px;
}

iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
}

.hero-image {
    width: 100%;
    height: 74vh;
    object-fit: cover;
}


.content {
    width: max(60vw, 900px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 100px;
    margin: 60px auto;
}

.project-wide-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 5px;
}

.project-header-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

.tag {
    font-size: 16px;
    letter-spacing: 1px;
    /* color: var(--color-background);
    background-color: var(--color-foreground); */
    color: var(--color-foreground);
    background-color: var(--color-primary-light);
    margin-bottom: 10px;
    padding: 2px 10px;
    display: inline-block;
    /* border-radius: 5px; */
}

.content-wide {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.button-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.button-container .qrcode-image {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 15px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    z-index: 1000;
    border-radius: 8px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
}

.button-container:hover .qrcode-image {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.button-container img:not(.qrcode-image) {
    width: 100%;
}

.button {
    width: 100%;
}

.key-info {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    /* background-color: var(--color-primary-light); */
    padding: 20px 0px;
    border-bottom: 2px solid var(--color-foreground);
    border-top: 2px solid var(--color-foreground);

}

.key-info-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 24%;
}

.key-info-item h3 {
    font-family: 'ArchivoBlack', sans-serif;
    margin-bottom: 0px;
}

.key-info-item p {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-foreground);
}

section h2 {
    font-size: 24px;
}


.overview-container {
    display: flex;
    flex-direction: row;

    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.overview-accomplishments {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.overview-content-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.overview-card-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.overview-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 40%;
    padding: 20px;
}

.overview-card p {
    color: var(--color-gray);
}

.overview-image-container {
    display: block;
}

.overview-image-container video {
    /* width: 100%; */
    min-width: 200px;
    height: 100%;
    max-height: 600px;
    /* object-fit: cover; */
}

.overview-card-title {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

.overview-card h4 {
    font-family: 'ArchivoBlack', sans-serif;
    font-size: 20px;
    margin: 0;
    color: var(--color-foreground);

}

.overview-container img {
    width: 300px;
}



.problem-statement-container {
    width: 100%;

}

.problem-statement {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 30px;
    border-radius: 10px;
}

.problem-statement h3 {
    font-size: 24px;
}

.problem-research-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    margin-top: 30px;
}

.problem-research-item-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.problem-research-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
}

.problem-research-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.problem-research-container img {
    width: 90%;
    height: auto;
    object-fit: cover;
    margin-top: 0px;
}

.problem-research-item h3 {
    font-size: 20px;
    font-weight: 600;
}

.visual-design-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.visual-design-container h2 {
    margin-bottom: 10px;
}

.visual-design-container.mbti {
    align-items: center;
    margin-top: 30px;
    gap: 30px
}

.visual-design-container img {
    width: 100%;
}

.notes-container {
    width: calc(100% - 40px);
    padding: 20px;
    border-radius: 10px;
}


.features-container-two video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* .features-container-wrapper{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
} */

.features-container-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.features-container-two {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}



.feature-description {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    /* border-radius: 10px; */
    width: 100%;
    gap: 6px;
    /* aspect-ratio: 16/9; */
    /* background-color: var(--color-gray-light); */
}


#feature2 {
    background: linear-gradient(150deg, #FFEB99, #BBF6C6);
}

#feature4 {
    background: linear-gradient(150deg, #BBF6C6, #B2F5F5);
}

#feature5 {
    background: linear-gradient(150deg, #B2F5F5, #A8DAFF);
}

#feature6 {
    background: linear-gradient(150deg, #A8DAFF, #D4BDFF);
}

.feature-item img {
    /* width: 0%; */
    width: min(90%, 600px);

    /* align-self: center;
    justify-self: center; */
    /* height: 80%; */
    /* object-fit: cover; */

}

.two-column-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}
.two-column-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.one-column-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.one-column-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.next-project-section {
    margin-top: 80px;
    /* padding-top: 60px; */
    /* border-top: 2px solid var(--color-foreground); */
    width: 100%;
}

.next-projects-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
}

.next-project-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}


.next-project-card .next-project-image {
    width: 100%;
    overflow: hidden;
    /* border-radius: 8px; */
}

.next-project-card .next-project-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.next-project-card .next-project-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.next-project-card .next-project-content h2 {
    font-family: 'ArchivoBlack', sans-serif;
    font-size: 24px;
    margin: 0;
    color: var(--color-foreground);
}

.next-project-card .next-project-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray);
    margin: 0;
}

@media (max-width: 768px) {
    .next-projects-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .next-project-card .next-project-content h2 {
        font-size: 24px;
    }
}