/*
GBook CSS Document
Template: default
Last modified: January 29th, 2022

Customized by mocha!
*/

@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

@font-face {
    font-family: nasinnanpa;
    src: url("./Nasin Nanpa.otf");
}

@font-face {
    font-family: itcdemi;
    src: url("itcdemi.otf");
}


:root {
    /* Catppuccin Mocha Colors */
    --base: #1e1e2e;
    --mantle: #181825;
    --crust: #11111b;
    --text: #cdd6f4;
    --subtext1: #bac2de;
    --surface2: #313244;
    --surface1: #45475a;
    --pink: #f5c2e7;
    --mauve: #cba6f7;
    --red: #f38ba8;
    --lavender: #b4befe;
    --blue: #89b4fa;

    --bgsize: cover;
    --cardbgsize: cover;

    --hovertrans: translateY(-2px);
    --titlehovertrans: translateY(-4px) rotate(0.05turn);

    --font: var(--font);
}

/*--------------------------------------------HEADER--------------------------------------------*/

input,
textarea {
    color: var(--text);
}

.hover-text .letter {
    display: inline-block;
    transition: transform 0.15s ease;
}

.hover-text .letter:hover,
.section-title img:hover {
    transform: var(--titlehovertrans);
}

.section-title {
    color: var(--pink);
    margin-bottom: var(--cardpadding);
    justify-content: center;
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.section-title img {
    image-rendering: pixelated;
    margin-top: 5px;
    margin-right: 6px;
}

body {
    margin: 0;
    padding: 0;
    background: var(--base);
    background-size: var(--cardbgsize);
    font-family: var(--font);
    font-size: 12px;
    color: var(--blue);
}

/*#gbook_header{max-width:600px; height:150px; margin:0 auto; background-image:url(images/book.png); background-repeat:no-repeat;}*/

#gbook_top_links {
    height: 50px;
    text-align: center;
    margin-top: 10px;
}

a {
    font-family: var(--font);
    color: var(--blue);
    text-decoration: underline;
}

a:hover {
    font-family: var(--font);
    color: var(--blue);
    text-decoration: none;
}

#gbook_top_links a {
    font-family: var(--font);
    font-size: 12px;
    color: var(--blue);
    text-decoration: underline;
    font-weight: bold;
}

#gbook_top_links a:hover {
    font-family: var(--font);
    font-size: 12px;
    color: var(--blue);
    text-decoration: none;
    font-weight: bold;
}

img.gbook_logo {
    margin-left: 150px;
    margin-top: 10px;
}

span.gbook_entries_top {
    font-family: var(--font);
    font-size: 12px;
    color: var(--blue);
    text-decoration: none;
    line-height: 25px;
}

br.clear {
    clear: both;
}

.clear {
    line-height: 10px;
    clear: both
}

hr {
    width: 99%;
    height: 1px;
    color: #333333;
}

h1 {
    margin: 0;
    padding-top: 2rem;
    font-family: var(--font);
    color: var(--pink);
    font-weight: bold;
    font-size: 20px;
    position: relative;
}

h3 {
    margin: 0;
    font-family: var(--font);
    color: var(--pink);
    font-weight: bold;
    font-size: 20px;
    display: flex
}

/*--------------------------------------------HEADER--------------------------------------------*/


/*--------------------------------------------BODY--------------------------------------------*/

