@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&display=swap');

*{
  margin: 0;
  padding: 0;
}


:root {
  --main--color: #1e90ff;  
}


body{
  font-family: 'Comfortaa', cursive;
  background-color: rgb(0, 0, 0);
  color: white;
  overflow-x: hidden;
}

.container{
  width: 1280px;
  margin: auto;
}

header{
  border-bottom: 5px solid var(--main--color);}

#header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  min-height: 70px;
  padding: 0 20px;
}

#header h2{font-size: 2rem;}

#search_box{
  position: relative;
  width: 350px;
}

#search_box input{
  box-sizing: border-box;
  width: 100%;
  font-size: 1rem;
  padding: 8px;
  border-radius: 25px;
  outline: none;

  -z-webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  transition: all 0.30s ease-in-out;
  border: 1px solid #423f3f;
}
 
input:focus{
  box-shadow: 0 0 10px var(--main--color);
  border: 2px solid var(--main--color);
}

#search_box i{
  color: black;
  position: absolute;
  cursor: pointer;
  top: 25%;
  right: 4%;
  transition: 0.3s;
}

#search_box i:hover{color: var(--main--color);}

#fa-camera{
  color: var(--main--color);
}

#grid{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-start;
}

.info{
  position: fixed;
  font-size: 30px;
  text-align: center;
  width: 100%;
  margin-top: 10rem;
}
.info h1{
  font-weight: 20px;
}

.img{
  width: 380px;
  height: 214px;
  margin-top: 15px;
  background-position: center;
  background-size: cover;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 0 10px var(--main--color);
  border: 2px solid var(--main--color);
}

@media(max-width:1280px){
 .container{width: 100%;}
}

@media(max-width:768px){
  #main{width: 95%;}

  .img{width: 90%;}

  #header{
    margin: 10px 0;
    padding: 20px;
    gap: 10px;
    justify-content: center;
  }

  #header h2{padding: 5px 0;}
}

@media(max-width:480px){
  #header h2{
    text-align: center;
    font-size: 1.5rem;
  }

  #search_box{
    width: 80%;
    margin: auto;
  }

  #search_box input{font-size: .7rem;}
}





/*Theme Color styling*/
.theme{
  position: fixed;
}
.theme i{
  position: fixed;        
  border: 2px solid white;
  z-index: 9999;
  border-radius: 6px;
  background: var(--main--color);
  text-align: center;
  align-items: center;
  line-height: 40px;
  color: rgb(255, 255, 255);
  height: 42px;
  width: 42px;
  left: 30px;
  bottom: 40px;
  font-size: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.theme i:hover{
  background: none;
  color: var(--main--color);
  border-radius: 6px;
  border: 2px solid white;
}
.big-box{
  bottom: 40px;
  margin-left: 50px;
  height: 43.7px;
  width: 14rem;
  background: none;
  border: 2px solid white;
  align-items: center;
  text-align: center;
  display: flex;
  justify-content: space-evenly;
  border-radius: 6px;
  transition: all 0.5s ease;
  position: fixed;
  left: -100%;
}
.big-box.show{
  left: 2.5rem;
  pointer-events: all;
}
.color{
  height: 25px;
  width: 25px;;
  border-radius: 50%;
  cursor: pointer;
}
.box-1{
  background-color: crimson;
}
.box-2{
  background-color: violet;
}
.box-3{
  background-color: indigo;
}
.box-4{
  background-color: #1e90ff;
}
.box-5{
  background-color: green ;
}
.box-6{
  background-color: yellow;
}
.box-7{
  background-color: orange;
}
.box-8{
  background-color: red;
}


