html {
    height: 100%;
}

body {
    font-family: 'Varela Round', sans-serif;
    margin: 0px;
    background-color: #7ED7C5;
    background-image: url("/images/backgrounds/MapBG.png");
    background-attachment: fixed;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

section {
}

footer{
  width: 100%;
  background-color: #44536f;
  color: white;
  font-size: 12px;
  padding: 10px;
  flex-shrink: 0;
  z-index: 99;
}

footer p{
  margin:0;

}

a {
  outline: none;
}

a:hover {
  text-decoration:none;
}

ul{
  margin:0;
  padding:0;
  list-style:none;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.fab{
  color: #000 ;
}
.fab-f{
  color: #EDE8D6 !important;
}

.nav-link {
  outline: none;
  text-decoration:none;
}

#header {
  margin-top: 0;
  overflow: visible;
}

.header{
  width: 100%;
  overflow: visible;
  background-color: #f3f1d6;
  -webkit-box-shadow: -2px 2px 10px -4px rgba(26,26,26,1);
  -moz-box-shadow: -2px 2px 10px -4px rgba(26,26,26,1);
  box-shadow: -2px 2px 10px -4px rgba(26,26,26,1);
  z-index: 1039;
  box-sizing: border-box;
}

.wrapper {
  margin-top: 20px;
  margin-bottom: 8px;
  flex: 1 0 auto;
  z-index: 1037;

}

.partner-title{
  font-size: 22px;
}

.partner-entry {
  margin-bottom: 30px;
}

.profile-title{
  text-align: center;
  padding-top:12px;
  padding-bottom: 6px;
}

.profile-alert{
  color: #B00020;
  font-weight: 700;
  text-align: center;
  width: 100%;
  margin-bottom: 6px;
}


.logo {
  display:block;
  max-width: 240px;
  margin-left: 20px;
  z-index: 1039;
  
}

.header-nav{
  box-sizing: border-box;
  z-index: 1039;
  width: 100%;
  background-color: #f3f1d6;
  border-radius: 10px;
}


.nav-link{
  color: #676764;
  font-weight: 700;
  padding: 0;
}



.navlinker{
    color: white !important;
  }

.dropdown-menu {
  background-color: #53B4CF;
  color: #676764;

}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: #7ED7C5;
  color: #165f63;
}

.dropdown-item{
  color:#f3f6d6;
  font-weight: 700;
}

.bg-green {
  background-color: #56C2A9;
}

.bg-card {
  background-color: #D2E9D0;
}

.discord-title{
  padding: 5px 40px 0 10px;
  font-weight: bold;
  color: #F3F6D6;
  margin: 10px 0px 10px 10px;
}

.discord-button{
  width: 200px;
  padding: 5px 10px 0 10px;
  background-color: #44536f;
  border-radius: 28px;
  margin: 10px 0px;
}

.nookbox {
  border-radius: 16px;
  -webkit-box-shadow: -2px 2px 10px -4px rgba(26,26,26,1);
  -moz-box-shadow: -2px 2px 10px -4px rgba(26,26,26,1);
  box-shadow: -2px 2px 10px -4px rgba(26,26,26,1);
  box-sizing: border-box;
  vertical-align: middle;

}

.collection-page h3{
  white-space:nowrap; 
  font-weight: bold; 
  color:#f3f1d6; 
  position: absolute; top:30%; 
  left:50%; 
  transform: translate(-50%, -50%);
}
.nookbox .collection-intro{
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
}

.nookbox .collection-intro img{
  width: 100%;
}

.nookbox .speech-bubble {
  padding: 25px;
}

.nookbox hr{
  color: #6c757d;
   width: 100%;
}

.speech-bubble{
  position: relative;
  background: #fff;
  border-radius: .4em;
  font-size: 14px;
}

.nookbox .speech-bubble:after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 0;
  border: 26px solid transparent;
  border-right-color: #fff;
  border-left: 0;
  border-top: 0;
  margin-top: -13px;
  margin-left: -26px;
}

.villagerCatch .speech-bubble {
  padding: 10px 5px;
  text-align: center;
}
.villagerCatch .speech-bubble:after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	border-left-color: #fff;
	border-right: 0;
	border-top: 0;
	margin-top: -10px;
	margin-right: -20px;
}

/* Villager search box  */
.nookbox .search{
  margin-top: 25px;
  margin-bottom: 25px;
}
.nookbox .personality, .nookbox .species{
  margin-bottom: 20px;
}

.nookbox .search input{
  border: 1px solid #fff; 
  border-radius: 10px; 
  padding: 10px 10px 10px 10px; 
}

