@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');


/* ==== Main ==== */
:root {
    --bg: #f4e1bd;
    --card-bg: #faedcd;
    --card-border: #d6c498;

    --text: #553c2c;

    --link: #c06014;
    --link-hover: #8a3f0a;
}

body {
    background-color: var(--bg);
    margin: 0px;
}

h1,h2,h3,h4,h5,p,li, span, button{
    font-family: DM Sans;
    color: var(--text);
}

a { 
    display: inline-block;
    font-family: DM Sans;
    text-decoration: none;
    color: var(--link);
}

a:hover {
    color: var(--link-hover);
    cursor: pointer;
}

.divider {
  border: none;
  height: 3px;
  background: var(--card-border);
}

/* ==== Components ====*/
.container{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav {
    display: flex;
    flex-direction: row;
    gap: 7px;
    align-items: center;
    border-bottom: 2px solid var(--text);
    justify-content: space-between;
    flex-wrap: nowrap;
}

.nav-title h2{
    margin: 7px;
}

.nav-links {
    white-space: nowrap;
}

.nav-links a{
    margin: 14px;
}

.main {
    padding: 6px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 14px 20px 0 20px;
}

.card {
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 4px;
    border: 3px solid var(--card-border);
    transition: transform 0.2s;
}

.card:hover{
    transform: scale(1.02) rotate(-0.7deg);
}

.webring-index-links {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.webring-members {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.webring-bread1 {
    display: block;
    margin: 0 auto;
    width: 20%;
    height: auto;
    animation:spin 1.8s linear infinite;
}

@keyframes spin {
    0% {
    transform: rotate(0deg);
    }
    100% {
    transform: rotate(360deg);
    }
}

.breadfacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.breadfacts button{
    background-color: #c06014;
    color: #e7c9ae;
}

.breadfacts button{
    background-color: #c06014;
    color: #e7c9ae;
    border: 2px solid #dd9961;
    transition: transform 0.2s;
}

.breadfacts button:hover{
    transform: scale(1.1) rotate(0.7deg);
}
.breadstickers{
    display: flex;
    flex-direction: row;
    gap: 7px;
}

.breadstickers img{
    width: 88px;
    height: 31px;
    transition: transform 0.2s;
}

.breadstickers img:hover{
    transform: scale(1.1) rotate(0.7deg);
}