@font-face {font-family: "Quicksand"; font-style: normal italic; font-weight: 100 800;
  src: url("/style/fonts/Quicksand/Quicksand-VariableFont_wght.ttf") format("truetype");}

@font-face {font-family: "Mouse Memoirs"; font-style: normal; font-weight: 400;
  src: url("/style/fonts/Mouse_Memoirs/MouseMemoirs-Regular.ttf") format("truetype");}

body {
    background-color: #f0eeeb;
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 1.2rem;
}

a {
    color: #ed5f00;
    text-decoration: none;
    font-weight: 600;
}

a:visited {
    color: #af3e07;
}

a:hover {
    color: #fa932f;
}

h2, h3, h4, h5, h6 {
    font-family: "Mouse Memoirs", sans-serif;
    font-weight: 400;
    margin-bottom: 2rem;
}

h2 { font-size: 3.5rem; }
h3 { font-size: 2.75rem; }
h4 { font-size: 2.25rem; }
h5 { font-size: 1.75rem; }
h6 { font-size: 1.5rem; }

hr {
    width: 80%;
    background-color: lightgray;
    height: 2px;
    border: none;
    margin: 3rem auto;
}

ol, ul {
    margin: 2em 1em;
}

header {
    font-family: "Mouse Memoirs", sans-serif;
    font-style: normal;
    width: fit-content;
    margin: 0.75rem auto;
}

header > a {
    color: #000;
}

header > a:visited {
    color: #000;
}

header > a:hover {
    color: #000;
}

head-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

head-text {
    display: block;
}

head-container > h1 {
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-top: -0.5em;
    margin-bottom: 0;
    text-shadow: 1px 5px 4px rgba(0, 0, 0, 0.16);
}

.big {
    font-size: 3em;
}

head-container > p {
    text-align: center;
    font-weight: 400;
    font-size: 1.75em;
    margin-top: -0.5em;
    margin-bottom: 0;
    text-shadow: 1px 5px 4px rgba(0, 0, 0, 0.16);
}

nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin: 0 auto 20px;
    width: calc(95vw - 20px);
    max-width: 1000px;
}

nav-container > img {
    max-width: 200px;
    flex: 0 0 auto;
}

nav-container > nav {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 1em 1.5em;
}

nav-container > nav > a {
    flex: 0 1 auto;
    text-wrap: balance;
    text-align: center;
    color: #fff;
    font-weight: 700;
    padding: 5px 20px;
    font-size: 1.1em;
    background-color: #fc8900;
    border: 3px solid #000;
    border-radius: 25px;
    box-shadow: 0 0 0 5px #fff, 3px 8px 8px rgba(0, 0, 0, 0.3);
}

#list-link:hover {
    transform: rotate(6deg)
}

#join-link:hover {
    transform: rotate(-12deg)
}

#resource-link:hover {
    transform: rotate(10deg)
}

#about-link:hover {
    transform: rotate(-7deg)
}

nav-container > nav > a:visited {
    color: #fff;
}

nav-container > nav > a:hover {
    color: #fff;
}

main {
    --side-padding: 80px;
    width: calc(95vw - (var(--side-padding) * 2 ));
    max-width: calc(1000px - (var(--side-padding) * 2 ));
    margin: 0 auto 20px;
    padding: 20px var(--side-padding) 40px;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.16) 0 1px 4px;
    background-color: #fff;
    color: #000;
    font-size: 1.3rem;
}

.highlight {
    margin: 2rem auto 3rem;
    padding: 15px 25px;
    background-color: #ffcf38;
    color: #000;
    border: 3px solid #000;
    border-radius: 25px;
}

list-of-sites {
    width: 95vw;
    max-width: 1000px;
    margin: 0 auto 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

site-line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background-color: white;
    border-radius: 15px;
    padding: 10px 1rem;
    height: 2rem;
    overflow: hidden;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0 1px 4px;
}

site-button {
    flex: 0 0 88px;
    height: 31px;
}

text-deets {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex: 1 1 35%;
}

site-name {
    flex: 1 1 20%;
    overflow: hidden;
    text-overflow: ellipsis;
}

site-owner {
    flex: 1 0 20%;
}

site-tags {
    flex: 1 1 15%;
    text-wrap: balance;
    font-size: 0.8rem;
}

site-feed {
    flex: 0 0 30px;
    height: 30px;
}

.feed-icon {
    height: 30px;
    width: 30px;
    fill: #fb7400;
}

a:hover > .feed-icon {
    fill: #ffac5c;
}

.half {
    width: 50%;
    margin: 0 auto;
}

.col-two {
    max-width: 100%;
    margin: 2em 0;
    column-count: 2;
    column-gap: 20px;
}

.col-two > ul {
    margin: 0;
}


/* Email obfuscation */

	span.email > span:nth-child(1) {
		display: none;
	}

	span.email > span:nth-child(3) {
		display: none;
	}


@media (max-width: 700px) {
    
    nav-container {
        gap: 4vw;
    }
    
    nav-container > nav {
        font-size: 1em;
    }
    
    nav-container > img {
        width: 25vw;
        min-width: 100px;
        flex: 0 0 auto;
    }
    
    main {
        --side-padding: 40px;
    }
    
    site-line {
        height: 3.25rem;
        padding: 10px 0.5rem;
    }
    
    text-deets {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        text-align: left;
        flex: 1 0 auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    site-name, site-owner, site-tags {
        flex: 1 0 auto;
        width: 55vw;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    site-owner::before {
        content: "› "
    }
    
    .col-two {
        column-count: 1;
    }
}

@media (max-width: 400px) {
    
    main {
        --side-padding: 20px;
        font-size: 1.2rem;
    }
    
    nav-container > nav {
        gap: 0.75em 1.5em;
    }
    
    site-button, site-button > img {
        max-width: 15vw;
        height: auto;
    }
}