.nookbox .search input:focus {
  outline:none;
}

.nookbox .search::after{
  position: absolute;
  bottom: 0;
  left: 12px;
  content: '- - - - - - - - - - - - - - - - - -';
  color: #ddd;
}

/* KK Songs  */

.song {
  display: grid;
  grid-template-areas: 
  'songbox'
  'btn';
}

.songBox{
  grid-area: songbox;
  background-color: #fff;
  border-radius: 20px 20px 0px 0px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
  'name'
  'img'
  'desc';
}
.songBox .songName{
  grid-area: name;
  padding: 10px 0px 10px 10px;
  text-transform: capitalize;
}
.songBox .songImg{
  grid-area: img;
  width: 100%;
}
.songBox .songDesc{
  grid-area: desc;
}
.song .collection-item-button{
  grid-area: btn;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.collection-item-description{
  margin: 10px 0px 10px 10px;
  font-size: 0.7em;
}
.collection-item-description tr td:first-child{
  color: #a1a1a1;
  margin-right: 5px;
}
.collection-item-button .kksongWish{
  border-radius: 0px 0px 0px 20px;
}
.collection-item-button .kksongOwn{
  border-radius: 0px 0px 20px 0px;
  border-left: 1px solid #ddd;
}
.btn-login{
  width: 100%;
  border-radius: 0px 0px 20px 20px;
}

/* Postcard  */
#postcards {
  margin-right: 15px;
}

#postcards > div {
  height: 100%;
}

.postcard{
  width: 100%;
  margin: 10px 0;
  font-size: 14px;
}

.postcard-inner{
  border-radius: 10px;
  width: 100%;
  -webkit-box-shadow: -2px 2px 10px -4px rgba(26,26,26,1);
  -moz-box-shadow: -2px 2px 10px -4px rgba(26,26,26,1);
  box-shadow: -2px 2px 10px -4px rgba(26,26,26,1);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.postcard-inner img{
  width:100%;
  height: 100%;
  display: block; /* remove extra space below image */
}

.postcard-info{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.postcard-date{
  width: 95%;
  font-weight: 700;
  font-size: 1em;
  margin: 0 auto;
  border-bottom: 2px dashed #cabf5b;
  color: #ab7b72;
}

.postcard-content{
  width: 80%;
  margin: 10px auto 0 auto;
  color: black !important;
  font-weight: 600;
}


.second-row{
  width: 100%;

}

.birthday-label{
  text-align: center;
  color: #20999f;
  font-size: 26px;
  font-weight: 700;
}

.birthday-villager{
  text-align: center;
  width: 100%;
  color: #ab7b72;
  font-size: 26px;
  font-weight: 700;
  list-style: none;
}

.tunes-animation{
  padding: 20px 30px;
  border-radius: 20px;
  -webkit-box-shadow: -9px 10px 27px -10px rgba(0,0,0,0.75);
  -moz-box-shadow: -9px 10px 27px -10px rgba(0,0,0,0.75);
  box-shadow: -9px 10px 27px -10px rgba(0,0,0,0.75);
  position: relative;
  background-color: #f3f1d6;
  margin: 0 auto;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;-webkit-tap-highlight-color: transparent;
}

.tunes-animation #title{
  width: 30%;
  height: 200px;
  position: absolute;
  top: -50px;
  right: 0px;
}

.tunes-animation #titleeditable{
  position: absolute;
  width: 200px;
  height: 70px;
  left: 50px;
  top: 10px;
  font-size: 1.5em;
  font-weight: 600;
  color: white;
  font-family: 'Baloo Chettan 2', cursive;
  background: transparent;
  resize: none;
  border: 0 none;
  outline: none;
  overflow: hidden;
}



.tunes-canvas {
  margin: 0 auto;
  display: block;
  background-color: #f3f1d6;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;-webkit-tap-highlight-color: transparent;
}

.tunes-sharebox {
  width: 40%;
  margin: 0 auto;
}

.tunes-showcase{
  background-color: #f3f1d6;
  padding: 80px 50px 20px 50px;
  margin: 80px auto 80px auto;
  border-radius: 20px;
  -webkit-box-shadow: -9px 10px 27px -10px rgba(0,0,0,0.75);
  -moz-box-shadow: -9px 10px 27px -10px rgba(0,0,0,0.75);
  box-shadow: -9px 10px 27px -10px rgba(0,0,0,0.75);
  position: relative;
}

.tunes-showcase #showcaseheader{
  width: 300px;
  margin: 0 auto;
  position: absolute;
  right: 20px;
  top: -50px;
}

.browse-canvas{
  background-color: #f3f1d6;
}


/* Custom Design Portal */


