body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 300;
    font-style: normal;
    background-image: url(../images/fogtree.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

.header {
    padding-top: 15vh;
    color: rgb(1, 68, 33);
}

.title {
  text-align: center;
  font-size: 2.5rem;
  font-family: 'Limelight', cursive;
  animation: fadeIn 1.5s ease-in-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.information {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 10px;
  
    animation: fadeIn 1.5s ease-in-out;
  }
  
.connect {
    margin: 0;
    font-size: 1.5rem;
    text-align: center;
    letter-spacing: .2cap;
    font-weight: 400;
    color: rgb(0, 90, 44);
  }
    
.email{
    text-decoration: none;
    cursor: pointer;
    color: rgb(1, 68, 33);
    word-break: break-word;
    font-size: 1.2rem;
    letter-spacing: .5cap;
    font-weight: 600;
}

.email:hover {
    color: rgb(182, 182, 70) ;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.main {
    color: white;
    flex: 1;
}

.box {
    background-color: rgba(0, 12, 0, 0.6);
    width: 75%;
    margin: 10% auto 0 auto;
    padding: 10px 20px;
    border-radius: 20px;
    animation: fadeIn 1.5s ease-in-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
  
  }

.welcome {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 300;

}

.paragraph {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
    text-align: center;
  }
  
  .paragraph p {
    margin-bottom: 1rem;
  }

@keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .social-links {
    text-align: center;
    font-size: 1rem;
    margin-top: 20px;
    padding-bottom: 20px; /* ✨ This adds space beneath the links */
  }
  
  .social-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
  }
  
  .social-links a:hover {
    color: rgb(182, 182, 70);
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
  }

  a:hover,
a:focus {
  color: rgb(182, 182, 70);
  text-decoration: none;
}

.img {
    width: 40px;
    margin: 10px 5px;

}

.footer {
    text-align: center;
    font-size: 0.9rem;
    color: white;
    margin-top: 40px;
    padding: 20px 10px;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  }
@media (max-width: 768px){
  body {
    background-attachment: scroll;
  }
}
@media (max-width: 600px) {
  body {
    background-size: auto;
    background-position: top left;
    background-repeat: repeat-x;
    background-attachment: scroll;
    overflow-x: auto;
    width: max-content;
    padding: 5vh 10px 0 10px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  .box,
  .footer,
  .main {
    max-width: 100vw;
    overflow-x: hidden;
  }
  html {
    overflow-x: auto;
  }

  .header {
    margin-top: 5vh;
    flex-shrink: 0;
  }

  .title {
    font-size: 2.2rem;
    text-align: center;
  }

  .box {
    width: 100%;
    padding: 20px 18px 80px 18px; /* lots of bottom padding for extra space */
    margin: auto; /* center vertically within flex container */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .paragraph {
    font-size: 1rem;
  }

  .welcome {
    font-size: 1.5rem;
  }

  .connect {
    font-size: 1.5rem; /* larger */
    text-align: center;
    flex-shrink: 0;
    margin-bottom: 10px;
  }

  .email {
    font-size: 1.5rem; /* larger */
    text-align: center;
    flex-shrink: 0;
  }

  .footer {
    flex-shrink: 0;
    padding: 20px 10px;
  }
}






