/*ppt*/
.content_ppt {
    --h: 36vw;
    width: 100%;
    height: var(--h);
    background: black;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
}

.content_ppt > label {
    z-index: 15;
    background: #0009;
    width: 30px;
    height: 10px;
    margin: 1vw 4px;
}

.content_ppt > label:last-child {
    margin-right: 60px;
}

.content_ppt > input {
    display: none;
}

.content_ppt > input:checked ~ label {
    background: #fffa;
}

.content_ppt > input:checked ~ label ~ label {
    background: #0009;
}

.content_ppt > div {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: var(--h);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: opacity 0.5s ease-in-out;
}


.content_ppt > input:checked + div {
    opacity: 1;
}


.content_ppt .img {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    transition: opacity 0.5s 0.2s ease-in-out;
    display: flex;
    justify-content: center;
}

.content_ppt > input:checked + div > .img {
    opacity: 1;
}

.content_ppt .img > img {
    height: 100%;
}

@media screen and (max-width: 40em) {
    .content_ppt {
        --h: 55vw;
    }
}

/*about*/
.content_about {
    display: flex;
    flex-direction: row;
    background: center/contain url("../img/cabg2.svg") #f4f6f8;
    min-height: 39em;
}

@media screen and (max-width: 70em) {
    .content_about {
        flex-direction: column-reverse;
    }
}

.content_about > .left {
    flex: 8;
    display: flex;
    flex-direction: column;
}

.content_about > .left > div {
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: center;
}

@media screen and (max-width: 45em) {
    .content_about > .left > div {
        flex-wrap: wrap;
    }
}

.content_about .panel {
    width: 100%;
    min-width: 10em;
    min-height: 13em;
    margin: 10px;
    box-shadow: 10px 41px 57px -17px #0002;
    background: center/cover no-repeat;
}

.content_about .panel_top {
    background: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    backdrop-filter: blur(2px);
    transition: color 0.5s, background-color 0.5s;
    font-weight: bold;
}

.content_about .panel_top > svg {
    height: 50px;
    fill: var(--colora);
    transition: fill 0.5s;
}

.content_about .panel_top > a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2em;
    width: 2em;
    border-radius: 50%;
    border: #8884 2px solid;
    text-decoration: none;
    font-weight: bolder;
    color: var(--colora);
    transition: color 0.5s, border 0.5s;
}

.content_about .panel_top > a > svg {
    height: 80%;
    fill: var(--colora);
    transition: fill 0.5s;
}

.content_about .panel_top:hover {
    background: #0004;
    color: white;
}

.content_about .panel_top:hover svg {
    fill: white;
}

.content_about .panel_top:hover > a {
    color: white;
    border: #fff4 2px solid;
}

.content_about > .right {
    flex: 5;
    margin: 20px;
    min-width: 15em;
}

.content_about .btn {
    margin: 1em 0;
}

/*proj*/
.content_proj {
    /*background: black;*/
    display: flex;
    flex-direction: column;
    background: center/contain url("../img/cabg.svg") black;
}

.content_proj > .titleA {
    color: #999;
    font-weight: bold;
}

.content_proj > .titleB {
    color: white;
    font-weight: bold;
    font-size: xx-large;
    padding: 15px 0;
}

.content_proj .row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(28em, 1fr));
    gap: 40px;
    align-items: center;
}

@media screen and (max-width: 50em) {
    .content_proj .row {
        grid-template-columns: repeat(auto-fill, minmax(20em, 1fr));
    }
}

.content_proj .row > .panel {
    flex: 1;
    color: white;
    position: relative;
}

.content_proj .row > .panel > img {
    width: 100%;
    aspect-ratio: 16/9;
    background: #fff8;
}

.content_proj .row > .panel > .overlay_text {
    top: 0;
    position: absolute;
    width: calc(100% - 40px);
    height: calc(87% - 40px);
    opacity: 0;
    flex: 1;
    background: #0008;
    padding: 20px;
    font-weight: bold;
    transition: opacity 0.25s;
}

.content_proj .row > .panel:hover > .overlay_text:hover {
    opacity: 1;
}

.content_proj .row > .panel > .text {
    font-weight: bolder;
    font-size: x-large;
    padding: 20px;
    text-align: center;
    transition: color 0.25s;
}

.content_proj .row > .panel:hover > .text {
    color: var(--colora);
}

/*price*/
.content_price {
    display: flex;
    align-items: center;
    min-height: 38em;
    background: right/contain no-repeat url("../img/zion1.png");
}

.content_price > .left {
    align-items: flex-start;
    max-width: 40em;
    text-shadow: white 0 0 4px;
}

.content_price .titleB {
    margin-bottom: 2em;
}

.content_price .btn {
    margin: 3em 0;
}

/*review*/
.content_review {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background: center/contain url("../img/cabg2.svg") #eee;
    color: white;
    justify-content: center;
    align-items: center;
}

.content_review > .left {
    max-width: 30em;
    min-width: 15em;
    align-items: flex-start;
    padding: 40px 20px;
    text-align: justify;
}

.content_review > .left > .text {
    color: #000d;
}

.content_review > .left > .titleA {
    font-size: small;
}

.content_review > .left > img {
    height: 80px;
    padding-top: 10px;
}

