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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color:#f5e1dc; 
  color: #333;
  padding: 0px;
}

h2 {
  display: flex;
  justify-content: center;
  color: #333;
  font: open-sans, sans-serif;
}

header {
  background: #7c2727;
  padding: 0, 0;
}

.nav-container { 
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #faf6f7;
  text-decoration: none;
  font-family: montserrat, sans-serif;
}

.logo:hover a {
  color: #333;
}

.logo nav ul li a:hover {
  color: #333;
}

#butons {
  display: flex;
  list-style: none;
  gap: 1.2rem;  
  text-decoration: none;
  font-size: larger;
  padding-top: 20px;
  align-items: center;
  gap: 1rem;
}
#butons li a {
  background-color: transparent;
  color: #FAF9F6;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-family: montserrat, sans-serif;
}
#butons li a:hover {
  background-color: #ffffff;
  color: #333;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 1.2rem;  
  text-decoration: none;
  font-weight: 500;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.signup {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.signup a {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.signup .sign {
  background-color: #a14c4c;
  color: #fcd7d7;
  border: 2px solid #fcd7d7;
}
.signup .sign:hover {
  background-color: #642323;
  color: #ffffff;
}
.signup .log {
  background-color: #642323;
  color: #ffffff;
  border: 2px solid #ffffff;
}
.signup .log:hover {
  background-color: #a14c4c;
  color: #fcd7d7;
}
.signup p {
  color: white;
}
#card {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #a76b6b;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(32, 8, 8, 0.1);
}

#title {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
}

#infor {
  width: 100%;
  overflow: hidden;
}
#fto img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

#details {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #a76b6b;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(32, 8, 8, 0.1);
}
footer {
  background-color: #a84343;
  padding: 20px 0 20px 0;
  margin-top: 20px;
}
footer p, footer a {
  color: #333;
  text-align: center;
  font-family: open-sans, sans-serif;
}
#butomn {
  display: flex;
  justify-content: center;
  padding: 20px 0 20px 0;
}
button {
  background-color: #660808;
  border: none;
  padding: 15px 30px 15px 30px;
  border-radius: 10px;
  font-size: 1.2rem;
}
button a {
  text-decoration: none;
  color: #f3cece;
}
button:hover {
  background-color: #380f0f;
  cursor: pointer;
}
.move{
  position: relative;
  left: calc(50% - 70px);
}