@keyframes bounce {
    0%, 100% {transform: translateX(0);}
    50% {transform: translateX(22px);}
}
@keyframes bounce2 {
    0%, 100% {transform: translateX(0);}
    50% {transform: translateX(8px);}
}
@keyframes bounce3 {
    0%, 100% {transform: translateX(0);}
    50% {transform: translateX(44px);}
}
@keyframes bounce4 {
    0%, 100% {transform: translateX(0);}
    50% {transform: translateX(4px);}
}
@keyframes moving {
    0%, 100% {transform: rotateZ(-1deg) translateX(-1px);}
    50% {transform: rotateZ(1deg) translateX(1px);}
}
::-webkit-scrollbar{
    display: none;
}
body {
    display: flex;
    background: rgb(255, 241, 214);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    color: black;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color linear 0.2s;
}
a:hover, a:active {
    color: white;
}
.arrow {
    position: absolute;
    top: 0;
    left: 0;
    margin: 50px;
    transition: filter ease-in-out 0.1s;
    clip-path: inset(0 8px 0 0);
    z-index: 10;
}
.arrow:hover, .arrow:active {
    filter: invert(100%);
}
.social {
    position: absolute;
    text-align: right;
    font-size: 12px;
    right: 50px;
    top: 0;
    margin-top: 48px;
    z-index: 10;
}
.contact {
    position: absolute;
    text-align: right;
    font-size: 12px;
    right: 50px;
    bottom: 0;
    margin-bottom: 50px;
    padding-bottom: 4px;
    border-bottom: 1px solid black;
    width: 100%;
    clip-path: inset(0 0 0 100px);
    z-index: 10;
}
.about {
    position: absolute;
    text-align: left;
    font-size: 12px;
    left: 50px;
    bottom: 50px;
    padding-bottom: 4px;
    z-index: 10;
}

.instalbox {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 230px;
    max-width: 90vw;
    margin: 0;
    padding: 0;
    background: none;
    border: 1px solid black;
    box-sizing: border-box;
    overflow: hidden;
    transition: width ease 0.35s;
    box-shadow: 0 0 40px rgb(255, 190, 0);
}
.instalbox.open {
    width: 600px;
    outline-offset: -1px;
}
.instalbox.open .dot {
    animation: none;
}
.instalbox a {
    text-shadow: 0 0 15px black;
}

.line {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 5px 10px;
    background: none;
    border: none;
    border-bottom: 1px dashed black;
    font-family: inherit;
    color: black;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: opacity ease-out 0.15s, letter-spacing ease-out 0.15s;
}
.instalbox:not(.open) .line:last-of-type {
    border-bottom: none;
}
.line.hide {
    display: none;
}
.line:hover {
    text-shadow: 0 0 10px black;
}
.line.active {
    opacity: 1;
}
.dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dotRed {
    background: red;
    animation: bounce ease 1.051s infinite;
}
.dotYelo {
    background: rgb(255, 190, 0);
    animation: bounce2 ease .883s infinite;
}
.dotYelo2 {
    background: rgb(255, 190, 0);
    animation: bounce4 ease .763s infinite;
}
.dotBlue {
    background: blue;
    animation: bounce3 ease 1.342s infinite;

}
.lineLabel {
    flex: 1;
    text-align: right;
}
.lineClose {
    flex: 1;
    display: none;
    text-align: right;
    font-size: 15px;
}
.line.active .lineLabel {
    display: none;
}
.line.active .lineClose {
    display: block;
}

.stage {
    max-height: 0;
    overflow: hidden;
    transition: max-height ease-in-out 0.35s;
}
.stage.show {
    max-height: 251px;
}

.stageRow {
    position: relative;
    display: flex;
    height: 250px;
}

.videoArea {
    position: relative;
    flex: 1 1 50%;
    height: 100%;
    background: black;
    overflow: hidden;
}
.posterImage {
    position: absolute;
    inset: 0;
    background-color: rgb(30, 30, 30);
    background-size: cover;
    background-position: center;
}
.pvideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity ease-out 0.15s;
}
.pvideo.playing {
    opacity: 1;
}

.textArea {
    flex: 1 1 50%;
    min-width: 0;
    padding: 22px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px dashed black;
}
.titleRow {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 10px;
}
.textArea h2 {
    margin: 0;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.year {
    font-size: 8px;
    font-weight: normal;
    color: black;
}
.textArea p {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    color: black;
}
.discoverRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    font-size: 12px;
    color: black;
}
.demobtn {
    flex-shrink: 0;
    background: none;
    border: none;
    color: black;
    font-family: inherit;
    font-size: 12px;
    padding: 0;
    text-shadow: 0 0 15px black;
    animation: moving 1s ease-in-out infinite;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    transition: opacity ease-out 0.15s;
}
.demobtn:hover {
    opacity: 0.55;
}
.demobtn.active {
    opacity: 0.35;
}

@media (max-width: 700px) {
    .social {
        display: none;
    }
    .arrow {
        margin: 10px;
        width: 20px;
        height: 20px;
        clip-path: inset(0 6px 0 0);
    }
    .contact {
        right: 10px;
        margin-bottom: 10px;
        clip-path: inset(0 0 0 20px);
    }
    .about {
        left: 10px;
        bottom: 10px;
    }
    .instalbox.open {
        width: 90vw;
        max-width: 340px;
    }
    .line {
        padding: 18px 14px;
        font-size: 11px;
        letter-spacing: 1px;
    }
    .stage.show {
        max-height: 620px;
    }
    .stageRow {
        flex-direction: column;
        height: auto;
    }
    .videoArea {
        flex: none;
        width: 100%;
        height: 180px;
    }
    .textArea {
        flex: none;
        padding: 16px;
    }
    .textArea h2 {
        font-size: 12px;
    }
    .textArea p {
        font-size: 11px;
        line-height: 16px;
    }
}
