/* Reset and base styles */
* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
   }
   
   body {
     font-family: Arial, sans-serif;
     line-height: 1.6;
     color: #333;
   }
   
   main { 
    background-image: url('/template_resource/img/background.png');
    background-color: rgba(246, 250, 254, 0.733);
    background-blend-mode: soft-light;    
   }
   .container {
     width: 90%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
   }
   
   /* Header styles */
   header {
     background-color: #fff;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     padding: 1rem 0;
   }
   
   header .container {
     display: flex;
     justify-content: space-between;
     align-items: center;
   }

   header img { max-height:50px; }
   
   .logo {
     display: flex;
     align-items: center;
     text-decoration: none;
     color: #333;
     font-weight: bold;
   }
   
   .logo img {
     margin-right: 10px;
   }
   
   nav ul {
     display: flex;
     list-style: none;
   }
   
   nav ul li {
     margin-left: 20px;
   }
   
   nav ul li a {
     text-decoration: none;
     color: #333;
   }
   
   nav ul li a:hover {
     color: #dc3545;
   }
   
   /* Hero styles */
   .hero {
     background-color: #dc3545;
     color: #fff;
     text-align: center;
     padding: 4rem 0;
     background-image:url('/template_resource/img/website-background.png'); 
     background-repeat:no-repeat; 
     background-size:100%; 
     background-position:center;
     background-blend-mode:soft-light;
   }
   
   .hero img {
     margin-bottom: 2rem;
   }
   
   .hero h1 {
     font-size: 2.5rem;
     margin-bottom: 1rem;
   }
   
   .hero p {
     font-size: 1.2rem;
     margin-bottom: 2rem;
   }
   
   /* Button styles */
   .btn {
     display: inline-block;
     background-color: #fff;
     color: #dc3545;
     padding: 0.75rem 1.5rem;
     text-decoration: none;
     border-radius: 5px;
     font-weight: bold;
     transition: background-color 0.3s ease;
   }
   
   .btn:hover {
     background-color: #f8f9fa;
   }
   
   /* Portfolio styles */
   .portfolio {
     padding: 4rem 0;
   }
   
   .portfolio h2 {
     text-align: center;
     margin-bottom: 2rem;
   }
   
   .projects {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2rem;
   }
   
   .project {
     padding:15px; 
     background-color:#f8f9fa;  
     border-radius: 5px;
     overflow: hidden;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
   }
   
   .project img {
     width: 100%;
     height: auto;
   }
   
   .project h3 {
     padding: 1rem;
     text-align:center;
   }
   
   /* Contact styles */
   .contact {
     text-align: center;
     padding: 4rem 0;
   }
   
   .contact h2 {
     margin-bottom: 1rem;
   }
   
   .contact p {
     margin-bottom: 2rem;
   }
   
   /* Footer styles */
   footer {
     background-color: #333;
     color: #fff;
     text-align: center;
     padding: 2rem 0;
   }
   
   footer img {
     margin-bottom: 1rem;
   }
   
   /* Responsive design */
   @media (max-width: 768px) {
     header .container {
       flex-direction: column;
     }
   
     nav ul {
       margin-top: 1rem;
     }
   
     nav ul li {
       margin-left: 10px;
       margin-right: 10px;
     }
   
     .hero h1 {
       font-size: 2rem;
     }
   
     .hero p {
       font-size: 1rem;
     }
   }
   
   