html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.nav-bar {
    background-color: white;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    padding: 3px;
    font-family: "Roboto", sans-serif;
    margin: 0;
  }
  
.nav-bar a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
    margin: 5px;
  }
  
.nav-bar a:hover {
  background-color: aliceblue;
  padding: 10px;
}
  
.nav-button {
  display: block;
}

/* Media query to hide the button on screens with a maximum width of 768px */
@media screen and (max-width: 768px) {
  .nav-button {
      display: none;
  }
  .nav-bar {
    flex-direction: column;
    margin-top: 10px;
    margin: 0 auto;
  }
  .nav-bar a {
    font-size: 14px;
    padding: 5px;
    margin: auto;
  }
  .header-text {
    top: 50%; /* Adjust the top position for smaller screens */
    transform: translate(0, -20%); /* Center text vertically but lower it */
  }
  .header-text h1 {
    font-size: 30px; /* Adjust the font size for smaller screens */
  }

  .description {
    font-size: 10px; /* Adjust the font size for smaller screens */
  }

  .about-container,
  .interest-container {
    flex-direction: column;
    margin-bottom: 10px;
    padding: 10px; /* Adjust the padding as needed to create space on the sides */
  }

  .content-column {
    margin-right: 0;
    margin-bottom: 80px;
  }

  /* Adjust the spacing between the image and text */
  .about-container .content-column img,
  .interest-container .content-column img {
    max-width: 100%;
    height: auto;
  }

 .subheading {
    font-size: 35px;
  }

  .content {
    padding: 0 20px;
    }

  .contact-container {
    padding: 50px 20px; /* Adjust padding for smaller screens */
  }
  
  .contact-icons {
    margin-top: 10px; /* Adjust the top margin as needed */
  }
  
}

@keyframes fadeIn {
  from {
      opacity: 0; /* Start with opacity 0 */
  }
  to {
      opacity: 1; /* End with opacity 1 */
  }
}


.my-selfie {
  max-width: 100%; /* Ensure it doesn't exceed the screen width */
  height: auto; /* Maintain the aspect ratio */
}

.about-container,
.interest-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 115px; /* Adjust the padding as needed to create space on the sides */
  height: auto;
}

.content-column {
  flex: 0 0 calc(50% - 10px); /* Adjust the column width as needed */
  margin-right: 20px; /* Adjust the margin between columns */
}

.subheading {
  font: 2.5rem "Roboto", sans-serif;
  text-align: center;
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 10px;
}

.description {
  font: 1.5rem "Roboto", sans-serif;
  text-align: center;
  letter-spacing: 2px;
  line-height: 1.5;
  margin-bottom: 1rem;
  margin-top: 10px;
}

/* Interests */
.interest-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 115px; /* Adjust the padding as needed to create space on the sides */
  height: auto; 
  margin: 0 auto; /* Center the container using margin */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.delorean {
  display: block; /* Ensure it's a block-level element for margin: auto; to work */
  margin: auto; /* Center the image horizontally */
  max-width: 100%; /* Ensure it takes the full width of its container */
  height: auto; /* Maintain the aspect ratio */
  padding-left: 5px;
}


/* Contact Section */
.contact-container {
  width: 100%;
  text-align: center;
  padding: 60px 0; /* Adjust padding as needed */
  margin: 0;
  background-color: #f7f7f7; /* Background color for the contact section */
}

.contact-header {
  font-size: 2.5rem;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.contact-subheading {
  font-size: 1.5rem;
  font-family: "Roboto", sans-serif;
  margin-bottom: 1rem;
}

.contact-icons {
  margin-top: 20px; /* Adjust the top margin as needed */
}

.contact-icons a {
  text-decoration: none;
  margin: 0 20px; /* Adjust the margin between icons */
}

.contact-email {
  font-size: 1.25rem;
  margin-top: 20px; /* Adjust the top margin as needed */
}

/*Photo Gallery*/
.carousel-container {
  width: 80%;
  margin: auto;
  overflow: hidden;
  position: relative;
  padding: 60px 0; /* Adjust the vertical padding and add horizontal padding */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.carousel-slide {
  display: none;
}

.carousel-slide img {
  width: 100%;
}

