* {box-sizing: border-box;
}

body{
    background-color: #fff0eb;
    font-family: "Montserrat", sans-serif;  
    line-height: 1.4;
    font-size: 20px;
}

/*fonts*/
h1 {
    font-family: "Montserrat";
    font-size: 70px;
    font-weight: bolder;
    color: black; 
    letter-spacing: 3px;
    margin: 20px;
}
.read-more{
    font-family: "Allura";
    font-size: 30px;
}

p{
    display: inline;
}

h5{
    font-family: "Montserrat";  
    font-size: 20px;
}

/*icon*/
.icon {
    padding: 10px;
}

/*top bar nav*/
.top-bar{
    padding-bottom: 30px;
}
.navbar{
    padding-bottom: 20px; 
}

/*image*/
img{
    display: flex;
    align-items: center;
    justify-content: center;
}

/*index*/
.kidm{
    display: flex;
}
.kidm div{
    flex: 1;
}
.kidm div:nth-child(2){
    margin-top: 80px;
}
.clubby-here{
    position: relative;
}
.bear-main{
    width: 80%;
    margin: auto;
}
.bear-main .kidm .left{
    flex: 40%;
}
.bear-main .kidm .right{
    flex: 60%;
    margin-left: 60px;
}

/*history page*/
.kidh{
    display: flex;
}
.kidh div{
    flex: 1;
}
.kidh div:nth-child(2){
    margin-top: 80px;
}
.kidh{
    margin: 20px;
}
.kidh{
    font-size: 20px; 
}
.history{
    margin: 30px;
}
.history-title{
    margin-left: 10px;
}

/*cost page*/
.flex-cost{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin-bottom: 5vw;
}
.kid {
    padding: 10px;
    margin: 60px;
    height: 300px;
    width: 300px;
    text-align: center;
}
.kid p{
    white-space: nowrap;
}

/*collector page*/
.bear-collect{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin-bottom: 5vw;
}
.bearc {
    padding: 10px;
    margin: 60px;
    height: 300px;
    width: 300px;
    text-align: center;
}
.info{
    margin: 30px;
}
.info-small{
    margin: 10px; 
}

/*shake image*/
img:hover {
    animation: shake 0.9s;
    animation-iteration-count: infinite;
}
  
  @keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
  }

/*bear moves */ 
#draggable-teddy {
    position: absolute;
    z-index: 9;
    width: 500px;
    top:100px;
    right: 300px;
    text-align: center;
  }
  #draggable-teddy img {width: 100%;}
  
  #teddy-img {
    cursor: move;
    z-index: 10;
  }
