/* General Styles */
* {
  margin: 0px;
  padding: 0px;
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  background-color: rgb(245, 245, 245);
}

.container {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5%;
  justify-content: center;
  align-items: center;
}

.left {
  width: 650px;
  margin-left: 13%;
}

.right {
  width: 650px;
}

.all-button {
  padding: 20px 30px;
  border: none;
  background-color: blueviolet;
  border-radius: 10px;
  font-size: 17px;
  margin-right: 30px;
  cursor: pointer;
  color: white;
  text-align: center;
}

.all-button a {
  color: white;
  text-decoration: none;
}

.all-button:hover {
  background-color: rgb(110, 32, 183);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5%;
}

a {
  text-decoration: none;
  color: currentColor;
}
/* General Styles */

/* Navbar Start */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 120px;
  background-color: white;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  text-decoration: none;
  color: rgb(110, 99, 99);
  font-weight: bold;
  font-size: 25px;
  transition: 0.3s, color 0.2s;
}

.logo:hover {
  color: black;
}

nav a {
  text-decoration: none;
  color: rgb(110, 99, 99);
  font-weight: 600px;
  font-size: 18px;
  margin-left: 40px;
  transition: 0.3s, color 0.2s;
  font-weight: bold;
}

nav a:hover,
nav a.active {
  color: skyblue;
}

/* Navbar End */

/* Home Start */
.profile {
  width: 600px;
  object-fit: cover;
  margin-left: 100px;
}

.i-am {
  color: rgb(110, 32, 183);
  font-size: 30px;
  margin-bottom: 30px;
}

.ajay-mahato {
  font-weight: bold;
  font-size: 80px;
  margin-bottom: 20px;
}

.web-developer {
  font-size: 35px;
  margin-bottom: 40px;
}

.year {
  display: inline-block;
}

.year-2 {
  font-size: 150px;
  font-weight: bold;
  margin-right: 30px;
  height: 140px;
  margin-left: 22px;
}

.medium-font {
  font-size: 30px;
  width: 420px;
}

.inline {
  display: inline-block;
}

.years {
  font-size: 40px;
  font-family: "Courier New", Courier, monospace;
  margin-bottom: 40px;
}

/* Home End */

/* About Start */
.paragraph {
  color: gray;
  width: 550px;
  font-size: 17px;
  line-height: 25px;
  margin-bottom: 30px;
}

.education {
  font-size: 20px;
  margin-bottom: 20px;
}

.clz {
  margin: 15px 10px;
}

.edu hr {
  width: 22px;
  margin-bottom: 15px;
  margin-top: 5px;
  color: rgba(128, 128, 128, 0.814);
}

.edu h5 {
  font-size: 20px;
}

.edu p {
  font-size: 19px;
  color: skyblue;
}

.edu h6 {
  font-size: 19px;
  font-weight: lighter;
}

/* About End */

/* Skills Start */
.progress {
  height: 5px;
  background-color: #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar {
  width: 0;
  height: 100%;
  transition: width 1s ease-in-out;
}

.progress-bar.red {
  background-color: #e34c26;
}

.progress-bar.blue {
  background-color: #2965f1;
}

.progress-bar.gray {
  background-color: #777bb3;
}

.progress-bar.green {
  background-color: #28a745;
}

.skill-info {
  display: flex;
  justify-content: space-between;
}

.skill h6 {
  font-size: 15px;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Skills End */

/* Projects Start */
#projects {
  display: block;
}

.project-box {
  display: flex;
  justify-content: center;
}

.heading {
  font-size: 50px;
  margin-bottom: 50px;
  margin-left: 85px;
}

.project-list {
  position: relative;
  margin-right: 20px;
  margin-left: 20px;
}

.project-img {
  height: 360px;
  width: 360px;
  border-radius: 10px;
}

.project-text-box {
  position: absolute;
  top: 250px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
  padding: 15px 20px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  opacity: 0;
  transition: 0.5s;
}

.project-list:hover .project-text-box {
  opacity: 1;
}

.project-text h5 {
  font-size: 20px;
  margin-bottom: 10px;
}

.project-text span {
  color: gray;
  font-size: 17px;
}

/* Projects End */

/* Contact Start */
.contact-heading {
  font-size: 15px;
  margin-bottom: 15px;
  margin-left: 85px;
  color: gray;
}

.contact-details {
  font-size: 35px;
  margin-bottom: 15px;
  margin-left: 85px;
  font-weight: bold;
}

.contact hr {
  margin-bottom: 15px;
  margin-left: 85px;
  color: gray;

}

.form-box {
  display: grid;
  grid-template-columns: 20% 80%;
  margin: 15px 10px;
  align-items: center;
}


.form-control {
  padding: 17px 15px;
  font-size: 18px;
  border: 1.5px solid rgba(128, 128, 128, 0.615);
  border-radius: 10px;
}

.form-control:focus {
  outline: none;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.3);
}

.form label {
  font-size: 20px;
  color: rgb(53, 48, 48);

}

.right-align {
  display: flex;
  justify-content: right;
}

/* Contact End */

@media only screen and (max-width: 1100px) {
  .container {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
  }

  .right, .left {
    margin: 80px 13%;
  }

  #home {
    margin-top: 100px;
  }

  header {
    padding: 10px 20px;

  }

  nav a {
    margin-left: 5px;
  }

  .project-box{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    margin-left: 13%;
  }
  .project-list{
    margin: 20px 50px;
  }
}
