/*nav bar*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  top: 0;
  color: white;
  
}

.site-name {
  font-size: 32px;
  font-weight: 700;
  color: rgb(71, 1, 71);
  
}

.buttons {
  display: flex;
  gap: 10px; 
  
}

.nav-button {
  background-color: rgb(71, 1, 71);
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color .15s;
  border-width: 2px;
  border: none;
  color: white;
}

.nav-button:hover {
  background-color: #555;
}

.nav-button::shadow {
  margin-top: 2px;
}

/*main section*/



body {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  background-color: purple;
  background-image: url('https://images.unsplash.com/photo-1617957689233-207e3cd3c610?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1632&q=80');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.flex-container {
  display: flex;  
  flex-direction: row; 
  align-items: stretch;
}

.flexbox1 {
  display: flex;
  flex-direction: column;
  flex: 1;
  
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  position: relative; 
}

.tm-image-container {
  position: absolute; 
  top: 0; 
  right: 0; 
  width: 60%; 
}

.tm-image {
  width: 100%; 
  display: block; 
  margin-top: 0;
}

.name-text {
  font-family: 'Roboto Mono', Arial;
  font-weight: 700;
  font-size: 75px;
  margin: 0;
  padding-bottom: 40px;
  padding-top: 50px;
  color: rgb(71, 1, 71);
}

.job-title {
  font-family: 'Roboto Mono', Arial;
  font-weight: 400;
  font-size: 50px;
  margin: 0;
  opacity: 0; 
  transition: opacity 0.3s;
  color: rgb(71, 1, 71);
  margin-bottom: 100px;
}

.name-text:hover + .job-title {
  opacity: 1; 
}


.flexbox2 {
  width: 500px;
  position: relative;
  height: 850px;
  
}

.self-image {
  position: absolute;
  right: 40px;
  bottom: 50px;
  width: 75%;  
}

.flexbox3 {
  width: 500px;
  position: relative;
  
}

.self-image2 {
  position: absolute;
  top: 20px;
  left: 35px;
  width: 75%;
}



/*contact form*/
.form-container {
  display: flex;
  justify-content: center; /* Center the content horizontally */
  align-items: center; /* Center the content vertically */
  border: 2px solid red; /* Add a red border */
  min-height: 800px; /* Set minimum height to fill the viewport */
  flex-direction: column; /* Stack children vertically */
}

#contactForm {
  background-color: #f9f9f9;
  padding: 80px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 90%; /* Set width to 100% */
  max-width: 600px; /* Set a maximum width for better appearance on large screens */
  
}

#contactForm label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

#contactForm .form-check {
  margin: 10px 0;
}

#contactForm .form-check-label {
  font-weight: normal;
  color: #333;
}

#contactForm .text-danger {
  font-size: 14px;
}

#contactForm button {
  background-color: rgb(71, 1, 71);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

#contactForm button:hover {
  background-color: #555;
}
