html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: #e5d7ce;
}

.navbar {
 position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1%;
  background-color: #e5d7ce;
  z-index: 1;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.navbar li {
  margin: 0 10px;
}

.navbar a {
  color: #282320;
  font-size: 1.5rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.navbar a:hover {
  color: #7e909a;
}

section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.transition-text {
  animation: color-transition 5s ease-in-out infinite;
}

@keyframes color-transition {
  0% {
    color: #e5d7ce;
  }
  50% {
    color: #441c1d;
  }
  100% {
    color: #e5d7ce;
  }
}

#home {
  background-color: #282320;
}

table {
  text-align: center;
}

.circle {
  width: 300px; /* Adjust the size of the circle to your preference */
  height: 300px; /* Adjust the size of the circle to your preference */
  border-radius: 50%; /* Make the div element a circle */
  overflow: hidden; /* Hide any content that goes beyond the circle shape */
}

.circle img {
  width: 100%; /* Make the image fill the circle */
  height: auto; /* Keep the aspect ratio of the image */
  display: block; /* Remove any extra spacing below the image */
}

#about {
  background: linear-gradient(to bottom, #282320, #441c1d);
}

/* Center the content on the page */
      .container {
        max-width: 800px;
        margin: 0 auto;
        padding: 50px;
        background-color: #e5d7ce;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
		align-content: center;
		text-align: center;
		object-position: center;
		border-radius: 10px; /* Add border-radius property to make the corners rounded */
      }

      /* Style the profile picture */
      .profile-pic {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        object-fit: cover;
      }

      /* Style the profile information */
      .profile-info {
        margin-top: 20px;
        display: flex;
        flex-wrap: wrap;
		align-content: center;
		text-align: center;
		object-position: center;
      }

      .profile-info h1 {
        font-size: 36px;
		color: #9b6129;
        margin: 0;
		align-content: center;
		text-align: center;
		object-position: center;
      }

      .profile-info h2 {
        font-size: 18px;
        margin: 0 0 10px 0;
        color: #441c1d;
		align-content: center;
		text-align: center;
		object-position: center;
      }

      .profile-info p {
        font-size: 16px;
        margin: 0 20px 10px 0;
        line-height: 1.5;
		font-family: 'Raleway', sans-serif;
  		font-weight: 400;
		color: #282320;
      }

      /* Style the social media links */
      .social-links {
        display: flex;
        margin-top: 20px;
        color: #7e909a;
		align-content: center;
		text-align: center;
		object-position: center;
      }

      .social-links a {
        display: inline-block;
        width: 40px;
        height: 40px;
        margin-right: 10px;
        border-radius: 50%;
		font-family: 'Raleway', sans-serif;
  		font-weight: 700;
        background-color: #282320;
        text-align: center;
        line-height: 40px;
        color: #E5D7CE;
        font-size: 16px;
        transition: background-color 0.3s ease;
		align-content: center;
		object-position: center;
      }

      .social-links a:hover {
        background-color: #555;
		text-align: center;
		object-position: center;
      }

#portfolio {
  background-color: #441c1d;
}

/* Center the image grid on the page */
      #image-grid {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin: 50px auto;
        max-width: 1200px;
		border-radius: 15px;
      }

      /* Style each image in the grid */
      .image {
        position: relative;
        width: 250px;
        height: 250px;
        margin: 20px;
        overflow: hidden;
	    border-radius: 15px;
      }

      /* Add a semi-transparent overlay on hover */
      .image:hover .overlay {
        opacity: 0.7;
      }

      /* Style the image overlay */
      .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000;
        opacity: 0;
        transition: opacity 0.3s ease;
      }

      /* Style the link within the image overlay */
      .overlay a {
        display: block;
        width: 100%;
        height: 100%;
        text-align: center;
        line-height: 300px;
        color: #e5d7ce;
		font-family: 'Shadows Into Light';
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
        transition: color 0.3s ease;
      }

      /* Change the link color on hover */
      .overlay a:hover {
        color: #e5d7ce;
      }

#contact {
  background: linear-gradient(to bottom, #441c1d, #9b6129);
  animation: gradient 20s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.contact-section {
  background-color: #e5d7ce;
  color: #e5d7ce;
}

/* Center align the form on the page */
.contact-form {
  max-width: 400px;
  margin: 2px;
  padding: 20px;
  background-color: #e5d7ce;
}

/* Style for form elements */
label {
  display: block;
  margin-bottom: 5px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

input, textarea {
  width: 56%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #e5d7ce;
  border-radius: 15px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

input[type="submit"] {
  background-color: #282320;
  color: #e5d7ce;
  cursor: pointer;
  border: none;
  border-radius: 15px;
  padding: 15px;
  transition: background-color 0.3s ease;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 18px;
  width: 60%;
}

input[type="submit"]:hover {
  background-color: #7e909a;
  object-position: center;
}

h1 {
  font-size: 5em;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

h2 {
  font-size: 3em;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

h3 {
  font-size: 2em;
  font-family: 'Shadows Into Light';
  margin: 0;
  padding: 0;
}

p {
  font-size: 1.5em;
  margin: 0;
  padding: 0;
}