@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
/* ----general roots---- */
:root{
    --primary-color: #8263a3;
    --text-dark: #232637;
    --white: #ffffff;
    --max-width: 1200px;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.btn{
    position: absolute;
    padding: 1rem 2rem;
    outline: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
}
a{
    text-decoration: none;
    transition: 0.3s;
}
body{
    font-family: "Noto Sans", sans-serif;
    background-color: #dbdce0;
}
body::after{
    position: fixed;
    content: '';
    height: 100%;
    width: 0;
    top: 0;
    right: 0;
    background-color: var(--text-dark);
    z-index: -1;
    animation: body-bg 1s ease-in-out forwards;
}
@keyframes body-bg{
    0%{
        width: 0vw;
    }
    100%{
        width: 50%;
    }
}
body::before{
    position: fixed;
    content: '0';
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    font-size: 70rem;
    font-weight: 200;
    color: var(--white);
    opacity: 0.5;
    z-index: -1; 
}
.container{
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    max-width: var(--max-width);
    margin-inline: auto;
    overflow: hidden;
}
nav{
    padding: 2rem 0;
    padding-inline: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.nav__links{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav__links a{
    font-weight: 500;
}
.nav__links .logo{
    font-size: 1.2rem;
    font-weight: 800;
}
.nav__left a{
    color: var(--text-dark);
}
.nav__right a{
    color: var(--white);
}
.nav__links a:hover{
    color: var(--primary-color);
}
.letter-s{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40rem;
    line-height: 40rem;
    font-weight: 900;
    color: var(--primary-color);
}
.container img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 200px;
    filter: drop-shadow(0 0 50 rgba(0, 0, 0, 0.8));
}
.container h4{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 5rem;
    color: var(--white);
    letter-spacing: 25px;
}
.text__left{
    transform: translate(calc(-50% - 275px), -50%);
}
.text__right{
    transform: translate(calc(-50% + 295px), -50%);
}
.container .explore{
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 225px));
    color: var(--text-dark);
    background-color: var(--white);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.4);
}
.container .print{
    top: 50%;
    right: 0;
    transform: translate(0, -50%) rotate(90deg);
    padding: 20px 30px;
    color: var(--white);
    background-color: transparent;
    border: 1px solid var(--white);
}
.container .catalog{
    top: 25%;
    left: 0;
    transform: translate(0, -50%) rotate(90deg);
    padding: 20px 30px;
    color: var(--text-dark);
    background-color: transparent;
    border: 1px solid var(--text-dark);
}
.container h5{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 1.2rem;
    font-weight: 500;
}
.container h5::after{
    position: absolute;
    top: 50%;
    content: '';
    height: 1px;
    width: 100px;
}
.feature-1{
    color: var(--text-dark);
    transform: translate(calc(-50% - 300px), calc(-50% - 200px));
}
.feature-2{
    color: var(--white);
    transform: translate(calc(-50% + 300px), calc(-50% - 200px));
}
.feature-3{
    color: var(--text-dark);
    transform: translate(calc(-50% - 300px), calc(-50% + 200px));
}
.feature-4{
    color: var(--white);
    transform: translate(calc(-50% + 300px), calc(-50% + 200px));
}
.feature-1::after,
.feature-3::after{
    right: 0;
    transform: translate(calc(100% + 40px), -50%);
    background-color: var(--text-dark);
}
.feature-2::after,
.feature-4::after{
    left: 0;
    transform: translate(calc(-100% - 40px), -50%);
    background-color: var(--white);
}
.footer{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    bottom: 2rem;
    padding-inline: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.footer p{
    font-size: 0.9rem;
    color: var(--text-dark);
}
.footer__links{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.footer__links li{
    opacity: 0;
    animation: fade-in 0.3s ease-in-out forwards;
}
.footer__links li:nth-child(1){
    animation-delay: 3s
}
.footer__links li:nth-child(2){
    animation-delay: 3.6s
}
.footer__links li:nth-child(3){
    animation-delay: 4.2s
}
@keyframes fade-in{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.footer__links a{
    color: var(--white);
}
.footer__links a:hover{
    color: var(--primary-color);
}