.cdp-sub-header{
  border-bottom-right-radius: 100px;
  border-bottom-left-radius: 100px;
  box-sizing: border-box;
  background-color: #f9ded3;
}

.cdp-sub-header .item{
  font-size: 12px;
  line-height: 25px;
}

.cdp-sub-header .item:hover{
  background-color: #e0dbcd;
  border-radius: 10px;
}

.cdp-sub-header .icon{
 width: 30%; 
 margin: 0 auto;
}

.cdp-sub-header .icon svg{
  width: 100%;
  height: 100%;
}

.iconbox{
  overflow: hidden;
}

.icon1{
  display: none;
}

.icon2{
  display: block;
}

.cdpbackground{
  border-radius: 200px;
  box-sizing: border-box;
  
  
}
.cdpactive{
  display: block !important;
}

.cdpbox-shadow {
  -webkit-box-shadow: 0px 13px 20px -9px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 13px 20px -9px rgba(0,0,0,0.75);
  box-shadow: 0px 13px 20px -9px rgba(0,0,0,0.75);
  box-sizing: border-box;
}

.cdp-bg-color{
  background-color: #f9ded3;
}

.cdptitles-s{
  font-size: 1.5em;
  font-weight: 600;
}

.cdptitles-link{
  text-decoration: none;
  color: #543932;
}

.cdptitle-icon{
  color: #bf6161;
}

.cdptitles-p{
  font-size: 1.8em;
  font-weight: 600;
}

.cdp-creator-image{
  padding-left: 0;
  padding-right: 0;
  
}

.bg-scroll-1 {
    background-image: url(../images/cdp/bg-0.svg);
    background-size: 200px;
    height: 200%;
    width: 200%;
    position: fixed;
    top: -200px;
    left: -300px;
    animation: scroll1 20s linear infinite;
}
.bg-scroll-2 {
    background-image: url(../images/cdp/bg-1.svg);
    background-size: 200px;
    height: 200%;
    width: 200%;
    position: fixed;
    top: -200px;
    left: -500px;
    animation: scroll2 20s linear infinite;
}

.loader {
    background-image: url(../images/cdp/bubble.svg);
    background-position: center center;
    background-repeat: no-repeat;
    height: 320px;
    width: 512px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lottie {
    clip-path: url(#bubble);
    display: block;
    width: 450px;
    height: 313px;
    margin: auto;
}

@keyframes scroll1 {
    0% {
        transform: rotate(15deg) translate(0, 0);
    }
    100% {
        transform: rotate(15deg) translate(-200px, -200px);
    }
}

@keyframes scroll2 {
    0% {
        transform: rotate(15deg) translate(0, 0);
    }
    100% {
        transform: rotate(15deg) translate(200px, 200px);
    }
}

.card {
    overflow: hidden;
    background: #F7F4E5;
    border-radius: 40px;
}

.card--img-wrapper {
    position: relative; /* Helps align the seam graphic to the bottom of the image */
}

.card--img {
    width: 100%;
}

.card--img-seam {
    position: absolute;
    bottom: 0px;
    width: 110%;
    margin-left: 50%;
    transform: translate(-50%,2px);
}

.card--contents {
    padding: 5px 16px 24px;
}

.card--text {
    font-weight: 500;
    text-align: center;
    margin: 0;
}

.design-title {
    display: block;
    background-color: #FA766A;
    border-radius: 100px;
    padding: 10px 16px;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    color: #F7F4E5;
}

.design-author {
    margin-bottom: 16px;
    font-size: 14px;
    color: #736A5D;
}

.design-code {
    margin-bottom: 16px;
    font-size: 22px;
    color: #736A5D;
}

.design-rating {
    font-size: 16px;
    text-align: center;
    color: #ACA094;
}

.heart {
    font-size: 20px;
    color: #FA766A;
}

.thumbnail {
  position: relative;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 50px;
  margin: 0 auto;
}
.thumbnail img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}
.thumbnail img.portrait {
  width: 100%;
  height: auto;
}

/* Dreams */
.dreams-title {
    display: block;
    background-color: #9462DC;
    border-radius: 100px;
    padding: 10px 16px;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    color: #F7F4E5;
}



/* Dashboard */

.d-wrapper{
  flex: 1 0 auto;
  background: #f1f1f1;
}

.dashboard-nav{
  background: #343a40;
  color: white;
  padding-left: 0;
  padding-right: 0;
}

.item-sub-menu{
  padding: 10px 0;
  background-color: #424A52;
  box-sizing: border-box;
  -webkit-box-shadow: inset 0px -5px 10px -4px rgba(0,0,0,0.15);
  -moz-box-shadow: inset 0px -5px 10px -4px rgba(0,0,0,0.15);
  box-shadow: inset 0px -5px 10px -4px rgba(0,0,0,0.15);
}

.item-sub-menu .item{
  padding: 0 10px;
  line-height: 30px;
  vertical-align: middle;

}
.item-header{
  padding: 10px;
  font-size: 1.2em;
}

.dash-title{
}


/* Profile */


.profile-nav .nav-link{
  color: #676764;
  display: block;
  padding: .5rem 1rem;
  
}

.villagerProfileIcon{
  background-color: white;
  border-radius: 20px;
  padding: 2px;
  height: 70px;
  width: 70px;
  margin: 0 auto;
  overflow: hidden;
}
.villagerProfileIconInner{
  border-radius: 20px;
  height: 66px;
  width: 66px;
  overflow: hidden;
}
.villagerProfileIconInner img{
  height: 100%;
}


/* Collection */

.variants::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 0px;   
  height: 10px;
}

