@charset "utf-8";

*{
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
    font-family: 'benton-modern-display' , 'a-otf-ryumin-pr6n', serif;
    color: rgb(40 , 40 , 40);
}

.invert{
    filter: invert(180);
    transition: .5s;
}

.hidden{
    display: none;
}

#blind{
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 50;
    background-color: rgb(40 , 40 , 40);
    top: 0px;
    left: 0px;
}

.blind_hidden{
    animation: BlindHidden 1s ease-in-out 0.5s 1 alternate forwards;
}

@keyframes BlindHidden{
    50%{
        opacity: 100%;
    }

    100%{
        opacity: 0%;
        display: none;
    }
}

/* mediaquery */

@media (max-width: 768px){
    *{
        font-size: calc((100vh / 1560) * 8);
    }

    .body-div__container{
        width: 100%;
        min-height: 100%;
    }
}

@media (769px <= width <= 1279px){
    *{
        font-size: clamp(calc(8px * (480 / 720)) , calc(8vw * (480 / 769)) , calc(8px * (640 / 720)));
    }

    body{
        padding-top: 8rem;
        margin-bottom: 4rem;
        background-color: hsl(0, 0%, 95%);
    }

    .body-div__container{
        width: clamp(480px , calc(100vw * (480 / 769)) , 640px);
        min-height: 100%;
        margin: 0 auto;
        border-radius: 7rem 7rem 0px 0px;
        border: 1px solid rgb(40 , 40 , 40);
        border-bottom: none;
        box-shadow: 3rem 3rem 0 rgb(40 , 40 , 40);
    }

    .body-div__humbergerContainer{
        border-radius: 7rem 7rem 0px 0px;
    }
}

@media (min-width: 1280px){
    *{
        font-size: calc(8px * (640 / 720));
    }

    body{
        padding-top: 8rem;
        background-color: hsl(0, 0%, 95%);
    }

    .body-div__container{
        width: 640px;
        max-width: calc(1560px * (6 / 13));
        min-height: 100%;
        margin: 0 auto;
        border-radius: 7rem 7rem 0px 0px;
        border: 1px solid rgb(40 , 40 , 40);
        border-bottom: none;
        box-shadow: 3rem 3rem 0 rgb(40 , 40 , 40);
    }

    .body-div__humbergerContainer{
        border-radius: 7rem 7rem 0px 0px;
    }
}



/* body */

body{
    width: 100%;
    height: 100vh;
}

.body-div__container{
    display: block;
    position: relative;
    background-color: white;
}

.body-div__contents{
    padding: 4rem 8rem;
    height: 100%;
}



/* header */

header{
    width: 100%;
    height: 12rem;
    border-bottom: 1px solid rgb(40 , 40 , 40);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    position: relative;
    margin-bottom: 4rem;
}

.header-div__logo{
    display: flex;
    width: fit-content;
    height: 4rem;  
    gap: 1rem;
}

.HeaderLogo{
    width: 100%;
    height: 100%;  
}

.header-div__logo p{
    font-size: 2.5rem;
    line-height: 4rem;
}

#HeaderHumbergerBtn{
    display: none;
}

#HeaderHumbergerBtn + label{
    background-image: url(../img/menu_24dp_000000_FILL0_wght100_GRAD0_opsz24.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 4rem;
    height: 4rem;
    transition: .1s;
}

#HeaderHumbergerBtn:checked + label{
    background-image: url(../img/close_24dp_000000_FILL0_wght100_GRAD0_opsz24.svg);   
}

#HeaderHumbergerBtn + label:hover{
    opacity: 0.5;
    transform: translateY(-2px);
}

#HeaderHumbergerBtn + label:active{
    transform: scale(0.95);
}

/* main */

