* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;  
  letter-spacing: 1px;
  line-height: 1.7;
  /* font-weight: 200; */
}

hr {
  border: .5px solid blue;
}

main {
  background: #EEE;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(60, 64, 67, .3);
  width: 80%;
  margin: 10px auto;
  padding: 0 25px;
  text-align: justify;
}

header {
  padding-top: 15px;
}

section {
  padding: 20px 0;
}
/* Headings */
h2 {
  font-family: Arial, Helvetica, sans-serif;
}

section h4 {
  font-size: 12px;
  margin: 10px 0;
  color: #2079c7;
  font-family: Arial, Helvetica, sans-serif;
}

/* Header Section */
header {
  display: inline;
  max-width: 600px;
}

header p a {
  text-decoration: none;
  color: #2079c7;
  max-width: 600px;

}

header h2 ~ p {
  margin: 5px 0;
  max-width: 600px;

}

/* Objective Section */
/*  */

/* Educational Quailification Section */
section#edu .container {
  margin: 10px 0;
}

section#edu .container ul, section#work-experience ul, section#skills ul {
  margin: 15px;
  padding-left: 35px;
}

section#img {
  padding: 0;
  position: absolute;
  top: 15px;
  right: 160px;
  display: inline;

}

section img {
  width: 130px;
  height: 170px;
}
/* Experience Section */
section#work-experience .work p {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 19px;
  font-weight: 400;
}

section#work-experience ul li {
  margin: 10px 0;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 16px;
  font-weight: 200;
}

/* Contact Section */
form h3 {
  font-size: 20px;
  font-weight: 100;
  color: #2079c7;
  text-align: left;
  margin: 15px 0;
  max-width: 600px;
  width: 100%;
}

form .title, form .message {
  margin: 12px 0;
  max-width: 600px;
}

form .name {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  width: 100%;
}


form .name input {
  width: 48%;
  padding: 8px;
  border-radius: 3px;
  border: 0;
}

form .title input, form .message textarea {
  width: 100%;
  padding: 8px;
  border-radius: 3px;
  border: 0;
  color: black;
}

form div #btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 0;
  color: white;
  background: #2079c7;
}

.alert {
  color: red;
}

@media only screen and (max-width: 500px) {
  section#img, section img {
    display: none;
  }

  h2 {
    font-size: 17px;
  }
}

@media only screen and (max-width: 768px) {
  pre {
    display: none;
  }

   section#img, section img {
    display: none;
  }

  header {
    text-align: center;
  }
} 