.variants::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: rgba(0,0,0,.5);
  -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}
.variants::-webkit-scrollbar-track {
  background: #e38528; 
}

.item-container{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px; 
}
.itemc{
  border-radius: 15px;
  display: grid;
  grid-template-columns:1fr 1fr 1fr 1fr 25px ;
  grid-template-areas:
    'l l l l r';
}
.item-left{
  grid-area: l;
  background-color: #f3f2d6;
  border: 1px solid #f3f2d6;
  border-radius: 15px 0px 0px 15px;
  padding:20px;
}
.item-right{
  grid-area: r;
  display: grid;
  grid-template-areas: 
    'add'
    'wish';
}
.item-right .add{
  grid-area: add;
  color: white;
  background-color: #17a2b8;
  border: 1px solid #17a2b8;
  border-radius: 0px 15px 0px 0px;
  font-size: 25px;
  font-weight: bold
}

.item-right .wish{
  grid-area: wish;
  background-color: #17a2b8;
  border-top: 1px solid #e3eefa;
  border-right: 1px solid #17a2b8;
  border-left: 1px solid #17a2b8;
  border-bottom: 1px solid #17a2b8;
  border-radius: 0px 0px 15px 0px;
}

.wish svg{
  fill: #fff;
}

.item-right .wish:hover{
  background-color: #1fbdd6;
  border: 1px solid #1fbdd6;
  transition: all 100ms ease-in;
  cursor: pointer;
}
.item-right .add:hover{
  background-color: #1fbdd6;
  border: 1px solid #1fbdd6;
  transition: all 100ms ease-in;
  cursor: pointer;
}
/* button selected */
.added{
  background-color: green !important;
}
.wishlisted{
  fill: #eee !important; 
}

/* item main info */
.item-general{
  display:grid;
  grid-template-columns: 1fr 1fr 75px ;
  grid-template-areas:
    'name name cust'
    'type type type'
    'itemimg itemimg itemimg'
    'vari-s vari-s vari-s'
    'vari vari vari';
  width: 100%;
}

/* customizable badge */
.iconsc{
  grid-area: cust;
  display:grid;
  grid-template-columns: 1fr 1fr;
}
.iconsc img{
  height: 35px;
}

