@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');


*{
  margin: 0%;
  font-family: 'Lato',sans-serif;
}


#bgimg {
    position: absolute;
    height: 400px;
    width: 100%;
    object-fit: cover;
    z-index: 0;

    margin-bottom: 30%;
  }

  .top{
    overflow: hidden;
    background-color:rgb(22, 19, 19);
    position: sticky;
    
}
.top a{
    float: right;
    display: block;
    color: white;
    text-align: center;
    padding: 25px 20px;
    text-decoration: none;
    font-size: 20px;
}
.top a:hover{
        background-color: white;
        color: rgb(22, 19, 19)}
#head{float: left;}

  
  .searchbarr {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 18px;
    font-size: 18px;
    border-radius: 8px;
    border: none;
  
    
  }
  
.overlay-text {
    position: absolute;
    top: 45%;left: 53%;
    transform: translate(-60%, -200%); 
    color: black; 
    font-size: 50px;
    font-weight: bolder; }

.image-container {
  position: relative;
  display: inline-block;
}

.image-container img {
  position: relative;
  display: block;
  width: 100%;
  height: 780px;
}
.searchbar{
  text-align: center;
    position: relative;
    top:50vh;
    left: 48%;
    padding: 18px;
    font-size: 18px;
    border: none;
    box-shadow: 0px 6px #bbb;
}
#searchbtn {
  border-radius: 10px;
  cursor: pointer;

}

#searchbtn:hover {
  color: white;
  box-shadow: 0px 6px #666;
  background-color: black;
}

#searchbtn:active {
  transform: translateY(4px);
  transition: all 0.2s;
  box-shadow: 0px 2px #ffffff;
}

.p{
position: relative;
top: 65vh;
display: flex;
justify-content: center;
align-items: center ;
gap: 60px;
flex-flow: wrap;
  
}
.p a{
  color: white;
  border-radius: 7px;
  text-decoration: none;
  font-size: larger;
  background-color: rgb(22, 19, 19);
  box-shadow: 0px 6px #bbb;
  padding: 20px;
  border: 2px solid black;


}
.p a:hover{
  background-color: white;
  color: rgb(22, 19, 19);
  box-shadow: 0px 6px #666;
}

.p > a:active {
transform: translateY(4px);
box-shadow: 0px 0px black;
transition: all 0.2s;
}

/* scroll bar */

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;

}

::-webkit-scrollbar-thumb {
  background: #000000;
  border-radius:2px 2px 10px 10px;

}

::-webkit-scrollbar-thumb:hover {
  background:   rgb(109, 109, 109);
}

/* scroll bar */
