@import url('https://fonts.googleapis.com/css2?family=Bitcount+Single:wght@100..900&family=Major+Mono+Display&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Space+Grotesk:wght@300..700&display=swap');

html {
    font-size: 10pt;
    font-family: "Space Grotesk";
}

:root {
    --primary-color: #FF3366;
    --text: hsl(0 0 95%);
    --text-mute: hsl(0 0 80%);
    --bg-1: hsl(0 0 5%);
    --bg-2: hsl(0 0 10%);
    --bg-3: hsl(0 0 15%);
    --bg-4: hsl(0 0 20%);
    --border-color: hsl(0 0 30%);
}

body {
    background-color: var(--bg-1);
}

main { 
    height: 100vh;
}

main, .container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.container {
    background-color: var(--bg-2);
    width: 720px;
    height: 564px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}
.belt {
    width: 700px;
    height: 540px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 140px 184px 184px;
    gap: 16px;

}


.card {
    border-radius: 16px;
    background-color: var(--bg-3);
    border: 1px solid var(--border-color);
}

.tech, .social, .blog {
        /* remove after updating*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.name {
    grid-column: span 2;
}

.blog  {
    grid-column: span 2;
}

.card > h2 {
    color: var(--text);
    font-size: 3rem;
    font-weight: bold;
    position: relative;
    top: 10px;
    display: inline;
}
.name > p {
    display: inline;
    font-weight: lighter;
    color: var(--text-mute);
}

.memoji {
    width: 140px;
    float: left;
}

.location-ico {
    width: 15px;
    height: 15px;
    vertical-align: -3px;
    fill: var(--primary-color);
}

a {
    text-decoration: none;
    font-family: "Space Grotesk";
    color: var(--text-mute);
}

.tech {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    place-items: center;
}

.tech > svg {
    border: 1px solid var(--border-color);
    padding: 8px;
    background-color: var(--bg-4);
    border-radius: 10px;
    width: 48px;
    height: 48px;
    fill: var(--text-mute);
}

.tech :hover {
    fill: var(--primary-color);
}



@media (max-width: 768px) {
    .belt {
        width: 90vw;
        height: 570px;
        grid-template-columns: 1fr;
        grid-template-rows: 160px 80px 160px 160px ;
        gap: 3px;
    }
    .container {
        width: 90vw;
        height: 570px;
    }
    .card {
        margin: 10px 10px 0px 10px;
        grid-column: span 2;
    }
    .blog {
        margin-bottom: 10px;
    }
    .card > h2 {
        font-size: 2rem;
    }

    .tech > svg {
        height: 32px;
        width: 32px;
    }
    .tech {
        display: flex;
        flex-direction: row;
        gap: 12px;
    }
    .node {
        display: none;
    }
}

@media (max-width: 340px) {
    .memoji {
        width: 100px;
        padding-bottom: 20px; 
    }
}
