* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  margin: 0;
}

.isimyaz {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
  color: #007bff; /* Renk değiştirildi */
}

h5 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1rem;
 // color: #e0c389;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
 // color: #e0c389;
}

.form-group input {
  width: auto;
  min-width: 100px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  font-size: 1rem;
  overflow: hidden;
  color: #e0c389; /* Renk değiştirildi */
}

.font-selection {
  margin-bottom: 20px;
}

.font-selection h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #007bff; /* Renk değiştirildi */
}

.font-list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
}

.font-item {
  padding: 15px;
  margin: 0 10px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: all 0.3s ease;
  flex: 1 0 calc(33.33% - 20px);
  max-width: calc(33.33% - 20px);
 // color: #e0c389; /* Renk değiştirildi */
}

.font-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.font-preview {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #e0d389; /* Renk değiştirildi */
}

.select-font {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: #ffffff; /* Renk değiştirildi */
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 10px auto;
}

.select-font:hover {
  background-color: #0056b3;
}

@font-face {
  font-family: 'Hayda';
  src: url('fonts/Hayda.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Groute Script';
  src: url('fonts/Groute Script.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MonstayRegular';
  src: url('fonts/MonstayRegular-DYOOx.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Dealoras';
  src: url('fonts/Dealoras Font Duo.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roslyna';
  src: url('fonts/Roslyna.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Birds of paradise';
  src: url('fonts/Birds of Paradise.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Enchanted land';
  src: url('fonts/Enchanted Land.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Mangnolia script';
  src: url('fonts/Magnolia Script.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Flamouse';
  src: url('fonts/Flamouse Personal Use Only.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Signatra';
  src: url('fonts/Signatra.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Coffe latte';
  src: url('fonts/Coffee Latte.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Retro vintage';
  src: url('fonts/RetroVintage-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
