@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&display=swap");


* {
  /* border: 1px red solid; */
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 2px;

}

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #282828;

}

section {
  /* width: 1440px; */
  justify-content: center;
  align-content: center;
  margin: auto;
}

.header {
  width: 20%;
  display: flex;
  flex-direction: column;
  /* margin-top: 3rem; */
}

img {
  width: 60%;
  margin: 2rem auto;
  animation: updown 3s linear infinite;
}

.contact {
  background-color: rgba(33, 33, 33, 0.6);
  width: 400px;
  display: flex;
  flex-direction: column;
  margin: 3rem auto;
  padding: 20px;
  gap: 2rem;
  align-items: center;
  border-radius: 1rem;
}


.contact div p {
  font-size: 1rem;
  line-height: 1px;
}


.contact_item {
  width: 260px;
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: center;
}

.contact_icon i {
  font-size: 1rem;
  color: antiquewhite;
  margin-right: 20px;
  justify-content: center;
  align-content: center;
  background-color: #373737;
  padding: 16px;
  border-radius: 99px;
}

.name {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto;
}

.jobtitle {
  font-size: 1rem;
  margin: 0 auto 2rem auto;
}

.btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  width: 400px;
}


.current {
  border: 1px solid rgba(33, 33, 33, 1);
  width: 400px;
  padding: 20px;
  border-radius: 1rem;
}

.solo-project {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
}

.current p {
  font-size: 1rem;
}

.solo-project span {
  color: antiquewhite;
  font-size: 1rem;
}

.solo-project-link a {
  color: #f37e7e;
  font-size: 1.2rem;
}


.solo-project button {
  position: relative;
  background-color: #373737;
  padding: 0.8rem 1.3rem;
  margin: 0 0 0 0.8em;
  border-radius: 999px;
  width: auto;
}

.solo-project button::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: greenyellow;
}

.icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 auto 4em auto;
  gap: 1rem;
  width: 80%;
}

/* under the emoji */
.icon i {
  font-size: 2.2rem;

  color: antiquewhite;
}

button {
  font-family: "M PLUS Rounded 1c", sans-serif;
  width: 100%;
  font-size: 1rem;
  font-weight: 500;
  line-height: 0.6;
  margin: 0.6rem;
  padding: 0.8rem 0rem;
  border-radius: 99rem;
  background-color: #373737;
  border: 0px;
}

.btn_addcontact {
  color: #f37e7e;
}

.btn_addcontact i {
  font-size: 1.2rem;
  margin-right: 0.6rem;
}

button a {
  color: #f37e7e;
  text-decoration: none;
}

i {
  font-size: 1.3rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}


p {
  color: antiquewhite;
  font-size: 1.2rem;
  margin: 1rem auto;
}


footer {
  font-size: 0.8rem;
  margin: 4rem auto 2rem auto;
  color: antiquewhite;
}

small {
  margin: 2rem auto 3rem auto;
  color: antiquewhite;
}


/*** Mobile styles here ***/
@media (max-width: 767px) {

  .header {
    width: 60%;
    margin-top: 3rem;
  }

  .btn-wrapper {
    width: 80%;
  }

  .contact {
    width: 80%;
  }

  .current {
    width: 80%;
  }
}

/* Tablet styles here */
@media (min-width: 768px) and (max-width: 1023px) {
  .btn-wrapper {
    width: 70%;
  }

  .header {
    width: 30%;
    margin-top: 3rem;
  }

  button {
    width: 50%;
  }

  .contact {
    width: 30%;
  }

  .current {
    width: 30%;
  }
}




@keyframes updown {
  0% {
    transform: translateY(-20px);
  }

  50% {
    transform: translateY(20px);
  }

  100% {
    transform: translateY(-20px);
  }
}