@import url('https://fonts.googleapis.com/css2?family=Chewy&family=Grandstander:ital,wght@0,100..900;1,100..900&family=Mansalva&display=swap');

:root {
    --babyzblue: #3e5ec3;
    --babyzred: #fa4e4a;
    --babyzyellow: #facd2b;
    --bgyellow: #fff5bc;
}

* {
    box-sizing: border-box;
}
  
html {
    color: #3e5ec3;
    font-family: 'Grandstander', Arial, Helvetica, sans-serif;
    height: 100%;
    line-height: 25px;
}

body {
    background-image: url(../img/balloonbg.png);
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

nav {
    background-color: rgba(62, 94, 195, 95%);
    border-radius: 30px 0 0 30px;
    max-width:min-content;
}

main {
    background-color: rgba(255, 255, 255, 95%);
    border-radius: 0 30px 30px 0;
    max-height: 770px;
    overflow-y: auto;
    padding: 2rem 5rem;
    text-align: center;
    width: 75%;
    -webkit-overflow-scrolling: touch;
}

nav ul {
    list-style: none;
    margin: 1rem .2rem 1.5rem -1.6rem;
}

.main-nav li:first-of-type,.main-nav li:last-of-type {
    margin-bottom: 6rem;
}

.main-nav li:first-of-type {
    margin-left: -.5rem;
}

.main-nav li {
    margin-bottom: 1.5rem;
}

nav li:hover {
    filter: drop-shadow(0px 0px 8px #1a3589);
}

nav, main {
    box-shadow: 2px 2px 6px rgba(129, 121, 74, 0.3);
}

/************ scrollbar *******************/

main::-webkit-scrollbar {
    width: 10px;
}

main::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0);
}

main::-webkit-scrollbar-thumb {
    background-color: var(--babyzblue);
}

main::-webkit-scrollbar-button:start:increment {
    height: 4%;
    display: block;
}

main::-webkit-scrollbar-button:end:increment {
    height: 4%;
    display: block;
}

/*********** page defaults ****************/

h1 {
    font-family: 'Chewy', Arial, Helvetica, sans-serif;
    font-size: 20pt;
    letter-spacing: 2.5px;
}

h2 {
    font-family: 'Chewy', Arial, Helvetica, sans-serif;
    font-size: 18pt; 
    font-weight: normal;
    letter-spacing: 1px;
}

h3 {
    font-weight: bold;
    font-size: 14pt;
}

a {
    color: var(--babyzred);
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: var(--babyzyellow);
    text-decoration: 1px wavy underline;
}

.button {
    background-color: var(--bgyellow);
    border-radius: 15px;
    color: var(--babyzblue);
    display: inline-block;
    margin: .1rem .2rem;
    padding: .5rem .8rem .3rem;
    transition: .5s;
}

.button:hover {
    color: var(--babyzblue);
    background-color: #f2d84a;
    text-decoration: none;
    transition: .5s;
}

.buttonlinks {
    margin-bottom: 2rem;
}

ol li {
    margin-bottom: 1rem;
    text-align: left;
}

.no-bullets {
    list-style: none;
}

.active {
    color: var(--babyzblue);
    background-color: #f2d84a;
}

/********************* index *******************/

.latest {
    display: flex;
    gap: 5rem;
    justify-content: center;
}

.h2-bg {
    background-color: var(--babyzblue);
    color: #fff;
    font-size: 14pt;
    font-weight: bold;
    margin: 0;
    padding: .5rem;
}

.div-bordered {
    border: 1px solid var(--babyzblue);
    height: 200px;
    margin: 0 auto;
    overflow: auto;
    text-align: left;
    width: auto;
}

.updates {
    width: 30%;
}
  
.div-bordered p {
    font-size: 14px;
    margin-top: .5rem;
    padding: 0 .5rem 0 .5rem;
}

.milk-posts {
    width: 30%;
}

.milk-posts iframe {
    border: 1px solid var(--babyzblue);
}
