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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 0;
  /* Remove scrollbar space */
  background: transparent;
  /* Optional: just make scrollbar invisible */
}

body {
  text-align: justify;
  background: #fff;
  color: #fff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
}

body .blocks {
  background: url(../img/bg.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.navbar {
  position: fixed;
  background-color: transparent;
  width: 100%;
  text-align: center;
  z-index: 9;
}

.navbar-items {
  padding: 0;
  font-size: 1.25rem;
}

.navbar-items li {
  list-style: none;
  display: inline-block;
  position: relative;
}

.navbar-items li + li {
  margin-left: 20px;
}

.navbar-items li a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
}

.navbar-items li a::after {
  width: 0;
  content: "";
  height: 4px;
  background-color: #07ffea;
  position: absolute;
  bottom: -5px;
  left: 0;
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}

.navbar-items li a.active::after {
  width: 100%;
}

nav.active {
  background: #333;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}

a {
  color: #fff;
  text-decoration: none;
}

.text-secondary {
  color: skyblue;
}

#home {
  padding: 4rem;
  height: 100vh;
}

#home h1 {
  font-size: 7em;
  margin-top: 10vh;
}

#home .icons {
  margin-top: 4rem;
  width: 80vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

#home .icons a {
  padding: 0.4rem;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

#home .icons a:hover {
  color: skyblue;
}

#home p {
  margin-top: 5vh;
  margin-bottom: 5vh;
  font-size: 3em;
}

#home #home-btns {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  display: inline;
}

#home #resume-btn {
  margin-right: 5px;
  color: #fff;
  font-size: 1rem;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  cursor: pointer;
  background: transparent;
  border-radius: 50px;
  padding: 2vh 6vh;
  border: 2px solid #fff;
}

#home #resume-btn:hover {
  background: #fff;
  color: #333;
}

.cursor {
  width: 20em;
  border-right: 2px solid #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.text-effect {
  -webkit-animation: animate 8s steps(22) 1s infinite normal both, cursor 800ms steps(22) infinite normal;
          animation: animate 8s steps(22) 1s infinite normal both, cursor 800ms steps(22) infinite normal;
}

@-webkit-keyframes animate {
  from {
    width: 0;
  }
  to {
    width: 10em;
  }
}

@keyframes animate {
  from {
    width: 0;
  }
  to {
    width: 10em;
  }
}

@-webkit-keyframes cursor {
  from {
    border-right-color: #fff;
  }
  to {
    border-right-color: transparent;
  }
}

@keyframes cursor {
  from {
    border-right-color: #fff;
  }
  to {
    border-right-color: transparent;
  }
}

#about {
  padding: 3rem;
  color: #fff;
}

#about h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
}

#about h2 {
  text-align: center;
  margin-top: 2rem;
}

#about .education-details {
  display: -ms-grid;
  display: grid;
  grid-gap: 30px;
      grid-template-areas: "education1 education2 education3";
}

#about .education-details .education-1 {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: education1;
}

#about .education-details .education-2 {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: education2;
}

#about .education-details .education-3 {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: education3;
}

#about .education-details .education {
  padding: 0.5rem;
  border-bottom: skyblue 5px solid;
}

#about .certifications {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 4%;
  position: relative;
  -webkit-animation: scroll 56s linear infinite;
          animation: scroll 56s linear infinite;
}

#about .holder {
  width: 91vw;
  overflow: hidden;
}

#about .certifications img {
  height: 40vh;
  width: 60vw;
  padding-right: 20px;
}

#about .certifications:hover {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}

@-webkit-keyframes scroll {
  0% {
    left: 0;
  }
  100% {
    left: -400vw;
  }
}

@keyframes scroll {
  0% {
    left: 0;
  }
  100% {
    left: -400vw;
  }
}

.projects-div,
#projects {
  max-width: 1100px;
  margin: auto;
  overflow: auto;
  padding: 0 2rem;
  padding: 3rem;
}

.projects-div h1,
#projects h1 {
  text-align: center;
  margin-top: 30px;
}

.projects-div p,
#projects p {
  font-size: 1.4rem;
  margin: 12px;
}

.projects-div img,
#projects img {
  width: 100%;
}

.projects-div .card,
#projects .card {
  border-radius: 50px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
      grid-template-columns: repeat(2, 1fr);
  justify-items: end;
  grid-gap: 2rem;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
}

.projects-div .card h3,
#projects .card h3 {
  font-weight: 700;
  margin-bottom: 2rem;
}

.projects-div .card img,
#projects .card img {
  height: 100%;
}

.projects-div .card div,
#projects .card div {
  padding: 2rem;
}

.projects-div .card #card-btns,
#projects .card #card-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.projects-div .card .btn,
#projects .card .btn {
  display: inline;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-right: 5vh;
  font-size: 1rem;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  cursor: pointer;
  background: transparent;
  border-radius: 50px;
  padding: 1vh 3vh;
  border: 2px solid skyblue;
}

.projects-div .card .btn:hover,
#projects .card .btn:hover {
  background: #fff;
  color: #333;
}

.projects-div .card a,
#projects .card a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.projects-div .card a i,
#projects .card a i {
  margin-right: 5px;
}

