// App Styles
// ----------------------------------------------------------------------------
// Put style rules here that you want to apply to the entire application. These
// styles are for the entire app and not just one component. Additionally, this
// file can hold Sass mixins, functions, and placeholder classes to be imported
// and used throughout the application.

.menu-icon-holder {
    background-color: #005cbe;
    color: white;
    position: fixed;
    top: 0;
    box-shadow: 0px 0px 5px var(--brand-blue);
    width: 100px;
    height: 100px;
    text-align: center;
    left: calc((100% - 100px)/2);
    border-radius: 50%;
    padding-top: 7px;
    z-index: 1;
    transition: transform 0.5s;
    transform: translateY(calc(100vh - 40px));
    opacity: 0.7;

    &.hide {
        display: none;
    }

    &.inactive {
        transform: translateY(100vh);
    }

    ion-icon {
        font-size: 30px;
    }
}

.close-icon-holder {
    background-color: white;
    width: 70%;
    position: fixed;
    left: calc((100% - 70%) / 2);
    height: 100px;
    border-radius: 50%;
    color: var(--brand-blue);
    text-align: center;
    z-index: 5;
    bottom: -60px;
    padding-top: 10px;
    transition: transform 0.3s;
    transform: scale(0);

    &.active {
        transform: scale(1);
    }

    ion-icon {
        font-size: 25px;
    }
}

.menu-items-holder {
    background-image: url('../assets/custom/background-5.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left top;
    border-radius: 50%;
    position: fixed;
    left: calc((100% - 150%) / 2);
    bottom: -150px;
    z-index: 4;
    height: 300px;
    width: 150%;
    padding: 20px 30%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: transform 0.3s;
    transform: scale(0);

    &.active {
        transform: scale(1);
    }

    button {
        background-color: white;
        height: 50px;
        width: 50px;
        border-radius: 50%;
        font-size: 20px;
        position: relative;

        span {
            position: absolute;
            bottom: -13px;
            text-align: center;
            display: block;
            color: white;
            letter-spacing: 0.5px;
            font-weight: bold;
			font-size: 5px;
			transform: scale(1.8);
            width: 100%;
            left: 0;
            overflow: hidden;
            white-space: wrap;
        }

        &:first-child {
            transform: translateY(40px);
        }

        &:nth-child(2) {
            transform: translateY(20px);
        }

        &:nth-child(3) {
            transform: translateY(10px);
        }

        &:last-child {
            transform: translateY(40px);
        }

        &:nth-child(4) {
            transform: translateY(20px);
        }
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    pointer-events: none;
    background-color: black;
    opacity: 0;
    z-index: 3;
    transition: opacity 0.5s;

    &.active {
        pointer-events: all;
        opacity: 0.5;
    }
}
