html{
  scroll-behavior: smooth;;
}
/* Set font families */
body {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  background: linear-gradient(200deg, #f9f9f9, #f0f3f8, #f4f4f4);
  padding: 20px;
}
/* Set default font size and color */
body {
  font-size: 16px;
  color: #ffffff;
}

/* Set links to use theme color */
a {
  color: #03fff6;
}

a:hover {
  color: #00CFC8;
}

/* Style headings */
h1{
  font-family: "Roboto", "sans serif";
  font-weight: bold;
  color: rgb(15, 15, 15);
  font-size: 2px;
  padding: 0px;
  margin-bottom: 0px;
  /*letter-spacing: ;*/
}

h2, h3, h4, h5, h6 {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  color: rgb(65, 65, 65);
}

/* Style paragraphs */
p {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #22252a;
}

/* Set background color and gradient for header */
header {
  background: rgb(255, 255, 255);
  background: linear-gradient(rgba(202, 207, 208, 0.203), rgba(148, 165, 165, 0));
  color: #a61e1e;
  padding: 20px;
}

/* Set background color and gradient for hero section */
.hero {
  background: rgb(255, 255, 255);
  background: linear-gradient(152deg, #ffffff, #f5f7fc, rgba(7, 237, 156, 0.297));
  color: #ffffff;
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
  padding-top: 0px;
  box-shadow: 0 4px 8px 0 rgba(180, 180, 180, 0.2), 0 10px 20px 0 rgba(30, 165, 210, 0.19);
  width: 92%;
  /*height: 76vh;*/
  margin-top: 25px;
}
.hero-container {
  position: relative;
}

.canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero::before {
  content: "";
  position: absolute;
  top: -70%;
  left: -40%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(126, 233, 250, 0.432) 0%, rgba(255, 255, 255, 0) 30%);
  z-index: 1;
  opacity: 0;
  animation: particles 5s linear infinite;
}

@keyframes particles {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.5);
    opacity: 0;
  }
}



#brain {
  max-width: 100%;
  height: auto;
  margin-left: 100px;
  justify-content: right;
}

.hero h1 {
  max-width: 50rem;
  margin-bottom: 40px;
  font-size: 5rem;
  line-height: 1;
  text-shadow: 2px 2px rgba(17, 230, 152, 0.5);
}

.hero p {
  font-size: 2.3rem;
  line-height: 1.5;
  margin-bottom: 25px;
  max-width: 40rem;
}

/* Set background color and gradient for other sections */
section {
  background: white;
  color: white;
  padding: 20px 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px 0 rgba(180, 180, 180, 0.1), 0 10px 20px 0 rgba(155, 210, 228, 0.1);
}

section #about {
  position: relative;
  z-index: 10;
}


/* Style buttons */
.btn {
  background-color: #46aff5;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.btn:hover {
  background-color: #00CFC8;
  z-index: 5;
}

.image-filter {
  filter: drop-shadow(0px 0px 100px rgba(58, 203, 208, 0.626));
  position: relative;
  left: 45%;
  bottom: 0%;
  padding-top: 6%;
  z-index: 3;
}

blockquote {
  margin: 0;
  padding-top: 3%;
  position: absolute;
  z-index: 3;
  text-align: left;
  grid-column: 2 / span 9;
  margin-bottom: var(--spacing);  
}

/*cool fluid box*/
canvas{
  position: absolute;
  background: #cbc8c800;
  display: flex;
  flex-wrap: nowrap;
  /*top: 2vh;  adjust based on screen height */
  right: 0;
  bottom: 0;
  margin: 0px;
  z-index: 4;
  /*border: 2px solid white;*/
  /*width: 95vw;  adjust based on screen width */
  /*max-width: 1500px;  adjust based on maximum width */
  /*height: 89vh;  adjust based on screen height */
  /*max-height: 800px;  adjust based on maximum height */
  width: 96.5%;
  height: 90%;
  left: 0;
  margin-left: 26px;
  margin-bottom: 35px;
  
}
/*
@media only screen and (max-width: 768px) {
  canvas {
    top: 3vh;
    width: 80vw;
    height: 50vh;
  }
}

@media only screen and (max-width: 480px) {
  canvas {
    top: 0px;
    width: 70vw;
    height: 20vh;
    max-width: 400px;
    max-height: 200px;
  }
}*/

