
:root {
    --offLightBlue: rgb(16, 41, 78);
    --lightBlue: rgb(66, 109, 169);
    --range: rgb(255, 127, 65);
    --darkBlue: rgb(16, 41, 78);
    --white: whitesmoke;
    --black: rgb(50, 50, 50);
    --bep: rgb(66, 92, 166);
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    width: 100%;
    min-height: 100%;
    height: 100%;
}

.allContainer {
    width: 100%;
    min-height: 100vh;
    background-image: url(/public/images/background.jpg);
    display: flex;
    flex-direction: column;
    z-index: 0;
    position: relative;
}

nav {
    padding-top: 1rem;
    padding-left: 1rem;
    width: 100%;
    background-color: var(--offLightBlue);
    display: flex;
    flex-direction: row;
    color: var(--white);
    position: sticky;
    top: 0%;
    z-index: 200;
}

nav > .item {
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    padding: 0.25rem;
    white-space: nowrap;
}

nav > .item:hover {
    background-color: var(--white);
    color: var(--bep);
    border-radius: 0.25rem;
    font-weight: bolder;
}

nav > span {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 0.25rem;
    font-size: 1.5rem;
}

.triangle {
    width: 100%;
    height: 12rem;
    background-color: var(--offLightBlue);
    position: absolute;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 50%);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    z-index: 100;
    overflow-y: hidden;
}

.logo {
    height: 5rem;
    margin-right: 1rem;
    margin-top: 1rem;
}

.menu {
    margin-left: 1rem;
    height: 3rem;
    justify-self: center;
    margin-top: 0.5rem;
    cursor: pointer;
    display: none;
}

.stripContainer {
    width: 100%;
    display: grid;
    grid-template-columns: 5% 90% 5%;
    grid-template-rows: auto;
    grid-template-areas: 'left strip card';
    align-items: flex-start;
}

.strip {
    min-height: 100vh;
    margin-top: 1rem;
    background-color: rgb(245, 245, 245, 0.5);
    grid-area: strip;
    z-index: 75;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1 1;
    margin-bottom: 8rem;
    justify-items: center;
    align-items: center;
}

.pane {
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: var(--white);
    font-size: min(3vw, 3vh);
}

.paneBanner {
    color: var(--bep);
    font-weight: bolder;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.4);
    text-shadow: -1px -1px 0 black,
        1px -1px 0 black,
        -1px  1px 0 black,
        1px  1px 0 black;
}

.pane > .text {
    padding: 1rem;
    font-size: smaller;
    font-weight: lighter;
    background-color: rgba(0, 0, 0, 0.4);
}

.card {
    margin-top: 1rem;
    position: sticky;
    top: 11rem;
    width: auto;
    background-color: rgba(245, 245, 245, 0.5);
    backdrop-filter: blur(5px);
    grid-area: card;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    background-image: url(./public/images/user.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    border-style: solid;
    border-color: var(--lightBlue);
    border-width: 0 0 5px 0;
    z-index: 75;
}

.card > .text {
    margin: 0.5rem;
    color: var(--black);
}

.circleWrapper {
    width: 100%;
    overflow: hidden;
    height: 100%;
    position: absolute;
}

.circle {
    background-color: var(--lightBlue);
    border-radius: 50%;
    position: absolute;
    z-index: 50;
    filter: blur(5px);
    /*bottom: calc(25rem + 25vw);*/
    bottom: 20rem;
    left: 80%;
    width: 8rem;
    height: 8rem;
    mix-blend-mode: screen;
}

.triangleBottomFront {
    position: absolute;
    bottom: 0rem;
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 100%);
    width: 100%;
    height: 8rem;
    background-color: var(--lightBlue);
    z-index: 100;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-end;
    font-size: smaller;
}

.triangleBottomFront > a {
    text-decoration: none;
    color: var(--white);
    margin-right: 1rem;
}

.bottomSpacer {
    position: absolute;
    bottom: -1rem;
    width: 100%;
    height: 1.1rem;
    background-color: var(--lightBlue);
    z-index: 100;
}

.triangleBottomBack {
    position: absolute;
    bottom: 0rem;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    width: 100%;
    height: 10rem;
    background-color: var(--darkBlue);
    z-index: 40;
}

.sidebar {
    display: none;
}

@media only screen and (max-width: 700px) {
    .menu {
        display: block;
    }

    nav {
        display: none;
    }

    .triangle {
        top: 0;
        position: fixed;
    }

    .topSpacer {
        height: 4rem;
        top: 0;
    }

    

    .stripContainer {
        grid-template-columns: 5% 90% 5%;
        grid-template-rows: auto auto;
        grid-template-areas: '1 card 2' '3 strip 4';
    }

    .strip {
        grid-template-columns: 100%;
        grid-template-rows: 1 1 1 1;
    }

    .paneBanner {
        font-size: 6vw;
    }

    .card {
        margin: 0;
        margin-top: 8rem;
        position: static;
    }

    .sidebar {
        height: 100vh;
        padding-left: 1rem;
        padding-right: 1rem;
        background-color: var(--lightBlue);
        position:fixed;
        z-index: 300;
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 4rem auto 3rem;
        grid-template-areas: 'icon' 'items' 'link';
        overflow: hidden;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .sidebar > .icon {
        background-color: var(--lightBlue);
        width: 100%;
        height: 5rem;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .sidebar > .icon > img {
        height: 3rem;
        justify-self: center;
        cursor: pointer;
    }

    .sidebar > .items {
        width: 100%;
        background-color: var(--lightBlue);
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 6vw;
        margin-top: 3rem;
    }

    .sidebar > .items > a {
        text-decoration: none;
        color: var(--white);
    }

    .sidebar > .link {
        height: 5rem;
        width: 100%;
        background-color: var(--lightBlue);
        color: var(--white);
        text-decoration: none;
        text-align: center;
        margin-bottom: 1rem;
    }

    .logo {
        width: 50vw;
      	height: auto;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slide-up {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0%);
    }
}


@keyframes slide-down {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0%);
    }
}

@keyframes slide-left {
    0% {
        transform: translateX(20rem);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes slide-right {
    0% {
        transform: translateX(-20rem);
    }

    100% {
        transform: translateX(0%);
    }
}
  