/* this is use to reset the default margin and padding */

/* css for the li element which is insite the navlist class */
*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    letter-spacing: 1px;
    font-weight: 300;
}
body{
    overflow-x: hidden;
}
nav{
    height: 5rem;
    width: 100vw;
    background-color: #131418;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    position: fixed;
    z-index: 10;
}

/*Styling logo*/
.logo{
    padding:1vh 1vw;
    text-align: center;
}
.logo img {
    height: 4rem;
    width: 5rem;
    border-radius: 30px;
}
 #foodonate
  {
      color: white;
      text-decoration: none;
  }

/*Styling Links*/
.nav-links{
    display: flex;
    list-style: none; 
    width: 88vw;
    padding: 0 0.7vw;
    justify-content: space-evenly;
    align-items: center;
    text-transform: uppercase;
}
.nav-links li a{
    text-decoration: none;
    margin: 0 0.7vw;
}
.nav-links li a:hover {
    color: white;
}
.nav-links li {
    position: relative;
}
.nav-links li a::before {
    content: "";
    display: block;
    height: 3px;
    width: 0%;
    background-color: #61DAFB;
    position: absolute;
    transition: all ease-in-out 250ms;
    margin: 0 0 0 10%;
}
.nav-links li a:hover::before{
    width: 80%;
}

/*Styling Buttons*/
.login-button{
    background-color: transparent;
    color: white;
    border: 1.5px solid #f2f5f7;
    border-radius: 2em;
    padding: 0.6rem 0.8rem;
    margin-left: 2vw;
    font-size: 1rem;
    cursor: pointer;

}
.login-button:hover {
    color: #131418;
    background-color: #f2f5f7;
    border:1.5px solid #f2f5f7;
    transition: all ease-in-out 350ms;
}
.join-button{
    color: #131418;
    background-color: #61DAFB;
    border: 1.5px solid #61DAFB;
    border-radius: 2em;
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
    cursor: pointer;
}
.join-button:hover {
    color: #f2f5f7;
    background-color: transparent;
    border:1.5px solid #f2f5f7;
    transition: all ease-in-out 350ms;
}

/*Styling Hamburger Icon*/
.hamburger div{
    width: 30px;
    height:3px;
    background: #f2f5f7;
    margin: 5px;
    transition: all 0.3s ease;
}
.hamburger{
    display: none;
}

/*Stying for small screens*/
@media screen and (max-width: 800px){
    nav{
        position: fixed;
        z-index: 3;
    }
    .hamburger{
        display:block;
        position: absolute;
        cursor: pointer;
        right: 5%;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
    }
    .nav-links{
        position: fixed;
        background: #131418;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        clip-path: circle(50px at 90% -20%);
        -webkit-clip-path: circle(50px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
    }
    .nav-links.open{
        clip-path: circle(1000px at 90% -10%);
        -webkit-clip-path: circle(1000px at 90% -10%);
        pointer-events: all;
    }
    .nav-links li{
        opacity: 0;
    }
    .nav-links li:nth-child(1){
        transition: all 0.5s ease 0.2s;
    }
    .nav-links li:nth-child(2){
        transition: all 0.5s ease 0.4s;
    }
    .nav-links li:nth-child(3){
        transition: all 0.5s ease 0.6s;
    }
    .nav-links li:nth-child(4){
        transition: all 0.5s ease 0.7s;
    }
    .nav-links li:nth-child(5){
        transition: all 0.5s ease 0.8s;
    }
    .nav-links li:nth-child(6){
        transition: all 0.5s ease 0.9s;
        margin: 0;
    }
    .nav-links li:nth-child(7){
        transition: all 0.5s ease 1s;
        margin: 0;
    }
    li.fade{
        opacity: 1;
    }
}
/*Animating Hamburger Icon on Click*/
.toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2{
    transition: all 0.7s ease;
    width:0;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);
}
.background{
    background: rgba(0, 0, 0, 0.7) url('/image/Food-Distribution-Slide_1.jpg');
    background-size: cover;
    background-blend-mode: darken;
    
}
.box-main
{
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    max-width: 50%;
    margin: auto;
    height: 80%;

}
.firsthalf{
    width: 80%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.secondhalf
{
    width: 50%;
    margin-top: 260px;
}
.secondhalf img
{ 
  width: 85%;
  border: 4px solid white;
  border-radius: 80px;
  display: block;
  margin: auto;
  margin-top: 302px;
}
.text-big
{
   font-size: 35px;
}
.text-small
{
   font-size: 20px;
}
.btn
{
   padding: 8px 20px;
   margin: 7px 3px;
   border: 2px solid white;
    border-radius: 15px; 
    font-size: 18px;
    background: none;
    color: white;
    cursor: pointer;
}
.btn-sm
{
    padding: 6px 10px;
    vertical-align: middle;
} 
.sec-right
{
    
    display: flex;
    align-items: center;
    justify-content: space-evenly;
   max-width: 80%;
   margin: auto;
   padding: 10px;

}
.sec-left
{
    flex-direction: row-reverse;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
   max-width: 80%;
   margin: auto;
   padding: 10px;

}
.paras{
    padding: 10px 90px;
}
.thumbnail img{
    width: 250px;
    border: 2px solid black;
    border-radius: 20px;
    margin-top: 19px;
}
.contact
{
    background-color: rgba(0, 0, 0, 0.644);
}
.text-center{
    margin-top: 200px;
    text-align: center;
    text-align: center;
}
.form{
    max-width: 62%;
    margin: 25px;
}
.form-input
{
    padding: 10px;
    margin: 30px 5px;
    width: 70%;
    font-size: 20px;
    border: 2px solid grey;
    border-radius: 20px;
}
.btn-dark
{
    color: black;
    border: 2px solid black;
    width: 30%;
}
.btn-dark:hover
{
    color: white;
    background-color: black;
    border: 2px solid black;
    width: 35%;
    cursor: pointer;
}
footer{
    text-align: center;
    justify-content: center;
    padding: 30px;
    font-size: 25px;
    display: flex;
    color: white;
    background-color: rgb(0, 0, 0);
}
.burger{
        display: none;
        position: absolute;
        cursor: pointer;
        right: 5%;
        top: 15px;
}
.line{
       width: 33%;
       background-color: white;
       height: 4px;
       margin: 3px 3px;
}
