/* Importação da fonte League Gothic */
@font-face {
  font-family: "League Gothic"; /* Nome da fonte */
  src: url("fonts/Letters\ for\ Learners.ttf") format("truetype"); /* Caminho da fonte */
}

/* Estilo básico do body */
body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background-color: #e8d674;
  padding: 0;
  justify-content: flex-start;
  max-width: 100%;
  overflow-x: hidden;
  margin: 10px; /* Remover margens padrão */
}

/* Estilo do topo (retângulo superior) */
.top-rectangle {
  background-color: #ffffff;
  width: 1500px; /* Largura total */
  height: 200px; /* Altura desejada */
  display: flex;
  align-items: center; /* Centraliza verticalmente o conteúdo */
  justify-content: space-between; /* Espaço entre os elementos */
  /*padding: 0 20px; /* Padding horizontal para espaçamento interno */
  position: relative;
  margin-bottom: 5px;
  border: 3px solid #000000; /* Temporário para depuração */
}

/* Estilo para a logo */
.top-rectangle img {
  height: 200px; /* Altura da logo */
}

/* Logo do lado esquerdo */
.logo-left {
  margin-right: 40px; /* Espaçamento entre a logo esquerda e o texto */
}

/* Imagem do carrinho de compras */
.cart-icon {
  position: absolute; /* Posicionamento absoluto */
  right: 100px; /* Distância da borda direita */
  margin-top: 5px; /* Espaçamento superior */
  width: 100px; /* Largura da imagem (ajuste conforme necessário) */
  height: auto; /* Altura automática (mantém a proporção) */
  cursor: pointer; /* Cursor de clique */
  z-index: 5; /* Garante que os botões fiquem na frente da imagem */
  object-fit: contain; /* Mantém a proporção da imagem */
}

/* Texto no top-rectangle */
.top-text {
  font-family: "League Gothic", sans-serif; /* Aplica a fonte personalizada */
  font-size: 95px; /* Tamanho do texto aumentado */
  color: #242659; /* Cor do texto */
  position: absolute; /* Posicionamento absoluto */
  left: 20%; /* Ajusta a posição horizontal */
  top: 20%; /* Centraliza verticalmente */
  transform: translateY(-50%); /* Ajuste fino para centralização */
}

div.menu {
  width: 1500px;
  background-color: rgb(255, 255, 255);
  margin-top: 5px;
  margin-bottom: 10px;
  border: 3px solid #000000; /* Temporário para depuração */
  overflow: hidden;
}

div.menu a {
  font-family: "League Gothic", sans-serif; /* Aplica a fonte personalizada */
  font-size: 40px; /* Tamanho do texto aumentado */
  color: #242659;
  padding: 2px 187px;
  float: left;
  text-decoration: none;
}

div.menu a:hover {
  background-color: #f1e911;
}

/* Container Principal */
.container {
  display: block;
  justify-content: center;
  align-items: center;
  height: calc(80vh - 100px);
  position: relative;
  background-color: #cac6c6;
}

/* Quadrado da Imagem */
.image-container {
  width: 600px;
  height: 460px;
  border: 3px solid #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden; /* Garante que apenas uma imagem seja exibida */
}

.image-container img {
  max-width: 100%;
  max-height: 100%;
}

/* Botões de Navegação */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1; /* Garante que os botões fiquem na frente da imagem */
}

.nav-button.left {
  left: 10px; /* Ajuste a posição do botão esquerdo */
}

.nav-button.right {
  right: 10px; /* Ajuste a posição do botão direito */
}

/* Botão "Click para fazer o projeto do seu gato" */
.cat-project-button {
  position: absolute;
  right: 3%;
  top: 60%;
  width: 350px; /* Largura do botão */
  height: auto; /* Altura do botão */
  background-color: #242659;
  border-radius: 25px;
  color: white;
  cursor: pointer;
  font-family: "League Gothic", sans-serif; /* Aplica a fonte personalizada */
  font-size: 50px;
  font-weight: bold; /* Texto em negrito */
  text-align: center; /* Centraliza o texto */
  /*white-space: nowrap; /* Impede que o texto quebre em várias linhas */
}

/* Media Queries para Responsividade */

/* Celular (Mobile) */
@media (max-width: 480px) {
  body {
    margin: 5px;
  }

  .top-rectangle {
    width: 95%;
    height: auto;
    min-height: 100px;
    padding: 10px 0;
  }

  .top-text {
    font-size: 2rem;
    left: 35%;
    top: 50%;
    width: 60%;
    text-align: center;
  }

  .cart-icon {
    width: 40px;
    right: 10px;
  }

  div.menu {
    width: 95%;
    display: flex;
    flex-direction: column;
  }

  div.menu a {
    padding: 10px 0;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
  }

  .cat-project-button {
    position: relative;
    right: auto;
    top: auto;
    width: 95%;
    font-size: 1.5rem;
    padding: 10px;
    margin: 10px auto;
  }

  .container {
    width: 95%;
  }

  .image-container {
    width: 95%;
    height: 300px;
    margin: 0 auto;
  }

  .top-rectangle img {
    height: 80px;
  }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
  body {
    margin: 8px;
  }

  .top-rectangle {
    width: 95%;
    height: auto;
    min-height: 150px;
  }

  .top-text {
    font-size: 3rem;
    left: 30%;
    width: 65%;
  }

  .cart-icon {
    width: 60px;
    right: 15px;
  }

  div.menu {
    width: 95%;
  }

  div.menu a {
    padding: 10px 80px;
    font-size: 2rem;
  }

  .cat-project-button {
    width: 300px;
    font-size: 2rem;
    right: 5%;
  }

  .container {
    width: 95%;
  }

  .image-container {
    width: 90%;
    height: 380px;
    margin: 0 auto;
  }

  .top-rectangle img {
    height: 120px;
  }
}

/* Para desktops e notebooks grandes */
@media (min-width: 1025px) {
  .vertical-rectangle {
    width: 180px; /* Largura fixa para desktops */
  }

  .screen {
    height: 400px; /* Mantive a altura reduzida para desktops */
  }

  .top-rectangle {
    height: 200px; /* Ajuste a altura para desktops */
  }
}
