@charset "utf-8";

/* journey map mobile view */

@media only screen and (max-width: 1000px){
    :root{
        --fs-1: 25px;
        --fs-2: 18px;
        --fs-3: 15px;
        --fs-4: 10px;
    }

    body::before {
        width: 170px;
        height: 170px;
        top: 290px;
        right: -110px;
    }
    
    body::after {
        width: 300px;
        height: 300px;
        bottom: -225px;
        left: -140px;
    }

    /* Journey Map */
    #journey {
        width: 100vw;
        margin-top: 90px;
        overflow-x: hidden;
        background: rgba(255, 255, 255, 0);
    }
    
    .fixed #header h1{
        font-size:25px;
}
    
    /*#legend{
        background: rgba(255, 255, 255, 0);
    }
    .fixed #legend{
        background-color: var(--background);
        box-shadow: none;
    }*/
    .line {
        left: 30%;
        margin-bottom: 19vh;
    }
    .nodeTitle {
        padding: 10px 30px;
        margin-left: 230px;
        margin-bottom: 45px;
        width: 280px;
        z-index: 1;
    }
    .node::after {
        width: 1000px
    }
    .activity {
        height: auto;
        padding-left: 25%;
        width: 340px;
        margin-top: 0;
    }

    .node .activity .status {
        width: 30%;
        top: 28%;
    }

    .node .activity .status::before{
        color: var(--text-light);
    }
    .activity h3 button {
        width: 260px;
        left: 90px;
        top: -67px;
    }

    .activity.double h3 button{
        padding-top: 10px;
    }
    .activity.double h3 button::after{
        content: '';
        width: 100%;
        height: 3px;
        background-color: var(--primary-1);
    }
    .activity a:hover .detailtext,
    .nodeTitle:hover .detailtext, .activity a:focus-within .detailtext, .nodeTitle:focus-within .detailtext {
        display: none;
        height: inherit;
        width: inherit;
    }

    .activity button .tick{
        top: 15px;
    }

    /* .line {
        border-left:transparent !important;
        color:transparent !important;
        border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) calc(100% - 86px), rgba(0, 0, 0, 0) 0px);
        border-image-slice: 0;
    }
    
    .node .activity .status {
        background-color:transparent;
    } */

    .line{
        height: calc(100%);
        border-image: linear-gradient(to bottom, var(--accent-colour-2) calc(100% - 67px), rgba(0, 0, 0, 0) 0px);
        border-image-slice: 1;
        margin: 90px 0;
    }
    #icons li{
        height:30px;
    }
    /*#icons li.c2r {
        background-image: url('../../images/core/activity_icons/c2r_amaze_white.svg');
    }

    #icons li.video{
        background-image: url('../../images/core/activity_icons/video_amaze_white.svg');
    }

    #icons li.keymessage {
        background-image: url('../../images/core/activity_icons/keymessage_amaze_white.svg');
    }

    #icons li.task {
        background-image: url('../../images/core/activity_icons/task_amaze_white.svg');;
    }

    #icons li.quiz {
        background-image: url('../../images/core/activity_icons/quiz_amaze_white.svg');;
    }

    #icons li.reflection{
        background-image: url('../../images/core/activity_icons/reflection_amaze_white.svg');
    }*/
}
/* For high density phones */
@media only screen and (max-width: 1000px) and (-webkit-min-device-pixel-ratio: 2) {
    :root{
        --fs-1: 45px; /*heading 1*/
        --fs-2: 30px; /*node*/ 
        --fs-3: 26px; /*button*/
        --fs-4: 15px;
    }
    .nodeTitle {
        padding: 10px 30px;
        margin-left: 230px;
        margin-bottom: 45px;
        width: 400px;
    }
    .activity{
        margin-top: 2rem;
    }
    .activity h3 button {
        width: 350px;
        height: 100px;
        left: 90px;
        top: -78px;
    }
    .line{
        height: calc(100%);
        border-image: linear-gradient(to bottom, var(--accent-colour-2) calc(100% - 135px), rgba(0, 0, 0, 0) 0px);
        border-image-slice: 1;
        margin: 90px 0;
    }
}

@media only screen and (max-width: 1000px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2){
    .line{
        height: calc(100%);
        border-image: linear-gradient(to bottom, var(--accent-colour-2) calc(100% - 78px), rgba(0, 0, 0, 0) 0px);
        border-image-slice: 1;
        margin: 90px 0;
    }
}

@media only screen and (max-width: 1000px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
    :root{
        /*--fs-1: 60px; /*heading 1*/
        /*--fs-2: 50px; /*node*/ 
        /*--fs-3: 45px; /*button*/
        /*--fs-4: 20px;*/
    }
    .line {
        left: 17%;
        margin-bottom: 19vh;
        margin-top: 20%;
    }
    .nodeTitle {
        margin-bottom: 50px;
        margin-left: 450px;
        width: 30%;
    }
    .activity{
        margin-top: 6rem;
    }
    .activity h3 button {
        width: 18rem;
        min-height: 150px;
        height:auto;
        margin-top:clamp(5px, 5%, 20px);
        left: 120px;
        top: -137px;
        line-height: 30px;
        padding-left: 60px;
        padding-right: 30px;
    }
    .activity h3 button::before{
        content: '';
        position: absolute;
        background-size: 32px 32px;
        width: 32px;
        height: 32px;
        left: 15px;
        top: 35%;
    }
    .activity h3 button .icons {
        position: absolute;
        width: 60px;
        height: 60px;
        right: -30px;
        top: -30px;
    }
    #header h1 {
        font-size:var(--fs-2);
    }
    
    .activity h3 {
        font-size:var(--fs-2);
    }
    
    .line{
        border-image: linear-gradient(to bottom, var(--accent-colour-2) calc(100% - 106px), rgba(0, 0, 0, 0) 0px);
        border-image-slice: 1;
    }
}

@media only screen and (max-width: 770px) {
    .line {
        left: 15%;
        margin-bottom: 19vh;
    }
    .node .activity .status {
        width: 50%;
    }
    .nodeTitle {
        margin-left: 250px;
    }

    .activity h3 button{
        left: 120px;
    }
}

@media only screen and (max-width: 670px) {
    #legend #icons {
        width: 90%;
    }
    .activity h3 button{
        left: 150px;
    }
}

/* @media only screen and (max-width: 820px) {
    .node .activity .status {
        width: 20%;
    }
}

@media only screen and (max-width: 600px) {
    .node .activity .status {
        width: 12%;
    }
} */