:root {
  --color: #ffffff;
  --main-bg-color: #141412;
  --spacing: 2rem;
}
html {
  background-image: url('blue-milky-way-galaxy-4k-7y-1360x768.jpg');
  overflow-x: hidden; 
}

.search {
  color: --color;  
}
h1 {
  display: block;
  position: relative;
  border: none;
  color: rgb(33, 201, 235);
  font-size: 2.5em;
  font-family: "Abel", sans-serif;
  padding-top: 8%;
/*   margin-bottom: 1em; */
  text-align: center;
  overflow: auto;
}
img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 2%;
  
  /* box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.54); */
}
.grid {
  display: grid;
  grid-gap: var(--spacing);
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-auto-rows: auto;
  grid-auto-flow: dense;
  min-height: calc(100vh - var(--spacing) * 2);
  padding: 0 10% 0 10%;
  box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.54);
}
.grid_item {
  grid-auto-flow: column;
  top: 0;
  margin-top: 15%;
  background-size: cover;
  background-position: 50% 50%;
  /* transform: rotate(-8deg); */
  z-index: 1;
  -webkit-box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.54);
  box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.54);
 
}

.title {
  z-index: 100;
  margin-top: -13%;
  padding-bottom: 3%;
  transform: rotate(-8deg);
}

input {
  display: block;
  position: relative;
  border: none;
  color: red;
  font-size: 2.5em;
  font-family: "Abel", sans-serif;
  border-bottom: 2px solid rgb(94, 33, 235);
  padding-top: 8%;
  margin-bottom: 1em;
  width: 100%;
  height: 2em;
  text-align: center;
  /* vertical-align: middle; */
  background: none;
  resize: none;
  overflow: auto;
}

input:focus,
textarea:focus {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  outline: none;
  color: var(--color);
}

h4 {
  font-family: "Abel", sans-serif;
  font-size: 16px;
  color: var(--color);
  z-index: 100;
  margin-top: -13%;
  transform: rotate(0deg);
  text-align: center;
  white-space: wrap;
  padding: 0 5% 0 5%
}
.headStyle{
  font-family: cursive;
   color: lightslategray ;
  text-align: center;
  font-size: 50px;
  margin-top: 10px;
}	
nav ul{
  text-align: center;
}

nav li{
  display:inline-block ;

}
nav li a{
  font-size: 17px;
  padding: 25px 20px ;
  color: lightslategray;
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: bolder;
}

nav li:hover a{
  color:rgba(56, 56, 181, 0.92);
  font-weight: bolder;
} 