/* set up     */

body {
  width: 70%;
  margin: auto;
}
html {
  scroll-behavior: smooth;
}
header {
  text-align: left;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 1.5vw, 2rem);
}
* {
  padding: 0;
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(1rem, 1vw, 1.1rem);
}
* {
  /* outline: 1px solid black; */
}
/* nav */

.navbarbox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  /* border: 1px solid #000; */
}
.navbar {
  margin-top: 10px;
  display: flex;

  /* color:white; */

  gap: 40px;
  list-style-type: none;
}
.navbar a {
  text-decoration: none;
  color: black;
  /* background: #000; */
  display: inline-block;
}
.navbar a:hover {
  cursor: pointer;
}
.myname {
  color: black;
  /* text-align: left; */
}

.navicon {
  display: none;
  width: 8%;
}

.navbarflex {
  /* border: 1px solid #000; */
  flex-direction: column;
  /* align-items: flex-start; */
  gap: 20px;
  position: absolute;
  right: 0;
  top: 65px;
}
.navbarflex a {
  display: inline block;
  padding: 10px;
}
/* layout */
section {
  margin-top: 30px;
  /* border: 1px solid #000; */
  /* height: 30vw; */
}
/* aboutme */

#about_me {
  /* margin-top: 160px; */
}
.mecontents {
  display: flex;
  /* flex-wrap: wrap; */
  gap: 30px;
}
.introducesocial {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social {
  display: flex;
  gap: 10px;
}
.image {
  display: flex;
  justify-content: center;
  flex: 0 0 15%;
}
.ava {
  border-radius: 50%;
  width: 100%;
}
.icon {
  width: 36px;
  height: 24px;
  cursor: pointer;
  fill: grey;
}
.icon:hover {
  fill: rgb(19, 18, 18);
}
/* background */
.bg-contents {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  /* flex-wrap: wrap; */
  height: auto;
}

.schooling,
.tech,
.cert,
.certs {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  /* border: 1px solid #000; */
}
.certwrap,
.techwrap {
  display: flex;
  /* width: 100vw; */
  height: calc(100% - 40px);
  align-items: center;
  /* border: 1px solid #000; */
  /* border: 1px solid #000; */
}
.schooling {
  width: 20%;
}
.tech,
.certs {
  /* width: 40%; */
  width: calc((80% - 20px) / 2);
}
.schoolimg {
  width: 20%;
}
.name,
.time {
  margin-top: 5px;
  font-size: clamp(0.875rem, 1vw, 0.9rem);
}
.techlogo {
  /* margin-top: 10px; */
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.tech img {
  width: 10%;
}
.certdis {
  display: flex;
  gap: 10px;
  /* margin-top: 10px; */
}
/* companies */
.workexp {
  display: flex;
  flex-wrap: wrap;
  /* gap: 20px; */
}
.companies {
  display: flex;
  /* width: 15%; */
  flex: 0 0 15%;
  flex-direction: column;
}
.companycontent {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* width: calc(85% - 20px); */
}
.companies li,
.work li {
  list-style-type: none;
}
.companies li {
  padding: 15px;
  color: rgb(75, 74, 74);
}

.companies li:hover {
  cursor: pointer;
  color: black;
}
.companycontent span {
  padding: 10px 0;
}
.work {
}

.work li {
  padding: 10px 0;
  margin-left: 12px;
  list-style-type: disc;
}
/* projects */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.project-card:hover img {
  filter: brightness(70%);
}
.project-card:hover .spanclass {
  display: block;
}
.project-card {
  position: relative;

  width: 200px;
}
.cardimg {
  transition: filter 0.3s;
  width: 100%;
  height: 100%;
}
.spanclass {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 150px;
  text-align: center;

  color: white;
  font-weight: 700;

  display: none;
}
/* footer */
.links {
  display: flex;
  gap: 20px;
}
.links span a {
  color: rgb(75, 74, 74);
  text-decoration: none;
}
.links span a:hover {
  color: black;
}
footer {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 0;
  justify-content: space-between;
}

/* responsive */
@media (max-width: 750px) {
  .navbar {
    /* display: none; */
    gap: 5px;
  }
  .cards {
    align-items: center;
    justify-content: center;
  }
  .navicon {
    display: block;
  }
  body {
    width: 90%;
  }

  .bg-contents {
    flex-direction: column;
    align-items: center;
  }
  .mecontents {
    flex-direction: column;
  }
  .companies {
    /* flex: none; */
    flex-direction: row;
    width: 100%;
  }
  .companycontent {
    margin-top: 0;
    margin-left: 15px;
  }
  .schooling,
  .tech,
  .certs {
    width: 100%;
  }
  footer {
    gap: 10px;
  }
  .image {
    flex: none;
    width: 40%;
    margin: auto;
  }
  .image {
    order: 1;
  }
  .introducesocial {
    order: 2;
  }
}
@media (max-width: 365px) {
}
@media (min-width: 750px) {
}
