#main{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%;
    overflow: hidden;
}

input, input[type="text"] {
    background-color: rgba(255, 255, 255, 0.3);
    color: rgba(0, 0, 0, 1.0);
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    justify-content:center;
    border: none;
    text-align: center;    
    padding: 5px 5px;
    margin: 10px, 10px;
    border-radius: 10px;
}

#video{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 10%;
}

#ui {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 15%;
    color: rgb(255, 255, 255);
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    justify-content:center;
}

#overlay{
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%;
    color: aqua;
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    transform-origin: center;
    overflow: hidden;
}

.cardinal_div{
    position: absolute;
    width: auto;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display:inline-block;
}

.cardinal_input {
    background-color: rgba(255, 255, 255, 0.3);
    color: rgba(0, 0, 0, 1.0);
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    justify-content:center;
    border: none;
    text-align: center;    
    padding: 5px 5px;
    margin: 10px, 10px;
    border-radius: 10px;   
}

.cardinal_info {
    color: rgb(138, 232, 255);
    user-select: none; 
    text-align: center;
}

#west{
    top: 50%;
    left: 0px;
}

#east{    
    top: 50%;
    right: 0px;    
}

#north{
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
}

#south{
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}

#center{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#compass_point{
    position: absolute;
    right: 0px;
    /* top: 70%;
    left: 70%;
    transform: translate(-50%, -50%); */
    color: rgb(0, 0, 0);
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;

    transition: top 0.2s, left 0.2s;
}

#compass_needle{
    position: absolute;


    top: 50%;
    left: 50%;
    
    transform-origin: 50% 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform 0.2s;

    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgb(255, 117, 225) 100%);
    border-radius: 15px;
    width: 50vmin;
    height: 5vmin;
}