html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  position: relative;
  color: #fff;
  max-width: 1440px;
  overflow-x: hidden;
  margin: 0 auto;
}

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

@media screen and (max-width: 575px) {
  .top-btn {
    font-size: 1rem;
    background-color: rgb(189, 18, 32, 0.5);
    color: #f1f1ef;
    font-weight: 700;
    z-index: 100;
    bottom: 3px;
    right: 10px;
    box-shadow: 4px 4px 5px #333;
    position: fixed;
    transition: all 0.6s;
  }

  .hdr-margin {
    margin-top: -50px;
    margin-left: 0;
  }

  .my-btn {
    margin-bottom: 12px;
  }

  .social-icons {
    justify-content: center;
  }

  .card-1,
  .card-2,
  .card-3,
  .card-4 {
    height: 300px;
  }

  .vect7 {
    display: none;
  }

  .vect8 {
    top: 790px;
    left: 0;
    width: 100px;
    transform: rotateY(180deg);
  }

  .vect9 {
    display: none;
  }

  .vect5 {
    bottom: 0;
    right: 0;
    width: 100px;
  }

  .my-avatar {
    position: absolute;
    top: 55px;
    right: 16px;
  }

  .vect2 {
    top: 790px;
    right: 0;
    width: 100px;
  }

  .my-text-white {
    color: #bd1220;
  }

  .greeting {
    text-align: center;
  }

  .vect3 {
    display: none;
  }

  .p-bottom-50px {
    padding-bottom: 20px;
  }

  .text {
    margin-bottom: 0;
  }

  .txt-space {
    font-family: "Alegreya", serif;
    padding-left: 0;
    text-align: center;
  }

  .vect6 {
    display: none;
  }

  .vect4 {
    display: none;
  }

  .social {
    padding-left: 0;
  }

  .text-social {
    text-align: center;
  }

  .about-me-text {
    margin: 15px;
  }
}

@media screen and (min-width: 575px) {
  .text-social {
    text-align: left;
  }

  .top-btn {
    font-size: 1rem;
    background-color: rgb(189, 18, 32, 0.5);
    color: #f1f1ef;
    font-weight: 700;
    z-index: 100;
    bottom: 10px;
    right: 30px;
    box-shadow: 4px 4px 5px #333;
    position: fixed;
    transition: all 0.6s;
  }

  .my-avatar {
    display: none;
  }

  .card-1,
  .card-2,
  .card-3,
  .card-4 {
    height: 500px;
  }

  .my-text-white {
    color: #fff;
  }

  .vect3 {
    bottom: 1000px;
    right: 0;
    width: 100px;
    transform: rotate(-45deg);
  }

  .vect1 {
    bottom: 180px;
    left: 450px;
    width: 100px;
  }

  .vect8 {
    top: 490px;
    left: 0;
    width: 150px;
    transform: rotateY(180deg);
  }

  .vect2 {
    top: 490px;
    right: 0;
    width: 150px;
  }

  .vect5 {
    bottom: 0;
    right: 0;
    width: 150px;
  }

  .vect6 {
    bottom: 0;
    left: 0;
    width: 150px;
  }

  .social {
    padding-left: 30px;
  }

  .vect9 {
    bottom: 1000px;
    left: 0;
    width: 100px;
    transform: rotate(-15deg);
  }

  .text {
    margin-bottom: 4rem;
  }

  .txt-space {
    padding-left: 50px;
  }

  .hdr-margin {
    margin-left: -120px;
  }

  .p-bottom-50px {
    padding-bottom: 50px;
  }
}

@media screen and (max-width: 767px) and (min-width: 575px) {
  .vect7 {
    width: 80px;
    top: 80px;
    right: 50px;
    transform: rotateY(180deg);
  }

  .tab-padding {
    padding: 0 50px;
  }
}

