body {
    background-color: black;    
}

#wrapper {
    position: relative;
    margin: 0 auto;
    width: 1200px;
    height: 1100px;
    background-color: black;
}

#links {
    position: absolute;
    width: 1143px;
    height: 63px;
    background-color: rgb(65,57,61);
    left: 27px;
    top: 27px;
}

ul#nav {
    margin: auto;
}

ul#nav li {
    display: inline-block;
    margin: auto;
    padding-top: 20px;
    padding-left: 55px;
    padding-right: 55px;
}

ul#nav li a {
    text-decoration: none;
    font-family: localfont;
    font-size: 18px;
    color: white; 
    text-shadow: 4px 4px 6px #000000;
}

ul#nav li a:hover {
    color: rgb(190,30,45);
}

#lefttoppic {
    position: absolute;
    width: 351px;
    height: 117px;
    background-image: url(images/events/privatedining3.jpg);
    left: 27px;
    top: 126px; 
}

#logo {
    position: absolute;
    width: 369px;
    height: 117px;
    left: 414px;
    top: 117px;    
}

#righttoppic {
    position: absolute;
    width: 351px;
    height: 117px;
    background-image: url(images/events/privatedining4.jpg);
    left: 819px;
    top: 126px;  
}

#mainheading {
    position: absolute;
    width: 756px;
    height: 63px;
    background-color: rgb(65,57,61);
    left: 27px;
    top: 279px;
}

#mainheading h2 {
    line-height: 5px;
    font-family: quote; 
    font-size: 35px;
    justify-content: center;
    color: white;
    padding-left: 20px;
    text-shadow: 4px 4px 6px #000000;
}

#mainpic {
    position: absolute;
    width: 756px;
    height: 369px;
    background-image: url(images/events/orchidtable.jpg);
    left: 27px;
    top: 342px;  
}

#mainpictext h3 {
    font-family: localfont;
    font-size: 24px;
    color: white;
    text-align: right;
    padding-right: 20px;
}

#righttext {
    position: absolute;
    width: 351px;
    height: 252px;
    left: 819px;
    top: 261px;
}

#righttext p {
    font-family: localfont; 
    font-style: italic;
    font-size: 16px;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
}

#righttext a {
    text-decoration: none;
    font-family: localfont;
    color: white;
}

#righttext a:hover {
    color: rgb(190,30,45);
}

#righttext h3 {
    font-family: quote; 
    font-size: 16px;
    color: white;
    padding-left: 20px;
}

#gallery {
    position: absolute;
    width: 297px;
    height: 180px;
    background-image: url(images/events/gallerymtgrm.jpg);
    left: 846px;
    top: 531px;
}

.gallery {
    position: relative;
    max-width: 297px;
    height: 198px;
    left: 845px;
    top: 513px;
}

.gallery figure {
   margin: 0;
   position: absolute;
}

.gallery figure {
   opacity:0;
}

figure:nth-child(1) {
  animation: xfade 48s 42s infinite;
}
figure:nth-child(2) {
  animation: xfade 48s 36s infinite;
}
figure:nth-child(3) {
  animation: xfade 48s 30s infinite;
}
figure:nth-child(4) {
  animation: xfade 48s 24s infinite;
}
figure:nth-child(5) {
  animation: xfade 48s 18s infinite;
}
figure:nth-child(6) {
  animation: xfade 48s 12s infinite;
}
figure:nth-child(7) {
  animation: xfade 48s 6s infinite;
}
figure:nth-child(8) {
  animation: xfade 48s 0s infinite;
}

@keyframes xfade{
  0%{
    opacity: 1;
  }
  10.5% {
    opacity: 1;
  }
  12.5% {
    opacity: 0;
  }
  98% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#reservations {
    position: absolute;
    width: 756px;
    height: 135px;
    background-color: rgb(190,30,45);
    left: 27px;
    top: 747px; 
}

#reservpic {
    position: absolute;
    width: 180px;
    height: 99px;
    background-image: url(images/about/winepour1.jpg);
    left: 45px;
    top: 765px;
}

#reservtext {
    position: absolute;
    width: 405px;
    height: 99px;
    left: 252px;
    top: 756px;   
}

#reservtext p {
    font-family: quote;
    font-size: 16px;
    color: white;
}

#reservtext a {
    text-decoration: none;
    font-weight: bold;
    color: white;
}

#reservtext a:hover {
    color: black;
}

#award {
    position: absolute;
    width: 99px;
    height: 99px;
    background-image: url(images/other/awards.png);
    left: 666px;
    top: 765px;
}

#bottomrightinfotop {
    position: absolute;
    width: 351px;
    height: 81px;
    left: 819px;
    top: 730px;  
}

#bottomrightinfotop p {
    text-align: center;
    font-family: localfont;
    font-size: 18px;
    color: rgb(190,30,45);
}

#bottomrightinfobtm {
    position: absolute;
    width: 351px;
    height: 81px;
    left: 825px;
    top: 795px;  
}

#rightbtmpic {
    position: absolute;
    width: 369px;
    height: 180px;
    background-image: url(images/home/appspecial.jpg);
    left: 801px;
    top: 693px;    
}

#rightbtmtext {
    position: absolute;
    width: 369px;
    height: 36px;
    background-color: rgb(65,57,61);
    left: 801px;
    top: 873px;
}

#footer {
    position: absolute;
    background-color: black;
    left: 450px;
    top: 900px;  
}

ul#socialmedia {
    margin: auto;
}

ul#socialmedia li {
    display: inline-block;
    margin: auto;
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

ul#socialmedia li a {
    text-decoration: none;
}

#bottom {
    position: absolute;
    left: 320px;
    top: 955px;  
}

ul#copyright {
    margin: auto;
}

ul#copyright li {
    display: inline-block;
    margin: auto;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    color: white;
}

ul#copyright li a {
    text-decoration: none;
    margin: auto;
    color: white;
}

ul#copyright li a:hover {
    color: rgb(190,30,45);
}