* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: black;
  
}

:root {
  --heading-color: red;
  --text-color:white;
  font-family: "Georgia", "Courier New", "Arial", "Times New Roman", "Tahoma";
}

.navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 44px;
  border-bottom: 1.5px solid #9e9090;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  background-color: white;
  z-index: 999;
}

.nav-list {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  background-color: white;
  font-size: 1rem;
  font-weight: bold;
  width: 70%;
  margin-right: 1rem;
  z-index: 999;
}

.nav-items {
  padding: .9rem;
}

.nav-items > a:hover {
  color: red;
  outline: 0;
}

.name-logo {
  display: -ms-grid;
  display: grid;
  place-items: center;
  width: max-content;
  padding: .6rem;
  font-weight: bold;
  background-color: white;
}

.h-size {
  font-size: 1.93rem;
  text-align: center;
  
}

li {
  list-style: none;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

section {
  padding: 3rem;
}

.btn {
  display: none;
}

.grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
      grid-template-columns: 1fr 1fr;
  place-items: center;
}

.image {
  height: 31.13rem;
  width: 23.8rem;
  border-radius: 0.76rem;
}

.cont-cent {
  text-align: center;
}

.contact-button {
  font-size: 1.6rem;
  width: 50%;
  padding: .4rem;
  margin-top: 1.5rem;
  background-color: var(--heading-color);
  border-radius: .6rem;
}

.contact-button > a {
  color: white;
}

.menuBtn {
  display: none;
}

.closeBtn {
  display: none;
  color: white;
}

.about {
  font-size: 2.6rem;
  color: var(--heading-color);
  margin-bottom: 1.6rem;
}

.about-size {
  font-size: 1.1rem;
}

.myself > a {
  color: blue;
}

.skills {
  font-size: 2.6rem;
  color: var(--heading-color);
  margin-bottom: 1.6rem;
}

.s {
  background-color: #eeeded;
  border-radius: 1rem;
  text-align: center;
  width: 70%;
  margin: .3rem;
  padding: 1rem;
  font-weight: bold;
}

.projects {
  color: var(--heading-color);
}

.grid-projects {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto auto auto;
      grid-template-columns: auto auto auto;
  gap: 2rem;
  place-items: center;
}

.project-image > img {
  margin: auto;

  margin-top: 3rem;
  height: 17rem;
  /* border-radius: 1rem; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.project-image > h4 {
  text-align: center;
  margin: .5rem;
}

@media screen and (max-width: 1024px) {
  :root {
    font-size: 90%;
  }
  .navbar .nav-list {
    position: fixed;
    display: block;
    height: 100vh;
    width: 100vw;
    left: -100%;
    max-width: 400px;
    top: 0px;
    padding: 5rem 0;
    text-align: center;
    background: #222;
    -webkit-transition: all .8s ease;
    transition: all .8s ease;
  }
  .nav-items > a {
    color: #ddd6d6;
    font-size: 2rem;
    display: block;
  }
  .nav-items > a:hover {
    color: #f10808;
  }
  .nav-items .active > a {
    color: #f30c0c;
  }
  .btn {
    display: block;
  }
  .menuBtn {
    display: block;
    position: absolute;
    right: 2rem;
    top: 0.5rem;
  }
  .closeBtn {
    display: block;
    position: absolute;
    right: 2rem;
    top: 1rem;
  }
  .grid {
    -ms-grid-columns: auto;
        grid-template-columns: auto;
    gap: 2rem;
  }
  .grid-projects {
    -ms-grid-columns: auto auto;
        grid-template-columns: auto auto;
    gap: 1rem;
  }
}

.form {
  margin-top: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.distance {
  margin: .5rem;
  display: inline-block;
  width: 9rem;
  font-weight: bold;
  color: red;
}

.inp-dist {
  margin: .5rem;
  height: 3rem;
  padding: .2rem;
  border-radius: .7rem;
  width: 40%;
  outline: none;
}

.submit-btn {
  font-size: 1.2rem;
  background-color: #e02929;
  width: 8rem;
  color: white;
  border-radius: .7rem;
  padding: .6rem;
  margin: .5rem;
  margin-top: .6rem;
}

@media screen and (max-width: 768px) {
  :root {
    font-size: 70%;
  }
  .myself {
    font-size: 1.5rem;
  }
  .h-size {
    font-size: 2rem;
  }
  .header {
    height: 4rem;
  }
  section {
    padding-top: 4rem;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .image {
    margin-top: 4.9rem;
  }
  .project-image > img {
    height: 13rem;
    /* width: 20rem; */
    margin-left: 0;
  }
  .adjust{
    display: flex;
    align-items: center;
    
  }
  .adjust >p {
    margin: 1rem;
  }
  .grid-projects {
    -ms-grid-columns: auto;
        grid-template-columns: auto;
    gap: .2rem;
  }
  .inp-dist {
    width: 65%;
  }
}

@media screen and (max-width: 300px) {
  .h-size {
    font-size: 1.8rem;
  }
  .myself {
    font-size: 1rem;
  }
  /* .image {
    height: 17rem;
    width: 11rem;
  } */
  .project-image > img {
    height: 10rem;
    /* width: 15rem; */
  }
  section {
    padding-top: 4rem;
    padding-bottom: 2rem;
    padding-left: .7rem;
    padding-right: .7rem;
  }
}
/*# sourceMappingURL=style.css.map */

.contact-button{
  border:0
}
.featured{
  display: flex;
  justify-content: center;
}
.contactF{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.emailC{

  padding: 1rem;
  font-size: 1.65rem;
}
