/* General styles */

body {
    background-color: #f0f0f0;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

/* Header styles */

header {
  background: linear-gradient(to bottom, #156082 50%, #f0f0f0 50%);
  height: 160px;
  text-align: center;
  padding: 10px;
}

/* Main content styles */

main {
  padding: 20px;
  margin-bottom: 2em;
}

section {
    background-color: #ffffff;
    max-width: 800px;
    margin: 2em auto;
    padding: 2.5em 3em;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    width: 100%;
    box-sizing: border-box;
}

section > .links > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

section > .links > ul > li > a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 5px; /* Add padding to the links */
    background-color: #f0f0f0; /* Add a background color */
    border-radius: 5px; /* Add rounded corners */
    transition: background-color 0.3s ease; /* Add a hover effect */
    font-size: 1em;
    margin: 10px;
}

section > .links > ul > li > a:hover {
    background-color: #dddddd;
}

section > .links > ul > li > a > i {
    display: block;
    padding: 10px; 
    font-size: 1.5em;
}

/* Footer styles */
footer {
  background-color: #333333;
  color: #ffffff;
  padding: 20px;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* Style the suggestion form */
#sugestoes form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

#sugestoes label {
    margin-top: 10px;
    font-weight: bold;
}

#sugestoes input[type="text"], #sugestoes input[type="tel"], #sugestoes input[type="email"], #sugestoes textarea {
    padding: 5px 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

#sugestoes textarea {
    resize: vertical;
}

#sugestoes input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

#sugestoes input[type="submit"]:hover {
    background-color: #3e8e41;
}

@media (max-width: 600px) {
    section {
        margin: 1em auto;
        padding: 1em 2em;
        width: 100%;
        box-sizing: border-box;
    }
    h2 {
        text-align: center;
    }
}


@media (min-width: 1200px) {
    main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5em 2em;
    }
}

@media (min-width: 600px) {
    section > .links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5em 2em;
    }
}