body{
  overflow-x: hidden; 
}
a {
  text-decoration: none;
  display: inline-block;
  padding: 10px;
} 
a:hover {
  color: rgb(192, 47, 47);
}
.previous {
  padding: 10px;
  font-size: 50px;
  color: rgb(251, 246, 246);
}
.logo{
  border: 1rem solid rgb(202, 196, 196, 0.774);
  width: 20rem;
  position: absolute;
  margin-top: 10rem;
}
.container{
  padding: 10px;
  background-image: linear-gradient(rgba(71, 71, 72, 0.7),rgba(74, 74, 75, 0.7)),url(images/pehari2resized.jpg);
  height: 920px;
}
.nav{
  /* background: rgb(92,58,35);
  background: linear-gradient(40deg, rgba(92,58,35,1) 0%, rgba(167,127,99,1) 50%, rgba(122,73,38,1) 100%); */
  height: 100vh !important;
  font-size: 2.35rem;
  padding-top: 7rem;
  padding-left: 3rem;
  color:white;
  text-shadow: 1px 3px 3px rgb(238, 96, 117);   
  
}

.nav-link{
  border-bottom: 1rem solid rgb(159, 158, 158);
  width: 17rem;
  margin-left: -2rem;
  border-left: 1rem solid white;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  transition: all 0.7s;
}
.logo-container{
  display: flex;
  justify-content: space-evenly;
}
.logo-container>h1{
  position: absolute;
  color: rgb(195, 170, 170);
  margin-top: 3rem;
  
}
.random{
  position: absolute;
  margin-top: 32rem;
  color: white;
  text-align: center;
  font-size: 30px;
}

.nav-link:hover{
  padding-left: 4rem;
  color: red !important;
}
.nav-link:visited{
  color: white;

}

#footer{
  display: flex;
  flex-direction: row;
   background-color: rgb(189, 188, 188);
   color: rgb(70, 69, 69);
   padding: 10px 0px 10px 20px;
  
}

/* Display the columns below each other instead of side by side on small screens */
@media only screen and (min-width: 300px) and (max-width: 380px){
  .container{
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    height: auto;
    padding-bottom: 10px;
    
    
  }
  .container img{
    width: 200px;
    height: 200px;
  }
  .nav{
    /* background: rgb(92,58,35);
    background: linear-gradient(40deg, rgba(92,58,35,1) 0%, rgba(167,127,99,1) 50%, rgba(122,73,38,1) 100%); */
    height: 100vh !important;
    font-size: 1.35rem;
    padding-top: 7rem;
    padding-left: 3rem;
    color:white;
    text-shadow: 1px 3px 3px rgb(238, 96, 117); 
    margin-top: 35rem;  
    
  }
  
  .nav-link{
    border-bottom: 1rem solid rgb(159, 158, 158);
    width: 13rem;
    margin-left: -1.5rem;
    border-left: 1rem solid white;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    transition: all 0.7s;
    
  }
  #fact{
    padding: 10px;
  }
  .random{
    font-size: 18px;
  }
  
  .previous {
    padding: 10px;
    font-size: 30px;
    color: rgb(251, 246, 246);
  }
}

 @media only screen and (min-width: 381px) and (max-width: 480px){
  .container{
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    height: auto;
    padding-bottom: 10px;
    
    
  }
  .container img{
    width: 200px;
    height: 200px;
  }
  .nav{
    /* background: rgb(92,58,35);
    background: linear-gradient(40deg, rgba(92,58,35,1) 0%, rgba(167,127,99,1) 50%, rgba(122,73,38,1) 100%); */
    height: 100vh !important;
    font-size: 1.35rem;
    padding-top: 7rem;
    padding-left: 3rem;
    color:white;
    text-shadow: 1px 3px 3px rgb(238, 96, 117); 
    margin-top: 35rem;  
    
  }
  
  .nav-link{
    border-bottom: 1rem solid rgb(159, 158, 158);
    width: 13rem;
    margin-left: -1.5rem;
    border-left: 1rem solid white;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    transition: all 0.7s;
    
  }
  #fact{
    padding: 10px;
  }
  .random{
    font-size: 18px;
  }
  
  .previous {
    padding: 10px;
    font-size: 30px;
    color: rgb(251, 246, 246);
  }
}
@media only screen and (min-width: 481px) and (max-width: 600px){
  .container{
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    height: auto;
    padding-bottom: 10px;
    
    
  }
  .container img{
    width: 250px;
    height: 250px;
  }
  .nav{
    /* background: rgb(92,58,35);
    background: linear-gradient(40deg, rgba(92,58,35,1) 0%, rgba(167,127,99,1) 50%, rgba(122,73,38,1) 100%); */
    height: 100vh !important;
    font-size: 2.35rem;
    padding-top: 7rem;
    padding-left: 3rem;
    color:white;
    text-shadow: 1px 3px 3px rgb(238, 96, 117); 
    margin-top: 40rem;  
    
  }
  
  .nav-link{
    border-bottom: 1rem solid rgb(159, 158, 158);
    width: 15rem;
    margin-left: -2rem;
    border-left: 1rem solid white;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    transition: all 0.7s;
    
  }
  #fact{
    padding: 10px;
  }
  .random{
    font-size: 30px;
  }
  
  .previous {
    padding: 10px;
    font-size: 30px;
    color: rgb(251, 246, 246);
  }
}
@media only screen and (min-width: 601px) and (max-width: 992px){
  .container{
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    height: auto;
    padding-bottom: 10px;
    
    
  }
  .container img{
    width: 250px;
    height: 250px;
  }
  .nav{
    /* background: rgb(92,58,35);
    background: linear-gradient(40deg, rgba(92,58,35,1) 0%, rgba(167,127,99,1) 50%, rgba(122,73,38,1) 100%); */
    height: 100vh !important;
    font-size: 2.35rem;
    padding-top: 7rem;
    padding-left: 3rem;
    color:white;
    text-shadow: 1px 3px 3px rgb(238, 96, 117); 
    margin-top: 40rem;  
    
  }
  
  .nav-link{
    border-bottom: 1rem solid rgb(159, 158, 158);
    width: 15rem;
    margin-left: -2rem;
    border-left: 1rem solid white;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    transition: all 0.7s;
    
  }
  #fact{
    padding: 10px;
  }
  .random{
    font-size: 30px;
  }
  
  .previous {
    padding: 10px;
    font-size: 30px;
    color: rgb(251, 246, 246);
  }
}
@media only screen and (min-width: 993px) and (max-width: 1200px){
  .container{
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    height: auto;
    padding-bottom: 10px;
    
    
  }
  .container img{
    width: 250px;
    height: 250px;
  }
  .nav{
    /* background: rgb(92,58,35);
    background: linear-gradient(40deg, rgba(92,58,35,1) 0%, rgba(167,127,99,1) 50%, rgba(122,73,38,1) 100%); */
    height: 100vh !important;
    font-size: 2.35rem;
    padding-top: 7rem;
    padding-left: 3rem;
    color:white;
    text-shadow: 1px 3px 3px rgb(238, 96, 117); 
    margin-top: 40rem;  
    
  }
  
  .nav-link{
    border-bottom: 1rem solid rgb(159, 158, 158);
    width: 15rem;
    margin-left: -2rem;
    border-left: 1rem solid white;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    transition: all 0.7s;
    
    
  }
  #fact{
    padding: 10px;
  }
  .random{
    font-size: 30px;
  }
  
  .previous {
    padding: 10px;
    font-size: 30px;
    color: rgb(251, 246, 246);
  }
}
 
  
 


