* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  font-family: montserrat, Arial, Helvetica, sans-serif;
  background: #0a192f;
  color: #fff;
}
img {
  width: 100%;
}
header {
  padding: 18px;
}
#lists {
  list-style: none;
  display: flex;
  justify-content: right;
  gap: 10px;
}
#lists li a {
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
  color: #fff;
}
#lists li a:hover {
  background: #fff;
  color: #000;
  cursor: pointer;
  border-radius: 12px;
  padding: 0 10px;
}
/* hero */

.pro-wrapper,
#hero,
.certification {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}
.heros {
  text-align: justify;
  padding: 10px;
}
.heros img,.contacts img{
  width: 200px;
  width: 100%;
  height: 150px;
  border: 3px solid lightblue;
  border-radius: 10px;
  object-fit: contain;
}
#hero fieldset {
  width: 98%;
  margin: 0 auto;
  text-align: center;
  padding: 15px;
}

fieldset h1,
.skills h3 {
  font-size: 2.5rem;
}
fieldset h2,
.skills h3,
.pro h2,
.certs h2,
.box h3 {
  padding: 5px 0;
  font-size: 1.5rem;
  color: #61dafb;
}
.skill p,
.pro p,
fieldset p,
.certs p {
  padding: 5px;
  margin: 15px auto;
  font-size: 1.2rem;
  line-height: 1.6;
}
fieldset .buttons {
  margin: 10px 0;
}
fieldset .buttons a {
  text-decoration: none;
  color: white;
}
fieldset .buttons a:hover,
.box button:hover,
.contacts button:hover {
  transition: all 1s ease-in;
  background: #000;
  cursor: pointer;
  color: #fff;
}

.tools {
  border: 1px solid lightblue;
  text-align: center;
  padding: 12px;
  width: 60%;
  margin: 0 auto;
}
/* projects */
.pro {
  padding: 15px 10px;
  margin: 0 0 7px;
  text-align: center;
}
.box p {
  padding: 5px 0 5px;
  margin: 15px auto;
  font-size: 1.2rem;
}
.box {
  border: 1px solid lightblue;
  text-align: justify;
  width: 32.5%;
  margin: 7px 0 5px;
  padding: 10px;
}
.box img {
  width: 250px;
  width: 100%;
  height: 250px;
  object-fit: contain;
  padding: 12px;
}
.box .links {
  padding: 8px 0;
  text-align: center;
}
.box .links a {
  text-decoration: none;
}
button {
  color: #fff;
  letter-spacing: 15px;
  font-weight: bold;
  background: #ff6600;
  padding: 15px 0;
  border-radius: 12px;
  width: 60%;
  border: none;
  outline: none;
}

.more-pro {
  display: none;
  /* display: flex; */
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.certs {
  text-align: center;
  padding: 20px;
}
.contacts {
  text-align: center;
  padding: 8px 0;
  margin: 10px auto;
  width: 60%;
}
#feecatch .message {
  border: 1px solid lightblue;
  width: 50%;
  margin: 12px auto;
}
.message .links {
  text-align: center;
  padding: 8px 0;
  margin-top: 10px;
}
.message .links a {
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  color: #291a1a;
}
.message .links h3,.message .links p{
padding: 5px 0;
}

.contacts form {
  text-align: center;
  padding: 12px 0;
  width: 70%;
  margin: 12px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contacts button {
  color: #fff;
  letter-spacing: 10px;
  font-weight: bold;
  background: #ff6600;
  padding: 15px 0;
  border-radius: 12px;
  width: 60%;
  border: none;
  outline: none;
}

.icon {
  font-size: 48px;
  margin: 25px;
  color: #fff;
}
.contacts input,
.contacts textarea {
  border: none;
  outline: none;
  padding: 10px;
  font-size: 1.2rem;
  border-radius: 10px;
}
footer {
  padding: 15px;
  text-align: center;
}
footer .links {
  padding: 7px;
}
@media (max-width: 840px) {
  .tools {
    width: 80%;
  }
  .contacts {
    width: 90%;
  }
  #feecatch .message {
    width: 80%;
  }
  .message .links .linkicons .icon {
    font-size: 30px;
  }
}
@media (min-width: 540px) and (max-width: 768px) {
  .box {
    width: 48%;
  }
  .tools {
    width: 85%;
  }
  .tools .icon {
    margin: 20px;
  }
}
@media (max-width: 540px) {
  .box {
    width: 90%;
  }
  .message .links .linkicons .icon {
    margin: 10px;
  }
  .tools .icon {
    margin: 15px;
  }
  #lists {
    gap: 10px;
  }
  .message .links .linkicons .icon {
    font-size: 20px;
  }
  #lists li a {
    font-size: 1rem;
  }
  .tools {
    width: 96%;
  }
}
