body, p, h1, h2, h3, h4, ul, li {
  margin: 0;
  padding: 0;
}

body {
  max-height: 100vh;
}

#nav-container > nav > ul {
  list-style-type: none;
}

/* NAVIGATION */
#navbar {
  position: fixed;
  top: 0;
  z-index: 9000;
  width: 100%;
  background-color: white;
  border-bottom: 1px solid #ddd;
  /*
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
  */
}

#nav-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-family: Arial, Helvetica, sans-serif;
}

#nav-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.nav-ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  max-width: 700px;
}

.nav-ul > li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-right: 50px;
}

.nav-link {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  color: #444;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  -webkit-transition: 200ms;
  transition: 200ms;
  border-radius: 100px;
}

.nav-link:hover {
  background-color: #f1f1f1;
  border-left:3px solid #b30000;
  border-right:3px solid #b30000;
  border-radius: 100px;

}


/* END NAVIGATION */

/* MOBILE MENU */
@media screen and (max-width: 720px) {
  #nav{
    width: 100%;
  }
  #nav-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;

  }

  #nav-menu-button {
    padding: 1rem;
    background-color: #f1f1f1;
    cursor: pointer;
    font-size:20px;
  }

  .nav-ul {
    display: block;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: auto;
    direction: rtl;
    transition: max-height 400ms;
    max-height: 80vh;
  }
  .nav-ul > li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-right:0px;
}


#social-media li{
margin-right:20px;
margin-left:20px;
padding-bottom: 0px;
}

#social-media{
list-style-type: none;
display: flex;
justify-content: center;
padding-bottom: 0px;
}
  .hide-ul {
    max-height: 0;
  }

  .nav-link {
    padding: 1rem 0;
    font-size: 1.3rem;
  }
  .nav-link:hover {
  background-color: #f1f1f1;
  border-left:none;
  border-right:none;
  border-radius: 0px;

}
  
}
/* END MOBILE MENU */

/* DESKTOP MENU */
@media screen and (min-width: 701px) {

  #nav-menu-button {
    display: none;
  }

  .nav-link {
    flex-basis: auto;
    padding: 1rem 1.5rem;
  }
}

/* This moves the logo so that it's not touching the left side */
@media screen and (max-width: 1040px) {
  #nav-logo {
    margin-left: 1rem;
  }
}
/* END DESKTOP MENU */
#social-media{
list-style-type: none;
display: flex;
justify-content: center;
padding-bottom: 0px;
}
#social-media li{
padding-top:10px;
padding-bottom:10px;
margin-right:40px;
}
#social-media li a{
font-size: 30px;
color:black;
}
#social-media li a:hover{
color:blue;
}
/*NAv-bar ends*/
#homepage{
  background-image:url(../images/bg.jpg);
  background-size: cover;
  background-attachment:scroll;
  background-position: center center;
  background-blend-mode:overlay;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow:column;
  padding: 0px;
  margin: 0px;

}
/*Home page start*/
#homepage h1{
  color: white;
}

@media screen and (max-width: 720px) {
  #homepage{
    margin-top:-50px;
    background-size: cover;
    background-position:center center; 
    background-attachment: scroll;
    background-repeat: no-repeat;
    min-height:600px;

  }
  #homepage h2{
    font-size:12px;
  }
}
/*Home page Ends*/


/*Aboutme page start*/
#aboutme{
  background-color:#1a1a1a;
  display: flex;
  flex-direction: column;
  border:1px solid white;
}
#about{
  text-decoration: underline;
  color: white;
  text-decoration-color:#b30000;
  align-self: center; 
}
#aboutmyself h1{
  text-decoration: none; 
}
#aboutmyself{
  padding-top:50px;
  min-height:400px;
  display: flex;
  flex-direction:row;
  justify-content: space-around;
}
#aboutmyself img{
   height:330px;
   width:400px;
   border-radius:300px;
   border:5px solid white;
}
#aboutmyself section{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}
#aboutme #description h1{
  font-size: 35px;
 color: white;
}
#aboutme #description h2{
 color: white;
 font-size:30px;
}
#aboutme #description p{
  font-size: 20px;
