
/* Header */

.nh-header {
    width: 100%;
    height: 60px;
    padding: 22px 60px;
    border-bottom: solid 1px #eaeceb;
    display: flex;
    justify-content: space-between;
}
.nh-header h1 {
    white-space: nowrap;
    overflow: hidden;
    max-width: 350px;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 400;
    margin: 0;

}


/* Main page */

#main {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    padding: 22px 50px;
    justify-content: center;
}

@media only screen and (max-width: 768px) {
    #main {
        justify-content: center;
    }
}

.nh_brand_card {
    margin: 10px;
    aspect-ratio : 1.38 / 1;
    height: 250px;
    min-width: 345px;
    border: solid 1px #eaeceb;
    position: relative;
    border-radius: 2%;
    overflow: hidden;
}

.nh_brand_card a, .nh_brand_card a:hover {
    color: unset;
    text-decoration: none;
}

.nh_brand_card:hover {
    border: solid 1px #000;
}

.nh_brand_card .top-band {
    margin: 0;
    height: 48%;
    width: 100%;
}

.nh_brand_card .middle-band {
    text-align: center;
    margin: 0;
    height: 34%;
    width: 100%;
    background-color: #fff;
    border-bottom: solid 1px #eaeceb;
}

.nh_brand_card .foot-band {
    display: flex;
    justify-content: space-around;
    height: 18%;
    width: 100%;
    background-color: #f7f7f7;
    color: #707781;
}

.nh_brand_card .foot-band .guidelines,
.nh_brand_card .foot-band .projects,
.nh_brand_card .foot-band .libraries {
    margin-bottom: auto;
    margin-top: auto;
}

.nh_brand_card .foot-band .projects,
.nh_brand_card .foot-band .libraries{
    color: #b4b7bc;
}
.nh_brand_card .foot-band .projects:hover,
.nh_brand_card .foot-band .libraries:hover {
    color: #707781;
}

.nh_brand_card .foot-band .guidelines:hover {
    color: #000;
}

.nh_brand_card .middle-band h2 {
    margin: 0;
    padding: 15% 0 0;
    font-size: 14px;
}

.nh_brand_card .circle {
    position: absolute;
    top: 26%;
    left: 37%;
    display: inline-block;
    aspect-ratio : 1 / 1;
    height: 36%;
    border-radius: 100%;
    border: solid 3px #fff;
    background-color: #fff;
    text-align:center;
    background-position: calc(50%) calc(50%);
    background-repeat: no-repeat;
    background-size: cover;
}


/* Guidelines card */

.nh_guidelines_card {
    margin: 10px;
    aspect-ratio : 1.38 / 1;
    height: 250px;
    min-width: 345px;
    border: solid 1px #eaeceb;
    position: relative;
    border-radius: 2%;
    overflow: hidden;
}

.nh_guidelines_card:hover {
    border: solid 1px #000;
}

.nh_guidelines_card .circle {
    margin-top: 80px;
    color: #fff;
    display: inline-block;
    width: 56px;
    height: 56px;
    border-radius: 100%;
    border: none;
    text-align:center;
    background-position: calc(50%) calc(50%);
    background-repeat: no-repeat;
    background-size: cover;
}

.nh_guidelines_card .circle svg.nh-guidelines-icon {
    margin-top: 12px;
    height: 32px;
}

.nh_guidelines_card a,
.nh_guidelines_card a:hover {
    color: unset;
    text-decoration: unset;
}

.nh_guidelines_card h2 {
    font-size: 16px;
}

.nh_guidelines_card .pages {
    font-size: 12px;
    color: #717780;
}


/* Guidelines card with image */

.nh_guidelines_card .top {
    display: flex;
    height: 33%;
}

.nh_guidelines_card .top .circle {
    margin: 10px;
}

.nh_guidelines_card .top .hright {
   text-align: left;
}

.nh_guidelines_card .top h2 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.nh_guidelines_card .bottom-image {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 67%;
}
