* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Kumbh Sans', sans-serif;
}

[class*='col-'] {
  width: 100%;
}

body {
  /* overflow-x: hidden; */
  min-width: fit-content;
  max-width: 100%;
  overflow-x: hidden;
  background-color: #eee;
}

.row .section-header {
  text-align: center;
  margin: 40px 0 25px 0;
  padding: 0;
  letter-spacing: 5px;
  font-weight: 700;
  color: #706f6f;
}

#portfolio .section-header .card-title {
  text-transform: uppercase;
}

#scrolldiv {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.6);
  width: 70px;
  height: 70px;
  cursor: -webkit-grab;
  align-items: center;
  display: flex;
  justify-content: center;
  border-radius: 35px;
}

#scrolldivbutton a {
  cursor: pointer;
  text-decoration: none;
}

#email {
  font-size: 30px;
  color: rgb(48 130 164);
}
/* NAVBAR */

#navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  background-color: transparent;
  box-sizing: border-box;
  transition: 1s;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4;
}

#navbar.white {
  background-color: rgb(48 130 164 / 80%);
}

.nav-links {
  display: flex;
  width: 50%;
  justify-content: space-around;
  padding-top: 10px;
  transition: 1s;
}

#navbar .nav-links a {
  letter-spacing: 3px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  transition: 1s;
  line-height: 30px;
}

#navbar.white .nav-links a {
  line-height: 40px;
}

#navbar .nav-links a:hover,
#navbar.white .nav-links a:hover,
#navbar .nav-links li.active a,
#navbar .nav-links a:hover {
  line-height: 50px;
  text-decoration: none;
  font-size: 16px;
  color: #f4f759;
}

.nav-links li {
  list-style: none;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: rgb(226, 226, 226);
  margin: 5px;
  transition: all 0.3s ease;
}

.burger {
  display: none;
}

/* /////////////////////////// HOME ////////////////////////// */

#home {
  padding: 0px;
  background: url(https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1653&q=80);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left top;
  -webkit-background-size: center;
  -moz-background-size: center;
  -o-background-size: center;
  margin: 0;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-attachment: scroll;
  min-width: 100%;
}

#home-div {
  background-color: rgb(48 130 164 / 57%);
  height: 100vh;
  width: 100vw;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

#name {
  font-size: 80px;
  font-weight: 700;
  color: white;
  letter-spacing: 5px;
  padding-bottom: 30px;
}

#intro-p {
  color: white;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  width: 70%;
  padding: 20px;
}

#home #home-div #intro-btn {
  text-transform: uppercase;
  margin-top: 30px;
  width: 200px;
  height: 65px;
  background-color: rgb(48 130 164 / 30%);
  color: white;
  font-weight: 700;
  letter-spacing: 2px;
  border: white 2px solid;
  padding: 40px;
  display: flex;
  align-items: center;
  transition: ease 1s;
}

#home #home-div #intro-btn:hover {
  background-color: white;
}

#home #home-div #intro-btn:hover a {
  color: rgb(48 130 164);
}

#intro-anchor {
  text-decoration: none;
  color: white;
}

/* ////////////////////////////////////////////////////////////////// */

/* ////////////////////////////// Projects /////////////////////////// */

.fade-in {
  opacity: 0;
  transition: opacity 0.9s ease-in;
}

.fade-in.appear {
  opacity: 1;
}

#portfolio {
  padding: 0;
  margin: 0px;
  min-width: 100%;
  /* background-color: #486c95; */
  background-color: white;
}

#portfolio .projects {
  margin: 0;
}

#portfolio .projects .card-container {
  margin-bottom: 20px;
  padding: 0;
}

.projects .card-container .project-card {
  height: auto;
  max-width: unset;
  /* margin-left: 25px; */
  padding: 0;
  margin: 0;
  background-color: white;
  /* background-color: #486c95; */
  border: none;
}

#chat-card {
  border-bottom: none;
}

.card .card-title {
  margin-bottom: 20px;
  color: rgb(48 130 164);
  letter-spacing: 1px;
  font-weight: 700;
}

.card .card-text {
  color: #706f6f;
  font-size: 16px;
  line-height: 1.5em;
  font-size: 1.3em;
}

.projects {
  text-align: center;
  max-width: 100%;
}

.carousel {
  width: 100%;
  height: 380px;
}

.img-container .carousel {
  margin-bottom: 15px;
}

#chatCarousel img,
#sudokuCarousel img,
#voteCarousel img {
  height: 360px;
}

#tbCarousel {
  width: 230px;
  height: 420px;
  align-self: center;
  margin: auto;
}

#tbCarousel img {
  /* width: 150px; */
  height: 410px;
}

.carousel-inner {
  /* background-color: white; */
  background-color: #ececec;
  box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.61);
}

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

.tags button {
  margin: 5px;
  padding: 9px;
  border: 1px solid rgb(48, 130, 164);
  border-radius: 10px;
  color: rgb(48, 130, 164);
  transition: 1s ease;
  text-align: center;
  letter-spacing: 1px;
  pointer-events: none;
  font-size: 15px;
  background-color: white;
}