color:white;
}
@media screen and (max-width: 720px) {
  #aboutmyself{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top:-30px;
  }
  #aboutme img{
   height:100px;
   width:100px;
  
}
  #aboutme #description{
    justify-content: center;
    align-items: center;
  }
  #aboutme #description h1{
       font-size:25px;
  }
  #aboutme #description h2{
     font-size:15px;
  }
  #aboutme #description p{
    font-size: 12px;
    text-align: center;
  }

}

/*footer */
footer{
  height:40px;
  font-size:20px;
  background-color: #f2f2f2;
  display: flex;
  justify-content: space-around;
  border-top:0.25px solid black;

}
footer p{
  color: black;
}
footer #footer-links{
  display: flex;
  list-style-type: none;
}
footer #footer-links li{
   list-style-type: none;
   margin-left: 30px;
}
footer #footer-links li a{
   color:red;
   text-decoration:none;
} 
footer #footer-links li a:hover{
  text-decoration: underline;
  color: blue;
}
@media screen and (max-width: 720px) {
  footer{
    flex-direction: column;
    justify-content: space-between;
    justify-content: center;
    align-items: center;
    height:60px;
    font-size:15px;
  }
}
/*contact*/
#contact{
  height: 400px;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color:#1a1a1a;
}
#contact h1{
  text-decoration: underline;
  text-decoration-color:#b30000;
  color: white;
}
#contact #myform{
  background-color:#bfbfbf;
  padding-left:50px;
  padding-right: 50px;
  border:2px solid #b30000;
}
#contact #myform label{
  text-align: center;
}
#form_info{
  display: flex;
  flex-direction:row;
}
#myinfo{
  margin-left:80px;
  margin-right:500px;
}
#icon{
 color:#b30000;
 font-size:30px;
 padding:0px;
 margin:10px;
}
#title{
 margin-top:0px;
 text-align: center;
 font-size:30px;
 font-weight: 100px;
 color: white;
}
#my_info{
  margin-right:50px;
}
@media screen and (max-width: 720px) {
  #contact{
    height: 600px;
  }
  #form_info{
    flex-direction: column;
    justify-content: space-between;
  }
  #myinfo{
    text-align: center;
    margin-left: 0px;
    margin-right: 0px;
  }
  #contact #myform{
  padding-left:30px;
  width:200px;
  padding-right:0px;
  margin-top:30px;
  margin-left:30px;
}
#title{
 font-size:15px;
 font-weight: 100px;
}
}
/*button*/



.btn{
  font-size: 20px;
  border-left:3px solid #1a1a1a;
  border-right:3px solid #1a1a1a;
  border-bottom:5px solid #1a1a1a;
  border-top: none;
  color:white;
  width:225px;
  border-radius:50px;
  background-color:#8c8c8c;
  margin-top:25px;
}
.btn:hover{
  border:none;
}
@media screen and (max-width: 720px) {
  .btn{
    font-size:15px;
    width: 150px;
  }
}
/*Blog*/
#blogpage{
  display: flex;
  flex-direction: column;
  align-items: center;
}
#blog{
 display: flex;
 flex-direction: row;
 align-items: center;
 margin:10px;
}
#blogpage h1{
  text-decoration:underline;
  text-decoration-color:#b30000; 
}
#blog h1{
 text-decoration: underline;
}
#blog .blogs{
  background-image:url(../images/bg2.jpg);
  background-size:cover;
  background-position: center;
  background-repeat:no-repeat;
  background-attachment: scroll;
  display: flex;
  flex-direction:row;
  margin:20px;
  justify-content: space-between;
}
.blogs img{
  margin:30px;
  border:1px solid white;
  border-radius:50px;
}
.blog-section{
  margin-top:10px;
}
.blog-section h1,p{
  text-align: center;
  color: white;
}
#blogbtn{
  text-align: center;
  background-color:lightgrey;
  border:2px solid #b30000;
  margin-left:120px;
  border-radius:100px;
  margin-bottom:10px;
  height:40px;

}
@media screen and (max-width: 720px) {
  #blog{
    flex-direction: column;
    align-items: center;
  }
  #blog .blogs{
    flex-direction: column;
    align-items: center;
  }
}