@import url('https://fonts.googleapis.com/css?family=Noto+Serif+TC');

.timeline{
    padding-left: 0;
}
.record{
    padding: 2.5rem 0;
    position: relative;
}
.content{
    display: flex;
    justify-content: center;
}

/* Timeline */

.time{
    font-family: 'Noto Serif TC';
    color: #AF9F75;
    font-size: 5rem;
    font-weight: 500;
    position: absolute;
    top: -3.5rem;
}
.time::before{
    position: absolute;   
    left: -62px;
    top: 48px;
    z-index: 1;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color:#AF9F75;
    content:'';
}
.award-img{
    display: block;
    width: 300px;
    height: 200px;
    overflow: hidden;
    margin-top: 4rem;
    position: relative;
    margin-right: 1.75rem;
}
.award-img img{
    max-height: 100%;  
    max-width: 100%; 
    width: auto;
    height: auto;
    position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0%;  
    margin: auto;
}
.award{
    background-color:  #FBFAF8;
    padding: 4.5rem 2rem 2rem;
    position: relative;
    margin-top: 5rem;
}
.award::before{
    content:'';
    position: absolute;
    top:0;
    height: 138%;
    border-left: 1px dashed #AF9F75;
    left: -1.5rem;
    width: 1.5rem;
}

.content:last-child .award::before{
    height: 100%;
}

.deco-year{
    display: block;
    width: 90px;
    color:  #AF9F75;
    line-height: 1.25rem;
    opacity: .5;
    margin-right: 5rem;
    text-transform:uppercase;

}
.award-details{
    display: block;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.award-details:last-child{
    margin-bottom: 0rem;
}
.item{
    display: block;
    width: 500px
}
.project{
    font-size: 1.25rem;
}
.award-name{
    margin-bottom: 0;
    font-size: 1.125rem;
    color: #323232;
}
.award-type{
    color: #AF9F75;
    font-weight: 400;
    margin-bottom: 0;
}

.bg-light{
    padding-top: .4px;
}

@media (max-width: 1024px){
    .item{
        width: 300px;
    }
    .deco-year{
        margin-right: 1rem;
    }
}


@media (max-width: 768px){
    .deco-year{
        display: none;
    }
    .award-img{
        width: 150px;
        height: 100px;
        margin-top: 5rem;
        margin-right: 2.5rem;
    }
    .project, .award-name{
        font-size: 1rem;
        margin-bottom: .25rem;
        line-height: 1.5;
    }
}
@media (max-width: 576px){
    .award{
        padding: 3rem 1rem 1rem;
    }
    .time::before{
        left: -50px;
    }
    .time{
        font-size: 4rem;
        top: -2.5rem;
    }
    .time::before{
        left: -45px;
        top: 36px;
    }
}
@media (max-width: 500px){
    .content{
        flex-wrap: wrap;
    }
    .item{
        width: 192px;
    }
    .award-img{
        width: 125px;
        height: 80px;
        margin-top: 3rem;
        margin-right: 2.5rem;
    }
    .award{
        margin-top: 2.5rem;
        margin-bottom: 4rem;
    }
    .award:last-child{
        margin-bottom: 0;
    }
}

@media (max-width: 420px){
    .item{
        width: 260px;
    }
    .award-img{
        width: 225px;
        height: 150px;
        margin-left: 0;
        margin-right: 0;
        margin-top: 4rem;
    }
    .award-img img{
        margin-right: 0;
    }
    .award-img:first-child, .award:first-child{
        margin-top: 0;
    }

    .content{
        justify-content: space-around;
    }
  
    .award::before{
        left: 55%;
        z-index: -300;
        height: 115%;
    }
    .time::before{
        display: none;
    }
}