.name{color:#682300; grid-area: name; text-transform: capitalize;}
.type{ color: #e38528; grid-area: type;}
.item-img{ margin:auto; grid-area: itemimg; }

/* Item variants */
.item-general .variants{ 
  grid-area: vari;
  display: flex;
  overflow: auto;
  width: 100%; 
  height: 55px;
  justify-content: flex-start;
}
.variant-selected { grid-area: vari-s; width: 100%; text-align: center; }
.item-variant{ margin-right: 5px;
  flex-grow: 0;
}
.item-variant:hover{
  transition: all 150ms ease-in-out;
  background-color: #e38528;
  cursor: pointer;
}
.selected{
  background-color: #e38528;
}





/* Flowers */
.flower-header{
  width: 40%;
  margin: 0 auto;
}

.flower-header-row{
  width: 50%;
  margin: 0 auto;
}

.flowers-item{
  width: 33.3%; 
  float: left; 
  padding:1px;
  
}
.flowers-item2{
  width: 25%; 
  float: left; 
  padding:1px;
  
}


.rarity-border-rarius{
  border-radius: 5px;
}
.rarity-veryrare{
  background-color: rgba(255,42,0,.25);
}
.rarity-rare{
  background-color: rgba(41,130,255,.25);
}
.rarity-common{
  background-color: rgba(69,255,101,.25);
}
.rarity-gold{
  background-color: rgba(255,215,0,.50);
}
.rarity-grey{
  background-color: rgba(0,0,0,.25);
}

.rarity-legend{
  height: 20px;
  width: 20px;
  margin: 0 10px 0 0;
  float: left;
}

.grid-base{
  height: 50px;
}

.grid-color1{
  background-color: rgb(244, 255, 249);
}
.grid-color2{
  background-color: rgb(217, 246, 218);
}

/* Fishes */

.fishBox{
  position: relative;
}

.fishName{
  position: absolute;
  top: -15px;
  padding: 0 10px;
  transform: skewY(-2deg);
}

.fishImage{
  height: 75px;
  overflow: hidden;
  vertical-align: middle;
  text-align: center;
  margin: auto !important;
}
.fishImage img{
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
    
}

.fishInner{
  border: 1px solid black;
}
.fishLocation{
  border-bottom: 1px solid black;
}

.sellingPrice{
  line-height: 25px;
  vertical-align: middle;
  position: absolute;
  right: -20px;
  top: 60px;
  padding: 0 5px 0 0;
  background-color: white;
  transform: skewY(-2deg);
  border-radius: 5px;
}

.fishSingleMonthTrue{
  float: left;
  margin: 0 5px;
  padding: 0 3px;
  border-radius: 5px;
  background-color: rgb(219, 214, 3);
  
}
.fishSingleMonthFalse{
  float: left;
  margin: 0 5px;
  padding: 0 3px;
  border-radius: 5px;
  border: 1px solid grey;
  color: grey;
  
  
}

.artBox{
  position: relative;
  width: 100%;
}

.artName{
  position: absolute;
  top: -15px;
  padding: 0 10px;
  transform: skewY(-2deg);
}

.artImage{
  height: 150px;
  overflow: hidden;
  padding: 5px;
  margin: 5px;
  display: inline-block;
  
}

.artReal{
  background-color: #8ac270;
  padding: 5px;
  border-radius: 5px;
  overflow: hidden;
}
.artFake{
  background-color: #d1304b;
  padding: 5px;
  border-radius: 5px;
}
.artImage img{
    vertical-align: middle;
    
}

.artLink{
  text-align: center;
}

/* Villagers */

.villagerBox{
  position: relative;
  background-color: rgb(243, 242, 214);
  border-radius: 5px;
  display:grid;
  grid-template-columns: 1fr;
  grid-template-areas: 
  'name'
  'intro'
  'details'
  'save';
}

.villagerNameBox{
  grid-area: name;
  position: absolute;
  top: -15px;
  padding: 0 10px;
  width: 300px;
  transform: skewY(-2deg);
}

.villagerIntro{
  grid-area: intro;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas: 
  'quote quote poster poster';
  margin-top: 15px;
}
.villagerDetails{
  grid-area: details;
  padding: 0px 15px;
}
.villagerSave{
  grid-area:save;
}

/* Name Box  */
.villagerIcon{
  background-color: white;
  border-radius: 20px;
  padding: 2px;
  height: 70px;
  width: 70px;
  position: absolute;
  overflow: hidden;
}
.villagerIconInner{
  border-radius: 20px;
  height: 66px;
  width: 66px;
  overflow: hidden;
}
.villagerIconInner img{
 width: 100%;
}
  
.villagerName{
  float: left;
  width: calc(100% - 10px);
  margin: 2px 0 0 15px;
  padding-left: 65px;
  font-size: 20px;
  color: white;
  border-radius: 10px;
}
.villagerBirthday{
  background-color: #E7E2DC;
  display:inline-block;
  margin: 0 0 0 15px;
  padding: 0 10px 0 65px;
  font-size: 18px;
  line-height: 30px;
  border-radius: 10px;
  
}

/* villager intro  */
.villagerPoster{
  grid-area: poster;
  width: 100%;
}

.villagerPoster img{
  width: 100%;
}

.villagerCatch{
  grid-area: quote;
  padding: 10px;
  font-size: 14px;
  margin-top: 40px;
}

/* Villager details  */
.villagerStyleColor{
  background-color: #E7E2DC;
  width: 100%;
  padding: 5px;
  border-radius: 10px 0px 0px 10px;
  font-size: 15px;
}

.villagerStyleColorLabel{
  color: #afafa7;
  float: left;
  width: 60px;
  margin-right: 5px;
}
.villagerStyle{
  border-bottom: 1px dotted #afafa7;
}
.villagerColor{
  border-bottom: 1px dotted #afafa7;
}

.villagerPersonality{
  background-color: #8C9ABC;
  text-align: center;
  color: white;
  border-radius: 10px;
}

.villagerBird{
  background-color: #D38582;
}

.villagerAnteater{
  background-color: #79A173
}
.villagerAlligator{
  background-color: #977D9F
}
.villagerBear{
  background-color: #B29780
}
.villagerBull{
  background-color: #2E6356
}
.villagerBird{
  background-color: #D38582
}
.villagerCat{
  background-color: #B5494B
}
.villagerChicken{
  background-color: #745E70
}
.villagerDeer{
  background-color: #B96D44
}
.villagerCow{
  background-color: #79A379
}
.villagerDog{
  background-color: #9E886C
}
.villagerDuck{
  background-color: #C57375
}
.villagerEagle{
  background-color: #A7A29F
}
.villagerElephant{
  background-color: #C95253
}
.villagerFrog{
  background-color: #9A859E
}
.villagerGoat{
  background-color: #6C9A6B
}
.villagerGorilla{
  background-color: #C4723F
}
.villagerHamster{
  background-color: #8A7059
}
.villagerHippo{
  background-color: #CC7675
}
.villagerHorse{
  background-color: #9F4136
}
.villagerKangaroo{
  background-color: #D0C4C3
}
.villagerMouse{
  background-color: #ABACA7
}
.villagerLion{
  background-color: #73A57F
}
.villagerOctopus{
  background-color: #B8686F
}
.villagerMonkey{
  background-color: #947E61
}
.villagerPenguin{
  background-color: #CFCBC3
}
.villagerOstrich{
  background-color: #4E938E
}
.villagerPig{
  background-color: #83708D
}
.villagerRabbit{
  background-color: #7EAD8A
}
.villagerRhino{
  background-color: #A85524
}
.villagerSheep{
  background-color: #AF997B
}
.villagerSquirrel{
  background-color: #B87074
}
.villagerWolf{
  background-color: #953433
}
.villagerTiger{
  background-color: #5C9D93
}
.villagerCub{
  background-color: #A2613D
}
.villagerKoala{
  background-color: #936C7D
}

.animalIcon{
  width: 30px; 
  overflow: hidden; 
  margin: 2px; 
  cursor: pointer;
}
.animalIcon:hover{
  filter: brightness(50%);
}

.personalitiesIcon{
  width: 50px; 
  overflow: hidden; 
  margin: 2px; 
  cursor: pointer;
}

.villagerHouse{
  border: 1px dashed #bbb;
  border-radius: 0px 10px 10px 0px;
  padding: 5px;
  font-size: 35px;
  text-align: center;
  width: 100%;
  background-color: white;
}
.villagerHouse a{
  color: #fbc323;
}

/* HomePage */


.content{
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 1em;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;

  
}

#articles .post {
  width: 100%;
  margin: 0;
  padding: 0;
  padding-bottom: 1em;
  max-width: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  margin-bottom: 2em;
  text-decoration: none;
}

#articles a {
  color: black;
  text-decoration: none;
}