.projects-div .card .btn-dark,
#projects .card .btn-dark {
  font-size: 1rem;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  cursor: pointer;
  background: #00bcd4;
  color: #fff;
  border-radius: 50px;
  padding: 1vh 3vh;
  border: 2px solid #fff;
}

.projects-div .card .btn-dark:hover,
#projects .card .btn-dark:hover {
  background: #333;
  color: #fff;
}

.projects-div .card:nth-child(even) img,
#projects .card:nth-child(even) img {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}

@media (max-width: 700px) {
  .projects-div .card,
  #projects .card {
    display: block;
    margin: 20px auto;
  }
}

#contact {
  position: relative;
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.content {
  max-width: 800px;
  text-align: center;
}

.content h1 {
  font-size: 3rem;
  font-weight: 500;
  color: #fff;
}

.container {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 30px;
}

.container .contactInfo {
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.container .contactInfo .box {
  position: relative;
  padding: 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.container .contactInfo .box .icon {
  min-width: 60px;
  height: 60px;
  background: #fff;
  color: #333;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 50%;
  font-size: 22px;
}

.container .contactInfo .box .text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  text-align: left;
  color: #fff;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-weight: 300;
}

.text h3 {
  font-weight: 500;
  color: skyblue;
}

.contactForm {
  width: 40%;
  color: black;
  padding: 40px;
  background: #fff;
  border-radius: 0 120px;
}

.contactForm h2 {
  font-size: 30px;
  color: #333;
  font-weight: 500;
}

.contactForm .inputBox {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea {
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
  resize: none;
}

.contactForm .inputBox span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  color: #666;
}

.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span,
.contactForm .inputBox textarea:valid ~ span {
  color: #e91e63;
  font-size: 12px;
  -webkit-transform: translateY(-20px);
          transform: translateY(-20px);
}

.send-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.contactForm .inputBox input[type="submit"] {
  width: 100px;
  background: #00bcd4;
  border-radius: 50px;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
}

.thank-you-container .thank-you-content {
  color: #333;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.thank-you-container .thank-you-content p {
  margin-bottom: 8vh;
  font-size: 2rem;
}

.thank-you-container .thank-you-content a {
  color: #000;
  font-size: 1rem;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  cursor: pointer;
  border-radius: 50px;
  padding: 2vh 6vh;
  border: 2px solid #333;
}

.thank-you-container .thank-you-content a:hover {
  background: #333;
  color: #fff;
}

@media screen and (max-width: 1170px) {
  #home h1 {
    font-size: 5em;
  }
}

@media screen and (max-width: 768px) {
  #home {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #home h1 {
    font-size: 3em;
  }
  #home p {
    font-size: 2em;
  }
  #home .icons {
    width: 80vw;
  }
  #about {
    padding: 0.5rem;
  }
  #about .education-details {
        grid-template-areas: "education1" "education2" "education3";
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }
  #about .certifications img {
    height: 40vh;
    width: 70vw;
  }
  #about .holder {
    width: 100vw;
    overflow: hidden;
  }
  @-webkit-keyframes scroll {
    0% {
      left: 0;
    }
    100% {
      left: -520vw;
    }
  }
  @keyframes scroll {
    0% {
      left: 0;
    }
    100% {
      left: -520vw;
    }
  }
  #projects {
    padding: 0;
  }
  .contact {
    padding: 40px;
  }
  .container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .container .contactInfo {
    margin-bottom: 40px;
  }
  .container .contactInfo,
  .contactForm {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .cursor {
    margin: 0 auto;
  }
  #home {
    padding: 2rem;
  }
  #home h1 {
    margin-top: 4vh;
  }
  #home #home-btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #home #resume-btn {
    margin-top: 10px;
    padding: 1vh 2vh;
  }
  #home .navbar-items li::before {
    height: 0px;
    background: transparent;
  }
  .holder {
    width: 86.5vw;
    overflow: hidden;
  }
  @-webkit-keyframes scroll {
    0% {
      left: 0;
    }
    100% {
      left: -770vw;
    }
  }
  @keyframes scroll {
    0% {
      left: 0;
    }
    100% {
      left: -770vw;
    }
  }
  .certifications img {
    height: 40vh;
    width: 70vw;
  }
}

@media screen and (max-width: 360px) {
  #home {
    height: 100vh;
    padding: 2rem;
  }
  #home h1 {
    margin-top: 2vh;
    font-size: 2.8em;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #home .cursor {
    text-align: left;
  }
  #home .icons {
    width: 80vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  #home p {
    font-size: 2em;
  }
  #home button {
    margin: auto;
  }
  #home .navbar-items li::before {
    height: 0px;
    background: transparent;
  }
  .certifications img {
    height: 40vh;
    width: 100vw;
  }
  @-webkit-keyframes scroll {
    0% {
      left: 0;
    }
    100% {
      left: -1040vw;
    }
  }
  @keyframes scroll {
    0% {
      left: 0;
    }
    100% {
      left: -1040vw;
    }
  }
  #contact h1 {
    font-size: 2rem;
  }
  #projects {
    padding: 0;
  }
}
