.compass-app {

    position: absolute;

    inset: 0 0 70px 0;

    background: #111;

    color: white;

    display: flex;

    flex-direction: column;

}

.compass-header {

    height: 54px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-bottom: 1px solid #333;

}

.compass-header h1 {

    margin: 0;

    font-size: 22px;

    font-weight: 600;

}

.compass-container {

    flex: 1;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 30px;

}

.compass {

    position: relative;

    width: 240px;

    height: 240px;

    border: 5px solid white;

    border-radius: 50%;

    transition: transform .2s linear;

}

.north,
.east,
.south,
.west {

    position: absolute;

    font-size: 28px;

    font-weight: bold;

}

.north {

    top: 12px;

    left: 50%;

    transform: translateX(-50%);

    color: red;

}

.east {

    right: 18px;

    top: 50%;

    transform: translateY(-50%);

}

.south {

    bottom: 12px;

    left: 50%;

    transform: translateX(-50%);

}

.west {

    left: 18px;

    top: 50%;

    transform: translateY(-50%);

}

.degrees {

    font-size: 42px;

    font-weight: bold;

}

#enableCompass {

    border: none;

    border-radius: 12px;

    padding: 12px 20px;

    background: #0a84ff;

    color: white;

    font-size: 16px;

    cursor: pointer;

}

#enableCompass:active {

    transform: scale(.95);

}