#articles .post .post-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#articles .post header,
#articles .post .post-excerpt,
#articles .post .post-meta {
  padding: 0 1.8rem;
}

#articles .post header {
  padding-top: 1em;
}

#articles .post h2 {
  color: #4A4A4A;
}

#articles .post:hover h2 {
  color: #111;
}

#articles .post a, 
#articles .post a:visited{
  text-decoration: none;
}



#sidebar button {
  display: block;
  width: 100%;
  margin: 1em 0;
  padding: .5em 0;
}

#sidebar .articles-related .box {
  margin-bottom: 2em;
}

.box {
  background: #fff;
  padding: 1em;
  box-shadow: 0 1px 2px rgba(50,50,50,0.08);
}

.sidebox {
  margin-bottom: 2em;
  padding: 0;
}

.sidebox p {
  margin: 0;
  margin-bottom: 1em;
}

.sidebox.latest-articles a {
  text-decoration: none;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  display: block;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  line-height: 1.3;
}

.sidebox .loader {
  width: 100%;
  text-align: center;
  font-size: 30px;
  padding: 1em 0;
  display: none;
}

.sidebox .loading .loader {
  display: block;
}

.sidebox.latest-articles a.last {
  padding-bottom: 0;
  border: none;
}

.sidebox.latest-articles a .date {
  font-size: .8em;
  color: #9EABB3;
  font-weight: normal;
  margin-bottom: .6em;
}

.sidebox .sidebox-title {
  background: #545454;
  padding: .5em 1em;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 22px;
  font-weight: bold;
}

.sidebox.about .sidebox-content {
  font-size: .9em;
  line-height: 1.7;
}

.sidebox .sidebox-content {
  padding: 1em;
}

