body,
ul,
li,
h1,
h3,
small,
p,
button {
  margin: 0px;
  padding: 0px;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f8f6f6;
  overflow-x: hidden;
  background-image: url(../images/massimo-negrello-Cgup_bHsr_w-unsplash.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

img {
  display: block;
  max-width: 100%;
  padding-left: 20px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

header img {
  cursor: pointer;
  height: 120px;
  margin-right: 20px;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: #4e4d4c;
}

.home,
.pets,
.contacts,
.donate {
  color: #4e4d4c;
  font-weight: bold;
}

#aboutus {
  color: #4e4d4c;
  font-weight: bold;
}

#aboutus:hover {
  color: #c74323;
}

#Adopt {
  font-size: 60px;
}

header a:hover {
  color: #c74323;
}

/* Style the Bootstrap button */
header nav ul li a.btn {
  padding: 8px 20px;

  font-weight: bold;
  transition: all 0.3s ease;
  margin: 0;
  /* Remove any default button margin */
}

header nav ul li a.btn:hover {
  transform: scale(1.05);
}

/* --------- HOME --------- */

.introducao-bg {
  /* background-color: #d1bcb7;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat; */
  padding: 5.625rem;
}

.introducao {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  padding: 0 1.875rem;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
}

.introducao img {
  height: auto;
}

.intro-texto {
  color: #fff0e1;
}

.intro-texto h1 {
  margin-bottom: 1.25rem;
  font-size: 2.5rem;
}

.intro-texto p {
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  max-width: 36ch;
}

.button {
  display: inline-block;
  background-color: transparent;
  border: 1px solid #ffffff;
  border-radius: 1.25rem;
  padding: 0.5rem 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #ffffff;
  margin-right: 1.25rem;
  margin-top: 1.6rem;
}

.button:hover {
  background-color: #ffffff;
  color: #c74323;
}

.first {
  /* background-color: #d1bcb7;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat; */
  padding: 5.625rem;
}

.second {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  padding: 0 1.875rem;
  gap: 2.5rem;

}

.fourth {
  color: #fff0e1;
}

.intro-texto h1 {
  margin-bottom: 1.25rem;
  font-size: 2.5rem;
}

.intro-texto p {
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  max-width: 36ch;
}

#firstButton {
  color: white;
  font-weight: bold;
  padding: 15px 15px;
  background-color: orangered;
  border: none;
  border-radius: 12px;
  margin-top: 20px;
}

/* --------- PETS --------- */

.pets-bg {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.75rem 2.5rem;
}

.pets-titulo {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.875rem;
  color: #3c3c3c;
}

.pets-conteudo label {
  margin-right: 1.25rem;
}

.dogs-display,
.cats-display {
  display: none;
}

.dogs-container,
.cats-container {
  max-width: 860px;
  display: flex;
  flex-wrap: wrap;
  margin: 3.125rem auto;
  justify-content: space-between;
  gap: 6.25rem 0;
}

.pets-conteudo img {
  border-radius: 10px;
  transition: transform 500ms ease;
}

.pets-conteudo img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

small {
  font-size: 0.75rem;
  font-weight: 400;
}

h3 {
  margin-top: 0.75rem;
  color: #3c3c3c;
}

#dog:checked~.dogs-display {
  display: block;
}

#cat:checked~.cats-display {
  display: block;
}

.ver-link {
  display: flex;
  justify-content: center;
}

.ver-link a {
  color: #707070;
  position: relative;
}

.ver-link a::after {
  content: "▶";
  font-size: 0.875rem;
  color: #c74323;
  position: absolute;
  right: -1.25rem;
  top: 1px;
}

.ver-link a:hover {
  color: #c74323;
}

/* --------- CONTATO --------- */

.contato-bg {
  background-color: #abdcd6;
  padding: 4.375rem 1.25rem;
}

.contato-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.contato-titulo {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.875rem;
  color: #c74323;
  text-align: center;
}

.contato-conteudo {
  display: flex;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
  justify-content: center;
  gap: 4.375rem;
  place-items: center;
}

.formulario {
  width: 45%;
}

form label {
  display: block;
  margin: 0.75rem 0;
  font-weight: 400;
  font-size: 1rem;
  color: #111111;
}

form input,
textarea {
  width: 100%;
  padding: 0.625rem;
  border: 1px solid #c74323;
  border-radius: 4px;
  background-color: #fff0e1;
  outline: none;
  font-family: "Montserrat", sans-serif;
}

.btn-contato {
  display: block;
  border: none;
  border-radius: 1.25rem;
  padding: 7px 0.75rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  color: #fff0e1;
  background-color: #c74323;
  margin-top: 0.625rem;
}

.btn-contato:hover {
  background-color: #c25a40;
}

.contato-info {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  color: #3c3c3c;
  font-weight: 700;
  font-size: 1.5rem;
  padding-top: 0.75rem;
}

.contato-info a {
  color: #3c3c3c;
}

.contato-info a:hover {
  color: #000000;
}

.contato-info li:first-child {
  color: #c74323;
  font-size: 1.875rem;
  font-weight: 700;
}

