/* ---------------------------------
   BASIC PAGE
--------------------------------- */

html,
body {
    margin: 0;
    padding: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

}

body {

    background-image: url("images/WA BACKGROUND TILE.gif");
    background-repeat: repeat;

}

.page {
    width: 90%;
    max-width: 700px;

    margin: 0 auto;
    padding-top: 60px;

    text-align: center;
}

.page-logo {
    margin-bottom: 20px;
}

.page-logo img {
    width: 150px;
    height: auto;
}

.page h1 {
    margin-bottom: 40px;
}

.page-content {
    text-align: center;
}

.page-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;

    width: 100%;

    margin-top: 20px;
}

/* ---------------------------------
   MAIN HOMEPAGE
--------------------------------- */

.home {
    position: relative;

    width: 100vw;
    height: 100vh;

    overflow: hidden;
}

@media (max-width: 600px) {

    .logo img {
        width: 180px;
    }

    .orbit-item {
        width: 100px;

        transform:
            translate(-50%, -50%)
            rotate(var(--angle))
            translateY(-180px)
            rotate(calc(var(--angle) * -1));
    }

    .orbit-item:hover {
        transform:
            translate(-50%, -50%)
            rotate(var(--angle))
            translateY(-180px)
            rotate(calc(var(--angle) * -1))
            scale(1.1);
    }

    .orbit-item img {
        width: 55px;
        height: 55px;
    }

    .orbit-item span {
        font-size: 13px;
    }

}


/* ---------------------------------
   CENTER LOGO
--------------------------------- */

.logo {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    z-index: 10;
}

.logo img {
    display: block;

    width: 300px;
    height: auto;
}


/* ---------------------------------
   ORBIT
--------------------------------- */

.orbit {
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;
}


/* ---------------------------------
   INDIVIDUAL NAVIGATION ITEMS
--------------------------------- */

.orbit-item {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 140px;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #FFF;
    text-decoration: none;

    /*
       This creates the circular positioning.

       300px = distance from center.
       Change this number to make the
       circle larger or smaller.
    */

    transform:
        translate(-50%, -50%)
        rotate(var(--angle))
        translateY(-300px)
        rotate(calc(var(--angle) * -1));

    transition:
        transform 0.15s ease,
        filter 0.15s ease;
}


/* ---------------------------------
   ICONS
--------------------------------- */

.orbit-item img {
    display: block;
    filter: brightness(1.4);

    width: 80px;
    height: 80px;

    object-fit: contain;

    margin-bottom: 8px;
}


/* ---------------------------------
   LINK TEXT
--------------------------------- */

.orbit-item span {
    font-size: 16px;
    line-height: 1;

    text-align: center;

    white-space: nowrap;
}

.orbit-item span {
    text-shadow:
        0 0 4px #FFF,
        0 0 10px #FFF;
}


/* ---------------------------------
   SIX POSITIONS
--------------------------------- */

/*
    Six items = 360 / 6 = 60 degrees.

    Starting at the top:

           1
       6       2

       5       3
           4
*/

.item-1 {
    --angle: 0deg;
}

.item-2 {
    --angle: 60deg;
}

.item-3 {
    --angle: 120deg;
}

.item-4 {
    --angle: 180deg;
}

.item-5 {
    --angle: 240deg;
}

.item-6 {
    --angle: 300deg;
}


/* ---------------------------------
   HOVER EFFECT
--------------------------------- */

.orbit-item:hover {
    filter: brightness(1.5);

    transform:
        translate(-50%, -50%)
        rotate(var(--angle))
        translateY(-300px)
        rotate(calc(var(--angle) * -1))
        scale(1.15);
}


/* ---------------------------------
   OPTIONAL: REMOVE IMAGE GHOSTING
--------------------------------- */

.orbit-item img {
    user-select: none;
    -webkit-user-drag: none;
}

/* ================================
   MOBILE HOMEPAGE
================================ */

@media screen and (max-width: 500px) {

    .logo img {
        width: 180px;
    }

    .orbit-item {
        width: 90px;

        transform:
            translate(-50%, -50%)
            rotate(var(--angle))
            translateY(-150px)
            rotate(calc(var(--angle) * -1));
    }

    .orbit-item img {
        width: 55px;
        height: 55px;
    }

    .orbit-item span {
        font-size: 13px;
    }

    .orbit-item:hover {
        transform:
            translate(-50%, -50%)
            rotate(var(--angle))
            translateY(-180px)
            rotate(calc(var(--angle) * -1))
            scale(1.1);
    }
}
}

