/*!
 * Start Bootstrap - Resume v4.0.0-beta.2 (https://startbootstrap.com/template-overviews/resume)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-resume/blob/master/LICENSE)
 */
body {
  font-family: "Open Sans", serif;
  padding-top: 54px;
  color: #4e5359;
  margin: auto;
  overflow: auto;
  /* background: linear-gradient(
    315deg,
    rgba(229, 217, 235, 1) 3%,
    rgba(186, 224, 253, 1) 38%,
    rgba(144, 228, 228, 1) 68%,
    rgba(255, 188, 188, 1) 98%
  ); */
  animation: gradient 15s ease infinite;
  background-size: 400% 400%;
  background-attachment: fixed;
  cursor: url("https://kanandvardhan.github.io/portfolio/img/icons8-cursor-40.png"),
    auto;
}

@keyframes gradient {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

.wave {
  background: linear-gradient(
    315deg,
    rgba(229, 217, 235, 1) 3%,
    rgba(186, 224, 253, 1) 38%,
    rgba(144, 228, 228, 1) 68%,
    rgba(255, 188, 188, 1) 98%
  );
  border-radius: 1000% 1000% 0 0;
  position: fixed;
  width: 200%;
  height: 5em;
  animation: wave 10s -3s linear infinite;
  transform: translate3d(0, 0, 0);
  opacity: 0.8;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.wave:nth-of-type(2) {
  bottom: -1.25em;
  animation: wave 19s linear reverse infinite;
  opacity: 0.8;
}

.wave:nth-of-type(3) {
  bottom: -2.5em;
  animation: wave 8s -1s reverse infinite;
  opacity: 0.9;
}

@keyframes wave {
  2% {
    transform: translateX(1);
  }

  25% {
    transform: translateX(-25%);
  }

  50% {
    transform: translateX(-50%);
  }

  75% {
    transform: translateX(-25%);
  }

  100% {
    transform: translateX(1);
  }
}

body::-webkit-scrollbar {
  width: 6px;
}

body::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 12px;
}

body::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

@media (min-width: 992px) {
  body {
    padding-top: 0;
    padding-left: 17rem;
  }
  .wave {
    height: 6em;
  }
}

::selection {
  color: #fff; /* Text color of the selected text */
  background-color: #3498db; /* Background color of the selected text */
}

/* For Firefox */
::-moz-selection {
  color: #fff;
  background-color: #3498db;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Saira Extra Condensed", serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #343a40;
}

h1 {
  font-size: 6rem;
  line-height: 5.5rem;
}

h2 {
  font-size: 3.5rem;
}

.subheading {
  text-transform: uppercase;
  font-weight: 500;
  font-family: "Saira Extra Condensed", serif;
  font-size: 1.35rem;
}

.list-social-icons a {
  color: #495057;
}
.list-social-icons a:hover {
  color: #3498db;
}
.list-social-icons a .fa-lg {
  font-size: 1.75rem;
}

.list-icons {
  font-size: 3rem;
}
.list-icons .list-inline-item i:hover {
  color: #3498db;
}

nav {
  background: radial-gradient(ellipse at bottom, #050c14f3 0%, #0c0d13 100%);
}

textarea {
  resize: none;
}

#sideNav .navbar-nav .nav-item .nav-link {
  font-weight: 600;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  #sideNav {
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 17rem;
    height: 100vh;
  }
  #sideNav .navbar-brand {
    display: flex;
    margin: auto auto 0;
    padding: 0.5rem;
  }
  #sideNav .navbar-brand .img-profile {
    max-width: 10rem;
    max-height: 10rem;
    border: 0.5rem solid rgba(255, 255, 255, 0.2);
  }
  #sideNav .navbar-collapse {
    display: flex;
    align-items: flex-start;
    flex-grow: 0;
    width: 100%;
    margin-bottom: auto;
  }
  #sideNav .navbar-collapse .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  #sideNav .navbar-collapse .navbar-nav .nav-item {
    display: block;
  }
  #sideNav .navbar-collapse .navbar-nav .nav-item .nav-link {
    display: block;
  }
}

