@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

html {
    font-size: 16px;
    background-color: #F3FDFE;
    font-family: 'Noto Sans', system-ui, sans-serif;
}

body {
    margin: 1em;
}

header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin-bottom: 1em;
}

#nom,
#site,
#witchsky {
    flex: 1 1 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    box-sizing: border-box;
    gap: 1em;
}

#nom {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
}

.ligne-1,
.ligne-2,
.ligne-3,
.ligne-4 {
    display: flex;
    width: 100%;
    height: 25%;
    margin: 0;
    padding: 0;
    gap: 0;
}

.colonne {
    width: 25%;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    flex: 0 0 25%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

#site {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #33a9b5;
    color: #F3FDFE;
    text-decoration: none;
}

#witchsky {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #150b08;
    color: #ed5345;
    text-decoration: none;
}

main {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1em;
    width: 100%;
}

.reseau {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    text-align: center;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    text-decoration: none;
}

#bandcamp {
    background-color: #0cacd7;
    color: white;
}

#senscritique,
#medium {
    background-color: white;
    color: black;
}

#letterboxd {
    background-color: #14181c;
}

#letterboxd .lett {
    color: #ff8000;
}

#letterboxd .erb {
    color: #00e054;
}

#letterboxd .oxd {
    color: #40bcf4;
}

#soundcloud {
    background-color: #ff5500;
    color: white;
}

#youtube {
    background-color: #ff0033;
    color: white;
}

#discogs,
#github,
#codepen {
    background-color: black;
    color: white;
}

#dribbble {
    background-color: #ea4c89;
    color: white;
}

#behance {
    background-color: #0053f7;
    color: white;
}

#tumblr {
    background-color: #001935;
    color: white;
}

#instagram {
    background-color: #d300c5;
    color: white;
}

#steam {
    background-color: #171d25;
    color: #1a9fff;
}

#reddit {
    background-color: #ff4500;
    color: white;
}

#flickr {
    background-color: white;
}

#flickr .flick {
    color: #0063dc;
}

#flickr .le-r {
    color: #ff0084;
}

#artstation {
    background-color: #101014;
    color: #13aff0;
}

#rebrickable {
    background-color: #ecdc4b;
    color: white;
}

#discord {
    background-color: #5865f2;
    color: white;
}

#linkedin {
    background-color: #0a66c2;
    color: white;
}

#itchio {
    background-color: #fa5c5c;
    color: white;
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
    }

    #nom,
    #site,
    #witchsky {
        width: 100%;
        flex: 1 1 auto;
    }

    main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}