@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,600;1,700;1,800;1,900&family=Palanquin+Dark:wght@400;500;600;700&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat Alternates", sans-serif;
  font-family: "Palanquin Dark", sans-serif;
}

.backg {
  background: linear-gradient(-110deg, #111111 70%, #ffb400 70%);
  max-width: 100%;
  height: 100vh;
  position: relative;
}

.backg .container {
  padding: 15px;
  position: relative;
}

.backg .container .image {
  position: absolute;
  background-image: url(../img/bhuban.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  top: 40px;
  left: 40px;
  width: 30vw;
  height: calc(100vh - 80px);
  border-radius: 40px;
  box-shadow: 0 3px 9px #020202;
}

.backg .container .middle {
  color: #ffb400;
  position: absolute;
  top: 50%;
  right: 40%;
  transform: translate(50%, 50%);
}

.backg .container .middle h1 {
  color: #ffb400;
  font-size: 60px;
  line-height: 70px;
}

.backg .container .middle h1 span {
  font-weight: lighter;
  display: inline;
  color: #ffb400;
}

.backg .container .middle p {
  font-size: 60px;
  font-weight: bold;
  margin-left: 30px;
  display: block;
  text-align: left;
  color: #ffffff;
}

.backg .container .middle h6 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 300;
}

.backg .container .middle button {
  margin-top: 25px;
  padding-left: 15px;
  border: 2px solid #ffb400;
  border-radius: 30px;
  background: #111111;
}

.backg .container .middle button span {
  text-transform: uppercase;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  padding: 0 15px;
  font-size: 16px;
}

.backg .container .middle button i {
  border-radius: 50%;
  background: #ffb400;
  height: 100%;
  font-size: 20px;
  padding: 15px;
  color: #ffffff;
}

.backg .container .middle button:hover {
  transition: 3s;
  background: linear-gradient(to left, #ffb400 50%, #ffb400 50%);
}

.backg .container .menu {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translate(50%, -50%);
}

.backg .container .menu ul {
  padding: 0;
  margin: 0;
  width: 300px;
}

.backg .container .menu ul li {
  list-style: none;
  line-height: 55px;
}

.backg .container .menu ul li a {
  text-decoration: none;
  line-height: 50px;
  padding: 0;
  line-height: 50px;
  margin: 20px 0;
  width: 100%;
  height: 55px;
  display: block;
}

.backg .container .menu ul li a span {
  color: #ffffff;
  padding-left: 15px;
  display: none;
}

.backg .container .menu ul li a .fas {
  width: 55px;
  height: 55px;
  margin: 0;
  font-size: 30px;
  line-height: 30px;
  color: #ffffff;
  background-color: #ffb400;
  padding: 10px;
  border-radius: 50%;
  text-align: center;
}

.backg .container .menu ul li a:hover {
  background: #ffb400;
  border-radius: 0 0 50% 30px;
  width: 100%;
}

.backg .container .menu ul li a:hover span {
  display: inline-block;
}

.about {
  background: #111111;
  height: 100%;
  width: 100%;
}

.about .resume {
  position: relative;
  text-align: center;
}

.about .resume p {
  font-size: 90px;
  color: #ffffff;
  opacity: 0.3;
  font-weight: bold;
  text-transform: uppercase;
}

.about .resume h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  opacity: 1;
}

.about .resume h1 span {
  color: #ffb400;
}

.about .col-lg-6,
.about .col-md-12 {
  padding: 0;
  margin: 0;
}

.about .col-lg-6 .row,
.about .col-md-12 .row {
  padding: 0;
  margin: 0;
}

.about .col-lg-6 .row ul li,
.about .col-md-12 .row ul li {
  list-style: none;
  padding: 10px;
  color: #ffffff;
}

.about .col-lg-6 .row ul li span,
.about .col-md-12 .row ul li span {
  color: #ffb400;
}

.about .col-lg-6 .row .box {
  margin: 10px 0;
  color: #ffffff;
  text-align: center;
  border-radius: 10px;
  position: relative;
}

.about .col-lg-6 .row .box h3 {
  font-size: 50px;
  color: #ffb400;
}

.about .col-lg-6 .row .box span {
  border: 0 20px solid #ffffff;
  height: 2px;
  padding-right: 10px;
}

.about .col-lg-6 .row .box::before {
  content: "";
  position: absolute;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  left: 18%;
  bottom: 0;
  border-radius: 10px;
  height: 100%;
  width: 20px;
}

.about .col-lg-6 .row .box::after {
  content: "";
  position: absolute;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  right: 15%;
  border-radius: 10px;
  bottom: 0;
  width: 20px;
  height: 100%;
}

.about .skill span {
  color: #ffb400;
}

.about .skill .row {
  padding: 15px;
}

.about .skill .row .circle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about .skill .row .circle h4 {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  position: relative;
}

.about .skill .row .circle h4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border: 3px solid #ffffff;
  border-top-color: #ffb400;
  transform: rotate(45deg);
  width: 100px;
  height: 100px;
  border-radius: 0 0 50% 0;
}

