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

body {

  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: #f5f5f5;
  height: 100vh;
  position: relative;
  background: radial-gradient(circle, #9af36a, #e9efbb);
}

.background {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  position: relative;
}

.header {
  position: absolute;
  top: 5%;
  left: 10%;
  transform: rotate(-5deg);
  z-index: 1;
  text-align: center;
}

/* Flexbox Container for LinkedIn, GitHub, and Resume */
.flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 10rem;
  margin-right: 10rem;
  z-index: 4;
}

.flex-item {
  flex: 1;
  margin: 0 10px;
  text-align: center;
}

h1 {
  font-family: 'Creepster', 'Roboto';
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  font-size: 3.5rem;
  font-weight: 900;
  color: #68eb17;
  line-height: 1.1;
}

p {
  font-size: 1.2rem;
  color: #444;
}

.floating-text {
  text-align: center;
  position: relative;
  background-color: rgb(249, 247, 247);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

h2 {
  font-family: 'Creepster', 'Roboto';
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #68eb17;
}

p {
  font-size: 1rem;
  line-height: 1.5;
}

.footer {
  position: absolute;
  bottom: 5%;
  left: 10%;
  font-size: 1rem;
}

a {
  font-family: 'Creepster', 'Roboto';
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #68eb17;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Float Animation */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}



/* Media Query for Mobile Screens */
@media (max-width: 768px) {
  body {
    height: auto;
  }

  .background {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
  }

  .header {
    position: static;
    transform: none;
    text-align: center;
    margin-bottom: 20px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .floating-text {
    position: static;
    transform: none;
    margin: 10px 0;
    width: 100%;
    animation: none;
    padding: 15px;
  }

  .flex-container {
    flex-direction: column;
    align-items: stretch;
    bottom: 10%;
    width: 100%;
    left: 0;
    right: 0;
  }

  .flex-item {
    margin: 10px 0;
    text-align: center;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  .footer {
    position: static;
    margin-top: 20px;
    text-align: center;
  }
}

