nav {
  background-color: #8c2695;
  overflow: hidden;
  text-align: center;
  padding: 10px 0;
}

nav a {
  font-family: Arial, Helvetica, sans-serif;
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}

nav a:hover {
  background-color: #541154;
}

body{
  background-color: #434343;
}

.start {
  background-color: #282727;  
  border: 2px solid #444;     
  border-radius: 10px;        
  padding: 25px;               
  width: 60%;                  
  margin: 50px auto;          
  color: white;                
  text-align: center;          
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4); 
  min-height: calc(100vh - 100px);
}

.start h1 {
  margin-top: 0;              
  color: #d1a1d8;              
}

.photo {
  margin-top: 20px;
}

.photo img {
  width: 200px;    
  height: auto;          
  border-radius: 10px;   
  object-fit: cover;      
  box-shadow: 0 0 10px rgba(0,0,0,0.2); 
}

.series {
  border-collapse: collapse;   
  width: 60%;                  
  margin: 30px auto;           
  background-color: #2b2b2b;   
  color: white;               
  font-size: 18px;
  text-align: center;
}

.series, .series th, .series td {
  border: 2px solid #797979;     
  padding: 10px 15px;          
}

.series th {
  background-color: #541154;  
  color: white;
  font-weight: bold;
}

.hobby-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 40px 0;
  font-size: 14px;
}

.hobby-section.left img {
  order: 0;
}

.hobby-section.right img {
  order: 1;
}

.hobby-section img {
  width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.hobby-section p {
  flex: 1;
  font-size: 18px;
  line-height: 1.6;
  color: white;
}

.hobby-section table {
  margin-top: 20px;
  width: 100%;
}

.start h2 {
  color: #d1a1d8;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 28px;
}

.job {
  margin-bottom: 25px;
  text-align: left; 
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.job:not(:last-child) {
  border-bottom: 1px solid #555;
  padding-bottom: 15px;
}

.job h3,
.job p,
.job ul {
  text-align: left;
  margin-left: 20px; 
}

.job h3 {
  margin-bottom: 5px;
  color: #ffffff;
}

.job p {
  margin: 0 0 10px 0;
  color: #bbbbbb;
}

.job ul {
  margin: 0;
  padding-left: 40px;
  list-style-type: disc;
}

.section-title {
  text-align: center;
  color: #d1a1d8;
  font-size: 28px;
  margin-top: 40px;
}

.education {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.edu-item {
  margin-bottom: 25px;
  border-bottom: 1px solid #555;
  padding-bottom: 10px;
}

.edu-item h3 {
  color: #fff;
  margin-bottom: 5px;
}

.edu-item .period {
  color: #bbbbbb;
  margin: 0;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  padding: 40px;
  background-color: #2e2e2e;
  color: white;
}

.contact-box {
  flex: 1;
  background-color: #1f1f1f;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column; 
}


.contact-box h2 {
  color: #d1a1d8;
  text-align: center;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: bold;
}

input, textarea {
  padding: 10px;
  border: none;
  border-radius: 6px;
  background-color: #333;
  color: white;
}

input:focus, textarea:focus {
  outline: 2px solid #b44fc2;
}

button {
  margin-top: 20px;
  background-color: #b44fc2;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: #8e2f9c;
}

.contact-box a {
  color: #b44fc2;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}