.about .skill .row .circle p {
  text-align: center;
  width: 100px;
  color: #ffb400;
}

.about .menu {
  position: fixed;
  top: 50%;
  right: 25px;
  transform: translate(50%, -50%);
}

.about .menu ul {
  padding: 0;
  margin: 0;
  width: 200px;
}

.about .menu ul li {
  list-style: none;
  line-height: 55px;
}

.about .menu ul li a {
  text-decoration: none;
  line-height: 50px;
  padding: 0;
  line-height: 50px;
  margin: 20px 0;
  width: 55px;
  height: 55px;
  display: inline-block;
}

.about .menu ul li a span {
  color: #ffffff;
  text-align: left;
  display: none;
}

.about .menu ul li a .fas {
  width: 55px;
  height: 55px;
  margin: 0;
  font-size: 30px;
  line-height: 30px;
  color: #ffffff;
  background-color: #ffb400;
  padding: 10px;
  border-radius: 50%;
  text-align: center;
}

.about .menu ul li a:hover {
  background: #ffb400;
  border-radius: 0 0 50% 30px;
  width: 100%;
}

.about .menu ul li a:hover span {
  display: inline-block;
}

.portfolio {
  background: #111111;
  height: calc(100vh + 100px);
}

.portfolio .work {
  position: relative;
  text-align: center;
}

.portfolio .work p {
  font-size: 90px;
  color: #ffffff;
  opacity: 0.3;
  font-weight: bold;
  text-transform: uppercase;
}

.portfolio .work h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  opacity: 1;
}

.portfolio .work h1 span {
  color: #ffb400;
}

.portfolio .tablist #myTab .nav-item {
  margin: 0 5px;
}

.portfolio .tablist #myTab .nav-item .nav-link {
  color: #ffffff;
}

.portfolio .tablist #myTab .nav-item .nav-link:hover {
  border: 1px solid #ffb400;
}

.portfolio .tablist #myTab .nav-item .active {
  color: #ffb400 !important;
}

.portfolio .tablist .tab-content .tab-pane .box {
  border-radius: 15px;
  transition: all 0.9s;
  width: 100%;
  position: relative;
}

.portfolio .tablist .tab-content .tab-pane .box img {
  border-radius: 15px;
}

.portfolio .tablist .tab-content .tab-pane .box:hover {
  transition: all 0.9s;
}

.portfolio .tablist .tab-content .tab-pane .box:hover::before {
  content: "Website Project";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 24px);
  text-align: center;
  color: #ffffff;
  background: #ffb400;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 12px;
  border-radius: 15px;
  animation: opaa 2s linear;
}