.code-link-div {
  padding-bottom: 20px;
  width: 80vw;
  align-self: center;
  border-bottom: lightgrey 1px solid;
}

.code-link {
  font-size: 22px;
  color: white;
  font-weight: 700;
  letter-spacing: 1px;
  transition: ease 1s;
  background-color: rgb(230 17 17 / 80%);
  padding: 10px;
  border-radius: 50px;
}

.code-link:hover {
  text-decoration: none;
  color: gold;
  font-size: 24px;
}

/* ////////////////////////////////////////////////////////////////////// */

/* //////////////////////SKILLS///////////////////////////////// */

.clicked {
  width: 200px;
}

.from-left {
  transform: translateX(-50%);
}

.from-right {
  transform: translateX(50%);
}

.from-left,
.from-right {
  transition: transform 400ms ease-in;
}

.from-left.appear,
.from-right.appear {
  transform: translateX(0);
}

#skills-section {
  flex-direction: column;
  background-color: #eee;
  align-items: center;
  justify-content: center;
  margin: 0px;

  min-width: 100%;
}

#skills-row {
  max-width: 100%;
}

.card-container .skill-card {
  margin: auto;
  flex-direction: row;
  padding: 3px;
  background-color: white;
  max-width: 670px;
}

.left-div {
  width: 170px;
}

.backend {
  background-color: lightgreen;
}

.icon-img {
  width: 30px;
  height: 30px;
}

.frontend {
  background-color: cyan;
}

.apis {
  background-color: peachpuff;
}

.left-text {
  text-align: center;
  align-self: center;
  margin-top: 140px;
  font-size: 20px;
  font-weight: 700;
}

.right-div {
  padding-left: 60px;
  padding-top: 15px;
  height: 320px;
}

.skills-list li {
  list-style-type: none;
  margin: 10px;
}

.auth {
  font-weight: 700;
}

/* ////////////////////////////////////////////////////////////////////////// */

/* ///////////////////////////////EDUCATION/////////////////////////////////// */
#edu-section {
  background-color: white;
  padding: 50px;
  align-items: center;
  justify-content: center;
  margin: 0px;
  min-width: 100%;
}

.edu-row .edu-container {
  padding: 15px;
  max-width: 450px;
  margin: auto;
  min-width: 450px;
}

.edu-card {
  background-color: #ececec;
  transition: 1.5s ease;
  height: 145px;
}

.edu-card:hover {
  background-color: rgb(48 130 164 / 80%);
}

.edu-img {
  margin: 0 20px 10px 0;
  width: 75px;
  height: 75px;
}

.edu-name {
  font-size: 22px;
  font-weight: 700;
}

.edu-date {
  font-size: 15px;
  font-style: italic;
}

.edu-info {
  margin-left: 10px;
}

.fa-map-pin {
  color: #4d7998;
  margin-right: 5px;
}

/* ////////////////////////////////////////////////////////////////////////// */

/* //////////////////////////////ABOUT ME///////////////////////////////////// */

#about {
  background-color: #ececec;
  padding: 50px;
  padding-bottom: 0px;
  align-items: center;
  justify-content: center;
  margin: 0px;
  min-width: 100%;
}

#about .section-header {
  padding: 0;
}

.am {
  /* border: indianred 1px solid; */
  display: flex;
  padding: 10px;
  align-items: center;
  justify-content: center;
  /* text-align: center; */
  margin: 20px 0 20px 0;
}

#am-1 {
  text-align: center;
}

.solid {
  border-top: 1px solid lightgray;
  position: absolute;
  width: 100%;
}

.am-pic {
  width: 275px;
  height: 275px;
  border-radius: 150px;
}

.am-text {
  padding: 20px;
  font-size: 18px;
}

/* ////////////////////////////////////////////////////////////////////////// */

/* //////////////////////////////CONTACT///////////////////////////////////// */
#contact-row {
  background-color: rgb(48 130 164 / 80%);
  padding: 50px 0 70px 0;
  align-items: center;
  justify-content: center;
  margin: 0px;
  min-width: 100%;
}

#connect {
  color: white;
}

.info-div {
  /* border: green 1px solid; */
  text-align: center;
}

.info {
  font-size: 20px;
  color: #ececec;
}

.info-div p {
  font-weight: 700;
  margin: 10px 0 10px 0;
}

.icon-div {
  justify-content: center;
}

.prof-icon {
  color: rgb(38, 38, 38);
  font-size: 30px;
  margin: 0 15px 0 15px;
  transition: ease-in 0.5s;
}

.prof-icon:hover {
  color: tomato;
}

.contact-div {
  text-align: center;
}

#contact-form input,
#contact-form textarea {
  width: 60vw;
  background-color: #ececec;
  color: #4d7998;
  margin: 10px;
  border-radius: 8px;
  padding: 10px;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #706f6f;
}

textarea {
  height: 150px;
}

/* ////////////////////////////////////////////////////////////////////////// */

