@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap");

/* font-family: "Libre Baskerville", serif; */
/* font-family: "Permanent Marker", cursive; */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Barlow Condensed", sans-serif;
  background: url("/background.jpg") no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  background-color: rgba(15, 15, 15, 0.9);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.3);
  width: 100%;
  max-width: 380px;
  color: white;
}

.login-box h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 32px;
  color: #ff2f2f;
}

.login-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 6px;
  background-color: #262626;
  color: #fff;
  font-size: 16px;
}

.login-box button {
  width: 100%;
  padding: 12px;
  background-color: #ff2f2f;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-box button:hover {
  background-color: #e02626;
}

.login-box p {
  text-align: center;
  margin-top: 15px;
}

.login-box a {
  color: #ff2f2f;
  text-decoration: none;
  font-weight: bold;
}

.login-box a:hover {
  text-decoration: underline;
}

/* Home.ejs */

#container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  width: 1400px;
  height: 900px;
  background-color: rgba(15, 15, 15, 0.9);
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.699);
  margin: 0 15px;
}
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
}
h1 {
  color: white;
  font-size: 2.5vh;
  font-family: "Permanent Marker", cursive;
  text-shadow: 0 0 25px rgba(255, 0, 0, 0.699);
}
h3 {
  color: white;
}
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
nav button {
  text-decoration: none;
  color: red;
  padding: 5px;
  border-radius: 5px;
}
nav a:hover {
  background-color: rgba(128, 128, 128, 0.308);
}
footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 40px;
}
.copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.copy p {
  color: white;
  font-family: "Libre Baskerville", serif;
  font-size: 2vh;
}
p {
  color: white;
}
section {
  display: flex;
  width: 100%;
  height: 100%;
}
.left,
.right {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
}
.left {
  align-items: end;
}
.right {
  align-items: center;
  position: relative;
}
.book {
  margin-bottom: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.book p {
  font-size: 2.5vh;
  color: red;
}
button {
  padding: 5px 10px;
  border-radius: 8px;
  color: white;
  background-color: transparent;
  width: 120px;
  border: 1px solid red;
  cursor: pointer;
}
button:hover {
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.699);
}
.border-none {
  border: none;
}
#imagem {
  width: auto;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
  opacity: 1;
}
.fade-out {
  opacity: 0;
}
.contact {
  display: flex;
  gap: 20px;
  padding: 10px;
}
/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}
.cant p { 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.modal-content {
  background: rgba(99, 99, 99, 0.445);
  padding: 20px;
  border-radius: 10px;
  width: 300px;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  margin: 10px 0;
  padding: 8px;
  background-color: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  outline: none;
  color: white;
}

.modal-content input::placeholder,
.modal-content textarea::placeholder {
  color: white;
}
.whatsapp-button {
  cursor: pointer;
}
.close {
  float: right;
  cursor: pointer;
  font-weight: bold;
  color: red;
}
/* FORMULÁRIO POPUP */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 999;
}
form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.form-popup {
  background: rgba(99, 99, 99, 0.445); /* igual ao modal-content */
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  color: white;
  font-family: "Libre Baskerville", serif;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.699);
  border: 1px solid red;
}

.form-popup h2 {
  text-align: center;
  font-family: "Permanent Marker", cursive;
  color: red;
  margin-bottom: 15px;
}

.form-popup input,
.form-popup select {
  width: auto;
  margin-bottom: 10px;
  padding: 8px;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid red;
  color: white;
  outline: none;
}
.form-popup textarea {
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
  padding: 8px;
  background-color: transparent;
  border: 1px solid red;
  color: white;
  outline: none;
}
.form-popup input::placeholder,
.form-popup textarea::placeholder {
  color: white;
}

#btns-send button {
  padding: 5px 10px;
  border-radius: 8px;
  color: rgb(255, 255, 255);
  background-color: transparent;
  border: 1px solid red;
  cursor: pointer;
}
#btns-send button:hover {
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.699);
}
.form-popup button[type="button"] {
  background-color: transparent;
  color: red;
  border: 1px dashed red;
  cursor: pointer;
}
/* select style*/

.custom-select {
  position: relative;
}
.custom-select select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  font-size: 18px;
  padding: 5px 8px 5px 8px;
  background-color: transparent;
  border-radius: 5px;
  color: #000000;
  cursor: pointer;
  outline: none;
  box-shadow: 0px 2px 20px 0px #ff0000;
}

.custom-select select:focus {
  background: transparent;
  border: 1px solid #c75a5a;
  border-radius: 5px;
}

.custom-select::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 50%;
  right: 10px;
  transform: translate(0, -50%);
  width: 12px;
  height: 12px;
  background-color: #fd0202;
  clip-path: polygon(
    29% 0%,
    71% 0%,
    71% 56%,
    100% 56%,
    50% 100%,
    0% 56%,
    29% 56%
  );
}
#btns-send {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding: 20px;
  border-radius: 10px;
  color: white;
  font-family: "Libre Baskerville", serif;
}
.btns {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: end;
}
legend {
  color: red;
}
fieldset {
  border: 1px solid rgb(0, 0, 0);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
fieldset button {
  width: 50px;
  margin-left: auto;
}
/*About*/

.about {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none;
}
.price {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none;
}

.about-box {
  background-color: #1e1e1e;
  border: 2px solid #ff3c3c;
  padding: 40px;
  border-radius: 10px;
  max-width: 600px;
  color: white;
  text-align: justify;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  word-spacing: 5px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.about-box ul {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}
.about-box ul li {
  list-style-type: none;
}
.items {
  border: 1px solid red;
  border-radius: 8px;
  background-color: black;
  padding: 5px;
}
.close-btn {
  background-color: #ff3c3c;
  border: none;
  padding: 10px 20px;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  margin-left: auto;
}

/* price */

.table_component {
  overflow: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.table_component table {
  border: 1px ridge #dededf;
  height: 100%;
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 1px;
  text-align: center;
}

.table_component caption {
  caption-side: top;
  text-align: center;
}

.table_component th {
  border: 1px ridge #dededf;
  background-color: #eceff1;
  color: #000000;
  padding: 5px;
}

.table_component td {
  border: 1px ridge #dededf;
  background-color: #ffffff;
  color: #000000;
  padding: 5px;
}
/* Tool Tip */
.tooltip {
  position: relative;
  border-bottom: 1px dotted black;
  cursor: pointer;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
@media only screen and (max-width: 1200px) {
  #container {
    height: 95%;
  }
  section {
    flex-wrap: wrap;
  }
  #imagem {
    width: 100%;
    height: auto;
  }
  .left {
    align-items: center;
  }
  .book {
    margin-bottom: 0;
  }
  .about-box {
    width: 90%;
    height: 90%;
    word-spacing: 0px;
    font-size: 1.9vh;
    padding: 5px;
  }
}
@media only screen and (max-width: 600px) {
  .bottom {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }
  h1 {
    text-align: center;
    font-size: 2vh;
  }
  nav {
    flex-direction: column;
  }
}
@media only screen and (max-width: 400px) {
  .form-popup {
    height: 95%;
    overflow-y: auto;
    scroll-behavior: smooth;
  }
}
