:root{
   --off-white:rgb(226, 229, 221);
   --gray: rgb(188, 189, 183);
   --dark-gray: rgb(142, 149, 141) ;
   --darker-gray: rgb(108, 118, 110);
   --dark-green: rgb(41, 61, 46) ;
   --yellow: rgb(252, 164, 22);
   --orange: rgb(214, 120, 17);
   --green: rgb(177, 187, 84);
   --blue: rgb(17, 0, 144);
}

body {
    background-image: url(../images/assets/bgcrature1.png);
    background-repeat: repeat-y;
    background-position: right;
    background-color: var(--gray);
    color: rgb(0, 0, 0);
    font-size: smaller;
    font-family: monospace;
}

@font-face {
  font-family: 'Ubuntu-Medium';
  src: url(../fonts/Ubuntu-Medium.ttf);
}

@font-face {
  font-family: 'Toxica';
  src: url(../fonts/TOXICA__.TTF);
}

a:hover{cursor:url(https://cur.cursors-4u.net/games/gam-12/gam1109.cur),auto!important} 
body,html{cursor:url(https://cur.cursors-4u.net/games/gam-12/gam1113.cur),auto}



/* ========ACTUAL CONTENT======== */

#container {
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-color: var(--orange) var(--yellow);
  border: solid 3px black;
}

/* HEADER */

header {
  background-color: var(--yellow);
  padding: 3px;
}


#navtop ul{
  list-style-type: none;
  display: flex;
  justify-content: end;
  padding: 5px;
  margin: 0px;
}

#navtop ul li{
  float: left;
  padding-right: 8px;
}


.dropdown-content {
  font-family: 'Ubuntu-medium';
  text-align: center;
  font-size: small;
  display: none;
  position: absolute;
  background-color: var(--yellow);
  box-shadow: 0px 8px 16px 0px rgba(57, 68, 37, 0.1);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: var(--darker-gray);}

.dropdown:hover .dropdown-content {display: block;}

#navtop h1{
  font-family: 'Toxica';
  float: left;
  padding-bottom: 0px;
  margin-bottom: 0px;
}


marquee {
    color: var(--dark-green);
    background-color: var(--orange);
    font-size: large;
    border-bottom: 3px solid black;
  }


/* =======  MAIN  ======= */

#main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: var(--gray);
}


/* SIDE */

.side-bar {
  flex-direction: column;
  justify-items: center;
  width: 200px;
  justify-self: right;
  background-color: var(--darker-gray);
  border-left: solid 3px black;
}

#Link-me {
  background-color: var(--off-white);
  font-family: 'Toxica';
  font-size: medium;
  width: 100%;
  padding: 7px 0px 10px 0px;
}

#Link-me h2 {
  display: flex;
  justify-self: center;
  margin: 10px;
}

#Link-me img{
  display: flex;
  justify-self: center;
  margin-bottom: 10px;
}

.banner img {
 max-width: 190px; 
}

.banner img:hover {
  filter: brightness(80%) saturate(30%);
  transition: .2s linear;
}

.banner h3 {
  margin-left: 5px;
  margin-bottom: 0px;
  color: var(--blue);
}

.banner a{
  text-decoration: none;
}

#side-banners{
  width: 100%;
  font-size: large;
  justify-items: center;
  padding-top: 1px;
  margin-top: 1px;
}


/* ====CONTENT==== */

#content {
  flex-direction: column;
  
}

/* TOP */

.section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 5px;
  padding: 5px;
}

.sectionTOP {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  background-color: var(--green);
  border-bottom: 2px solid black;
  margin-bottom: 15px;
}


.section-img {
  justify-self: center;
  padding: 5px;
}

#welcome {
  
  display: flex;
  flex-direction: row;
  background-color: var(--green);
  padding: 15px;
  justify-content: center;
}

#bubble {
  font-family: 'Ubuntu-medium';
  background-color: var(--off-white);
  border: solid 2px black;
  border-radius: 4px;
  width: 250px;
  justify-items: center;
  padding: 8px;
}

#bubble h3{
  margin-top: 4px;
  font-size: 18px;
  margin-bottom: 3px;
}

#bubble p{
  margin-top: 0px;
  margin-bottom: 0px;
}

