body {
  background-color: antiquewhite;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}
p{
  font-size: 18px;
  font-style: oblique;
}
.container {
  background-color: #333;
  height: 100px;
  max-width: 100%;
  overflow: hidden;
  position: fixed;
  top: 2px;
  left: 0;
}
nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
}
nav ul li {
  flex-grow: 1;
  position: relative;
  height: 100px;
  display: flex;
  align-items: flex-end;      /*makes the li align at the bottom-left*/
  transition: all 0.3s ease-in-out;
}
nav>ul>li::before{
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  transition: all 0.5s ease-in-out;
  z-index: -1;
}
nav ul li a {
  display: flex;
  justify-content: left;
  align-items: flex-end;
  padding: 15px;
  height: 100%;
  width: 100%;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #ffd500;
  text-decoration: none;
  background-position: center;
  background-size: cover;
  transition: all 1s ease-in-out;
}
nav ul li a:hover{
  color: #fff;
}
nav>ul>li:nth-child(1):hover::before{
  background-image: url("./home.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
nav>ul>li:nth-child(2):hover::before{
  background-image: url("./Lizzy\ Bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
nav>ul>li:nth-child(3):hover::before{
  background-image: url("./Don\ Bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
nav>ul>li:nth-child(4):hover::before{
  background-image: url("./Beags\ Bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
nav>ul>li:nth-child(5):hover::before{
  background-image: url("./Don\ Jr.\ Bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 100% 40%;
}
nav>ul>li:nth-child(6):hover::before{
  background-image: url("./gallery.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* The following rule will reduce the opacity of the pseudo-element (and thus the background image) to 0.5 when you hover over the first list item. */
nav>ul>li:hover::before{        
  opacity: 0.6;
}
.content{
  margin: 120px 20px 20px 20px;
  height: 1000px;
}
/********************************************/

/* other pages */
.gallery,
.liza,
.donsr,
.beagle,
.donjr{
  margin: 100px 20px 20px 20px;
}

.pup1,
.pup2,
.pup3,
.pup4{
  background-image:linear-gradient(to top, #ff9500,#5900ff);
  vertical-align: top;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;      /* remember to remove this when using ".pup#>.more" */
  width: 250px;
  border: none;
  margin: 20px 15px 5px 15px;
  box-shadow: 3px 5px 4px rgb(0 0 0);
}

.dp{
  object-fit: cover;
  object-position: center;
  height: 479px;
  width: 100%;
}

.pup3>.dp{
  object-position: 90% 20%;   /*Custom position (X, Y) [y-axis doesn't reflect anything here]*/
}

.pup4>.dp{
  object-position: 15% 30%;   /*Custom position (X, Y) [y-axis doesn't reflect anything here]*/
}

.name{
  display: inline-block;
  font-size: 25px;
  margin: 5px 3px 5px 3px;
}

.age{
  color: rgb(96 96 96);
  font-weight: bold;
  font-size: 15px;
  margin: 3px 0 5px 3px;
}

.more{
  background-image:linear-gradient(to left, #5900ff, #ff9500) ;
  color: #ffffff;
  font-weight: bold;
  border: none;
  margin: 3px 0 8px 3px;
  padding: 5px 10px 5px 10px;
}
/*********************************************************************/

/*resize*/      /* Additional styles for mobile */
.mobile-nav>*{
  direction: ltr;
}
.mobile-nav{
  width: 150px;
  height: 100vh;
  direction: rtl;
}
.mobile-nav>nav>ul{
  flex-direction: column;
}
.mobile-nav>nav>ul>li{
  width: 100%;
}
.mobile-nav>nav>ul>li>a{
  padding: 5px 10px 5px 10px;
  text-align: center;
}
/****************************/

/*Scrollbars*/
body::-webkit-scrollbar{
  width: 8px;
  background-color: rgb(27, 104, 213);   /* color of the scrollbar track */
}
body::-webkit-scrollbar-thumb{
  background-color: rgb(234, 0, 255);   /* color of the scrollbar thumb */
}
body::-webkit-scrollbar-thumb:hover{
  background-color: #ff7300;    /* color of the scrollbar thumb on hover */
}
.mobile-nav::-webkit-scrollbar{
  width: 5px;
  background-color: aquamarine;   /* color of the scrollbar track */
}
.mobile-nav::-webkit-scrollbar-thumb{
  background-color: antiquewhite;   /* color of the scrollbar thumb */
}
.mobile-nav::-webkit-scrollbar-thumb:hover{
  background-color: #ffd500;    /* color of the scrollbar thumb on hover */
}