@media screen and (max-width: 768px) {
  .vect4 {
    display: none;
  }

  .vect7 {
    display: none;
  }

  .vect1 {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .vect7 {
    left: 10px;
    width: 100px;
    top: 10px;
  }

  .vect4 {
    top: 40px;
    right: 10px;
    width: 120px;
  }
}

a {
  color: #bd1220;
}

.equal-height-cols {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
}

.eq-col-content {
  height: 100%;
}

.btn-show {
  display: block;
}

.btn-hide {
  display: none;
}

.p-top-50px {
  padding-top: 50px;
}

.social-item {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  line-height: 30px;
  text-align: center;
  background-color: rgb(189, 18, 32);
}

.fa-facebook-f {
  color: #3b5998;
}

.text-black {
  color: #000;
}

.tab-padding {
  padding: 0;
}

.fab {
  color: #34421e;
}

.fab:hover {
  color: #fff;
}

.bg-fb:hover {
  background-color: #3b5998;
}

.bg-twitter:hover {
  background-color: #00acee;
}

.fs-medium {
  font-size: 1.5rem;
}

.bg-instagram:hover {
  background-image:
    linear-gradient(
      180deg,
      #8a3ab9,
      #e95950,
      #bc2a8d,
      #fccc63,
      #fbad50,
      #cd486b
    );
}

.card {
  margin-bottom: 16px;
  transition: all 0.5s ease-in-out;
}

.card:hover {
  box-shadow: 0 10px 30px -10px rgba(189, 18, 32, 0.4);
}

.bg-linkedin:hover {
  background-color: #0e76a8;
}

.my-text {
  color: #bd1220;
}

.my-text1 {
  color: #000;
  font-weight: 700;
  transition: color 0.2s linear;
}

.credit {
  color: #bd1220;
  font-weight: 700;
  border-bottom: 1px solid #000;
  width: max-content;
  margin: 0 auto 20px;
}

.credit::after {
  content: "";
  display: block;
  width: max-content;
  border-bottom: 1px solid #000;
}

.card-body {
  color: #333;
}

.p-bottom-30px {
  padding-bottom: 30px;
}

.p-bottom-10px {
  padding-bottom: 10px;
}

.my-text2 {
  color: #f1f1f1;
}

.my-border {
  border-top: 4px solid #bd1220;
  border-radius: 15px;
}

.my-text1:hover {
  color: #bd1220;
}

.intro-text {
  z-index: 2;
}

.top-btn:hover {
  background-color: #f1f1ef;
  color: #bd1220;
}

.top-btn:active {
  box-shadow: none;
  transform: translateY(10px);
}

.split {
  background-image: linear-gradient(90deg, #000, #bd1220);
}

.my-box-shadow {
  box-shadow: #bd1220 0 0.5rem 1rem;
}

.my-btn {
  background-color: #bd1220;
  color: #f1f1ef;
  font-weight: 700;
  transition: all 0.5s ease-in-out;
}

.my-btn-outline {
  color: #bd1220;
  font-weight: 700;
  border: 1px solid #bd1220;
  background-color: #f1f1ef;
  transition: all 0.5s ease-in-out;
}

.my-btn:hover {
  color: #bd1220;
  font-weight: 700;
  background-color: #f1f1ef;
  border: 1px solid #bd1220;
}

.my-btn-outline:hover {
  background-color: #bd1220;
  color: #f1f1f1;
}

#flick {
  animation: flicker 2s infinite;
  transition: animation 0.6s ease-in-out;
}

@keyframes flicker {
  0% {
    color: #fff;
  }

  100% {
    color: #bd1220;
  }
}

.title {
  color: #bd1220;
  font-weight: 700;
  position: relative;
  width: max-content;
  margin: 30px auto 20px;
}

.greeting,
.title {
  font-family: "Noto Sans JP", sans-serif;
}

.my-absolute {
  position: absolute;
}

.vect6 {
  bottom: 0;
  left: 0;
  width: 150px;
}

.vect9 {
  bottom: 1000px;
  left: 0;
  width: 100px;
  transform: rotate(-15deg);
}

.title1 {
  color: #34421e;
  font-weight: 700;
  position: relative;
  width: max-content;
  margin: 0 auto 20px;
}

.title::after,
.title1::after {
  animation: load 5s infinite;
  display: inline-block;
  background-color: #bd1220;
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 1s ease-out, width 1s ease-out;
}

.title::before {
  float: right;
  margin-left: 8px;
  margin-top: 8px;
  display: flex;
  content: "";
  align-items: center;
  animation: flip;
  transition: width 0.4s ease-out, height 0.4s ease-out;
}

.navbar-light .navbar-toggler {
  color: rgba(0, 0, 0, 0.5);
  border-color: rgba(189, 18, 32, 0.1);
}

.hero-left {
  background-color: #bd1220;
  border-bottom-right-radius: 200px;
}

@keyframes load {
  0% {
    width: 0;
    opacity: 0;
  }

  100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes flip {
  0% {
    width: 0;
    height: 0;
  }

  100% {
    width: 22px;
    height: 22px;
    content: "*";
  }
}

.row {
  margin-right: 0;
  margin-left: 0;
}

.tag {
  display: inline-block;
  padding: 3px 6px;
  background-color: transparent;
  border: 1px solid;
  border-radius: 15px;
  margin: 0 2px 8px;
}

nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: 50% 50%;
  width: 100%;
  height: 1px;
  background-color: rgba(14, 12, 12, 0.8);
  transition: transform 250ms;
}

nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.flip-card {
  height: 200px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 1s;
  transform-style: preserve-3d;
}

.intro {
  position: relative;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.card-1 {
  background-image: url(/assets/images/remote-job-board.png);
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
}

.deco-line {
  display: inline-block;
  width: 25px;
  height: 5px;
  background-color: #bd1220;
  margin: 0 12px;
}

.card-2 {
  background-image: url(/assets/images/vnbot.png);
  background-position: 100% 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
}

.card-3 {
  background-image: url(/assets/images/nwclone.png);
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
}

.card-4 {
  background-image: url(/assets/images/hh.png);
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
}

.my-avatar {
  width: 150px;
  border-radius: 100%;
}

.my-nav {
  display: flex;
  flex-direction: column;
}

.flip-card-back,
.flip-card-front {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.seasons-img {
  background-image:
    linear-gradient(
      45deg,
      rgba(189, 18, 32, 0.2) 100%,
      transparent
    ),
    url(/assets/images/nodejs-react.jfif);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.bot-img {
  background-image:
    linear-gradient(45deg, #bd122033 100%, transparent),
    url(/assets/images/bot.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
}

.bootstrap-img {
  background-image:
    linear-gradient(
      45deg,
      rgba(189, 18, 32, 0.2) 100%,
      transparent
    ),
    url(/assets/images/html1.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.fas {
  margin-bottom: 8px;
}

.my-font-size {
  font-size: 1.2rem;
}

.p-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hardware-hub-img {
  background-image: url(/assets/images/html2.png);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

.flip-card-back {
  background-color: #bd1220;
  transform: rotateY(180deg);
}

.project-tag {
  border: 1px solid #bd1220;
  padding: 3px 9px;
  border-radius: 20px;
  background-color: #bd122033;
  color: #bd1220;
  margin: 0 2px 8px;
}

.sub-title {
  font-size: 1.1rem;
}

.p-top-10px {
  padding-top: 10px;
}

.msg {
  padding-top: 18%;
}

.equal-height {
  height: 350px;
}

footer {
  position: relative;
  bottom: -50px;
}
