/**/
/* trireme intro sequence */

.intro
{
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: all;
    background-color: black;
    z-index: 99999999999999;

    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: isReady 2s linear 3s 1 normal forwards;
}
.intro_title,
.intro_logo
{
    width: 96%;
    height: 90%;
    top: 5%; 
    left: 2%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: black;
}
.intro_title
{ 
    position: absolute;
    background-color: black; 
    background-image: 
        url('/assets/images/backdrop.png');
    animation: 
        shrink_title 1s ease-out 0.5s 1 normal forwards;
}
.intro_logo
{
    background: 
        url('/assets/images/trireme2.svg'), 
        url('/assets/images/trireme.svg');
    
    height: 200px;
    width: 200px;
    animation: 
        show_ship 4s ease-in-out 0.5s 1 normal forwards;
}
@keyframes shrink_title 
{
    0% {
        transform: scale(1);
        opacity: 1;
    }
    85%
    {
        opacity: 0.8;
    }
    100% 
    {
        transform: scale(0.5);
        opacity: 0;
        display: none;
    }    
}
@keyframes show_ship 
{
    0%{
        transform: translateX(0) scale(0.5);
        opacity: 0;
    }    
    7%{
        opacity: 0.8;
    }
    25%{
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    47%{
        transform: translateX(75%) scale(1);
        opacity: 1;
    }
    50%
    {
        transform: translateX(90%) scale(1);
        opacity: 0;
        display: none;
    }
    100%
    {
        transform: translateX(100%) scale(1);
        opacity: 0;
        display: none;
    }
}
@keyframes isReady {
    from {opacity: 1; pointer-events: all; display: flex;}
    to {opacity: 0; pointer-events: none; display: none;}
}
