@import "base.css";

body {
    background-color: white;
}

/*顶部*/
header {
    z-index: var(--header-z-index);
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--header-height);
}

header > section {
    max-width: 1750px;
    margin: 0 3vw;
    flex: 1;
    display: flex;
    position: relative;
}

header > section a {
    color: inherit;
}

header > section > a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    font-size: 1.4em;
}

header > section > a > img {
    display: block;
    height: 42px;
}

header > section > a > p {
    margin: 0 0 0 0.5em;
}

header nav {
    margin-left: auto;
}

header nav > ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    padding: 0;
}

header nav a {
    white-space: nowrap;
    text-decoration: none;
}

header li + li {
    margin-left: 2em;
}

/*顶部*/

#masthead {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: calc(-1 * var(--header-height));
    padding-top: calc(3 * var(--header-height) + 2em);
    padding-bottom: calc(4em);
    padding-left: 3vw;
    padding-right: 3vw;
}

@media (min-width: 1200px) {
    #masthead {
        flex-direction: row;
    }
}

.left-panel {
    display: flex;
    flex-direction: column;
    color: white;
    align-items: center;
}

@media (min-width: 1200px) {
    .left-panel {
        max-width: 400px;
        align-items: flex-start;
    }
}

.download-container {
    position: relative;
}

@media (min-width: 1200px) {
    #download-container {
        margin-top: 1em;
        margin-left: 0;
        margin-right: auto;
    }
}

.free-evaluation {
    margin-top: 1em;
    font-size: 0.8rem;
}

.free-evaluation a {
    color: inherit;
}

.tagline {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
}

@media (min-width: 1200px) {
    .tagline {
        text-align: left;
    }
}

.microsoft-store {
    margin-top: 1rem;
    visibility: hidden;
}

.microsoft-store > img {
    width: var(--microsoft-store-widht);
}

.sub-tagline {
    font-size: 0.8rem;
    font-weight: lighter;
}

.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    background-color: rgba(200, 200, 200, 0.3);
    backdrop-filter: blur(10px);
    z-index: 3;
    border-radius: 5px;
}

.download-container:hover .dropdown-menu {
    display: block;
}

.submenu {
    list-style-type: none;
    padding: 0;
    margin: 1em 0;
}

.right-panel {
    margin-bottom: 20px;
}

@media (min-width: 1200px) {
    .right-panel {
        margin-left: 1em;
    }
}

.right-panel > img {
    display: block;
    box-shadow: 0 0 20px rgb(0 0 0 / 30%);
    width: 100%;
    max-width: 1224px;
}


.dropdown-label {
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 0.5em 3em;
    background-color: #1BA3EF;
    text-decoration: none;
    font-size: 1em;
    border-radius: 5px;
    color: white;
    text-align: center;
}

.dropdown-label:hover {
    border: 2px solid transparent;
    cursor: default;
}

.current-version {
    font-size: 0.8em;
    margin-top: 0.5em;
    text-align: center;
}

.download-button {
    text-decoration: none;
    padding: 0.5em 1em;
    margin: 0 1em;
    color: black;
    transition: background-color 0.3s linear, color 0.3s linear;
    display: flex;
    align-items: center;
}

.download-button:hover {
    background-color: #4B4B4B;
    color: white;
}

.download-button > svg {
    width: 1.5em;
    height: 1.5em;
    margin-right: 1em;
}


main > .slogan {
    color: #484D4D;
    text-align: center;
}

.slogan > p {
    font-size: 2rem;
}

.slogan > .change {
    font-size: 1.5rem;
}

main > .feature-container:nth-child(odd) {
    background-color: #F9F9F9;
}

.feature-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2em 0;
    --image-width-mac: 50em;
    --image-width-windows: 45em;
}

@media (min-width: 1200px) {
    .feature-container {
        flex-direction: row;
    }
}

.feature-container > .describe {
    max-width: 25em;
    margin: 0 2em;
}

.feature-container .title {
    color: #484D4D;
    font-size: 2rem;
}

.feature-container .sub-title {
    color: #484D4D;
    font-size: 1rem;
}

.feature-container > .screenshot > img {
    display: block;
    width: 100%;
    max-width: var(--image-width-mac);
    margin-left: auto;
    margin-right: auto;
}

.feature-container > .window > img {
    box-shadow: 0 0 20px rgb(0 0 0 / 30%);
    max-width: var(--image-width-windows);
}

.feature-overview {
    color: #484D4D;
    background-color: white;
    padding: 2em 0;
}

.feature-overview > p {
    margin-top: 0;
    text-align: center;
    font-size: 2rem;
}

.feature-list {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: repeat(7, auto);
    grid-gap: 1em 0.5em;
    margin: 0 auto;
    max-width: 1000px;
}

.feature-list p {
    margin: 0;
}

.feature-list .name {
    justify-self: end;
    align-self: center;
    background-color: #1BA3EF;
    padding: 0.2em 1em;
    border-radius: 0.5em;
    color: white;
    font-size: 1rem;
}

.feature-list .name.more {
    background-color: orange;
}

.feature-list .descriptions {
    color: #484D4D;
    align-self: center;
}


/*Redisant Family*/

.products-container > p {
    margin-top: 0;
    text-align: center;
    font-size: 2rem;
}

.products-container {
    color: #484D4D;
    background-color: #F9F9F9;
    padding: 2em 0;
}

.products {
    display: flex;
    flex-direction: column;
    justify-items: stretch;
    align-items: stretch;
    justify-content: center;
    align-content: center;
    grid-template-columns: auto auto;
    grid-template-rows: repeat(4, auto);
    grid-gap: 2em 4em;
    margin: 0 1em;
    max-width: 1000px;
}

@media (min-width: 1200px) {
    .products {
        display: grid;
        align-items: stretch;
        margin: 0 auto;
    }
}

.product-card {
    display: flex;
    align-items: center;
    border-radius: 4px;
    margin: 0 auto;
    padding: 1em;
    max-width: 30em;
    background-color: white;
    box-shadow: 0 0 15px rgb(0 0 0 / 30%);
}

@media (min-width: 1200px) {
    .product-card {
        margin: 0 1em;
    }
}

@media (min-width: 1200px) {
    .product-card {
        margin-right: 1em;
    }
}

.product-card .product-title {
    display: flex;
    align-items: center;
}

.product-card .product-title a {
    text-decoration: none;
    background-color: #F2F2F2;
    color: inherit;
    transition: background-color 0.3s linear, color 0.3s linear;
    border-radius: 4px;
    padding: 0.1em 1em;
    display: inline-block;
    margin-left: auto;
}

.product-card:hover .product-title a {
    background-color: #1BA3EF;
    color: white;
}

.product-card .product-sub-title {
    margin-top: 0.8em;
    font-size: 0.8em;
}

.product-card img {
    display: block;
    width: 40px;
    margin-right: 1em;
}

/*Redisant Family*/


/*页脚*/

footer {
    background-color: #1D1D1D;
    color: white;
    padding: 1em 0;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: inherit;
}

/*页脚*/