/* Globals */
* {box-sizing: border-box;}
html {
    font-family: 'Times New Roman', Times, serif;
    /* font-size: 20px; */
    font-size: 16px;
    background-color: #e6e6e6;
    /* background-color: #cff4dd; */
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
    -moz-osx-font-smoothing: grayscale;
}
body {
    margin: 0;
    padding: 0;
}
a {
    color: #000;
    word-break: break-word;
}
h1, h2, h3, h4, p, form, figure, button, ul, ol, li, video, iframe {
    margin: 0;
    padding: 0;
}
ol, ul {
    /* padding-left: 1em; */
    list-style-type: none;
}
li {
    margin-bottom: 5px;
}
h2, h3, h4 {
    margin-bottom: .5em;
}
h1 {
    margin-bottom: 20px;
}
h2 {
    font-size: 30px;
}
h2.underline {
    border-bottom: 1px solid #bdbdbd;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
}
h3.normal {
    font-weight: normal;
}
.normal-text {
    font-size: initial;
    font-weight: initial;
}
p, ol, ul, hr {
    margin-bottom: 1em;
}
p:last-child, ul:last-child, ol:last-child, li:last-child, .form-group:last-child {
    margin-bottom: 0;
}
nav, main, .alert, .alert-constant {
    margin: 10px;
}
.alert, .alert-constant {
    max-width: 800px;
    margin: 0 auto;
}
img {max-width: 100%;}
hr {
    border: 0;
    border-bottom: 1px solid #bdbdbd;
}
/* .square-button {
    border: 1px solid;
    padding: 2px 4px;
    display: inline-block;
    text-decoration: none;
} */
.square-button {
    text-decoration: none;
    background-color: #f1f1f1;
    padding: 6px 8px;
    margin-right: 6px;
    height: 35px;
    border-radius: 4px;
}

/* Nav */
nav a {
    text-decoration: none;
}
nav a:hover {
    text-decoration: underline;
}
nav.global-nav {
    display: flex;
}
.nav-left {
    margin-right: 8px;
}
.nav-left, .nav-account {
    display: flex;
    flex-flow: row nowrap;
}
.nav-left > * {
    margin-right: 4px;
}
.nav-left a {
    width: max-content;
}
.nav-right {
    display: flex;
    gap: 10px;
    margin-left: auto;
    flex-flow: row wrap;
}
.home-button {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    /* border: 0 !important; */
}
.favorites-icon {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    overflow: hidden;
}

#avatar-name {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-avatar {
    display: block;
    height: 10px;
    width: 10px;
    border: 1px solid #000;
}


