* {
  margin: 0px;
  padding: 0px;
  background-color: rgba(24, 23, 23, 0.926);
}

html {
  scroll-behavior: smooth;
}

.navigation {
  position: sticky;
  top: 0px;
  z-index: 5;
}

div nav {
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  border-bottom: 1px solid rgb(62, 62, 62);
  width: 95%;
  margin: auto;
  box-sizing: border-box;
}

.profile {
  display: flex;
  gap: 5px;
  align-items: center;
}

.navitems {
  display: flex;
  gap: 16px;
  align-items: center;
}

.profile img {
  height: 30px;
  width: 30px;
  border-radius: 50%;
}

.profile p {
  font-size: 18px;
  font-weight: 500;
  color: white;
  font-family: "Roboto", sans-serif;
  align-self: flex-end;
}

.navitems a {
  text-decoration: none;
  color: white;
  font-family: "Roboto", sans-serif;
  transition: color 0.3s ease;
}

.active, .navitems a:hover{
  color: rgb(255, 173, 21);
}

/* Home section */
#Home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 0.5fr 1fr;
  width: 75%;
  margin: auto;
  padding: 30px 0;
  border-bottom: 1px solid rgb(62, 62, 62);
}

.cell1 {
  grid-column-start: 1;
  grid-column-end: 3;
  text-align: center;
}

#name {
  color: White;
  font-family: "Roboto", sans-serif;
  font-size: 80px;
  margin-bottom: 20px;
}

.items {
  color: White;
  font-family: "Roboto", sans-serif;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap:wrap;
}

.cell3 {
  color: White;
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
}

.cell3 button {
  background-color: rgb(255, 173, 21);
  padding: 3px 20px;
  font-size: 16px;
  border-radius: 5px;
  border: none;
  width: 120px;
  transition: transform 0.3s ease-in;
}

.cell3 button:hover {
  transform: translateY(-3px);
  cursor: pointer;
}

.cell3 p {
  margin-bottom: 14px;
  text-align: justify;
  color: rgb(185, 175, 175);
}

.cell2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cell2 img {
  height: 300px;
  width: 500px;
}

/* About me */
#About {
  color: white;
  font-family: "Roboto", sans-serif;
  display: grid;
  grid-template-rows: 30px 1fr;
  width: 75%;
  margin: 60px auto;
  align-items: center;
  padding: 30px 0px;
  border-bottom: 1px solid rgb(62, 62, 62);
  position: relative;
  gap: 18px;
}

#About h2 {
  font-weight: 200;
  padding-left: 20px;
}

.icon {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  border: 5px solid rgb(255, 173, 21);
  position: absolute;
  top: 35px;
  left: -5px;
}

.info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info p {
  color: rgb(185, 175, 175);
}

.info button {
  margin-top: 20px;
  padding: 3px 20px;
  border: none;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background-color: rgb(255, 173, 21);
  font-weight: 500;
  width: 150px;
  transition: transform 0.3s ease-in;
}

.info button:hover {
  transform: translateY(-3px);
  cursor: pointer;
}

button img {
  background-color: rgb(255, 173, 21);
}

.image{
  height: 300px;
  width: 500px;
}

.social img {
  height: 20px;
  width: 20px;
  background-color: white;
  border-radius: 50%;
}

.role {
  color: rgb(185, 175, 175);
}

.aboutme {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 25px;
}

.photo {
  border: 1px solid rgb(62, 62, 62);
  border-radius: 6px;
  text-align: center;
}

.domain {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 0px;
  border-bottom: 1px solid rgb(62, 62, 62);
  border-top: 1px solid rgb(62, 62, 62);
}

.social {
  border-bottom: 1px solid rgb(62, 62, 62);
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 12px 0px;
}


/* Education */
#Education {
  color: white;
  font-family: "Roboto", sans-serif;
  width: 75%;
  margin: 60px auto;
  align-items: center;
  padding: 30px 0px;
  border-bottom: 1px solid rgb(62, 62, 62);
  position: relative;
}

#Education h2 {
  font-weight: 200;
  padding-left: 20px;
  padding-bottom: 30px;
}

#Education .icon {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  border: 5px solid rgb(255, 173, 21);
  position: absolute;
  top: 35px;
  left: -5px;
}

#edu {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
  width: 75%;
  border: 1px solid rgb(62, 62, 62);
}

.Course {
  display: flex;
  justify-content: space-between;
  padding: 20px 10px;
  border-bottom: 1px solid rgb(62, 62, 62);
}

.Course button {
  padding: 3px 20px;
  border-radius: 20px;
  color: rgb(255, 173, 21);
  box-shadow: inset 0px 0px 19px 0px rgb(125, 111, 84);
  border: none;
  transition: transform 0.3s ease-in;
}

.Course button:hover {
  transform: translateY(-3px);
  cursor: pointer;
}

.Course div p {
  padding-bottom: 6px;
  font-size: 22px;
}

.Course div span {
  font-size: 15px;
  font-weight: 200;
}

/* Education */
#Contact {
  color: white;
  font-family: "Roboto", sans-serif;
  width: 75%;
  margin: 60px auto;
  align-items: center;
  padding: 30px 0px;
  border-bottom: 1px solid rgb(62, 62, 62);
  position: relative;
}

#Contact h2 {
  font-weight: 200;
  padding-left: 20px;
  padding-bottom: 30px;
}