.main-img__mainvisual{
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.main-p__productname{
    display: inline-block;
    width: 100%;
    height: 9rem;
    font-size: 9rem;
    line-height: 9rem;
    margin-top: 2rem;
    font-family: "benton-modern-display-compre" , serif;
}

.main-p__productsubtext{
    display: inline-block;
    width: 100%;
    height: 2.5rem;
    font-size: 2.5rem;
    line-height: 2.5rem;
    margin-top: 1rem;
}

.main-p__headline{
    display: inline-block;
    width: fit-content;
    height: 3rem;
    font-size: 3rem;
    line-height: 3rem;
    margin-top: 4rem;
    font-family: "benton-modern-display-extra" , serif;
    text-decoration: underline;
    text-decoration-thickness: from-font;
}

.main-div__aroundcontainer{
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.main-table__spec{
    width: 100%;
    height: fit-content;
    margin-top: 2rem;
    border-collapse: collapse;
}

.main-table__spec tr{
    height: 5rem;
}

.main-table__spec tr:nth-child(2n){
    background-color:hsl(0, 0%, 95%);
}

.main-table__spec tr td{
    text-align: center;
    font-family: "articulat-cf", sans-serif;

}

.main-table__spec tr td:first-child{
    width: 25rem;
    font-size: 1.5rem;
    font-weight: 400;
}

.main-table__spec tr td:last-child{
    font-size: 2rem;
    font-weight: 600;
}


/* Around View */

.aroundHidden{
    display: none;
}

#AroundForwardBtn , #AroundReturnBtn{
    display: block;
    background-color: transparent;
    transition: .1s;
    width: 8rem;
    opacity: 0.5;
}

#AroundForwardBtn img , #AroundReturnBtn img{
    width: 8rem;
}

#AroundForwardBtn:hover , #AroundReturnBtn:hover{
    opacity: 0.5;
}

#AroundForwardBtn:hover{
    transform: translateX(2px);
}
#AroundReturnBtn:hover{
    transform: translateX(-2px);
}

#AroundForwardBtn:active , #AroundReturnBtn:active{
    opacity: 0.25;
}

.aroundcontainer-div__capsule{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.aroundcontainer-div__img{
    position: absolute;
    height: 100%;
}

.aroundcontainer-div__img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Humberger Menu */

.body-div__humbergerContainer{
    width: 100%;
    position: absolute;
    z-index: 5;
    background-color: rgb(40 , 40 , 40);
    top: 0px;
    left: 0px;
    flex-direction: column;
    gap: 6rem;
}

.menuappear{
    animation: Humberger 0.5s alternate 1 forwards;
}

.menuhidden{
    animation: HumbergerInvert 0.5s alternate 1 forwards;
}

@keyframes Humberger{
    0%{
        height: 0%;
        padding: 0rem 8rem;
        opacity: 0;
        display: none;
    }

    25%{
        opacity: 0;
    }

    100%{
        height: 100%;
        padding: 20rem 8rem 4rem 8rem;
        opacity: 1;
        display: flex;
    }
}

@keyframes HumbergerInvert{
    0%{
        height: 100%;
        padding: 4rem 8rem;
        opacity: 1;
        display: flex;
    }

    75%{
        opacity: 0;
    }

    100%{
        height: 0%;
        padding: 0rem 8rem;
        opacity: 0;
        display: none;
    }
}

.humberger-a__link{
    font-family: "benton-modern-display-compre" , serif;
    color: white;
    font-size: 6rem;
    opacity: 0;
    transition: .1s;
    transform-origin: left;
    width: fit-content;
    user-select: none;
    text-decoration-thickness: from-font;
}

.humberger-a__link:hover{
    opacity: 1 !important;
    transform: translateY(-2px);
}

.humberger-a__link:active{
    transform: scale(0.95);
}

.humbergerAppear{
    animation: HumbergerAppear 0.5s alternate 1 forwards;
}

@keyframes HumbergerAppear{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 0.5;
    }
}



/* Footer */

footer{
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    height: 1.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

footer span{
    font-size: 1.5rem;
    height: 1.5rem;
}