body, html {
    height: 100%;
    margin: 0;
    cursor: url("images/cursor.png"), auto;
}

@font-face {
    font-family: Baloo;
    src: url(Baloo.ttf);
}

a {
    cursor: url("images/cursor.png"), auto;
}

a:link {
    color: rgb(234, 216, 255);
    text-decoration: none;
}

a:visited {
    color: rgb(234, 216, 255);
    text-decoration: none;
}

a:hover {
    color:rgb(255, 229, 245);
    transition: 0.4s ease;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://i.pinimg.com/736x/ba/c7/ec/bac7ec2bdf8d5cef94b6db226db2044f.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

.box {
    width: 1000px;
    position: relative;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 20px;
    padding-bottom: 20px;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 200px auto;
    grid-template-rows: auto auto auto;
}

header, .nav1, .nav2, .nav3, .main1, .main2, footer {
    font-family: Baloo;
    color: white;
    background-color: rgba(75, 147, 206, 0.8);
    border-radius: 20px;
    padding: 14px;
}

header {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
    text-align: center;
    font-size: 44px;
    padding-top: 0px;
    padding-bottom: 0px;
    line-height: 1;
}

nav {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    height: max-content;
    text-align: center;
    font-size: 24px;
}

.nav4 img {
    max-width: 95%;
    max-height:fit-content;
    border: 6px solid rgba(75, 147, 206, 0.8);
    
    border-radius: 20px;
}

.nav2, .nav3, .nav4, .main2 {
    margin-top: 10px;
}

main {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}

.maintitle {
    font-size: 36px;
    text-align: center;
    line-height: 0;
}

.subtitle {
    font-size: 24px;
    line-height: 0;
    
    color: rgb(177, 232, 255);
}

.subtitle2 {
    font-size: 22px;
    line-height: 0;
}

.bookmark {
    font-size: 22px;
    line-height: 0;
    color: rgb(177, 232, 255);
}

.main1 {
    text-align: center;
    line-height: 1;
}

footer {
    grid-row: 3 / 4;
    grid-column: 1 / 3;
    text-align: center;
    font-size: 20px;
    color: rgb(177, 232, 255);

}

figcaption {
    padding-top: 10px;
    font-size: 20px;
    line-height: 0;
    color: rgb(177, 232, 255);
}

hr {
    border-top: solid 4px rgb(177, 232, 255);
    border-style: dotted;
}

.accent1 {
    font-size: 32px;
    color: rgb(177, 232, 255);
}

.accent2 {
    color: rgb(177, 232, 255);
}

.body {
    font-size: 28px;
    padding-left: 5px;
    padding-right: 5px;
}

u {text-decoration-style: wavy;}

::-webkit-scrollbar {width: 12px;
height: 12px;}

::-webkit-scrollbar-track {border: 3px solid rgb(177, 232, 255);
border-radius: 10px;}

::-webkit-scrollbar-thumb {background: rgb(177, 232, 255);
border-radius: 10px;}

::-webkit-scrollbar-thumb:hover {background: rgb(177, 232, 255);}