#navbar {
  overflow: hidden;
  /*background-color: rgba(46, 218, 224, 0.559);*/
  padding: 10px -6px; /* Large padding which will shrink on scroll (using JS) */
  transition: 0.4s; /* Adds a transition effect when the padding is decreased */
  position: absolute; /* Sticky/fixed navbar */
  width: 100%;
  top: 0; /* At the top */
  left: 0;
  z-index: 100;
  border-radius: 5px;
  
}

/* Style the navbar links */
#navbar a {
  font-family: "Roboto";
  float: right;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 1.3rem;
  line-height: 25px;
  border-radius: 10px;
  margin-right: 2rem;
}

/* Style the logo */
#navbar #logo {
  padding: 5px ;
  font-size: 30px;
  font-family: "Roboto", sans-serif;
  transition: 0.4s;
  margin: auto;
  border-radius: 30px;
  margin-left: 0px;
  margin-top: 0px;
  float: left;
}

#navbar #logo a {
  color: #000000;
  text-decoration: none;
}

#navbar #logo:hover {
  /*background-color: rgba(241, 240, 240, 0.792);*/
  text-decoration: underline;
}

/* Links on mouse-over */
#navbar a:not(#navbar #logo):hover {
  /*background-color: rgba(255, 255, 255, 0.668);*/
  color: rgba(82, 249, 238, 0.911);
  transition: 0.2s;
}

/* Style the active/current link */
#navbar a.active {
  background-color: #00CFC8;
  color: #ffffff;
}

/* Display some links to the right */
#navbar-right {
  float: right;
}


/* Add responsiveness - on screens less than 580px wide, display the navbar vertically instead of horizontally */
@media screen and (max-width: 900px) {
  .hero h1 {
    max-width: 15rem;
    margin-bottom: 20px;
    font-size: 2rem;
}

  .hero p {
    font-size: .6rem;
    line-height: 1;
    margin-bottom: 15px;
    max-width: 30rem;
  }
}
@media screen and (max-width: 780px) {
  
  /*#navbar {
    padding: 20px 10px !important;
     }*/
  #navbar a {
    font-size: 1rem;
    margin-right: 10px;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 5px;
       
  }
  h1,h2 {
    font-size: 1rem;
  }

  #navbar #logo {
    font-size: 1rem;
  }
  /*#navbar-right {
    float: none;
  }
  .toggle {
    float: none;
    display: block;
  }
  .slider {
    float: none;
    display: block;
    }*/
  .hero h1 {
    max-width: 20rem;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

  .hero p {
    font-size: 1rem;
    line-height: 1;
    margin-bottom: 15px;
    max-width: 5rem;
  }

  .blob {
    width: 20%;
    height: 5%;
    position: relative;
    margin-left: 5%;
  }

}

/*Services*/
/* Define the styles for the service container */
.service-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three columns */
  gap: 20px; /* Spacing between service boxes */
}

/* Define the styles for the service class */
.service {
  background: #d6dfee90;
  color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}

.service h3 {
  color: #00CFC8;
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.service p {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}

.service img {
  max-width: 100%; /* Ensure the image doesn't exceed the container width */
  max-height: 100%; /* Ensure the image doesn't exceed the container height */
}

.bobbing-image {
  width: 34%;
  margin-left: 5%;
  animation: bob 3s ease-in-out infinite;
}

@keyframes bob {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.contact-section {
  background-color: #f8f8f8;
  padding: 40px;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 15px;
}

.contact-info {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
}


/*Blob Pic*/

.blob {
  width: 60%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 42% 56% 72% 28% / 42% 42% 56% 48%;
  background: url('stock.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, .2);
  animation: blob 3.7s linear infinite;
  margin-left: 25%;
}

@keyframes blob {
  0%, 100% {
      border-radius:
          42% 56% 72% 28% / 42% 42% 56% 48%;
  }

  33% {
      border-radius:
          42% 28% 48% 48% / 28% 28% 72% 72%;
  }

  66% {
      border-radius:
          100% 56% 56% 100% / 100% 100% 56% 56%;
  }
}

.cursor {
  animation: blink 1s linear infinite;
}
@keyframes blink {
  0% {opacity: 1;}
  50% {opacity: 0;}
  100% {opacity: 1;}
}