/* Base styles */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Responsive design */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-padding, 47px);
}

@media (max-width: 768px) {
  .sec1 {
    height: 100vh; /* Full viewport height */
    line-height: 1.6;
    font-size: 40px;
  }

  .navbar .nav-links {
    display: none !important;
  }

  .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-links a {
    margin-bottom: 10px; /* Adjust as needed */
  }

  .social-links br {
    display: none; /* Hide the <br> on larger screens */
  }
}

/* Navbar styles */
.navbar {
  overflow: hidden;
  background-color: #333;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px; /* Added padding: 10px top and bottom, 20px left and right */
}

.navbar .logo {
  font-size: 24px;
  font-weight: bold;
  color: #f2f2f2;
  text-decoration: none;
}

.navbar .nav-links {
  display: flex;
}

.navbar .nav-links a {
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  padding-right: 34px;
}

.navbar .nav-links a:hover {
  background: #ddd;
  color: black;
}

/* Section styles */
.sec1 {
  height: 100vh; /* Full viewport height */
  background: linear-gradient(to right, #43cea2, #185a9d);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 80px;
  font-weight: bold;
  font-family: 'Comforter Brush', cursive;
  text-align: center;
  overflow: hidden; /* Prevents any overflow */
  position: relative;
  animation: fadeIn 3s ease-in-out;
}

.sec1 span {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.sec2, .sec3, .sec4, .sec5 {
  padding: 40px 20px;
  margin: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  flex: 1;
}

/* Content styling */
.content {
  max-width: 1100px;
  margin: auto;
}

/* Footer styles */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  width: 100%;
  bottom: 0;
}

footer p {
  margin: 0;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Button styles */
button {
  background-color: #FFC107;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

button:hover {
  background-color: white;
  color: #FFC107;
  border: 2px solid #FFC107;
}

/* Form Styles */
form {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

form button {
  background-color: #FFC107;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

form button:hover {
  background-color: white;
  color: #FFC107;
  border: 2px solid #FFC107;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}

.social-links a {
  font-size: 18px;
  color: #919191;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ffc107;
}

/* Remove underline from all links */
a {
    text-decoration: none;
}

/* visited link */
a:visited {
  color: none;
}

/* selected link */
a:active {
  text-decoration: underline;
} 