@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    color: #eaeaea;
}

body {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    font-size:1.6rem;
}

a {
    text-decoration: none;
    color: #ff2e63;
}

.wrapper {
    width: 100vw;
    max-width: 1140px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr 50px;
}

.item {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.footer {
    justify-content: end;
    font-weight: 200;
    color: #eaeaea;
    background-color: #252a34;
}

.logo {
    width: 70%;
    margin-top: 10px;
}

.filter {
    border: 2px solid #252a34;
    border-radius: 20px;
    color: #252a34;
    box-shadow: 0 .15rem .3rem #252a347a;
    margin: .3rem;
    padding: .4rem 2rem;
    transition: all 0.3s ease;
}

.filter:hover {
    border-color: #ff2e63;
    color: #ff2e63;
    cursor: pointer;
}

.reset {
    border: 2px solid #ff2e63;
    background-color: #ff2e63;
    color: #eaeaea;
}
.reset:hover {
    color: #252a34;
}

.active {
    border: 2px solid #252a34;
    background-color: #252a34;
    color: #eaeaea;
}
.active:hover {
    border: 2px solid #252a34;
    background-color: #252a34;
    color: #08D9D6;
}

.lab {
    border-radius: 20px;
    margin: 10px;
    width: 220px;
}

.cover {
    border: 3px solid #252a34;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0 .15rem .3rem #252a347a;
    background-color: #252a34;
    background-repeat: no-repeat;
    background-size: cover;
    height: 150px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.title {
    display: flex;
    flex-direction: column;
    border: 3px solid #252a34;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 .15rem .3rem #252a347a;
    background-color: #252a34;
    height: 70px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}


.lab:hover > div {
    border: 3px solid #08D9D6;
}

.lab:hover * p {
    color: #08D9D6;
}

.title p {
    margin: 0.1rem;
}

.name {
    color: #ff2e63;
    font-weight: 300;
    transition: all 0.3s ease;
}

.description {
    color: #eaeaea;
    font-weight: 100;
    transition: all 0.3s ease;
}

@media screen and (max-width: 600px) {
    .lab {
        width: 375px;
    }
}