@import "nord-theme.css";

body {
    background: invisible;
    color: var(--nord8);
    margin: 0;
}

main {
    margin: 0 auto;
    max-width: 1280px;
    max-height: 720px;
}

img {
    cursor: pointer;
}

h2 {
    display: none;
}

article {
    display: none;
    flex-direction: column;
    padding: 5px;
    background: var(--nord1);
    border: 2px outset var(--nord4);
    border-radius: 8px;
    -webkit-animation: y 4s linear infinite alternate;
    animation: y 4s linear infinite alternate;
}

.menuing {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title {
    margin: 0 5px;
    color: var(--nord13);
}

.croix {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 1px;
    width: 14px;
    height: 14px;
    border: 1px outset var(--nord8);
}

hr {
    width: 100%;
    margin: 5px 0;
    background: var(--nord4);
}

article, .videos {
    width: 50%;
    height: 50%;
}

video {
    width: 100%;
    height: 100%;
}

.videos {
    animation: x 7s linear infinite alternate;
}

@keyframes x {
    100% {
        transform: translateX( calc(60vw - 50%) );
    }
}

@keyframes y {
    100% {
        transform: translateY( calc(60vh - 50%) );
    }
}