@font-face {
    font-family: 'Rubik';
    src:
        url('Rubik-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


body{
    position: fixed;
    display: block;
    width: 100vw;
    min-width: 1024px;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.container{
    width: 100%;
    height: 100%;
    background: url('../images/bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hide-container{
    position: absolute;
    left: -9999px;
}

.layer{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: scale(1);
    animation: zoom 6s linear 1.2s forwards; 
}

.card{
    /* border: 1px solid; */
    overflow: hidden;
    display: flex;
    flex-basis: column;
    width: 400px;
    justify-content: flex-end;
    flex-direction: column;
    max-height: 400px;
    position: absolute;
   
}

.img-wrapper{
    padding: 0 16px;
    opacity: 0;
    animation: img-anim 3s linear 1.5s forwards;
}

.img-wrapper img{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid whitesmoke;
}

.name-wrapper{
    background: #fffff0;
    text-align: center;
    border-radius: 15px;
    width: 0;
    animation: widtn-anim 1s linear 0s forwards;
    display: flex;
    align-items: center;
    height: 48px;
    font-size: 20px;
    justify-content: center;
}

.name{
    font-family: 'Rubik' !important;
    transform: translateY(100%);
    animation: show-up .5s linear 1s forwards;
}

.noanim{
    opacity: 1;
    width: 100%;
    animation: none;
}


@keyframes img-anim {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

@keyframes widtn-anim {
    0%{
        width: 0;
    }
    100%{
        width: 100%;
    }
}

@keyframes show-up {
    0%{
        transform: translateY(100%);
    }

    100%{
        transform: translateY(0);
    }
}

@keyframes zoom {
    0%{
        transform: scale(1);
    }
    60%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: scale(1.3);
    }
}