@keyframes opaa {
  0% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

.portfolio .menu {
  position: fixed;
  top: 50%;
  right: 25px;
  transform: translate(50%, -50%);
}

.portfolio .menu ul {
  padding: 0;
  margin: 0;
  width: 200px;
}

.portfolio .menu ul li {
  list-style: none;
  line-height: 55px;
}

.portfolio .menu ul li a {
  text-decoration: none;
  line-height: 50px;
  padding: 0;
  line-height: 50px;
  margin: 20px 0;
  width: 55px;
  height: 55px;
  display: inline-block;
}

.portfolio .menu ul li a span {
  color: #ffffff;
  text-align: left;
  display: none;
}

.portfolio .menu ul li a .fas {
  width: 55px;
  height: 55px;
  margin: 0;
  font-size: 30px;
  line-height: 30px;
  color: #ffffff;
  background-color: #ffb400;
  padding: 10px;
  border-radius: 50%;
  text-align: center;
}

.portfolio .menu ul li a:hover {
  background: #ffb400;
  border-radius: 0 0 50% 30px;
  width: 100%;
}

.portfolio .menu ul li a:hover span {
  display: inline-block;
}

.contact {
  background: #111111;
  height: 100vh;
}

.contact .touchh span {
  color: #ffb400;
}

.contact .address i {
  color: #ffb400;
}

.contact .social ul {
  padding: 0;
  margin: 0;
}

.contact .social ul li {
  list-style: none;
}

.contact .social ul li a {
  text-decoration: none;
  color: white;
  padding: 10px;
  border: 1px solid #ffb400;
  align-items: center;
  justify-content: center;
  display: flex;
  border-radius: 50%;
  margin: 0 5px;
}

.contact .social ul li a i {
  font-size: 35px;
  color: #ffffff;
}

.contact .social ul li a:hover {
  background: #ffb400;
}

.contact p {
  font-size: 16px;
  font-weight: normal;
}

.contact form input,
.contact form textarea {
  padding: 10px;
  border-radius: 20px;
  margin: 5px 10px;
  background: #111111;
  outline-color: #ffb400;
  border: 1px solid rgba(204, 204, 204, 0.616);
}

.contact form input:nth-child(1),
.contact form textarea:nth-child(1) {
  width: 45%;
}

.contact form input:nth-child(2),
.contact form textarea:nth-child(2) {
  width: 45%;
}

.contact form input:nth-child(3),
.contact form textarea:nth-child(3) {
  width: calc(90% + 25px);
}

.contact form textarea {
  width: calc(90% + 25px);
  color: #ffffff;
}

.contact form button {
  margin-top: 25px;
  padding-left: 15px;
  border: 2px solid #ffb400;
  border-radius: 30px;
  background: #111111;
}

.contact form button span {
  text-transform: uppercase;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  padding: 0 15px;
  font-size: 16px;
}

.contact form button i {
  border-radius: 50%;
  background: #ffb400;
  height: 100%;
  font-size: 20px;
  padding: 15px;
  color: #ffffff !important;
}

.contact form button:hover {
  background: linear-gradient(to left, #ffb400 50%, #ffb400 50%);
}

.contact .menu {
  position: fixed;
  top: 50%;
  right: 25px;
  transform: translate(50%, -50%);
}

.contact .menu ul {
  padding: 0;
  margin: 0;
  width: 200px;
}

.contact .menu ul li {
  list-style: none;
  line-height: 55px;
}

.contact .menu ul li a {
  text-decoration: none;
  line-height: 50px;
  padding: 0;
  line-height: 50px;
  margin: 20px 0;
  width: 55px;
  height: 55px;
  display: inline-block;
}

.contact .menu ul li a span {
  color: #ffffff;
  text-align: left;
  display: none;
}

.contact .menu ul li a .fas {
  width: 55px;
  height: 55px;
  margin: 0;
  font-size: 30px;
  line-height: 30px;
  color: #ffffff;
  background-color: #ffb400;
  padding: 10px;
  border-radius: 50%;
  text-align: center;
}

.contact .menu ul li a:hover {
  background: #ffb400;
  border-radius: 0 0 50% 30px;
  width: 100%;
}

.contact .menu ul li a:hover span {
  display: inline-block;
}

@media screen and (max-width: 570px) {
  .backg .container {
    width: 100%;
    padding: 0px;
    position: relative;
  }
  .backg .container .image {
    position: absolute;
    background-image: url(../img/bhuban.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    top: 40px;
    left: 50%;
    transform: translate(-50%);
    width: 40vw;
    height: 20vh;
    border-radius: 50%;
    box-shadow: 0 3px 9px #020202;
  }
  .backg .container .middle {
    color: #ffb400;
    position: absolute;
    width: 100%;
    top: 40%;
    right: 40%;
    transform: translate(40%, 70%);
  }
  .backg .container .middle h1 {
    color: #ffb400;
    left: 0;
    width: 100%;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
  }
  .backg .container .middle h1 span {
    font-weight: lighter;
    display: inline-block;
    color: #ffb400;
  }
  .backg .container .middle p {
    font-size: 25px;
    font-weight: bold;
    margin-left: 5px;
    color: #ffffff;
    text-align: center;
  }
  .backg .container .middle h6 {
    color: #ffffff;
    width: 100%;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    padding: 15px;
  }
  .backg .container .middle h6 br {
    display: inline-block;
  }
  .backg .container .middle button {
    margin-top: 15px;
    padding-left: 15px;
    border: 2px solid #ffb400;
    border-radius: 30px;
    background: #111111;
    transition: 0.9s;
    text-align: center;
    position: absolute;
    left: 20%;
  }
  .backg .container .middle button span {
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    padding: 0 15px;
    font-size: 16px;
  }
  .backg .container .middle button i {
    border-radius: 50%;
    background: #ffb400;
    height: 100%;
    font-size: 20px;
    padding: 15px;
    color: #ffffff;
  }
  .backg .container .middle button:hover {
    transition: 3s;
    background: linear-gradient(to left, #ffb400 50%, #ffb400 50%);
  }
  .backg .container .menu {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translate(-50%, 75%);
    width: 100%;
  }
  .backg .container .menu ul {
    width: 100%;
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
  }
  .backg .container .menu ul li a span {
    display: none;
  }
  .backg .container .menu ul li a .fas {
    border: 1px solid #ffffff;
  }
  .backg .container .menu ul li a:hover {
    background: transparent;
  }
  .backg .container .menu ul li a:hover span {
    display: none;
  }
  .about .col-md-12 {
    text-align: center;
  }
  .about .col-md-12 h2 {
    text-align: center !important;
    width: 100%;
  }
  .contact,
  .about,
  .portfolio {
    height: 100%;
    padding-bottom: 100px;
  }
  .contact .social h4,
  .about .social h4,
  .portfolio .social h4 {
    padding: 15px 0;
    font-size: 22px;
  }
  .contact .menu,
  .about .menu,
  .portfolio .menu {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translate(-50%, 75%);
    width: 100%;
  }
  .contact .menu ul,
  .about .menu ul,
  .portfolio .menu ul {
    width: 100%;
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
  }
  .contact .menu ul li a span,
  .about .menu ul li a span,
  .portfolio .menu ul li a span {
    display: none;
  }
  .contact .menu ul li a:hover,
  .about .menu ul li a:hover,
  .portfolio .menu ul li a:hover {
    background: transparent;
  }
  .contact .menu ul li a:hover span,
  .about .menu ul li a:hover span,
  .portfolio .menu ul li a:hover span {
    display: none;
  }
  .contact form {
    padding-top: 20px;
  }
  .contact form input:nth-child(1) {
    width: calc(90% + 25px);
  }
  .contact form input:nth-child(2) {
    width: calc(90% + 25px);
  }
  .contact form input:nth-child(3) {
    width: calc(90% + 25px);
  }
  .contact form button {
    display: flex;
    justify-content: center;
    align-items: center;
    left: 50%;
    transform: translate(25%);
  }
}