.content_review > .right {
    flex: 1;
    margin: 20px;
    min-width: calc(80px + 15em);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: calc(22em + 130px);
    position: relative;
    overflow: hidden;
}

.content_review #rv_page_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
    height: calc(25em + 80px);
}

.content_review #rv_label_container {
    display: flex;
    justify-content: center;
}

.content_review #rv_label_container > label {
    z-index: 15;
    background: #fff9;
    width: 30px;
    height: 10px;
    margin: 20px 4px;
    transition: background-color 0.2s;
}

.content_review #rv_label_container > input:checked + label,
.content_review #rv_label_container > label:hover {
    background: var(--colora);
}

.content_review .rvPage {
    position: absolute;
    z-index: 10;
    background: bottom right/50% no-repeat url("../img/quoteR.svg") white;
    color: rgb(128, 128, 128);
    padding: 40px 40px 40px 40px;
    border-radius: 10px;
    width: calc(100% - 80px);
    height: 22em;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    margin: 20px;
}

.content_review .rvPage.out {
    animation: page_anim_out 1.2s forwards;
}

.content_review .rvPage.outL {
    animation: page_anim_outL 1.2s forwards;
}

.content_review .rvPage.in {
    animation: page_anim_in 1.2s forwards;
}

.content_review .rvPage.inL {
    animation: page_anim_inL 1.2s forwards;
}

@keyframes page_anim_out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(calc(0px - 100% - 80px));
        opacity: 0;
    }
}

@keyframes page_anim_in {
    from {
        transform: translateX(calc(100% + 80px));
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes page_anim_outL {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(calc(100% + 80px));
        opacity: 0;
    }
}

@keyframes page_anim_inL {
    from {
        transform: translateX(calc(0px - 100% - 80px));
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.content_review .rvPage > .rv_more {
    padding: 5px 10px;
    border: #0002 2px solid;
    border-radius: 20px;
    margin-top: 20px;
    z-index: 11;
    color: var(--colora);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.5s, border 0.5s, background 0.5s;
    cursor: pointer;
}

.content_review .rvPage > .rv_more:hover {
    background: var(--colora);
    color: white;
    border-color: transparent;
}

.content_review .rvPage:after {
    z-index: 10;
    position: absolute;
    content: " ";
    background: white;
    width: 4em;
    height: 4em;
    transform: translate(-20px, calc(22em - 10px)) rotate(45deg) scaleX(50%);
}

.content_review .rvPage > .text {
    overflow: hidden;
    line-height: 2em;
}

.content_review .rvPage > .title {
    display: flex;
    flex-direction: column;
    line-height: 2em;
}

.content_review .rvPage .titleA {
    font-size: large;
    font-weight: bold;
    color: black;
}

.content_review .rvPage .titleB {
    font-weight: bold;
    color: black;
}

.content_review input {
    display: none;
}

.content_review #rv_page_container.full {
    z-index: 20;
    position: fixed;
    top: 0;
    left: 0;
    background: #0008;
    width: 100vw;
    height: 100vh;
    animation: rvpgc 0.5s;
}

@keyframes rvpgc {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.content_review #rv_page_container.full .rv_more,
.content_review #rv_page_container.full .rvPage:after {
    opacity: 0;
    cursor: none;
}

.content_review #rv_page_container.full .rvPage {
    width: 50vh;
    max-width: 60%;
    height: 60vh;
    margin-top: 80px;
}

.content_review #rv_page_container.full .rvPage .text {
    overflow-y: auto;
    scrollbar-width: thin;
}

/*case*/
.content_case {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background: #000;
}

.content_case > .titleA {
    font-size: xx-large;
    font-weight: bolder;
    color: var(--colora);
}

.content_case > .titleB {
    color: #777;
    font-size: small;
}

.content_case input {
    display: none;
}

.content_case #cs_page_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 28em;
}

.content_case #cs_page_container > img {
    position: absolute;
    width: 20em;
    border: var(--colora) 2px solid;
    border-radius: 10px;
    max-width: calc(100% - 10px);
}

.content_case #cs_label_container {
    display: flex;
    justify-content: center;
}

.content_case #cs_label_container > label {
    z-index: 15;
    background: #fff9;
    width: 30px;
    height: 10px;
    margin: 10px 4px;
    transition: background-color 0.2s;
}

.content_case #cs_label_container > input:checked + label,
.content_case #cs_label_container > label:hover {
    background: var(--colora);
}

/*achi*/
.content_achi {
    background: center/cover no-repeat url("../img/Canada_flag_map.svg") var(--colorb);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px 50px;
}

.content_achi > div {
    display: flex;

    align-items: center;
    padding: 20px;
}

.content_achi > .top {
    flex-direction: column;
    justify-content: center;

}

.content_achi > .top > .titleA {
    font-size: xx-large;
    font-weight: bolder;
    color: var(--colora);
}

.content_achi > .top > .titleB {
    color: #fffa;
    font-size: small;
}

.content_achi > .bot {
    padding: 20px 40px;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.content_achi > .bot > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px;
}

.content_achi > .bot .titleA {
    font-size: x-large;
    font-weight: bold;
}

.content_achi > .bot .titleB {
    color: #fffa;
    font-size: small;
}

.blue {
    color: blue;
}