*,
*::before,
*::after{
    box-sizing: inherit;
}
html {
    font-family: Lato, sans-serif;
}

body {
    margin-top: 80px;
}
.header {
    text-align: center;
}

.nav {
    margin-bottom: 3rem;
    font-size: 1.2rem;
}
.nav__link {
    text-decoration: none;
    color: #1c2023;
}
.nav__link:not(:last-of-type) {
    margin-right: 2.5rem;
}
.nav__link__active,
.nav__link:hover {
    font-weight: bold;
}
.main{
    display: flex;
    justify-content: center;
    margin: 0 auto;
}
.main--about,
.main--error{
    flex-direction: column;
    max-width: 500px;
    padding: 0 1rem;
    line-height: 150%;
}
.contact {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}
.contact__details {
    margin-left: 1ch;
}
.contact__link {
    color: black;
    text-decoration: none;
    box-shadow: 0 3px 0 0 #4cafda;
}
.contact__link:hover {
    color: #4cafda;
}
.projects {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 1.5rem;
    justify-content: center;
    justify-items: center;
    max-width: 21.875rem;
    margin: 0 auto;
}

@media (min-width: 48.72rem) {
    .projects {
        grid-template-columns: repeat(2, 1fr);
        max-width: 45rem;
    }
}
@media (min-width: 70rem) {
    .projects {
        grid-template-columns: repeat(3, 1fr);
        max-width: 68rem;
    }
}
.project-card {
    padding: 0.75rem 0;
}
.project-card__image{
    width: 300px;
    height: 220px;
    margin-bottom: 1rem;
    transition: trasform 0.2s ease-in-out;
    border-radius: 4px;
}
.project-card__meta{
    padding: 0 1.25rem;
}

.project-card__name {
    margin: 0;
    font-size: 1.5rem;
    line-height: 2.25rem;
    color: #1c2023;
}

.project-card:hover .project-card__image{
    transform: translateY(-0.5rem);
}
.project-card:hover .project-card__name{
    text-decoration: underline;
}

.categories {
    display: flex;
    padding: 0;
    margin: 0 0 0.75rem;
    color: #3d84a3;
    list-style: none;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.075rem;
}
.categories__tag:not(:last-of-type)::after {
    content: "|";
    margin: 0 0.25rem;
}
.hero{
    width: 100%;
    margin-bottom: 1.5rem;
}

.project {
    max-width: 50rem;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    padding: 0 1rem;
}

.project__content{
    margin-bottom: 1rem;
    line-height: 150%;
}

@media (min-width:48.75rem) {
    .project {
        flex-direction: row;
        padding: 0;
    }
    .project__content{
        flex: 7;
        margin-right: 3rem;
        padding: 0;
        
    }
}
.project__heading {
    margin: 0;
    font-size: 2rem;
    line-height: 150%;
}

.project__heading--meta {
    font-size: inherit;
    margin-bottom: 1rem;
}

.project__meta-group{
    margin-bottom: 1rem;
}

.project__meta-group,
.cta {
    padding: 1rem;
    background-color: #d4eafa;
    border-radius: 6px;
}

.cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #1c2023;
    text-decoration: none;
}

.cta:hover {
    text-decoration: underline;
    color: #303f4a;
    background-color: #90cefa;
}
.cta__icon {
    margin-right: 0.5rem;
    transform: translateY(1px);
}

.technology-list{
    list-style: none;
    margin: 0;
    padding-left: 0.75rem;
    line-height: 1.75rem;
    font-size: 1rem;
}

.technology-list__item:before{
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-image: url("/static/img/list-check.svg");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5rem;
    transform: translateY(4px);
}

.project-exchange {
    list-style-type: none;   
    display: block;
    width: fit-content; 
    padding: 5px 10px;  
    background-color: #951d43;
    margin-bottom: 1rem;
}
.project-exchange:first-of-type{
    margin-top: 1rem;
}
.project-exchange__link{
    text-decoration: none;
    color: #fff;
}
.project-exchange:hover {
    background-color: #e7477a;
    transform: translateY(-2px);
}
.project__langauge{
    font-weight: bold;
    color: #1c2023;
    background-color: aliceblue;
}

.u-bare-link {
    text-decoration: none;
}