.sidebox.social {
  width: 100%;
  text-align: center;
}
.sidebox.social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.social-item {
    width: 25%;
    float:left;
    color: #fff;
    text-decoration: none;
    padding: .3em 0;
    -webkit-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
}

.social-item:hover {
  color: #fff;
}

.social-item.rss {
  background: #f26522;
}
.social-item:hover {
  opacity: .8;
}

.social-item.tw {
  background: #55acee;
}

.social-item.home {
  background: #ffd00e;
}

.social-item.github {
  background: #333333;
}
.social-item.facebook {
  background: #3b5998;
}
.social-item.instagram {
  background: #cd486b;
}

.social-discord-item {
    text-decoration: none;
    -webkit-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
}
.social-discord-item:hover {
  color: #fff;
}
.social-discord-item:hover {
  opacity: .8;
}


.sidebox.social ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}



.box.is-link:hover {
  box-shadow: 0 2px 4px rgba(50,50,50,0.15);
  cursor: pointer;
}

.birthday-label{
  text-align: center;
  color: #20999f;
  font-size: 26px;
  font-weight: 700;
}

.residentBirthday{
  text-align: center;
  width: 100%;
  color: #ab7b72;
  font-size: 26px;
  font-weight: 700;
  list-style: none;
}

.discordLogo{
  background-color: #7289DA;
}

/* Personality Guide */
.personalityResident{
    width: 33%;
    float: left;
  }

/* Calendar */
.residentIcon{
  width: 30%;
}



@media screen and (min-width: 1680px) {
  .postcard{
    font-size: 16px;
  }
  .cdp-sub-header .item{
    font-size: 14px;
    line-height: 25px;
  }
  .villagerNameBox{
    position: absolute;
    top: -15px;
    padding: 0 10px;
    width: 250px;
    transform: skewY(-2deg);
  }
  .villagerStyleColor{
    background-color: #E7E2DC;
    width: 100%;
    font-size: 12px;
    line-height: 16px;
  }
}
@media screen and (min-width: 1600px) {
  .postcard{
    font-size: 16px;
  }
  .cdp-sub-header .item{
    font-size: 14px;
    line-height: 25px;
  }
  .villagerNameBox{
    position: absolute;
    top: -15px;
    padding: 0 10px;
    width: 250px;
    transform: skewY(-2deg);
  }
  .villagerStyleColor{
    width: 100%;
    font-size: 12px;
  }
  .villagerStyleColorLabel{
    color: #afafa7;
    float: left;
    width: 45px;
    margin-right: 5px;
  }
}
@media screen and (min-width: 1440px) {
  .postcard{
    font-size: 16px;
  }
  .cdp-sub-header .item{
    font-size: 14px;
    line-height: 25px;
  }

  .villagerNameBox{
    position: absolute;
    top: -15px;
    padding: 0 10px;
    width: 200px;
    transform: skewY(-2deg);
  }
  .villagerStyleColor{
    width: 100%;
    font-size: 11px;
  }
  .villagerStyleColorLabel{
    color: #afafa7;
    float: left;
    width: 38px;
    margin-right: 5px;
  }
  .villagerName{
    float: left;
    width: calc(100% - 10px);
    margin: 2px 0 0 15px;
    padding-left: 60px;
    font-size: 15px;
    color: white;
    border-radius: 10px;
  }
  .villagerBirthday{
    background-color: #E7E2DC;
    display:inline-block;
    margin: 0 0 0 15px;
    padding: 0 10px 0 60px;
    font-size: 12px;
    line-height: 20px;
    border-radius: 10px;
    
    
  }
}
@media screen and (max-width: 1400px) {
  .postcard{
    font-size: 13px;
  }
  .cdp-sub-header .item{
    font-size: 10px;
    line-height: 25px;
  }
  
  .villagerBox{
    position: relative;
    background-color: rgb(243, 242, 214);
    border-radius: 5px;
  }
  
  .villagerNameBox{
    position: absolute;
    top: -15px;
    padding: 0 10px;
    width: 200px;
    transform: skewY(-2deg);
  }
  
  .villagerIcon{
    background-color: white;
    border-radius: 20px;
    padding: 2px;
    height: 50px;
    width: 50px;
    position: absolute;
    overflow: hidden;
  }
  .villagerIconInner{
    border-radius: 20px;
    height: 46px;
    width: 46px;
    overflow: hidden;
  }
    .villagerIconInner img{
      height: 100%;
    }
    
  .villagerName{
    float: left;
    width: calc(100% - 10px);
    margin: 2px 0 0 15px;
    padding-left: 40px;
    font-size: 16px;
    color: white;
    border-radius: 10px;
  }
  .villagerBirthday{
    background-color: #E7E2DC;
    display:inline-block;
    margin: 0 0 0 15px;
    padding: 0 10px 0 40px;
    font-size: 13px;
    line-height: 20px;
    border-radius: 10px;
  }

  .villagerStyleColor{
    width: 100%;
    font-size: 9px;
    line-height: 15px;
  }
  
  .villagerStyleColorLabel{
    color: #afafa7;
    float: left;
    width: 30px;
    margin-right: 5px;
  }
  .villagerWishOwn{
    font-size: 10px !important;
  
  }

  
  .villagerHouse{
    font-size: 30px;
  }
  
  .reactionsTable{
    font-size: 13px;
  }
  .personalityTable{
    font-size: 13px;
  }

}

