/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body, html {
    height: 100%;
    font-family: Arial, sans-serif;
  }
  
  .background {
    background-image: url('adomelec_fr_background.png'); /* Ensure the image is in the same folder */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
  }
  
  .content h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin: 0 auto;
    padding: 20px;
  }
  
  .contact-email {
    font-size: 1.2rem;
    margin-top: 10px; /* Minimal margin from the heading */
    padding-top: 10px; /* Adds spacing equivalent to half its height */
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  }
  
  footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    font-size: 0.9rem;
  }
  
  footer a {
    color: #ffa500;
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  
  /* Modal styles */
  .modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
    width: 90%; /* Adjusted for smaller screens */
    max-width: 600px;
    text-align: left;
    color: #333;
  }
  
  .modal-content h2 {
    margin-bottom: 15px;
  }
  
  .modal-content p {
    margin-bottom: 10px;
  }
  
  .modal-content a {
    color: #007bff;
    text-decoration: none;
  }
  
  .modal-content a:hover {
    text-decoration: underline;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* Responsive Design: Media Queries for Mobile Devices */
  @media (max-width: 768px) {
    .content h1 {
      font-size: 2rem; /* Smaller font size for smaller screens */
    }
  
    .contact-email {
      font-size: 1rem;
      margin-top: 10px;
      padding-top: 8px; /* Adjusted for smaller screens */
    }
  
    footer {
      font-size: 0.8rem; /* Adjust footer text size */
      padding: 8px;
    }
  
    .modal-content {
      width: 95%; /* Wider for small screens */
    }
  }
  
  @media (max-width: 480px) {
    .content h1 {
      font-size: 1.5rem; /* Even smaller font size for very small screens */
    }
  
    .contact-email {
      font-size: 0.9rem;
      margin-top: 8px;
      padding-top: 6px;
    }
  
    footer {
      font-size: 0.7rem; /* Further adjustment for very small screens */
    }
  }
  