section.resume-section {
  border-bottom: 1px solid #dee2e6;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

section.resume-section .resume-item .resume-date {
  min-width: none;
}

@media (min-width: 768px) {
  section.resume-section {
    min-height: 100vh;
  }
  section.resume-section .resume-item .resume-date {
    min-width: 18rem;
  }

  .btnSubmit1 {
    display: block !important;
  }

  .btnSubmit2 {
    display: none !important;
  }
}

@media (min-width: 992px) {
  section.resume-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

.bg-primary {
  background-color: #3498db !important;
}

.text-primary {
  color: #3498db !important;
}

a {
  color: #3498db;
}
a:hover,
a:focus,
a:active {
  color: #155e75;
}

a.project-open:hover .img-overlay {
  visibility: visible;
  opacity: 1;
}

.img-overlay {
  visibility: hidden;
  opacity: 0;
  background-color: rgb(8, 145, 178, 0.5);
  height: 100%;
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
  transition: all 0.5s;
}

.img-overlay p {
  color: #fff;
}

a.project-open {
  text-decoration: none !important;
}

a.project-open:hover h3 {
  color: #3498db;
  text-decoration: underline;
}

#projects .subheading {
  text-decoration: none !important;
}

.contact-form {
  /* background: #fff;
  margin-top: 10%;
  margin-bottom: 5%;
  width: 70%; */
}
.contact-form .form-control {
  border-radius: 1rem;
}
.contact-image {
  text-align: center;
}
.contact-image img {
  border-radius: 6rem;
  width: 11%;
  margin-top: -3%;
  transform: rotate(29deg);
  animation: flyAway 2s linear infinite;
}

@keyframes flyAway {
  0% {
    transform: rotate(29deg) translateY(0);
  }
  50% {
    transform: rotate(29deg) translateY(-20px); /* Adjust the vertical distance */
  }
  100% {
    transform: rotate(29deg) translateY(0);
  }
}

.contact-form form {
  padding: 14% 0;
}
.contact-form form .row {
  margin-bottom: -7%;
}
.contact-form h3 {
  margin-bottom: 8%;
  margin-top: -10%;
  text-align: center;
  color: #0062cc;
}

.contact-form .btnContact {
  width: 100%;
  border: none;
  border-radius: 1rem;
  padding: 1.5%;
  background: #dc3545;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}

.contact-form .btnContact:active {
  background: #a82834;
}

.btnContactSubmit {
  width: 50%;
  border-radius: 1rem;
  padding: 1.5%;
  color: #fff;
  background-color: #0062cc;
  border: none;
  cursor: pointer;
}

.error {
  color: red;
  margin-left: 10px;
}

.error {
  display: none;
}

.error:not(:empty) {
  display: block;
}

.btnSubmit1 {
  display: none;
}

.btnSubmit2 {
  display: block;
}

.btnContact:hover {
  cursor: url("https://kanandvardhan.github.io/portfolio/img/cursor-plane-40.png"),
    auto;
}

nav a:hover,
i[class^="devicon"] {
  cursor: url("https://kanandvardhan.github.io/portfolio/img/icons8-search-40.png"),
    auto;
}

i {
  cursor: pointer;
}

.centered {
}

.progress-bar {
  background: #ff4163;
  height: 5px;
  width: 0%;
  position: fixed;
  top: 0;
  z-index: 1;
}

.stick-to-left {
  left: 0;
  right: auto;
  width: 5px;
}

.top-to-btm {
  position: relative;
}

.icon-position {
  position: fixed;
  bottom: 30px;
  right: 10px;
  z-index: 20;
}

.icon-style {
  background-color: #3498db;
  border: 2px solid #fff;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  color: #fff;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  animation: movebtn 2s ease-in-out infinite;
  transition: all 0.5s ease-in-out;
}

.icon-style.active {
  visibility: visible;
  opacity: 1;
}

.icon-style:hover {
  animation: none;
  background: #fff;
  color: #3498db;
  border: 2px solid #3498db;
}

@keyframes movebtn {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0px);
  }
}

a[href^="mailto:"]:hover {
  cursor: url("https://kanandvardhan.github.io/portfolio/img/icons8-new-message-25.png"),
    auto;
}

a[href^="tel:"]:hover {
  cursor: url("https://kanandvardhan.github.io/portfolio/img/icons8-phone-25.png"),
    auto;
}

i.fa-download:hover {
  cursor: url("https://kanandvardhan.github.io/portfolio/img/icons8-download-resume-30.png"),
    auto !important;
}

a,
i.fa:not(.fa-angle-double-up):hover {
  cursor: url("https://kanandvardhan.github.io/portfolio/img/icons8-external-link-30.png"),
    auto;
}

input,
textarea {
  cursor: url("https://kanandvardhan.github.io/portfolio/img/icons8-text-cursor-30.png"),
    auto;
}
