@import url(common.css);

.main {
    position: relative;
    max-height: 100vh;
    overflow-y: hidden;
}

.video-cover {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.app-info {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 0;
    bottom: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 0 1.25em 3.5em 1.25em;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

h1 {
    font-size: 1.7em;
    line-height: 150%;
    font-family: "Avenir Next";
    color: white;
    margin: 0;
    text-align: center;
}

.app-info-subtitle {
    font-size: 1.2em;
    line-height: 150%;
    font-family: "Avenir Next";
    color: rgba(255, 255, 255, 0.7);
}

.demo-video {
    position: relative;
    top: -54px;
    width: 100%;
    pointer-events: none;
}

h2 {
    font-size: 1.5em;
    line-height: 150%;
    font-family: "Avenir Next";
    color: black;
    text-align: center;
}

.supported-language {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2.5em 0.75em 4em 0.75em;
}

.flags-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.flags-language {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #D1DFE6;
    flex-basis: 33.33%;
    flex-grow: 1;
    margin: 0.25em;
    padding: 0.25em 0 0.75em 0;
    border-radius: 1.5em;

    .flag {
        font-size: 3em;
    }

    .language {
        font-size: 1.25em;
        font-weight: 550;
    }
}

.flags-row > span {
    font-size: 3.5em;
}

.feature {
    padding: 3em 1em;
    background-color: #EAEFF0;
}

.subtitle {
    font-size: 1.2em;
    font-weight: 550;
    line-height: 150%;
    text-align: center;
    color: hsl(0, 0%, 55%);
}

.hero-image {
    width: 100%;
    border-radius: 1em;
}

.speaking-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em;
    background-color: #EAEFF0;
    border-radius: 1em;
    margin: 1em 0.25em 1em 0.25em;
}

.playbar {
    margin-top: 0.75em;
    width: 100%;
}

.stack-of-scenarios {
    position: relative;
    width: 100%;
    height: 280px;
}

.scenario-card {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    transform-origin: center center;
    margin-top: 3.5em;
}

.scenario-card:nth-child(1) {
    z-index: 999;
}

.scenario-card:nth-child(2) {
    rotate: 6deg;
    z-index: 998;
}

.scenario-card:nth-child(3) {
    rotate: 12deg;
    z-index: 997;
}

.feedback {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3em 1em 3.5em 1em;
}

.feedback-img {
    box-sizing: border-box;
    margin: auto;
    width: 100%;
    padding: 1em;
    background-color: #EAEFF0;
    border-radius: 1em;
    margin-top: 1em;
}

.faqs {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3em 1em 3.5em 1em;
}

.faqs-content {
    background-color: #EAEFF0;
    padding: 1em;
    border-radius: 1em;
    margin-top: 1em;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    color: var(--highlight-color);
    border: none;
    font-size: 1.1em;
    cursor: pointer;
    line-height: 150%;
    background-color: transparent;
}

.faq-answer {
    display: none;
    padding: 0.75rem;
    border-left: 3px solid #007bff;
    background: #fafafa;
    border-radius: 0.5em;
    margin-top: 1em;
    font-size: 1em;
    line-height: 150%;
}

.faq-separator {
    width: 100%;
    height: 1px;
    margin: 1.1em 0;
    background-color: #CCCCCC;
}

#nav-bar {
    transition: opacity 0.3s ease;
    opacity: 0;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    visibility: hidden;
    padding: 1em 1.5em;
    justify-content: space-between;
    background-color: white;
    box-shadow: 0 2px 4px 2px rgb(0, 0, 0, 0.05);
    z-index: 1000;
}

#nav-bar.visible {
    visibility: visible;
    opacity: 1;
}

.app-logo {
    display: flex;
    flex-direction: row;
    align-items: center;

    img {
        width: 48px;
        border-radius: 0.5em;
    }

    span {
        font-size: 1.1em;
        font-weight: bold;
        margin-left: 0.5em;
    }
}

.nav-install-btn {
    font-size: 1.1em;
    font-weight: 550;
    text-decoration: none;
    color: var(--highlight-color);
}