/* Tablet view */
@media only screen and (min-width: 700px) {
  .nav-links {
    width: 70%;
  }
  .menu {
    justify-content: center;
  }

  .item {
    width: auto;
    order: 2;
    display: block;
    padding: 0 10px;
  }

  .headerDiv {
    display: flex;
    align-items: center;
  }

  .toggle {
    display: none;
  }

  #home {
    /* padding: 50px 0 50px 0; */
    min-width: 100%;
    /* background-color: blue; */
    margin: 0;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
  }

  #home-img {
    text-align: center;
    margin-top: 0;
  }

  #contact-form input,
  #contact-form textarea {
    width: 40vw;
  }

  .carousel {
    width: 70%;
    height: 380px;
    align-self: center;
    margin: auto;
  }

  #chatCarousel img,
  #sudokuCarousel img,
  #voteCarousel img {
    height: 380px;
  }
}

/* DESKTOP */

@media only screen and (min-width: 900px) {
  #home {
    padding: 0;
    background: url(https://images.unsplash.com/photo-1431512284068-4c4002298068?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1652&q=80);
    background-repeat: no-repeat;

    /* background-position: center;
    background-size: cover; */

    background-position: left top;
    background-size: cover;
    -webkit-background-size: center;
    -moz-background-size: center;
    -o-background-size: center;
    margin: 0;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-attachment: scroll;
    min-width: 100%;
  }

  .card .card-text {
    padding: 0 300px 0 300px;
  }

  .carousel {
    width: 45%;
    height: 380px;
    align-self: center;
    margin: auto;
  }

  #chatCarousel img,
  #sudokuCarousel img,
  #voteCarousel img {
    height: 380px;
  }
}

/* MOBILE */

@media screen and (max-width: 768px) {
  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
    position: relative;
    min-width: 100%;
  }
  /* ///////////////////////////////NAVBAR/////////////////////////////////////////// */

  #navbar.white {
    background-color: rgb(17 27 29);
  }

  .nav-links {
    position: absolute;
    right: 0px;
    height: 92vh;
    top: 8vh;
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    /* background-color: transparent; */
    background-color: rgb(17 27 29);
    z-index: 3;
  }

  .burger {
    display: block;
    cursor: pointer;
  }
  /* ///////////////////////////////////////////////////////////////////////////////////////// */

  /* ///////////////////////////////HOME/////////////////////////////////////////// */
  #home {
    padding: 0;
    background: url(https://images.unsplash.com/photo-1554770197-0e976a59e957?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=401&q=80);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    -webkit-background-size: center;
    -moz-background-size: center;
    -o-background-size: center;
    margin: 0;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-attachment: scroll;
    min-width: 100%;
  }

  #name {
    font-size: 45px;
    font-weight: 700;
    color: white;
    letter-spacing: 3px;
    padding-bottom: 0;
  }

  #intro-p {
    color: white;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    width: 90%;
    padding: 20px;
  }

  #home #home-div #intro-btn {
    text-transform: uppercase;
    margin-top: 30px;
    width: 220px;
    height: 65px;
    background-color: rgb(55 147 156, 0);
    color: white;
    font-weight: 700;
    letter-spacing: 2px;
    border: white 2px solid;
    padding: 0;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  /* ///////////////////////////////////////////////////////////////////////////////////////// */

  /* ///////////////////////////////PROJECTS/////////////////////////////////////////// */
  .code-link {
    font-size: 16px;
    /* color: white;
    font-weight: 700;
    letter-spacing: 1px;
    transition: ease 1s;
    background-color: rgb(230 17 17 / 80%);
    padding: 10px;
    border-radius: 50px; */
  }
  /* ///////////////////////////////////////////////////////////////////////////////////////// */

  /* ///////////////////////////////SKILLS/////////////////////////////////////////// */
  #skills-row .card-container {
    padding: 0;
  }

  .right-div {
    padding-left: 8px;
    padding-top: 0px;
    height: 320px;
    justify-self: center;
  }
  /* ///////////////////////////////////////////////////////////////////////////////////////// */

  /* ///////////////////////////////EDUCATION/////////////////////////////////////////// */
  #edu-section {
    background-color: white;
    padding: 0;
    align-items: center;
    justify-content: center;
    margin: 0px;
    min-width: 100%;
    /* margin-bottom: 45px; */
  }

  #edu-section .edu-row {
    margin: 0;
  }

  #edu-section .edu-row .edu-container {
    padding: 0;
    min-width: fit-content;
    margin-bottom: 45px;
  }

  /* ///////////////////////////////////////////////////////////////////////////////////////// */

  /* ////////////////////////////////ABOUT ME/////////////////////////////////////////// */
  #about {
    padding: 0;
  }

  .am-pic-div {
    margin: 10px 0 10px 0;
  }

  .am-pic {
    width: 150px;
    height: 150px;
  }

  .solid {
    opacity: 0;
  }

  /* ///////////////////////////////////////////////////////////////////////////////////////// */

  /* ///////////////////////////////CONTACT - MOBILE/////////////////////////////////////////// */
  #contact-row {
    padding: 0;
  }

  #contact-row #contact-id {
    padding: 0;
  }

  #contact-form input,
  #contact-form textarea {
    width: 90vw;
  }
  /* ///////////////////////////////////////////////////////////////////////////////////////// */
}

.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
