*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    background: #000;
}

.hero{
    position:relative;
    width: 100vw;
    height: 100vh;
    background-color: #00000000;
    background-image: url("./carbon-fibre-v2.png");
}

nav{
    position: fixed;
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:1.1vw;
    z-index:99999999999;
}

h1 {
    color: white;
    font-size: 3.5vw;
    letter-spacing: 0.05vw;
    /* font-family: ; */
    text-transform: uppercase;
}

#video{
    position: fixed;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.maskContainer {
    position: fixed;
    border: 2px solid rgb(128, 128, 128);
    cursor: grab;
    will-change: transform;
}

.maskContainer.box1{
    width: 42vw;
    height: 26vw;
    top: 10vh;
    left: 5vw;
}
.maskContainer.box2{
    width: 28vw;
    height: 18vw;
    bottom: 5vh;
    left: 12vw;
}
.maskContainer.box3{
    width: 38vw;
    height: 16vw;
    top: 3vh;
    right: 6vw;
}
.maskContainer.box4{
    width: 25vw;
    height: 22vw;
    bottom: 8vh;
    right: 18vw;
}
.maskContainer.box5{
    width: 32vw;
    height: 28vw;
    top: 18vh;
    right: 2vw;
}
.maskContainer.box6{
    width: 30vw;
    height: 30vw;
    top: 20vh;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid rgb(255, 238, 0);
    /* border-radius: 50%; */
}

.maskContainer canvas{
    width: 100%;
    height: 100%;
    display: block;
}

.coords {
    position: absolute;
    top: -18px;
    left: -2px;
    font-size: 11px;
    color: white;
    background: rgba(40, 40, 40, 0.7);
    padding:2px 6px;
    pointer-events: none;
    white-space: nowrap;
}

.globalHud {
    position: absolute;
    top: 16px;
    left: 16px;
    color: white;
    pointer-events: none;
    z-index: 9999;
    will-change: transform,opacity;
    transition: opacity 0.45s ease, transform 0.15s ease;
}