html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #a0a0a0;
    font-family: "segoe ui",meiryo,"yu gothic","hiragino kaku gothic pron",sans-serif;
}

.tpro, .down-right h2 {
    font-family: serif;
}

main {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.logo {
    width: 25%;
    position: absolute;
    mix-blend-mode: difference;
    z-index: 5;
    inset: 0;
    margin: auto;
}

.up-left, .down-right {
    margin: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 4;
}

.up-left {
    background-color: #ffffff;
    clip-path: polygon(0 0, 100% 0%, 0 100%);
    transform: translateY(0%);
}

.down-right {
    background-color: #0e0e0e;
    clip-path: polygon(0 100%, 100% 0%, 100% 100%);
    transform: translateY(0%);
}

h2 {
    position: absolute;
    text-align: center;
    font-size: 2.8vw;
}

.up-left h2 {
    top: 25%;
    left: 10%;
}

.down-right h2 {
    bottom: 25%;
    right: 10%;
    color: #ffffff;
}

.nav {
    position: absolute;
    width: min-content;
    height: min-content;
    z-index: 15;
}

.cpro {
    left: 2%;
    top: 2%;
}

.tpro {
    right: 2%;
    bottom: 2%;
}

.humburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.85;
    z-index: 11;
    width: 15vmin;
    height: 15vmin;
    cursor: pointer;
    transition: 0.5s;
    border-radius: 50%;
}

#drawer-input:checked ~ .humburger,
#drawer-input2:checked ~ .humburger {
    animation: hum-pushed 1s linear;
    -webkit-animation: hum-pushed 1s linear;
}

#drawer-input:checked ~ body,
#drawer-input2:checked ~ body {
    animation: bgflash 1s 1.5s linear;
    -webkit-animation: bgflash 1s 1.5s linear;
}


@keyframes hum-pushed {
    0% {
        box-shadow: 0 0 0 0 rgb(79 79 79 / 50%);
    }
    70% {
        box-shadow: 0 0 0 1.7em rgb(0 0 0 / 0%);
    }
    100% {
        box-shadow: 0 0 0 1.7em rgb(79 79 79 / 0%);
    }
}

@keyframes bgflash {
    0% {
        background-color: #a0a0a0;
    }
    100% {
        background-color: #ffffff;
    }
}

.cpro-hmgr {
    background-color: azure;
    box-shadow: #000000 0px 0px 13px;
}

.tpro-hmgr {
    background-color: #000000;
    box-shadow: #ffffff 0px 0px 13px;
}

.touch {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 140%;
    opacity: 0;
    width: auto;
    pointer-events: none;
    animation: flash 5s 1s linear infinite;
}

.tpro .touch {
    left: auto;
    right: 140%;
}

.touch img {
    width: 35%;
    margin-right: 5%;
    margin-left: 5%;
    mix-blend-mode: difference;
}

.tpro .touch img {
    transform: rotateY(180deg);
}

.touch p {
    margin: 0;
    white-space: nowrap;
    font-size: 3vw;
}

.tpro .touch p {
    color: #ffffff;
}

@keyframes flash {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}



.humburger-line {
    height: 5px;
    background-color: #313131;
    margin-bottom: 10%;
    transition: 1s;
    width: 70%;
    position: absolute;
}

.tpro-hmgr .humburger-line {
    background-color: #ffffff;
}

.humburger-line:nth-child(1) {
    top: 50%;
    transform: rotateZ(90deg);
}

.humburger-line:nth-child(2) {
    top: 50%;
}

.drawer-hidden {
    display: none;
}


@media screen and (max-width:1250px) {
    .logo {
        width: 50%;
    }
    .cpro {
        left: 3%;
    }
    .tpro {
        right: 3%;
    }
    .humburger {
        width: 20vmin;
        height: 20vmin;
    }
    h2 {
        font-size: 5.5vw;
    }
    .touch p {
        font-size: 4.5vw;
    }
}