/* Base styles */

/* Import fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&family=Roboto:wght@300;400;700&family=Open+Sans:wght@300;400;700&family=Poppins:wght@300;400;700&family=Lato:wght@300;400;700&family=Merriweather:wght@300;400;700&family=Playfair+Display:wght@300;400;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #333;
  background-color: #f9f9f9;
  margin: 50;
  padding: 20;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 32px;
}


p {
  font-size: 18px;
}

button {
  font-size: 16px;
  padding: 10px 20px;
  margin: 10px;
  background-color: #4CAF50;
  border:none;
  color: #fff;
}

select {
  font-size: 16px;
  padding: 10px 20px;
  margin: 10px;
}

        body {
            margin:0 auto;
            width: 1000px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 8px;
        }
        th {
            background-color: #f4f4f4;
        }

/* Medium screens (tablets) */
@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 24px;
}
  
  p {
    font-size: 18px;
  }
  
  form {
  text-align: center;
}
  
  button {
    font-size: 14px;
    padding: 8px 16px;
    text-align:center;
    
  }
  
  table, thead, tbody, th, td, tr {
        display: block;
    }

    thead {
        display: none; /* Hide the table header */
    }

    tr {
        margin-bottom: 10px;
        border: 1px solid #ddd;
        padding: 10px;
    }

    td {
        display: flex;
        justify-content: space-between;
        padding: 8px;
        border-bottom: 1px solid #ddd;
    }

    td::before {
        content: attr(data-label); /* Use data attributes to show labels */
        font-weight: bold;
    }
}

/* Small screens (mobile) */
@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }
  
    h2 {
    font-size: 22px;
}
  
  p {
    font-size: 18px;
  }
  
  button {
    font-size: 12px;
    padding: 6px 12px;
  }
}
