@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap');
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: 0;
}

html,
body {
  font-family: 'Source Sans Pro', 'Times New Roman';
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* HEADER */

header {
  background-color: #0080ed;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  height: 80px;
  margin: auto;
}

header nav ul {
  display: flex;
}

header nav ul li {
  list-style: none;
}

header nav ul li a {
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  font-size: 18px;
  padding: 24px;
  transition: all 250ms linear 0s;
}

header nav ul li a:hover {
  background: rgba(255, 255, 255, 0.15);
}

header .container img {
  height: 30px;
}

#checkbox-menu {
  display: none;
}

/* MAIN */
main {
  margin-bottom: 100px;
}

main .container-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  margin: 100px auto 0px auto;
}

h2 {
  color: rgb(0, 0, 0);
  font-size: 45px;
  line-height: 50px;
  font-weight: bold;
}

h3 {
  color: rgb(131, 131, 131);
  font-size: 20px;
  line-height: 28px;
  margin: 10px 0;
}

form {
  margin-top: 20px;
}

form input {
  width: 380px;
  padding-left: 15px;
  font-size: 18px;
  height: 45px;
  margin-bottom: 13px;
  border-radius: 20px;
  border: 2px solid #0080ed;
}
form [type='submit'] {
  background-color: #0080ed;
  color: white;
  width: 150px;
  padding-left: 0px;
  font-size: 16px;
  height: 40px;
}
form [type='submit']:hover {
  cursor: pointer;
  background-color: rgba(0, 128, 237, 0.75);
  transform: translateY(-2px);
  cursor: pointer;

  color: white;
  border: 1px solid #0080ed;
  box-shadow: 0px 3px 1px -5px rgb(0 0 0 / 20%),
    0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 50%);
}

main .container-main img {
  width: 600px;
}

/* CARDS */

a {
  text-decoration: none;
}

.cards {
  width: 90%;
  max-width: 980px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
}

.text--medium {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: rgb(187, 185, 185);
}

.card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 5px 5px 15px -4px #000000;
  transition: all 0.3s ease 0s;
  border-radius: 10px;
}

.card:hover {
  transform: translateY(-7px);
}

.image {
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  position: relative;
  border-radius: 10px 10px 0 0;
  height: 225px;
}

.image img {
  position: absolute;
  border-radius: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.content {
  margin: 20px;
}

.title {
  margin-bottom: 0px;
}

/* CONTATOS */

#contatos {
  display: flex;
  justify-content: space-around;

  align-items: center;
  flex-wrap: wrap;
  margin: 100px auto;
  max-width: 980px;
}

/* CONTACT */

#contact {
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;

  gap: 20px;
}

#contact .contato {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#contact .contato h2 {
  font-size: 30px;
  color: #000000;
}
#contact .contato p {
  font-size: 12px;
  color: #2d343a;
}

#contact .text-redes-sociais h2 {
  font-size: 20px;
  color: #000000;
}

#contact .redes-sociais {
  display: flex;
  margin: 5px;
  gap: 25px;
}

#contact img {
  width: 20px;
}

#contact img:hover {
  transform: translateY(-5px);
}

/* FORMULÁRIO */

#form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#form input {
  width: 380px;
  padding-left: 15px;
  font-size: 18px;
  height: 45px;
  margin-bottom: 3px;
  border-radius: 20px;
  border: 2px solid #0080ed;
}

#form textarea {
  width: 380px;
  padding-left: 15px;
  font-size: 18px;
  height: 150px;
  margin-bottom: 3px;
  border-radius: 10px;
  border: 2px solid #0080ed;
}

#form button {
  width: 150px;
  height: 50px;
  margin: 10px 0;
  padding: 10px 20px;
  border-radius: 10px;
  background-color: #0080ed;
  color: white;
  border: none;
  cursor: pointer;
  transition: width 2s, height 4s;
}

#form button:hover {
  background-color: #2385dbda;
  color: white;
  border: 1px solid #0080ed;
  box-shadow: 0px 3px 1px -5px rgb(0 0 0 / 20%),
    0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 50%);
}

#form .button {
  display: flex;
  justify-content: right;
}

footer {
  background-color: #0080ed;
  padding-block: 1rem;

  text-align: left;

  color: white;
}

footer p {
  line-height: 2;

  margin: 0 1rem;
}
