*{
  box-sizing:border-box;
  padding:0;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}
#navbar{
  display: flex;
  justify-content: flex-end;
  background-color: #F2A71B;
  padding-top:1.5rem;
  padding-bottom: 1.5rem;
}

ul{
  list-style-type: none;
}
li{
  display: inline-block;
  padding: 5px 30px;
}

li a{
  display: block;
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
}

li a:hover{
  background-color: #fff;
  color: #F2A71B;
}

/* Styling The Welcome Section */

#welcome-section{
  background: #42275a;  /* fallback for old browsers */
background: -webkit-linear-gradient(to left, #734b6d, #42275a);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to left, #734b6d, #42275a); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
height: 100vh;
display: flex;
flex-flow: row nowrap;
justify-content: center;
align-items: center;
}

.welcome-content>h3{
  color: #fff;
}
.welcome-content h1{
  color: #F2A71B;
  font-size: 3rem;
}

.welcome-content p{
  color: #fff;
  font-size: 1.5rem;
}
/* Transparent Button Styling */
button{
  margin-top: 1rem;
  transition: all .5s ease;
    color: #fff;
    border: 3px solid white;
    font-family:'Montserrat', sans-serif;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    font-size: 17px;
    background-color : transparent;
    padding: 10px;
    outline: none;
    border-radius: 4px;
}

button a{
  color:#fff;
  text-decoration: none;
  display: block;
}

button:hover, button a:hover{
  color: #001F3F;
  background-color: #fff;
}


/* Styling The About Me Section */

.about-me{
  padding: 4rem;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  background: #3E5151;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #DECBA4, #3E5151);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #DECBA4, #3E5151); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}
.portfolio-image{
  flex: 1;
}


/* Styling The Text */
.about h2{
  font-size: 2.7rem;
  color: #F2A71B;
  font-style: italic;
}

.about { 
  line-height: 1.5; 
  padding: 2px 0; 
  width: 600px;
  flex: 1;
  word-spacing: 10px;
}
.about p{ 
  /* background-color: #c0c; */
  padding: 4px 0;
  /* color: #fff;  */
  display: inline;
  margin: 0; 
  color: #fff;
}

/* Styling The Picture */
.picture{
  display:inline-block;
  border: 5px double #F2A71B;
  position: relative;
}

.picture img{
  /* position: absolute; */
  position: relative;
  bottom: 55px;
  left: 58px;
  
}

/* Styling THE project Section */
#projects{
  background: #1f4037;  /* fallback for old browsers */
background: -webkit-linear-gradient(to left, #99f2c8, #1f4037);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to left, #99f2c8, #1f4037); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
padding: 3rem;
}
img{
  max-width: 300px;
  height: 450px;
}

.description h2{
  text-align: center;
  margin-bottom: 2rem;
  color: wheat;
  font-size: 2.5rem;
  border-bottom: 5px solid #fff;
}
.project-grid{
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  place-items: center;
  gap: 1rem;
}


/* Project Button Styling */
.project-grid a{
  text-decoration: none;
}
figcaption{
  margin-top: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #F2A71B;
  color: #fff;
  text-align: center;
  font-size: 1.2rem;
  font-style: italic;
}

.more-projects{
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Adding Effect to Project Section */
figure{
  transition: transform 1s ease-in-out 0.2ms;
}

figure:hover{
  transform: scale(1.1);
}

/* Styling The Contact Section */

.contact-section{
  background: #F2994A;  /* fallback for old browsers */
background: -webkit-linear-gradient(to bottom, #F2C94C, #F2994A);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to bottom, #F2C94C, #F2994A); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
padding: 8rem;
display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: center;
}

.contact-heading{
  margin-bottom: 1.1rem;
}
.contact-heading h2{
  color: #fff;
  font-size: 4.5rem;
  text-align: center;
}
.contact-heading h3{
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
}
.contact-links{
  margin-top: 1.1rem;
}
.contact-details{
  font-size: 2.7rem;
  margin: 0.85rem;
  color: #fff;
}


/* Styling The Footer Section */

footer{
  padding: 5rem;
  background: #1e3c72;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #2a5298, #1e3c72);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #2a5298, #1e3c72); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

 
}

footer>h2{
  color: #fff;
  font-size: 4rem;
  font-style: italic;
  text-align: center;
}

footer p{
  color:#F2A71B;
  font-weight: bolder;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-align: center;
  font-style: italic;
}

form,label,input{
  max-width: 100%;
  height: auto;
  margin: auto;
  text-align: center;
}
label{
  display: block;
  font-size: 2.5rem;
  font-style: italic;
  color: #fff;
}
input{
  width: 100%;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.copyright p{
  margin-top: 1rem;
  text-align: left;
  font-size: 1rem;
  color: #fff;
  text-transform: capitalize;
}

.sticky{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

 /* Adding Media Query */

 @media only screen and (max-width:768px){
  #navbar{
    display: flex;
    justify-content: center;
    background-color: #F2A71B;
    padding-top:1rem;
    padding-bottom: 1rem;
  }
  
  ul{
    list-style-type: none;
  }
  li{
    display: block;
    padding: 5px 30px;
  }

  /* Styling The About Me Section */

.about-me{
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: #3E5151;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #DECBA4, #3E5151);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #DECBA4, #3E5151); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}



/* Styling The Text */
.about h2{
  font-size: 1rem;
  color: #F2A71B;
  font-style: italic;
  text-align: center;
}

.about { 
  text-align: center;
  line-height: 1.1; 
  padding: 2px 0; 
  width: 200px;
  flex: 1;
  word-spacing: 10px;
}
.about p{ 
  /* background-color: #c0c; */
  padding: 4px 0;
  /* color: #fff;  */
  display: inline;
  margin: 0; 
  color: #fff;
}

.picture img{
  /* position: absolute; */
  position: static;
  bottom: -55px;
  left: -58px;
  
}

/* Styling THE project Section */

.project-grid{
  display: grid;
  grid-template-columns: 1fr;
  
}

::placeholder{
  font-size: 1rem;
}
 }