@font-face {
  font-family: "TikiIsland"; /* set name */
  src: url(../fonts/TikiIsland.ttf); /* url of the font */
}
@font-face {
  font-family: "DigitalDelivery"; /* set name */
  src: url(../fonts//DigitalDelivery/CCDigitalDelivery-Regular.otf); /* url of the font */
}

body{
    color: darkgreen;
    font-family: DigitalDelivery, Verdana;
    background-image: url("img/township.gif");
    background-position: top;
    background-size: cover;
}

ul{
    list-style-image: url("img/list-icon.png");
    list-style-type: square;
}

h1, #divider{
    text-align: center;
}

#centered-container{
    max-width: 800px;
    min-width: 800px;
    border: 10px green solid;
    margin: 0 auto;
    background-color: darkgreen;
}

header{
    position: relative;
    height: 200px;
    padding: 20px;
    background-image: url("img/my-store.png");
    background-color: greenyellow;
}

#middle-container{
    display: flex;
    margin-right: 10px;
    background-color: beige;
}

main{
    flex-grow: 1;
    width: 60%; 
    background-color: beige;
}

#left-sidebar{
    display: block;
    width: 200px;
    height: 100%;
    padding: 8px;
    margin-right: 10px;
    background-color: greenyellow;
}

#title{
    font-family: TikiIsland, Tahoma;
    text-align: left;
    text-shadow: 
    yellow 0px 0 10px,
    white 0px 0 10px;
}

#RIM-section{
    position: relative;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(9, 1fr);
    max-width: 540px;
    height: 473px;
    margin-left: 10px;
    margin-right: 10px;
    /* background-color: yellow; */
    background-image: url("img/RIMs/RIM-section-base.png");
    background-size: cover;
}

#RIM-section #RIM-title{
    grid-column: 3 / span 5;
    grid-row: 1;
    /* background-color: white; */
}

#RIM-title img{
    height: 80px;
}

#RIM-image{
    grid-column: 2 / span 3;
    grid-row: 2 / span 5;

    display: grid;
    justify-items: center;

    /* background-color: greenyellow; */
}

#RIM-description{
    overflow: hidden; /*This prevents elements that are larger than their cell from altering the rows+column sizes*/
    grid-column: 5 / span 5;
    grid-row: 2 / span 3;
    padding-left: 8px;
    /* background-color: salmon; */
}

#RIM-wearing-it{
    grid-column: 6 / span 3;
    grid-row: 5 / span 4;
    /* background-color: orange; */
}

#RIM-wearing-it img{
    height: 180px;
    border-style: solid;
    border-width: 10px;
    border-image: url("img/border-wood.png") 20% repeat;
}

#RIM-previous-list{
    font-family: TikiIsland, Tahoma;
    grid-column: 2 / span 4;
    grid-row: 7 / span 2;
    display: grid;
    align-items: center;
    padding-top: 20px;
    padding-right: 20px;    
}

