:root {
    --green: #9bb07f;
    --white: #f1f5ec;
    --border: ridge 4px var(--green);
    --outlines: drop-shadow(4px 0 0 white) drop-shadow(0 4px 0 white) drop-shadow(-4px 0 0 white) drop-shadow(0 -4px 0 white);
}

/* FONTS */

@font-face {
    font-family: 'Rounds';
    src: url(/fonts/TT\ Rounds\ Neue.ttf);
}

@font-face {
    font-family: 'Comfortaa';
    src: url(/fonts/Comfortaa.ttf);
}

@font-face {
    font-family: 'Amoria';
    src: url(/fonts/Amoria.otf);
}

@font-face {
    font-family: 'Poster';
    src: url(/fonts/HVD\ Poster\ Clean.ttf);
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 10px;
    height: auto;
}

::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background: var(--green);
}

::-webkit-scrollbar-track {
    background: var(--white);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* MAIN */

* {
    box-sizing: border-box;
}

html {
    margin: 15px;
    height: 100%;
    background-position: center;
    background-image: url(/imgs/style/greenplaid.jpg);
    background-size: 180px;
    overflow-x: hidden;
    align-content: start;
    font-family: 'Comfortaa';
    transform: scale(0.8);
    transform-origin: top;
}

::selection {
    background: var(--white);
    color: #c2d8a5;
}

img {
    pointer-events: none;
}

p,
a,
span,
li {
    font-size: 14px;
}

.scrollable {
    overflow-x: hidden;
}

h3 {
    text-decoration: underline wavy black 1px;
}

a {
    color: black;
    text-decoration: none;
}

a:hover,
a:active {
    color: var(--green);
}

/* SITE CONTAINER */

.container {
    text-align: center;
    margin: auto;
    width: 1080px;
    padding: 5px;
    background: #dde0d9;
    border: var(--border);
    border-radius: 180px 6px 180px 6px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
}

/* HEADER */

.header {
    margin: 10px;
    width: 100%;
    height: 250px;
    background-image: url(/imgs/style/header.png);
    background-size: cover;
    background-position: center;
    border: var(--border);
    border-radius: 180px 6px 6px 6px;
    overflow: hidden;
}

#title {
    font-family: 'Amoria';
    letter-spacing: 2px;
    color: #c2d8a5;
    font-size: 60px;
    position: relative;
    left: -210px;
    top: 115px;
}

#title:hover {
    color: var(--white);
}

#subtitle {
    color: var(--white);
    font-size: 18px;
    position: relative;
    left: -105px;
    top: 70px;
}

/* MAIN BODY */

.stretch {
    display: flex;
}

.part {
    background-image: url(/imgs/style/gridpaper.png);
    margin: 5px;
    padding: 10px;
    border: var(--border);
    border-radius: 10px;
}

.part2 {
    text-align: left;
    background: white;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 90%;
    padding: 8px;
    border-width: 7px;
    border-radius: 8px;
    border-style: solid;
    border-image: url(/imgs/style/border.gif) 7 fill round;
}

/* WELCOME */

#welc {
    width: 55%;
}

#welcome {
    font-size: 60px;
    letter-spacing: 3px;
    font-family: 'Poster';
    text-align: left;
    position: relative;
    left: 15px;
    top: -85px;
    color: var(--white);
    margin-bottom: -85px;
    filter: drop-shadow(1px 1px 0 #859570) drop-shadow(-1px 1px 0 #859570) drop-shadow(0 -1px 0 #859570) drop-shadow(1px 0 #859570);
    text-decoration: underline dashed;
}

#welc span {
    color: #859570;
    font-weight: bolder;
}

/* NAVIGATION */

#nav {
    width: 25%;
}

#nav .scrollable {
    height: 231.8px;
}

ul.navhead {
    text-align: left;
    margin-bottom: 5px;
    margin-left: -40px;
    list-style: none;
    text-decoration: underline wavy black 1px;
}

.navlink li {
    text-align: left;
    list-style: none;
    font-size: 16px;
    margin-top: 5px;
}

.navdeco {
    margin-left: 5px;
    width: 20px;
}

/* UPDATES */

#updates {
    width: 30%;
}

#updates .scrollable {
    height: 250px;
}

#updates h3,
#cbox h3 {
    margin-bottom: 0px;
}

/* SIDE IMAGES */

.sideimg {
    width: 20%;
    background-size: cover;
    background-position: center;
    margin: 5px;
    padding: 10px;
    border: var(--border);
}

#home1 {
    background-image: url(/imgs/style/sideimgs/sideimg1.png);
    border-radius: 10px 10px 10px 10px;
    filter: brightness(105%);
}

#home2 {
    background-image: url(/imgs/style/sideimgs/sideimg2.png);
    border-radius: 10px 10px 180px 10px;
    filter: brightness(95%);
}

/* CHATBOX */

#cbox {
    width: 50%;
}

#cbox iframe {
    border: none;
    border-radius: 6px;
    height: 250px;
    width: 100%;
    font-family: 'Comfortaa';
}

/* PAGE DECOR */

#chai {
    width: 180px;
    rotate: 3deg;
    position: absolute;
    display: block;
    transform-origin: center;
    transform: translate(900px, -910px);
    filter: var(--outlines);
}

#phone {
    height: 380px;
    rotate: 22deg;
    position: absolute;
    display: block;
    transform-origin: center;
    transform: translate(-480px, -500px);
    filter: var(--outlines);
}

#moth {
    width: 300px;
    rotate: 340deg;
    position: absolute;
    display: block;
    transform-origin: center;
    transform: translate(880px, 140px);
    filter: var(--outlines);
}