
/* New */
.tiny{
    font-size: 12px;
}
.header-box{    
    display: grid;
    gap: 0.75rem;
    grid-template-columns: min-content 1fr 200px;
   /*  grid-template-rows: min-content min-content; */
    grid-template-areas: "icon text cta";
    margin: 0.75rem 0;
    width: 100%;
}

.header-box img:not(.work-panel-icon){
    grid-area: icon;
    height: 100px;
    width: auto;
}

.header-title{
    grid-area: text;
}

.header-cta{
    display: flex;
    flex-direction: column;
    grid-area: cta;   
    background-color: rgba(0,0,0, 0.35);
    border-radius: 0.25rem;
    height: min-content;
    padding: 0.5rem;
}
.header-cta > *{
    width: 100%;
    text-align: center;
}

.feature-box{
    border-radius: 0.5rem;
    background-color: rgba( 0,0,0, 0.35 );
    padding: 1rem;
}

.feature-box > h5{
    color: #ccc;
}
.feature-box > ul{
    list-style-type: square;
}


.button-exp{
    background-color: rgba(0,0,0, 0.1);
    padding: 0.5rem;
    border-radius: 3px;
}
.button-exp img{
    height: clamp(20px, 100% );
    /* float: left; */
    margin: 0.5rem;
    margin-top: 0.25rem;
    margin-left: 0;
}

.video-container{
    text-align: center;
}
.work-video{
    aspect-ratio: 16/9;
    height: 400px;
}

@media screen and (max-width: 500px){
    .header-box img{
        height: 50px;
    }
    .header-box{
        grid-template-columns: min-content 1fr min-content;
        grid-template-areas: 
        "icon text text" 
        "cta cta cta";
    }
    
}

.year{
    font-size: 11px;
}

/*  */

.work-panel{
    background-color: var(--neutral-dark);
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    /* border: 1px solid var(--lightgrey); */
}
.work-panel p{
    font-size: 14px;
}

.work-panel-icon{
    width: 100%;
    height: 100%;
}

.work-panel-icon-container{
    background-color: var(--red);
    width: 80px;
    height: 80px;    
    padding: 0px 10px;
    border-radius: 10px;
    border: 3px solid white;    
}

@media only screen and (max-width: 768px) { 
    .work-panel{
        border-radius: 0.25rem;
    }
    .work-panel-icon{
        height: 30px;
        width: 30px;
    }
}


.work-panel h5{
    color: var(--green);
    margin: 0;
}
.info{
    padding: 1rem;
    background-color: var(--neutral-dark);
}

.info > .title-strip{
    margin: 0;
    display: flex;
    align-items: center;
}

.skill-img{
    width: 30px;
    height: 30px;
    margin-right: 0.25rem;
}

code{
    color: var(--red)
}

dt{
    color: var(--green);
}


/* Car */
#car-demo{
    width: 100%;
    margin-bottom: 1rem;
}
#car-iframe{
    height: 400px;
    overflow: hidden;
    width: 100%;
}

/* PetMem */
#petmem-demo{
    width: 100%;
    /* max-height: 200px; */
    display: flex;
    justify-content: center;
}
#petmem-iframe{
    width: calc(80%);
    height: 800px;
    /* width: 75%; */
}

#petmem-how-to-play{
    font-weight: 500;
    color: var(--green);
}


@media only screen and (max-width: 768px) {
    #petmem-iframe{
        height: 600px;
    }
}


dd{
    margin-left: 1rem;
}


/********** Ultra custodian ***********/

#uc-start{
    display: flex;
    justify-content: center;
    width: 100%;
    position: absolute;
    z-index: 10000;
}

#uc-start div{
    position: relative;
    width: 800px;
    height: 600px;
    background: url('../img/uc_splash.png');
    background-repeat: no-repeat;
    background-position: center;
}
#uc-start div > button{
    position: relative;
    bottom: -80%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
}


/* the arrow toggle */
#how-to-play-btn{
    font-weight: 500;
    color: var(--green);
}
#how-to-play-btn > img{
    width: 20px;
    transform: rotate(180deg);
    transition: all 0.25s;
}
#how-to-play-btn[aria-expanded="true"] img{
    transform: rotate(0deg);
}

#uc-help{
    text-align: center;
    margin-bottom: 0.75rem;
}
#uc-container{
    display: flex;
    justify-self: center;
    justify-content: center;
    max-height: 620px;
    overflow-y: hidden;
}
#uc-not-support{
    display: none;
}
#uc-game{
    display: static;    
}
@media only screen and (max-width: 990px) { 
    #uc-not-support{ 
        display: block; 
    }
    #uc-game{
        display: none;
    }
    #uc-help{
        display: none;
    }
    #uc-start{
        display: none;
    }
}