/*==================================================
    CREDENTIALS
==================================================*/
#credentials {
    margin-top: 40px;
    scroll-margin-top: 240px;
}


/*==================================================
    GRID
==================================================*/
#credentialsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    align-items: stretch;
}


/*==================================================
    CARD
==================================================*/
.credentialCard {
    position: relative;
    padding: 38px;
    border: 1px solid rgba(140, 220, 255, .12);
    border-radius: 24px;
    background: rgba(255, 255, 255, .045);
    backdrop-filter: blur(14px);
    overflow: hidden;
    transition:
        transform .45s,
        border-color .45s,
        box-shadow .45s,
        background .45s;
}


/*==================================================
    TOP GLOW
==================================================*/
.credentialCard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background:
        linear-gradient(90deg,
            transparent,
            rgba(120, 220, 255, .9),
            transparent);

    opacity: .65;
}

/*==================================================
    HOVER
==================================================*/
.credentialCard:hover {
    border-color:
        rgba(120, 220, 255, .35);

    background:
        rgba(255, 255, 255, .07);

    box-shadow:
        0 0 35px rgba(120, 220, 255, .10),
        0 15px 40px rgba(0, 0, 0, .30);
}


/*==================================================
    DEGREE
==================================================*/
.credentialCard h3 {
    margin: 0 0 18px;
    font-family: "zen dots";
    font-size: 1.35rem;
    font-weight: 400;
    color: white;
    line-height: 1.35;
    min-height: 2.7lh;
    display: block;
}


/*==================================================
    PROGRAM
==================================================*/
.credentialProgram {
    margin: 0;
    font-family: 'audiowide';
    font-size: 1.15rem;
    color: #A8EAFF;
    font-weight: 500;
    line-height: 1.5;
    min-height: 3lh;
    display: block;
}


/*==================================================
    SCHOOL
==================================================*/
.credentialSchool {
    font-family: 'kode mono';
    margin-top: 18px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.7;
    display: block;
}


/*==================================================
    YEAR
==================================================*/
.credentialYear {
    display: inline-block;
    margin-top: 28px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    color: #9EE9FF;
    font-family: "Kode Mono";
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}


/*==================================================
    MOBILE
==================================================*/
@media (max-width:768px) {

    #credentials {
        margin-top: 25px;
    }

    #credentialsGrid {
        gap: 24px;
    }

    .credentialCard {
        padding: 28px;
    }

    .credentialCard h3 {
        font-size: 1.15rem;
    }

}