.gbook_break_text {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.gbook_do_not_break_text {
    white-space: nowrap;
}

.gbook_commentbox {
    width: 90%;
    height: auto;
    background-image: url(images/bg_comment_box.gif);
    background-repeat: repeat-x;
    background-color: var(--surface2);
    margin: 0 auto;
    border: solid 1px var(--surface0);
    display: table;
    margin-bottom: 20px;
}

.gbook_left_box {
    width: 30%;
    height: auto;
    float: left;
    position: relative;
}

.gbook_right_box {
    width: 68%;
    height: auto;
    float: right;
}

.gbook_right_box_1 {
    width: 50%;
    height: auto;
    float: left;
}

.gbook_right_box_2 {
    width: 50%;
    height: auto;
    float: right;
}

img.gbook_nobrd {
    border: none;
    margin-left: 10px;
    margin-right: 3px;
}

img.gbook_emoticons {
    border: none;
    margin-left: 3px;
    margin-right: 3px;
}

span.gbook_submitted {
    font-family: var(--font);
    color: #FFFFFF;
    font-weight: bold;
    font-size: 12px;
    padding-left: 5px;
    float: left;
    margin-bottom: 7px;
    margin-top: 3px;
}

span.gbook_submitted_by {
    font-family: var(--font);
    color: var(--text);
    font-size: 12px;
    padding-left: 5px;
    line-height: 18px;
}

span.gbook_comments {
    font-family: var(--font);
    color: #FFFFFF;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 7px;
    float: left;
    margin-top: 3px;
}

span.gbook_comment {
    font-family: var(--font);
    color: var(--text);
    font-size: 12px;
    float: left;
    line-height: 18px;
    margin-right: 5px;
    text-align: justify;
}

span.gbook_added {
    font-family: var(--font);
    color: var(--text);
    font-size: 11px;
    float: left
}


a.gbook_submitted {
    font-family: var(--font);
    font-size: 12px;
    color: #0066FF;
    text-decoration: underline;
    display: none;
}

a.gbook_submitted:hover {
    font-family: var(--font);
    font-size: 12px;
    color: #0066FF;
    text-decoration: none;
}

.gbook_bottom a {
    font-family: var(--font);
    font-size: 12px;
    color: #0066FF;
    text-decoration: underline;
    font-weight: bold;
}

.gbook_bottom a:hover {
    font-family: var(--font);
    font-size: 12px;
    color: #0066FF;
    text-decoration: none;
    font-weight: bold;
}

.gbook_bottom {
    font-family: var(--font);
    font-size: 12px;
    color: #0066FF;
    text-decoration: none;
}


#gbook_guestbook {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

span.gbook_guestbook {
    font-family: var(--font);
    font-size: 20px;
    color: #0e67af;
    font-weight: bold;
    text-align: center
}

span.gbook_required {
    font-family: var(--font);
    color: var(--text);
    font-size: 12px;
}


#gbook_entries {
    margin: 2rem;
    background-color: var(--surface2);
    /*border: solid 1px #b0b0b1;*/
    margin-top: 0;
}

.gbook_sign_error {
    color: #FF3333;
    font-weight: bold;
    margin-left: 10px;
    margin-top: 10px;
}

.gbook_sign_text {
    font-size: 12px;
    color: var(--text);
    margin-left: 10px;
    margin-top: 10px;
    margin-right: 10px;
    text-align: justify;
}

.gbook_sign_notice {
    font-family: var(--font);
    font-size: 14px;
    color: #228B22;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.gbook_left {
    width: 150px;
    height: auto;
    position: relative;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
}

.gbook_right {
    width: 300px;
    height: auto;
    position: relative;
    float: left;
    margin-top: 10px;
}

span.gbook_entries {
    font-family: var(--font);
    color: var(--text);
    font-size: 12px;
    line-height: 25px;
}

span.gbook_small {
    font-family: var(--font);
    color: var(--text);
    font-size: 11px;
}

/*textarea{margin-left:10px; margin-right:15px}*/

#gbook_bottom_images {
    text-align: center;
    height: auto;
    position: relative;
    margin-top: 15px;
}

.gbook_bottom_images img {
    border: none;
}

input.gbook_checkbox {
    vertical-align: middle;
}

img.gbook_sec_img {
    border: none;
    margin-top: 10px;
}

input.gbook_submit {
    position: relative;
    top: 30px;
}

input.submit {
    border: medium none;
    font-size: 14px;
    background-color: var(--surface2);
    text-transform: uppercase;
    background-image: url(images/submit.png);
    background-repeat: repeat-x;
    position: relative;
    top: 10px;
    color: #FFFFFF;
    font-family: Verdana;
    font-weight: bold;
    text-decoration: none;
    width: 237px;
    height: 32px;
    margin-top: 0px;
}

input,
textarea {
    background-color: var(--surface1);
    border: 0px solid var(--surface0);
}

textarea {
    display: block;
    margin: 0 auto;
    min-width: 80vw;
    max-width: 80vw;
    width: 80vw;
}

input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid var(--surface2);
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-color: var(--surface2);
    border-color: var(--surface1);
}


#gbook_no_spam {
    position: relative;
    top: 20px;
    width: 100%;
    height: auto;
}

.gbook_no_spam img {
    border: none
}

body.gbook_emoticons {
    margin: 0;
    padding: 0;
    background-repeat: repeat-x;
    background-color: #FFFFFF;
    font-family: var(--font);
    font-size: 12px;
    color: var(--text);
}

div.gbook_emoticons {
    font-size: 12px;
    color: var(--text);
    margin: 10px;
    text-align: center;
}

img.gbook_emoticon {
    border: none;
    margin: 5px;
}

/*--------------------------------------------BODY--------------------------------------------*/

.gbook_right input {
    width: 58vw;
}
