#logo_img{
    width:100%;
}
#img_div{
  border-radius: 2px;
}
#Navbar{
    position:fixed;
    /* border: 1px solid green; */
    z-index: 9000;
    width:100%;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.navbar{
  min-height:5px;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.navbar  a {
  font-size: 11.2px;
}

.container-fluid{
    /* border: 1px solid red; */
    display:flex;
    justify-content: space-between;
    align-items: center;
    align-self: center;
}
.container-fluid>div{
  /* border: 2px solid red; */
}
#first_div{
    display:flex;
    width: 30%;
    justify-content: space-between;
}
#first_div>div{
    width:20px;
    /* border: 1px solid green; */
}
.container-fluid>div{
    width: 10%;
    /* border: 1px solid rgb(0, 255, 17); */
    align-items: center;
    align-self: center;
}
.container-fluid button{
  background-color: white;
  border:none;
  outline: none;
}
.fa-magnifying-glass{
    display:inline;
    margin-left: 10px;
}
#search_div{
    width: 20%;
}
#search_div>button{
    width: 100%;
    border-radius: 2px;
    border: 1px solid grey;
}
#sign_in_div{
  width: 10%;
}
#sign_up_div{
  width:15%;
}
#signup_btn{
  background-color:#fb9820;
  color: white;
  border-radius: 2px;
  outline: none;
  width: 100%;
  margin-left:5%;
}
#signin_btn{
  border-radius: 2px;
  border: 1px solid grey;
  width: 100px;
  margin:auto;
  margin-left: 10%;
  margin-right: 10%;
}

#Label{
    width:70px;
    height:25px;
    position: relative;
    display: block;
    background: #ebebeb;
    border-radius: 200px;
    margin: auto;
    margin-bottom: 20%;
    box-shadow: inset 0px 5px 15px rgba(0,0,0,0.4), inset 0px -5px 15px rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.3s
}

#Label:after {
    content: "";
    width:20px;
    height: 20px;
    position: absolute;
    top: 2.5px;
    left:3px;
    background: linear-gradient(180deg,#ffcc89,#d8860b);
    border-radius: 30px;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
    transition: 0.3s
}
  
#darkmode-Toggle {
    width: 0;
    height: 0;
    visibility: hidden;
  }
  #darkmode-Toggle:checked + #Label {
    background: #242424;
  }
  
  #darkmode-Toggle:checked + #Label:after {
    left:70px;
    transform: translateX(-100%);
    background: linear-gradient(180deg,#777,#3a3a3a);
  }
  #Label, #Label:after {
    transition: 0.3s
  }
  #Label:active:after{ 
    /* width: 50px;  */
  }
  #main{
        background: #FFFFFF;
        transition: 0.3s;
        z-index:-1;
        position: absolute;
  }
  #darkmode-Toggle:checked + #Label + #main{
    background-color:#242424;
  }
  label svg{
    position: absolute;
    width: 20px;
    top: 3px;
    z-index: 100;
  }
  label svg.sun{
    left:3px;
    fill:white;
    transition:0.3s;
  }
  label svg.moon{
    left:50px;
    fill:#7e7e7e;
    transition:0.3s;
  }
  input:checked +label svg.sun{
    fill: #7e7e7e;
  }
  input:checked +label svg.moon{
    fill: #FFFFFF;
  }
  .hamburger{
    display:none;
    background-color: white;
    cursor: pointer;
  }
  .bar{
    display:block;
    width:25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: rgb(8, 8, 8);
  }
  @media(max-width:980px){
    .hamburger{
      display:block;
    }
    .hamburger.active .bar:nth-child(2){
      opacity:0;
    }
    .hamburger.active .bar:nth-child(1){
      transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3){
      transform: translateY(-8px) rotate(-45deg);
    }
    .container-fluid{
      position:fixed;
      left: -100%;
      top: 70px;gap:0;
      flex-direction: column;
      width:100%;
      text-align: center;
      transition: 0.3s;
      background-color: white;
      /* border: 1px solid red; */
    }
    .container-fluid>div{
      /* border: 1px solid green; */
      margin: auto;
    }
    #search_div{
      display:none;
    }
    #first_div>div{
      margin: auto;
    }
    #logo_img{
      width:70%;
       }
    #img_div{
      width: 30%;
      margin:auto;
      /* border:1px solid green; */
       }
    #first_div{
      margin-top: -20px;
      display:block;
      /* border: 1px solid red; */
      margin:auto;
    }
    #first_div>div{
      margin-left: 35%;
    }
    #first_div>div:nth-child(3){
      margin-left: 38%;
    }
    .container-fluid>div{
      margin: 16px 0;
    }
    .container-fluid.active{
      Left:0;
    }
    #signin_btn,#signup_btn{
      width: 200px;
      text-align: center;
      margin-left: -40%;
    }
    #signin_btn{
      margin-left: -85%;
    }
  }

  @media (max-width: 920px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: block!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}
@media (max-width: 650px){
  #second_row_2_div{
    flex-direction: column;
    margin:auto;
  }
  .carousel{
    margin-top: 20%;
    border: 1px solid red;
  }
  #fifth_row{
    border: 1px solid red;
    grid-template-columns: repeat(auto-fill,minmax (190px,1fr));
  }
}


#homepage_div{
    display:flex;
    width: 30%;
    align-items: center;
    justify-content: space-between;
}
#homepage_div>div{
    width: 30%;
    text-align: center;
    height: 100%;
}
#Navbar{
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.logout{
    margin-bottom: -8px;
}
#logout_btn{
    width: 100%;
    background-color:orange;
    padding: 2px;
    border-radius: 4px;
}
#logout_btn>p{
    margin-bottom: 10px;
    font-size: 14px;
    align-self: center;
}


#footer{
    /* border:1px solid red; */
    display:flex;
    margin-top: 20px;
    justify-content: space-between;
  }
  #footer>div{
    /* border: 1px solid green; */
    padding: 50px;
  }
  #footer>div:nth-child(1){
    width:30%;
    text-align: center;
  }
  #footer>div:nth-child(2){
    width:70%;
    display:flex;
    justify-content: space-around;
  }
  #footer>div:nth-child(2)>div{
    /* border: 1px solid yellow; */
    
  }
  #footer>div:nth-child(2) ul{
    margin-left:-24%;
  }
  .footer_img{
    text-align: center;
    width: 200px;
    height: 220px;
  }
  #footer>div:nth-child(2) li{
    list-style: none;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", Helvetica, Arial, sans-serif;
    color: rgb(107, 107, 107);
    word-break: normal;
  }
  #copyright_div{
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 400;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", Helvetica, Arial, sans-serif;
    color: rgb(107, 107, 107);
    word-break: normal;
  }
  #copyright_div svg{
    fill: rgb(56, 56, 56);
  }
  
  .socials{
    margin-bottom: 10px;
    display: inline;
  }
  #copyright_div svg{
    margin-bottom: -2px;
  }
  #footer ul{
      margin-top: 15px;
      margin-right: 0px;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", Helvetica, Arial, sans-serif;
      font-weight: 600;
      word-break: normal;
      font-size: 16px;
      line-height: 1.28;
      letter-spacing: -0.12px;
      color: rgb(107, 107, 107);
      margin-bottom: 12px !important;
  }
  #f_2_div>div{
    /* border: 1px solid red; */
    width: 20%;
    
  }