/* this CSS was created to style any tables and forms within index.html, attractions.html, parks.html or credits.html */

table, th, td {
    border: 1px solid #000;
  }

th, td {
    padding: 0.5rem;
}

td {
    background-color: #CCE6F4;
}

td a:hover {
  background-color: #053a4c;
  color: #ffffff;
}

table {
    margin: 0 auto;
    border-radius: 1rem;
}

.table-header {
    background-color: #053a4c;
    font-family: 'Italiana', sans-serif;;
    color: #ffffff;
    font-size: 1.8rem;
  }

.tname {
    text-align: center;
    text-decoration: underline;
  }

tname hover {
    background-color: #ffffff;
}

/* created round corner of the <td> elements that are on the outside of the table */
.td-first-col1 {
    border-top-left-radius: 1rem;
}

.td-first-col2 {
    border-top-right-radius: 1rem;
}

.td-last-col1 {
    border-bottom-left-radius: 1rem;
}

.td-last-col2 {
    border-bottom-right-radius: 1rem;
}

/* Form */
form {
    border-radius: 5px;
    background-color: #CCE6F4;
    padding: 2rem 2rem 4rem 2rem;
    margin: 0 auto;
    width: 100%;
    
}

form ul {
    list-style-type: none;
}

form ul li {
  padding-right: 2rem;
  padding-bottom: 2rem;
}

input[type=text], [type=email], select, textarea{
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
 }

 label {
    padding: 0.75rem 0.75rem 0.75rem 0;
    display: inline-block;
    align-items: center;

  }

  input[type=submit] {
    background-color: #053a4c;
    color: white;
    padding: 0.75rem 1.5rem;
    margin: 1rem 0;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    float:right;
  }


  

  