#bubble-tip {
  width: 20px;
  height: 20px;
  margin-top: 20px;
  margin-right: -2px;
  z-index: 20;
}

#welcome-icon {
  margin-right: 20px;
}

#welcome2 {
  display: flex;
  flex-direction: column;
}


/* later section */

#webrings {
  background-color: rgb(108, 118, 110);
  width: 27%;
  padding-left: 7px;
}

#webrings img {
  padding-bottom: 4px;
}

.text-box {
  background-color: var(--gray);
  width: 67%;
  height: 225px;
  overflow-y: auto;
  scrollbar-color: var(--darker-gray) var(--gray);
  color: var(--dark-green);
}

.text-box h3{
  color: black;
}

.coolbuttons {
  text-align: center;
  background-color: var(--gray);

}

.coolbuttons h3{
  font-family: 'Toxica';
}

#coolbuttons {
  overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: var(--darker-gray) var(--off-white);
  max-height: 70px;
  margin-bottom: 20px;
}


/* messages */

.cbox{
  margin-left: 15px;
}
.cbox p {
  text-align: center;
  font-size: 14px;
}

#guestbook img:hover {
  transform: scale(1.03) rotate(1deg);
  transition:.1s ease-in-out;
}


/* footer */

footer {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
}


footer ul{
  display: inline-flex;
  list-style-type: none;
  gap: 5px;
}

/* footer animation? effect? */
.contactbutton {
  transition: 0.2s;
}

.contact:hover .contactbutton {
  opacity: 0.3;
}

.contact .contactbutton:hover {
  opacity: 1;
}




/* music player */

#musicthing {
  position: absolute;
  top: 80px;
  left: 720px;
  z-index: -10;
}


#cd{
    -webkit-animation:spin 10s linear infinite;
    -moz-animation:spin 10s linear infinite;
    animation:spin 10s linear infinite;
    }
    @-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
    }
    @-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
    }
    @keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

/*  AUTOPLAY  */
.autoplayer {
  position: absolute;
  top: 340px;
  left: 825px;
  display: flex;
  flex-direction: row;
}

#button {
  padding: 0px;
  margin: 0px;
}

.buttondiv {
  cursor:url(https://cur.cursors-4u.net/games/gam-12/gam1109.cur),auto!important;
  z-index: 1;
}

.autoplayer button {
  cursor:url(https://cur.cursors-4u.net/games/gam-12/gam1109.cur),auto!important;
  border: none;
}

.autoplayer a {
  color: var(--blue);
  text-decoration: none;
  padding: 2px 10px;
  position: relative;
  font-size: 14px;
  z-index: 1;
}

/* KEYCHAIN */

#keychain {
  position: absolute;
  bottom: 100px;
  left: 710px;
  cursor:url(https://cur.cursors-4u.net/games/gam-12/gam1109.cur),auto!important;

}

#keychain img:hover {
  animation: keyanim 2s ease-in-out 0s 1 normal none;
}

@keyframes keyanim {
  0%,
  100% {
	transform: rotate(0deg);
	transform-origin: top;
  }

  10% {
	transform: rotate(-7deg);
  }

  20%,
  40%,
  60% {
	transform: rotate(6deg);
  }

  30%,
  50%,
  70% {
	transform: rotate(-3deg);
  }

  80% {
	transform: rotate(1deg);
  }

  90% {
	transform: rotate(0deg);
  }
}


/* MEDIA QUORIES */


@media(max-width:850px){
  #musicthing{
    display: none;
  }

  .autoplayer{
    display: none;
  }

  #keychain{
  display: none;
 }

}


@media (max-width:800px){


  #side-banners img{
    width: 15vi;
  }

}


@media (max-width:700px){

  #navtop{
    display: flex;
    flex-direction: column;
  }
  
  #navtop ul{
    justify-content: center;
  }

    .side-bar{
    display: none;
  }

  .section-img img{
    max-width: 90vi;
  }

}


@media (max-width:600px){
  #welcome2 {
    display: none;
  }

  #webrings img {
   width: 100%;
  }  
}


@media (max-height:690px){
  #keychain img {
    height: 30vh;
    width: auto;
  }
  
  #keychain {
  position: absolute;
  bottom: 50px;
  left: 750px;
  }
}

@media (max-height:560px){

  #keychain {
  display: none;
  }
}