#Contact .icon {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  border: 5px solid rgb(255, 173, 21);
  position: absolute;
  top: 35px;
  left: -5px;
}

#detail {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
  width: 75%;
  border: 1px solid rgb(62, 62, 62);
}

.continfo {
  display: flex;
  justify-content: space-between;
  padding: 20px 25px;
  border-bottom: 1px solid rgb(62, 62, 62);
}

.continfo p a {
  text-decoration: none;
  color: white;
}

.continfo p {
  font-size: 20px;
}

.continfo span {
  font-size: 15px;
  font-weight: 200;
}

/* Technology Stack */
#Technology {
  color: white;
  font-family: "Roboto", sans-serif;
  width: 75%;
  margin: 60px auto;
  align-items: center;
  padding: 30px 0px;
  border-bottom: 1px solid rgb(62, 62, 62);
  position: relative;
}

#Technology h2 {
  font-weight: 200;
  padding-left: 20px;
  padding-bottom: 30px;
}

#Technology .icon {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  border: 5px solid rgb(255, 173, 21);
  position: absolute;
  top: 35px;
  left: -5px;
}

#stack {
  display: flex;
  gap: 60px;
  overflow-x: scroll;
  padding: 20px;
}

#stack::-webkit-scrollbar {
  display: none;
}

.tech {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.tech img {
  height: 120px;
  width: 120px;
  background-color: rgb(255, 173, 21);
  border-radius: 20px;
  transition: transform 0.4s ease-in;
}

.tech img:hover {
  transform: scale(1.2, 1.2);
}

.tech p {
  font-size: 18px;
  font-weight: 200;
}

/* Projects */
#Projects {
  color: white;
  font-family: "Roboto", sans-serif;
  width: 75%;
  margin: 60px auto;
  align-items: center;
  padding: 30px 0px;
  border-bottom: 1px solid rgb(62, 62, 62);
  position: relative;
}

#Projects h2 {
  font-weight: 200;
  padding-left: 20px;
  padding-bottom: 30px;
}

#Projects .icon {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  border: 5px solid rgb(255, 173, 21);
  position: absolute;
  top: 35px;
  left: -5px;
}

#prj {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
}

.prjdesc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.4s ease-in;
}

.prjdesc:hover {
  transform: translateY(-12px);
}

.prjdesc img {
  height: 250px;
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.prjdesc p {
  font-size: 22px;
}

.prjdesc span {
  font-size: 17px;
  font-weight: 200;
}

/* Footer */
#footer {
  display: flex;
  justify-content: space-between;
  width: 75%;
  margin: auto;
  color: rgb(102, 100, 100);
  font-family: "Roboto", sans-serif;
  padding-bottom: 50px;
}

.prof {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: white;
}

.prof img {
  height: 30px;
  width: 30px;
  border-radius: 50%;
}

.prof span {
  font-size: 20px;
}

.cpy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.cpy img {
  height: 30px;
  width: 30px;
  border-radius: 50%;
}

.cpy span {
  font-size: 20px;
}

.dates {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.dates img {
  height: 30px;
  width: 30px;
  border-radius: 50%;
}

.dates span {
  font-size: 20px;
}

@media screen and (max-width: 1024px) {
  /* navbar */
    .profile p {
    display: none;
  }

  /* Home */
  #Home {
    width: 95%;
    margin: auto;
  }

  /* About me */
  #About {
    width: 95%;
    margin: auto;
  }

  /* Education */
  #Education {
    width: 95%;
    margin: auto;
  }

  /* Contact */
  #Contact {
    width: 95%;
    margin: auto;
  }

  /* Technology */
  #Technology {
    width: 95%;
    margin: auto;
  }

  /* Projects */
  #Projects {
    width: 95%;
    margin: auto;
  }

  /* Footer */
  #footer {
    width: 95%;
    margin: auto;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 768px) {
  /* navbar */
  .navitems{
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width:100vw;
  }

  div nav{
    padding:12px 0px 0px 0px;
  }

  .navitems a{
    border-bottom:1px solid rgb(62, 62, 62);
    padding-bottom: 10px;
    width: 95vw;
    padding-left:0px;
  }

  .profile{
    display: none;
  }

  /* Home */
  #Home {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap:15px;
  }

  .cell3{
    align-items: center;
  }

  .cell2 img {
    height: 200px;
    width: 300px;
  }
 

  /* About me */
  .aboutme{
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     align-items: center;
  }

  .info{
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .info p {
    width:95%;
    margin:auto;
  }

  .image{
  height: 200px;
  width: 300px;
}


  /* Education */
  #edu{
   width: 95%;
  }

  #detail{
    width: 95%;
  }

  .Course{
    flex-direction: column;
    justify-content: flex-start;
    gap:10px;
  }

  .Course button{
    width:75%;
    padding:15px 0px;
  }

  /* Contact */
  .continfo{
    flex-direction: column;
  }

  /* Technology */
  #stack{
    gap:30px;
  }
  .tech img{
    height:90px;
    width: 90px;
  }

  .tech p {
    font-size: 15px;
    font-weight: 200;
   }

   /* Footer */
   .dates{
     align-items:center;
   }

   #footer{
     flex-direction: column;
     justify-content: center;
     gap:25px;
     padding-top:10px;
   }

}