/* Icons */
.icon {
    width: 25px;
    height: 25px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
.list-icon {background-image: url('../images/list.svg');}
.log-icon {background-image: url('../images/log.svg');}
.settings-icon {background-image: url('../images/flower.svg');}
.mentions-icon {
    background-image: url('../images/heart.svg');
    background-repeat: no-repeat;
    background-color: initial !important;
}
.fish-icon {
    width: 40px;
    background-image: url('../images/fish.svg');
    background-position: center center;
}
.fish-icon:hover {
    filter: hue-rotate(180deg);
    cursor: pointer;
}

/* Footer */
footer {
    border-top: 1px solid #c5c5c5;
    margin: 10px;
    padding-top: 10px;
    color: #5a5a5a;
    margin-bottom: 1.5em;
}
footer a {
    text-decoration: none;
    color: #5a5a5a;
}
footer a:hover {
    text-decoration: underline;
}

/* Reusable Components */
.box {
    display: inline-block;
    background-color: #fff;
    position: relative;
    /* border-radius: 100%; */
}
.small {
    width: 25px;
    height: 25px;
}
.medium {
    width: 50px;
    height: 50px;
}
.large {
    width: 111px;
    height: 111px;
}
section, .introduction {
    /* border: 1px solid #c5c5c5; */
    /* margin-bottom: 10px; */
    background: #fff;
    padding: 10px;
}
section hr {
    border-bottom: 1px solid #ececec;
}
.narrow-width {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 20px;
}

/* Shapes */
.shape, .large-shape, .small-shape {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}
.shape {
    width: 30px;
    height: 30px;
}
.small-shape {
    width: 25px;
    height: 25px;
}
.large-shape {
    width: 100px;
    height: 100px;
}
.leaf {background-image: url('../images/leaf.svg');}
.heart {background-image: url('../images/heart.svg');}
.mushroom {background-image: url('../images/mushroom.svg');}
.pebble {background-image: url('../images/pebble.svg');}
.star {background-image: url('../images/star.svg');}
.flower {background-image: url('../images/flower.svg');}
.island {background-image: url('../images/island.svg');}

/* Buttons */
.simple-button {
    font-family: 'Arial', Times, serif;
    font-size: 15px;
    background: #fff;
    border: 1px solid #dbdbdb;
    /* border-radius: 3px; */
    /* border: 0; */
    border: 1px solid #c5c5c5;
    outline: 0;
    padding: 4px;
    border-radius: 3px;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}
.simple-button:hover {
    border: 1px solid #9c9c9c;
}
.button-large {
    font-size: 100%;
}
.times-button {
    font-family: 'Times New Roman', Times, serif;
    font-family: 'Arial', Times, serif;
    font-size: 15px;
    font-weight: normal;
    color: #000;
    border: 1px solid #c0c0c0;
    /* border-top-color: #f0f0f0;
    border-left-color: #f0f0f0; */
    /* border: 0; */
    outline: 0;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    background-color: #fff;
    padding: 3px 6px;
}
.times-button:hover {
    /* border: 1px solid #f0f0f0;
    border-top-color: #d2d2d2;
    border-left-color: #d2d2d2; */
    border-color: #000;
}
.button-small {
    font-size: 85%;
    /* border-radius: 0; */
}
/* .simple-button:hover {
    border: 1px solid #a0a0a0;
} */



/* Forms */
.form-group {
    margin-bottom: 20px;
}
.checkbox-group {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
}
input[type=text], input[type=password], input[type=email], input[type=url], input[type=password], .stripe-card-input {
    font-family: 'Times New Roman', Times, serif;
    width: 100%;
    font-size: 100%;
    background: #fff;
    border: 1px solid gray !important;
    /* margin-bottom: 4px; */
    padding: 6px;
    outline: none;
    border: 0;
}
textarea {
    font-family: monospace;
    font-size: 100% !important;
}
select {
    font-size: 100%;
    width: 100%;
}
input[type=color] {
    border: 1px solid gray !important;
}
input[type=color], button {
    font-size: 100%;
}
input:focus::placeholder, textarea:focus::placeholder {
    color: transparent;
}
.form-label {
    border: 0;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    font-size: 19px !important;
}
@media(max-width: 535px) {
    .form-label {
        padding: 5px;
        background: #f0f0f0;
    }
}
.form-label:hover {
    background-color: #f5f5f5;
}
.form-label::-webkit-input-placeholder {
    font-size: 19px;
    color: #000;
    opacity: 1;
}
.form-label::-moz-placeholder {
    font-size: 19px;
    color: #000;
    opacity: 1;
}
.form-label:-ms-input-placeholder { 
    font-size: 19px;
    color: #000;
    opacity: 1;
}
.form-label:-moz-placeholder {
    font-size: 19px;
    color: #000;
    opacity: 1;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
}
input[type="color"] {
	-webkit-appearance: none;
    background-color: #fff;
    padding: 0;
    outline: 0;
    border: 0;
    width: 111px;
    height: 111px;
    border-radius: 0;
}
input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
}
input[type="color"]::-webkit-color-swatch {
	border: none;
}
/* Stripe */




.back {margin-bottom: 10px;}

.list-title {
    margin-bottom: 10px; 
}
.list-title input {
    font-weight: bold;
    font-size: 20px;
    width: 100%;
}
.item-handle {
    color: #a7a7a7;
    cursor: grab;
}
.item-wrap {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 3px;
    margin-bottom: 10px;
}


/* Errors */
.alert {
    padding: 8px;
    max-width: 489px;
    margin: 20px auto;
    background-color: yellow;
}
