:root{
    --inner-colour: #4d4f53;
    --outer-colour: #ff6200;
    &:has(#line.inner){
        --active-colour:var(--outer-colour);
    }
    &:has(#line.outer){
        --active-colour:var(--inner-colour);
    }
}

body{
    margin:0;
    overflow: hidden;
}


div#content{
    position: absolute;
    top:-25vh;
    width:100vw;
    height:150vh;
    display:grid;
    grid-template-columns: min(10vw,7.5rem) 83.3fr 8.3fr;
    grid-template-rows: 25vh 25vh 25vh 25vh 25vh 25vh;
    align-items: center;
    overflow:hidden
}

.inner{
    background-color: var(--inner-colour);
}
.outer{
    background-color: var(--outer-colour);
}

div#line{
    width:100%;
    height:100%; /*red/orange colour is: #ff6200 grey colour is: #3d3d3c*/
    grid-row: 2/7;
    grid-column: 1/1;
}

div.circle{
    width:min(8vw,4rem);
    aspect-ratio: 1/1;
    border-radius: 100%;
    background-color: white;
    justify-self: center;
    align-self:center;
    grid-column: 1/1;
}

.big.semi{
    aspect-ratio: 2/1 !important;
    border-radius: 7rem 7rem 0 0 !important;
}


.circle.semi{
    width: 5rem;
    aspect-ratio: 2/1 !important;
    border-radius: 4rem 4rem 0 0 !important;
}


p.move{
    animation: text-up 2s ease-in-out;
    animation-fill-mode: forwards;
}

div.circle.move{
    animation: circ-up 2s ease-in-out;
    animation-fill-mode: forwards;

}
p.station{
    z-index: -1;
    grid-column: 2/2;
    font-family: "Host Grotesk";
    font-weight: 700;
    font-size: min(8vw,4rem);
    margin-left: 4%;
    margin-top:0;
    margin-bottom: 0;
    align-self:center;
    height:min-content;

}
#infobox{
    z-index: -10;
    grid-row:3/6;
    grid-column: 2/2;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-left: 10%;
    opacity: 0;
    justify-content: space-between;

}

p.alighting-info{
    font-family: "Host Grotesk";
    margin-top:2%;
    margin-bottom:2%;
    font-size: min(10vw,3.4rem);
    text-wrap: wrap;
}
p#bigtext{
    z-index: -1;
    grid-column: 2/2;
    grid-row:3/5;
    color:black;
    font-family: "Host Grotesk";
    font-weight: 700;
    font-size: min(10rem,13vw);
    opacity: 0;
    align-self: center;
    margin-left: 4%;
    margin-top:0;
    margin-bottom: 0;
    height:min-content;
    text-wrap:wrap;
}
.big{
    grid-row:3/5;
    width:min(9vw,6rem);
    aspect-ratio: 1/1;
    border-radius: 100%;
    background-color: white;
    opacity:0;
    justify-self: center;
    grid-column: 1/1;
}
.opaquer{
    animation-name: becomeopaque;
    animation-duration: 10s;
    animation-delay:1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.opaquernomovement{
    animation-name: opaquenom;
    animation-duration: 1s;
    animation-delay:1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes opaquenom {
    from{}
    to{opacity: 1;}
}

@keyframes becomeopaque{
    from{}
    10%{opacity:1}
    90%{opacity:1;translate:0%;}
    to{opacity:1;translate:0 -35vh;}

}

@keyframes appear{
    from{}
    to{opacity: 1;}
}

.appear{
    animation-name:appear;
    animation-delay: 11s;
    animation-fill-mode: forwards;
    animation-duration: 2s;
}


.above{
    grid-row:1/1;
    position:absolute;
    top:-100%;
    transition: none !important;
}
.below{
    grid-row:4/4;
    position:absolute;
    bottom:-25%;
}

p#alight{
    opacity:0;
    grid-row: 3/4;
    grid-column: 2/2;
    position: relative;
    bottom:4.5rem;
    font-style: italic;
    margin-top: 5%;
    margin-left: 4%;
    font-family: "Host Grotesk";
    font-size: min(3rem,6vw);
}

.p1{
    grid-row: 1/1;
}

.p2{
    grid-row: 2/2;
    font-size: min(7rem,11vw) !important;
    transition: font-size 2s ease-in-out;
}
.p3{
    grid-row: 3/3;
}
.p4{
    grid-row: 4/4;
}

.p5{
    grid-row: 5/5;
}
.p6 {grid-row: 6/6}
p.off{
    color:#777777;
}

div.off{
    background-color: #777777;
}

@keyframes flash{
    0%{background-color: white;}
    50%{background-color: var(--active-colour);}
    100%{background-color: white;}
}

@keyframes text-up{
    from{translate:0%;}

    to {translate:0 -25vh}
}

@keyframes circ-up {
    from{translate:0%;}

    to {translate:0 -25vh}
}

@keyframes offscreen{
    from{}
    2%{color:#777777;translate:0%}
    6%{translate:-200%}
    65%{translate:-200%;}
    70%{translate:0%}
    to{}
}
.hidden{
    opacity: 0;
    transition: 1s ease-in;
}

@keyframes onscreen{
    from{translate:-200%}
    75%{color:#777777;translate:0%}
    to{}
}

@keyframes top1size{
    from{}
    100%{font-size: min(6.4rem,6.4vw);}
}
.move.top1{
    animation: text-up 2s ease-in-out forwards;
}
.offscreen{
    animation: offscreen 20s ease-in-out infinite;
    animation-delay: 10s;
}

.alighttext{
    animation: alighttext 20s linear infinite;
    animation-delay: 10s;
}
div.next{
    animation: flash 5s linear infinite;
}

div.next.move{
    animation: flash 2s linear infinite forwards, circ-up 2s ease-in-out forwards;

}

@keyframes alighttext{
from{}
5%{opacity: 0;}
6%{opacity: 1}
59%{opacity: 1}
62%{opacity:0}
t0{}
}


#hamburger{
    grid-column: 3/4;
    grid-row:2/3;
    font-size: 2rem;
    justify-self: right;
    align-self:self-start;
    cursor: pointer;
    margin-right: 20%;
}


.hide{
    opacity: 0% !important;
}

.warning{
    padding-left: 2%;
    grid-column: 1/4;
    grid-row:3/5;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
}

img.cross{
    width: min(25vw,25rem);
    
}

img.signal{
    height:min(50vw,50rem);
}

img.triangle{
    height:min(50vw,25rem);
}

img.buffers{
    height:min(15rem,15vw);
}

h1{
    font-family: "Host Grotesk";
    font-size: min(6rem,6vw);
    font-weight: 900;
    text-align: center;
}
.warning > div > p{
    font-family: "Host Grotesk";
    font-size: min(5rem,5vw);
    font-weight: 200;
    font-style: italic;
    text-align: center;
}
.warning > div > p > b{
    font-weight: 500 ;
}

.warning-text{
    width:70%;
}


hamburger-menu{
    font-family: "Host Grotesk";
    border-radius: 5%;
    position: relative;
    top:10%;
    justify-self: right;
    align-self: first baseline;
    display: flexbox;
    flex-direction: column;
    width: min-content;
    align-content: center;
    justify-content: center;
    background-color: #D4CDA8;
    grid-column: 2/4;
    grid-row:2/5;
}

hamburger-menu > p{
    font-size: 1.2rem;
    font-weight: 200;
    text-align: center;
}
hamburger-menu > button{
    margin-top: 0.5rem;
}