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

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

header {
  background-color: #000;
  color: #fff;
  padding: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 10px;
    border: 3px solid transparent; /* Add this line */
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #ffffff;
    color: #000;
    padding: 10px;
    border-radius: 10px;
  }

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  position: relative;
}

#hero {
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

#hero p {
  font-size: 24px;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #fff;
  color: #000;
}

#about {
  margin-top: 80px;
}

#about h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

#about p {
  font-size: 20px;
  margin-bottom: 40px;
}

#portfolio {
  margin-top: 80px;
}

a {
  text-decoration: none;
}

#portfolio h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

#portfolio ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#portfolio li {
  flex-basis: calc(33.33% - 20px);
}

#portfolio li img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 10px;
}

#portfolio li h3 {
  align-items: center;
  text-align: center;
  font-size: 24px;
  /* margin-bottom: 10px; */
}

#quote-reference {
  font-style: italic;
  margin-left: 200px;
  margin-top: -10px;
}

footer {
  background-color: #000;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.bubble {
  position: fixed;
  right: 55px;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: inset 0 0 25px rgb(188, 185, 185);
  animation-name: bubbleBounce;
  animation-duration: 8s;
  animation-iteration-count: infinite;
}

.bubble.small {
  position: fixed;
  right: 130px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: inset 0 0 25px rgb(188, 185, 185);
  animation-name: bubbleBounce;
  animation-duration: 6s;
  animation-iteration-count: infinite;
}

@keyframes bubbleBounce
{
  0% {
    transform: translateY(-100px);
  }
  50% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(-100px);
  }
}

.bubble::before {
  content: '';
  position: fixed;
  top: 15px;
  left: 15px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  z-index: 10;
  filter: blur(2px);
}

.bubble span{
  position: fixed;
  border-radius: 50%;
}

.bubble span:nth-child(1) {
  inset: 3.5px;
  border-left: 15px solid #0fb4ff;
  filter: blur(8px);
}

.bubble span:nth-child(2) {
  inset: 2.5px;
  border-right: 15px solid #ff448f;
  filter: blur(8px);
}

.bubble span:nth-child(3) {
  inset: 5px;
  border-top: 15px solid #ffeb3b;
  filter: blur(8px);
}

.bubble span:nth-child(4) {
  inset: 10px;
  border-right: 15px solid #fff;
  filter: blur(8px);
  transform: rotate(330deg)
}

/* Media queries */

/* Small screens */
@media only screen and (max-width: 768px) {
  header {
    padding: 10px;
  }

  nav ul li a {
    padding: 5px;
    border-radius: 5px;
  }

  nav ul li a:hover {
      padding: 5px;
      border-radius: 5px;
    }

  body {
    font-size: 12px;
  }

  main {
    padding: 10px;
  }

  #hero {
    height: 300px;
    margin-top: 100px;
    margin-bottom: 300px;
  }

  #hero h1 {
    font-size: 30px;
  }

  #hero p {
    font-size: 16px;
  }

  #about h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  #about p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .btn {
    padding: 5px 10px;
    border-radius: 5px;
  }

  #portfolio {
    margin-top: 100px;
  }
  
  #portfolio h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  #portfolio li {
    flex-basis: calc(33.33% - 20px);
  }
  
  #portfolio li img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 10px;
  }
  
  #portfolio li h3 {
    font-size: 12px;
  }
  
  #quote-reference {
    font-style: italic;
    margin-left: 50px;
    margin-top: 0px;
  }
  
  footer {
    background-color: #000;
    color: #fff;
    padding: 20px;
    text-align: center;
  }

  .bubble {
    right: 25px;
    width: 50px;
    height: 50px;
  }
  
  .bubble.small {
    right: 55px;
    width: 20px;
    height: 20px;
  }

  .bubble.small::before {
    top: 7.5px;
    left: 7.5px;
    width: 5px;
    height: 5px;
  }
  
  .bubble.small span:nth-child(1) {
    border-left: 5px solid #0fb4ff;
    filter: blur(3px);
  }
  
  .bubble.small span:nth-child(2) {
    border-right: 5px solid #ff448f;
    filter: blur(6px);
  }
  
  .bubble.small span:nth-child(3) {
    border-top: 5px solid #ffeb3b;
    filter: blur(3px);
  }
}
/* 
@media only screen and (min-width: 601px) and (max-width: 900px) {
  header {
    padding: 15px;
  }

  main {
    padding: 30px;
  }

  #hero {
    height: 400px;
  }

  #hero h1 {
    font-size: 42px;
  }

  #hero p {
    font-size: 20px;
  }

  #about h2 {
    font-size: 30px;
  }

  #about p {
    font-size: 18px;
  }

  #portfolio h2 {
    font-size: 30px;
  }

  #portfolio li {
    flex-basis: calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
    font-size: 100px;
  }

  header {
    padding: 10px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin-bottom: 10px;
  }

  main {
    padding: 20px;
  }

  #hero {
    height: 300px;
  }

  #hero h1 {
    font-size: 36px;
  }

  #hero p {
    font-size: 18px;
  }

  #about h2 {
    font-size: 24px;
  }

  #about p {
    font-size: 16px;
  }

  #portfolio h2 {
    font-size: 24px;
  }

  #portfolio li {
    flex-basis: calc(50% - 20px);
  }
} */