
@font-face {
    font-family: Gotham;
  src: url(https://fonts.gstatic.com/s/nunito/v16/XRXV3I6Li01BKofINeaB.woff2) format('woff2');
}

html{
    font-size: 150%;
}
.collapse {
    display: none;
}

@media only screen and (min-width: 1080px) {
  /* For desktop: */
    html {
        font-size: 100%;
    }
    .collapse {
        display: inline;
    }
    .nav-logo {
        height: 32px !important;
        padding: 0px 0px 0px 0px !important;
    }
}


/* Define some variables */
:root {
    --h1-fs: 3vw;
    --h2-fs: 2vw;
    --h3-fs: 1.25vw;
    --p-fs: 1vw;
    --orange: #EF8830;
    --green: #A3BE8C;
    --dark: #2b303b;
    --light: #dfe1e8;
    --box-shadow: 1px 1px 5px rgba(0,0,0,0.25);
    --box-shadow-in: 1px 1px 5px rgba(0,0,0,0.25);
    --box-hover: 2px 2px 8px rgba(0,0,0,0.35);
}

body {
    background: var(--light);
    color: var(--dark);
    margin: 0px;
    font-family: Gotham;
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* Shared settings for navbar and footer */
.nav, .footer {
    background: var(--dark);
    color: var(--light);
    vertical-align: middle;
    box-sizing: content-box;
    display: flex;
    align-items: top;
    justify-content: space-between;
    box-shadow: var(--box-shadow);
    z-index: 100;
}
.nav a, .footer a {
    display: inline-block;
    padding: 10px;
}
.nav a, .footer a, .nav a:visited, .footer a:visited {
    color: var(--light) !important;
}
.float-left {
    vertical-align: middle;
    box-sizing: content-box;
    display: flex;
    align-items: center;
}
.nav-logo {
    height: 64px;
    padding: 10px;
    margin-top: -5px;
    object-fit: cover;
    width: auto;
    vertical-align: middle;
}
.nav-text {
    vertical-align: middle;
}
.nav-logo-bg {
    width: 1.6em;
    height: 1.6em;
    background: url(img/nav-logo.svg);
    background-repeat: no-repeat;
    margin-top: -0.25em;
    padding-left: 1.5vw;
    margin-right: 0.2em;
    margin-bottom: -100%; /* Don't collide with anything below */
}
.float-right {
    align-items: flex-end;
}
.nav .material-icons{
    margin-top: -5px;
}

.nav a:hover, .footer a:hover{
    background: #4c566a;
}

.content {
    flex: 1 0 auto;
}
.primary {
    background: #ffffff;
    padding-top: 30px;
    padding-bottom: 15px;
    vertical-align: middle;
    text-align:center;
    box-shadow: var(--box-shadow);
}
/* Fix this */
.logo {
    height: .75em;
    width:auto;
}
.body-logo {
    background: url(logo.svg) no-repeat;
    background-size: contain;
    padding-left: var(--h1-fs);
    text-align: center;
}
.button-container {
    padding: 20px;
}
.button, .button:visited {
    font-size: 1.25em;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: var(--box-shadow);
    padding: 10px;
    color: rgba(0,0,0,0.5);
    margin: 10px;
}
.button:hover {
    opacity: 90%;
    color: rgba(0,0,0,0.8);mac
}
.tindie {
    background: rgba(0,0,0,.1);
    border-radius: 0px 5px 5px 0px;
    margin-left: 0px;
}
.etsy {
    background: var(--orange);
    border-radius: 5px;
    margin-right: 0px;
}

/* Secondary section */
.secondary {
    padding-top: 15px;
    padding-bottom: 15px;
    width: 100%;
    position: relative;
    text-align: center;
}
/* Text overlay */
.overlay {
    text-align: center;
    text-shadow: 1px 1px 1px #dfe1e8;
}
/* Buy button */
.buy {
    position: absolute;
    margin-bottom: -100%;
    padding: 10px;
    margin-top: 15px;
    margin-left: 0px;
    background: var(--green);
    border-radius: 0px 5px 5px 0px;
    font-weight: bold;
    box-shadow: var(--box-shadow);
    font-size: 1.5em;
    left: 0px;
}
/* Main image */
.main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;

}
/* Boxes */
.box-container {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: top;
    justify-content: center;
}
.box {
    display: inline-block;
    width: 500px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    margin: 10px;
    padding: 10px;
}
a .box {
    opacity: 90%;
}
.alt-bg .box {
    background: var(--light);
    box-shadow: var(--box-shadow-in);
    width: 300px;
}

/* Tirtiary */
.tirtiary {
    padding-top: 15px;
    padding-bottom: 15px;
    width: 100%;
    position: relative;
    text-align: center;
    background: #FFFFFF;
    box-shadow: var(--box-shadow);
}

/* Footer */
.footer {
    flex-shrink: 0;
/*    text-align:center;*/
}
/* Link color */
.footer a{
    color: #e5e9f0 !important;
}


/* About */
.me {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.avatar {
    width: 100px;
    height: auto;
    border-radius: 50px;
    background: var(--light);
    margin-right: 20px;
}
.about a,.about a:visited {
    color: var(--dark) !important;
}
.about a:hover {
    background: var(--light);
}


/* Make regular and visited links have the same color and no underline. */
a, a:visited{
    color: #0087bd;
    text-decoration: none;
}
/* Remove margins from headings and replace them with padding so they can resize their container. */
h1 {
    margin: 0px;
}
h2 {
    font-weight: 500;
    opacity: 0.7;
    margin: 0px;
}
h3 {
    margin: 0px;
}
.material-icons{
    vertical-align: middle;
    padding-top:.25em;
    padding-bottom:.25em;
    font-size: inherit !important;
    object-fit: cover;
}