@media screen and (max-width: 1200px) {

  footer{
    position: relative;
  }
  
  .cdp-sub-header .item {
    font-size: 11px;
    line-height: 25px;
  }
}

@media screen and (max-width: 768px) {

  #postcards {

    margin-right: 5px;
    margin-left: 5px;
  }


  .header-nav{
    margin: 0 0 0 0;
    width: 100%;
    margin-left: 0;
    padding-left: 10px;
    margin-top: -6px;


  }

  .nookbox .speech-bubble:after {
    top: 0;
    left: 50%;
    border: 26px solid transparent;
    border-bottom-color: #fff;
    border-top: 0;
    margin-left: -26px;
    margin-top: -26px;
  }


  .second-row{
    margin-bottom: 25px;
  }


  footer{
    position: relative;
  }
}



@media screen and (max-width: 622px) {
  .logo {
    max-width: 400px;
    margin-top: -22px;
  }

  .header{
    height: 100px;
  }

  #header{
    height: 160px;
  }

  /* Collection  */
  
  .nookbox{
    padding:0px 10px;
  }
  .nookbox .collection-intro{
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
  }

  .nookbox .search input{
    border: 1px solid #fff; 
    border-radius: 10px; 
    padding: 10px 10px 10px 10px; 
    height: 70px;
    width: 100%;
  }

  .songs-search .search:after{
    content: '- - - - - - - - - - - - - - - - - - - - - - - - - - - - -';
  }
  .nookbox .search::after{
    content: '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -';
  }
  .songList{
    padding: 0px 15px;
  }
}

@media screen and (max-width: 425px) {
  .bg-scroll-1 {
      background-size: 100px;
      height: 200%;
      width: 500%;
  }
  
  .bg-scroll-2 {
    background-size: 100px;
    height: 200%;
    width: 500%;
}
  .tunes-animation #title{
    position: relative;
    width: 100%;
    top: auto;
    right: auto;
    height: auto;
  }

  .tunes-showcase #showcaseheader{
    position: relative;
    width: 100%;
    top: auto;
    right: auto;
    height: auto;
  }

  .tunes-showcase{
    padding: 20px 50px;
  }

  .discord-title{
    padding-right: 0px;
  }

  #header{
    height: 250px;
  }

  .header{
    margin: 40px 0 0 0;
  }


  .logofull {
    transform: translateY(-18px);
    padding: 0 10px;
  }


  .header-nav{
    margin: 10px 0 0 0;
    width: 100%;
    margin-left: 0;
    padding-left: 10px;


  }
  
  .cdp-sub-header{
    border-radius: 20px;
    box-sizing: border-box;
    background-color: #f9ded3;
  }
  
  .flower-header{
    width: 75%;
    margin: 0 auto;
  }
  
  .flower-header-row{
    width: 90%;
    margin: 0 auto;
  }
  .flowers-item{
    width: 100%;
    
  }
  .flowers-item2{
    width: 100%;
    
  }
  .flowers-item-grey{
    display: none;
    
  }
  
  .ui-tabs .ui-tabs-panel{
    padding: 1em 0 !important;
  }
  .personalityResident{
    width: 100%;
  }
  .reactionsTable{
    font-size: 10px;
  }
  .residentIcon{
    width: 100%;
  }
  
  .nookbox .search::after{
    content: '- - - - - - - - - - - - - - - - - - - - - ';
  }
  .collection-page h3{
     font-size: 0.9em;
  }
}

@media screen and (max-width: 375px) {

  #header{
    height: 225px;
  }


  .header{
    margin: 35px 0 0 0;
    height: 80px;
  }


  .logofull {
    transform: translateY(-18px);
    padding: 0 10px;
  }

}

@media screen and (max-width: 320px) {


  .header{
    margin: 35px 0 0 0;
    height: 68px;
  }


  .logofull {
    transform: translateY(-18px);
    padding: 0 10px;
  }

}
