:root {
    --palepink: #fff7f8;
    --pale: #f4e2e9;
    --bg: #f2dada;
    --pink: #f7c9c8;
    --dusty: #7f6969; 
    --font: #aa6363;
    --magenta: #b24270;
    --dark: #1b1a1a;
    --cherry: #AC1E44;
}

@font-face {
  font-family: Nunito;
  src: url('https://sadhost.neocities.org/fonts/Nunito-Regular.ttf');
}

@font-face {
  font-family: Nunito;
  src: url('https://sadhost.neocities.org/fonts/Nunito-Bold.ttf');
  font-weight: bold;
}

@font-face {
  font-family: Nunito;
  src: url('https://sadhost.neocities.org/fonts/Nunito-Italic.ttf');
  font-style: italic;
}

@font-face {
  font-family: Nunito;
  src: url('https://sadhost.neocities.org/fonts/Nunito-BoldItalic.ttf');
  font-style: italic;
  font-weight: bold;
}

body {
  font-family: 'Nunito', sans-serif;
  margin: 0;
  background-image: url('images/sky.webp');  
  background-color: var(--magenta);
  background-position: center;
  background-size: cover;
  color: var(--magenta);
}

footer {
  display: inline;
  color: var(--dusty);
  text-align: center;
}

footer a {
  color: var(--magenta);
  display: inline;
}

html {
  cursor: url('/cursors/animalcrossing/Normal\ Turned.cur'), auto !important;
  }

a {
  font-weight: bold;
  cursor: url('/cursors/animalcrossing/Normal\ Turned.cur'), auto !important;
}

a:hover {
  color: var(--pink);
  text-shadow: var(--magenta) -1px 0 , var(--magenta) 0 1px , var(--magenta) 1px 0 , var(--magenta) 0 -1px ;
  font-weight: bolder;
  cursor: url('/cursors/animalcrossing/Press.cur'), auto !important;
}

#container {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  gap: 25px;
}

#container nav a {
  font-weight: bold;
  display: flex;
  text-decoration: none;
}

aside {
  background-color: var(--palepink);
  border: 7px solid transparent;
  border-image: url('images/purple_lace_valentinely.png') 7 round;
  border-image-outset: 1;
  width: 115px;
  padding: 5px;
  font-size: smaller;
  overflow:hidden;
  width: 15%;
}

aside a {
  color: var(--magenta);
}

nav ul {
  list-style-type: circle;
  padding: 10%;
  line-height: 1.75;
}

main {
  width: 100%;
  background-color: var(--palepink);
  border: 7px solid transparent;
  border-image: url('images/purple_lace_valentinely.png') 7 round;
  border-image-outset: 1;
  flex: 1;
  padding: 20px;
  order: 2;

  max-height: 875px;
  overflow:auto;
}
main a {
  text-decoration: none;
  color: var(--magenta);
  }

aside {
  max-height:400px;
  min-height: 250;
  overflow:auto;
}

#sidebar {
  order: 1;
}

h1,
h2,
h3,
h4 {
  color: var(--magenta);
}

h1 {
  font-size: 25px;
}

strong {
  color: var(--magenta);
}

#leftpagedoll {
  position: fixed;
  bottom: 0px;
  left: 25px;
  max-width: 50px;
  bottom: 0px;

  filter: 
    drop-shadow(1px 1px #fff) 
    drop-shadow(-1px 1px #fff) 
    drop-shadow(1px 1px #fff) 
    drop-shadow(1px -1px  #fff) 
    drop-shadow(1px 1px #fff) 
    drop-shadow(-1px 1px #fff) 
    drop-shadow(1px -1px #fff) 
    drop-shadow(-1px -1px #fff);
}

@media only screen and (max-width: 800px) {
  #container {
    flex-direction: column;
  }

  aside {
    width: 90%;  
    order: 1;
  }

  main {
    order: 2;
    max-height: none;
    max-width: 85%;
  }

  #leftpagedoll {
    display: none;
  }
}


@media only screen and (max-height: 800px) {
  #leftpagedoll {
    display: none;
  }
}

table, th, td {
  border: 1px solid;
  border-collapse: collapse;
}

table {
  width: 49%;
}

.centerimage {
  text-align: center;
}

.pics img {
  border: 2px solid;
}

/* HORIZONTAL LINE */
hr {
  border: none; 
  height: 20px; 
  background-image: url('images/divider_roses_pink_white.png'); 
  background-repeat: repeat-x; 
  background-position: center center; 
  background-size: auto 100%; 
}

  .sectionnav { /*nav buttons on about page*/
    width: 100%;
    display: flex;
    justify-content: center;
    }

  .sectionnav ul {
    display: flex;
    }

  .sectionnav li {
    list-style-type: none;
    background-color: var(--bg);
    border: 1px solid var(--magenta);
    border-radius: 5px;
    width: fit-content;
    padding: 5px;
    margin: 5px;
    }

  .sectionnav a {
    text-decoration: none;
    }

  .sectionnav li:hover {
    background-color: var(--pale);
    color: pink;
    }
  
/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: auto;
  scrollbar-color: var(--magenta) var(--palepink);
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 16px;
}

*::-webkit-scrollbar-track {
  background: #fff9e5;
}

*::-webkit-scrollbar-thumb {
  background-color:  var(--magenta);
  border-radius: 10px;
  border: 3px outset var(--palepink);
}

@keyframes bounce {
0%, 100%, 20%, 50%, 80% {
  -webkit-transform: translateY(0);
  -ms-transform:     translateY(0);
  transform:         translateY(0)
}
40% {
  -webkit-transform: translateY(-30px);
  -ms-transform:     translateY(-30px);
  transform:         translateY(-30px)
}
60% {
  -webkit-transform: translateY(-15px);
  -ms-transform:     translateY(-15px);
  transform:         translateY(-15px);
}
}
@keyframes bounce {
0%, 100%, 20%, 50%, 80% {
  -webkit-transform: translateY(0);
  -ms-transform:     translateY(0);
  transform:         translateY(0)
}
40% {
  -webkit-transform: translateY(-30px);
  -ms-transform:     translateY(-30px);
  transform:         translateY(-30px)
}
60% {
  -webkit-transform: translateY(-15px);
  -ms-transform:     translateY(-15px);
  transform:         translateY(-15px)
}
}   
  #leftpagedoll:hover{
  opacity: 1;
  animation-name: float;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  }
  
@keyframes float {
  0% {
      bottom: 0px;
  }

  50% {
      bottom: 25px;
  }

  100% {
      bottom: 0px;
  }
}

  .boxart {
        float: right;
        margin: 7px;
        max-height: 250px;
        border: 1px solid;
    }