.redesocial img {
  transition: transform 150ms ease-out;
}

.redesocial img:hover {
  transform: scale(1.15);
}

/* --------- RODAPÉ --------- */

footer {
  background-color: orangered;
  text-align: center;
  color: black;
  padding: 1.25rem 0;
  font-weight: bold;
  font-style: italic;
}

footer img {
  margin: 0 auto;
  margin-bottom: 0.625rem;
  background: none;
}

/* MEDIA QUERY */

@media (max-width: 1000px) {
  body {
    margin: 0;
    padding: 0;
    height: auto;
  }

  footer {
    padding-bottom: 75px;
    padding-top: 45px;
  }

  .intro-texto h1 {
    font-size: 1.875rem;
  }

  .button {
    font-size: 1rem;
    margin-right: 0.3125rem;
  }

  .intro-texto p {
    font-size: 0.875rem;
  }

  img {
    margin-right: 25px;
  }

}

@media (max-width: 800px) {
  .introducao {
    flex-direction: column;
  }

  .introducao img {
    height: 300px;
  }

  .contato-info {
    font-size: 1.125rem;
  }

  .contato-info li:first-child {
    font-size: 1.375rem;
  }

  img {
    margin-right: 25px;
  }
}

@media (max-width: 600px) {
  .introducao img {
    height: 250px;
  }

  .intro-texto h1 {
    font-size: 1.5rem;
  }

  .intro-texto p {
    font-size: 0.75rem;
  }

  .intro-conteudo {
    display: block;
  }

  .dogs-container,
  .cats-container {
    justify-content: center;
    gap: 50px;
  }

  .pets-titulo {
    font-size: 1.75rem;
  }

  .contato-titulo {
    font-size: 1.75rem;
  }

  .contato-conteudo {
    gap: 2.5rem;
  }

  img {
    margin-right: 25px;
  }
}

@media (max-width: 550px) {
  .introducao-bg {
    padding: 3.125rem 1.25rem;
  }

  .contato-conteudo {
    flex-direction: column;
    place-items: start;
  }

  .formulario {
    width: 100%;
  }

  header {
    justify-content: center;
  }

  header img {
    margin-bottom: 20px;
  }

  img {
    margin-right: 25px;
  }
}

@media (max-width: 480px) {
  .intro-texto h1 {
    font-size: 1.25rem;
  }

  .button {
    font-size: 0.75rem;
  }

  img {
    margin-right: 25px;
  }

  h1 {
    color: darkgreen;
    font-weight: bold;
  }
}

@media (min-width: 2560px) {
  footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background-color: orangered;
    z-index: 1000;
  }

  #home {
    width: 100%;
    max-width: 2200px;
    margin: 20px auto;
    padding: 0 20px;
  }

  .logo-link {
    float: left;
  }

  .logo {
    width: 150px;
    /* Adjust this value as needed */
    height: auto;
  }

  .nav-list {
    float: right;
  }

  .nav-list li a {
    font-size: 30px;
    padding: 0 15px;
    color: black !important;
  }

  .nav-list li a:hover {
    color: #c74323 !important;
  }
}

/* Center the "Ready to Adopt" header */
@media (min-width:1180px) {
  .menu-toggle {
    display: none;
  }
}

@media(max-width:1368) {
  header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    width: 120px;
    /* Increased from 100px */
    margin-right: 20px;
    /* Added space between logo and toggle */
    height: 80px;

  }

  .logo-link {
    margin-top: 40px;
  }

  .menu-toggle {
    margin-left: auto;
    /* Push toggle to the right */
    margin-right: 10px;
    /* Add some right padding */
  }

  .nav-list {
    float: none;
    display: none;
    /* Hide nav by default */
    position: absolute;
    top: 60px;
    right: 0;
    background: #333;
    width: 100%;
    text-align: center;
  }

  .nav-list li {
    display: block;
    margin: 10px 0;
  }

  .nav-list li a {
    font-size: 1rem;
    padding: 10px;
    display: block;
  }

  /* Mobile Menu Toggle */
  .menu-toggle {
    display: block;
    float: right;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    margin-top: 10px;
  }

  .nav-list.active {
    display: block;
  }
}

@media (min-width:600px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    width: 120px;
    /* Increased from 100px */
    margin-right: 20px;
    /* Added space between logo and toggle */
    height: 80px;

  }

  .logo-link {
    margin-top: 40px;
  }

  .menu-toggle {
    margin-left: auto;
    /* Push toggle to the right */
    margin-right: 10px;
    /* Add some right padding */
  }

  .nav-list {
    float: none;
    display: none;
    /* Hide nav by default */
    position: absolute;
    top: 60px;
    right: 0;
    background: #333;
    width: 100%;
    text-align: center;
  }

  .nav-list li {
    display: block;
    margin: 10px 0;
  }

  .nav-list li a {
    font-size: 1rem;
    padding: 10px;
    display: block;
  }

  /* Mobile Menu Toggle */
  .menu-toggle {
    display: block;
    float: right;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    margin-top: 10px;
  }

  .nav-list.active {
    display: block;
  }
}