/* Reset & base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: sans-serif; line-height: 1.6; color: #333;}
a { color: #0077cc; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Layout */
.container { max-width: 960px; margin: 0 auto; padding: 1rem; }
section { padding: 3rem 0; border-bottom: 1px solid #eee; }
.center { text-align: center; }
/* Hero */
.hero {
    padding: 4rem 1rem;
    color: #f9f9f9;
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero .container {
    z-index: 2;
    width: 100%;
}
.hero h1 { font-size: 3rem; margin-bottom: 1rem; color: #f9f9f9;}
.hero p { font-size: 1.1rem; margin-bottom: 2rem;  max-width: 500px;}


.hero button, .btn {
    padding: 1rem 1rem;
    font-weight: bold;
    width: auto;
    font-size: 1.5rem;
    border: none;
    background: #05ce78;
    color: white;
    cursor: pointer;
    border-radius: 20px;
}

.hero video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}
.hero > *:not(video) {
    position: relative;
    z-index: 1;
}

/* How it works grid */
h1,h4,p{
    margin: 10px 0px;
}

#how-it-works .flex {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    margin: 0 5%;
    align-items: center;
    
    /* @media(max-width: 900px) {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        margin: 0;
    } */
}

#how-it-works .flex img {
    width: auto;
    /* height: 300px; */
    /* aspect-ratio: 1 / 1; */
    min-width: 200px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

#how-it-works .feature{
    /* height: 350px */
    /* aspect-ratio: 1 / 2;1 */
}

#youtube-demo {
    display: flex; 
    padding: 2rem 0;
    height: 300px;
}

@media screen and (max-width: 700px) {
    #youtube-demo {
        flex-direction: column;
        height: auto;
    }
    
}


@media (max-width: 700px) {
    #social-play img {
        height: 500px;
        min-width: 100vw;
        object-fit: cover;
    }
}

#youtube-demo > div {
    padding: 1rem;
}

#youtube-demo iframe {
    /* min-width: 400px; */
    width: auto;
    height: 100%;
    aspect-ratio: 16 / 9;
}

/* Placeholders */
.image-placeholder {
    background: #ddd;
    color: #666;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}

/* Learning Experience */
#learning-experience {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    height: 800px;
    min-height: 300px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #fff;
    background: #222 url('Sensible.JPG') center/cover no-repeat;
    overflow: hidden;
}
#learning-experience p {
    max-width: 500px;
    margin: 1.5rem auto 0 auto;
}
#learning-experience h2 + p {
    margin-top: 2rem;
}
#learning-experience::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}
#learning-experience > * {
    position: relative;
    z-index: 2;
}

#design-aesthetic{
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    height: 800px;
    min-height: 300px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #fff;
    background: #222 url('ComplementAnySpace.JPG') center/cover no-repeat;
}

#design-aesthetic::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

#design-aesthetic p {
    max-width: 500px;
    margin: 1.5rem auto 0 auto;
}

#design-aesthetic > * {
    top: 200px;
    position: relative;
    z-index: 2;
}

#social-play img {
    display: block;
    margin: 0 auto;
    max-width: 90vw;
    max-height: 100vh;
}

@media (max-width: 700px) {
    #social-play img {
        width: 100vw;
        max-width: 100vw;
        min-width: 100vw;
    }
}

#smart-safe-sustainable .flex{
    display: flex;
    /* align-items: center; */
    justify-content: center;
    /* flex: 1; */
    flex-direction: row;
    flex-wrap: wrap;
}

#smart-safe-sustainable img {
    max-width: 130px;
}

#smart-safe-sustainable .feature {
    text-align: center;
    margin: 1rem;
    height: 300px;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
} 

#smart-safe-sustainable p{
    font-size: 0.9rem;
}

#join-journey {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    height: 800px;
    min-height: 300px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #fff;
    background: #222 url('joinjourney.JPG') center/cover no-repeat;
}
#join-journey::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

#join-journey > * {
    position: relative;
    z-index: 2;
    top:50px;
}

#join-journey a{
    margin: 30px 0 170px 0;
}

#join-journey p {
    max-width: 500px;
    margin: 1.5rem auto 0 auto;
}
#goto-kickstarter-button {
    margin: 30px 0 170px 0;
}

/* Headings */
.subhead { margin-bottom: 1rem; color: #555; }

/* Features */
.feature { text-align: center; }
.feature p { margin-top: .5rem; }

/* FAQ */
.faq-item { margin-bottom: 1.5rem; }
.faq-item h3 { font-size: 1.1rem; margin-bottom: .5rem; }



footer {
    background: #000000;
    text-align: center;
    color: #ffffff;
    margin: 0;
    padding: 10px;
}
