:root {
  --p-font-size: 1.2rem;

  --p-background-color: #081a28;
  --p-light-color: #9da3bb;
  --p-cool-color: #7e819a;
  --p-blue: #222d4c;
  --p-highlight-color: white;
  --transition-speed: 0;
  --transition-step: 0;
  --p-box-shadow: rgba(17, 12, 46, 0.15);
  --p-font-color: #e9a447;
  --p-font-family: "Montserrat", sans-serif;
}
div {
  scroll-snap-type: y mandatory;
}
body {
  min-height: 100vh;
  flex-wrap: wrap;
  background-color: var(--p-background-color);
  color: whitesmoke;
  display: flex;
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-size: 16px;
  scrollbar-width: none;

  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

.wrap {
  padding: 0 1rem 0 1rem;
  flex: 1 0 auto;
}
main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
  position: relative;
}

h2 {
  text-align: center;
  text-transform: uppercase;
}

a {
  color: #ffd700;
}
/* Navigation Section Start */

.logo {
  height: auto;
  max-width: 20%;
  margin-left: 20px;
}

.navbar-toggler {
  position: absolute;
  top: 16%;
  right: 8%;
}
.navbar-toggler:focus {
  box-shadow: none;
}

.nav-link {
  color: var(--p-cool-color);
  cursor: pointer;
  transition: color 0.5s ease;
}

.active {
  color: var(--p-highlight-color) !important;
}
.nav-link:hover {
  color: #ffd700;
}

.navbar-styling {
  transition: var(--p-background-color) 0.5s ease;
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

#navbarItems {
  position: fixed;
  transition: background-color 0.5s ease;
  /* transition: background-color 0.5s ease, font-size 0.5s ease,
    padding-right 0.5s ease; */
  right: 20%;
}

span,
.bi {
  font-size: 1.3rem;
  color: #ffd700;
}
/* Navigation Section End */

header {
  background-size: cover;
  overflow: hidden;
}

.herobanner {
  position: relative; /* Ensure ::before is positioned correctly */
  background-repeat: no-repeat;
  background-position: center right;
  width: 100%;
  height: 100vh; /* Ensure full viewport height */
  overflow: hidden;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes loadInFromTop {
  from {
    transform: translateY(-300px);
  }
  to {
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 5s ease-out, loadInFromTop 3s ease-out;
}

/* Make sure bannerimg can be seen thru opacity */
.herobanner::before {
  content: "";
  background-image: url("/img/connecteddots.jpg");
  background-size: cover; /* Ensure the image covers the entire area */
  position: absolute;
  opacity: 0.2; /* Adjust the opacity as needed */
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: -1;
}

.bannerimg {
  height: auto;
  width: 380px;
  z-index: 2;
}
.hero {
  height: 100vh;
}

.bannertext {
  display: flex;
  margin-top: 10%;
  text-align: right;
  font-size: 40px;
  justify-content: flex-start;
  align-content: center;
  flex-direction: row-reverse;
  margin-right: 1rem;
}

a.hello {
  border: none;
  background-color: transparent;
  color: whitesmoke;
  text-decoration: none;
}

a.hello:hover {
  background-color: whitesmoke;
  color: var(--p-blue);
  cursor: pointer;
  border-radius: 10px;
  padding: 3px;
}

/* End header - Banner */

.aboutme {
  margin-top: 3.5rem;
  color: whitesmoke;

  padding-top: 1rem;
  margin-bottom: 6rem;

  border-top: 4px solid #ffd700;
}

.portfoliopic {
  border-radius: 60% 0% 60% 0%;
  border-style: solid;
  border-width: 2px;
  width: 100%;
  margin-bottom: 3rem;
}

.aboutCol {
  padding: 1rem;

  font-size: 1.1rem;
  line-height: 1.5rem;
  background-color: var(--p-blue);
  border-radius: 28px;
  height: auto;
}

.aboutPic {
  padding-top: 1rem;
}
.stars {
  padding: 1rem;
}

/* End About Section*/

/*  Begin Skills Section */

.devIcons {
  font-size: 5rem;
  opacity: 70%;
}

/* Footer Begins */

.socialIcon {
  color: gold;
  font-size: 1.8rem;
  justify-content: center;
}
footer {
  border-top: 1px solid #9da3bb;
  margin-top: 1rem;
  flex-shrink: 1;
  overflow-x: hidden;
  width: 100vw;
}

@media (min-width: 200px) and (max-width: 300px) {
  body {
    overflow: hideen;
  }
  .navbar-toggler {
    position: fixed;
    top: 3%;
    right: 40%;
    z-index: 6789;
  }
}
@media (min-width: 767px) {
  .logo {
    max-width: 10%;
  }
  .hero {
    height: 100vh;
  }
  .herobanner::before {
    height: 100%;
  }
  .bannertext {
    margin-top: 45%;
  }
  span,
  .bi {
    font-size: 2.3rem;
  }
  .navbar-toggler {
    position: absolute;
    top: 16%;
    right: 5%;
    z-index: 6789;
  }
  .devicon-javascript-plain {
    font-size: 4.3rem;
  }
}

@media (min-width: 991px) {
  .navbar {
    overflow-x: hidden;
  }
  .bannertext {
    margin-top: 35%;
  }
  .herobanner::before {
    height: 85vh;
  }
  .bubble-container {
    max-width: 600px;
  }
  .aboutPic {
    padding-top: 0;
  }
  .skills-table {
    max-width: 700px;
  }
  footer {
    padding: 1.5rem;
  }
}

@media (min-width: 1199px) {
  .bannertext {
    margin-top: 25%;
  }
  .bannerimg {
    width: 30rem;
    top: 1%;
  }
}
