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

body {
  font-family: 'Poppins', sans-serif;
  background-color: hsl(210, 36%, 96%);
  color: #333;
}


.logo-container {
  display: flex;
  align-items: center;
}


h1 {
  font-size: 2rem;
}


.layout-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 20px;
}

aside {
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-top: 10px;
}

.aside-butn {
  background: linear-gradient(60deg, #5d9df0, #0778d3);
  color: white;
  padding: 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  width: 100%;
}

.aside-butn:hover {
  background: linear-gradient(360deg, #ecdd0c, #e3f427);
}

.main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.result-section {
  text-align: center;
}

#result-box {
  background-color: #ffffff;
  color: #007bff;
  font-size: 6rem;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
  transition: transform 0.3s ease;
}

#result {
  animation: none;
}

#previous-results {
  margin-top: 30px;
  color: #007bff;
}

ul {
  list-style: none;
}

li {
  font-size: 1.2rem;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}


.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 55px;
  margin-right: 15px;
  margin-top: -10px;
}

.logo-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 1px;
  font-weight: bold;
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: white;
  border-radius: 10px;
  margin: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  justify-content: space-around;
}

.logo-container {
  display: flex;
  align-items: center;
  margin-bottom: 15px;

}


.logo-title {
  font-family: 'Arial', sans-serif;
  font-size: 34px;
  color: #077ad7;
  text-shadow: 1px 1px 2px rgba(29, 72, 157, 0.5);
  letter-spacing: 1px;
  font-weight: bold;
}

.nav-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: -10px;
  align-items: center;
}

nav a {
  color: #424141;
  text-decoration: none;
  font-size: 17px;

}

.main-content {
  width: 1200px;
  margin: auto;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


.fytdyj {
  display: flex;
  align-items: center;
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: center;
  padding-left: 40px;
}

label {
  font-size: 18px;
  color: #59595a;
  margin-bottom: -21px;
}

input[type="number"] {
  padding: 12px;
  border: 1px solid #59595a;
  border-radius: 5px;
  font-size: 25px;
  transition: border-color 0.3s;
  width: 260px;
  text-align: center;
  color: #007bff;
}

input[type="number"]:focus {
  border-color: #ffc107;
  outline: none;
}

button {
  padding: 17px 50px;
  background: linear-gradient(360deg, #ecdd0c, #008dff);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-modal {
  padding: 12px 25px;
  background: linear-gradient(360deg, #ecdd0c, #008dff);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-left: 25px;
}

.dfsg {
  border: 1px solid;
  padding: 10px 3px;
  border-radius: 5px;
}



.btn-modal-one {
  padding: 12px 30px;
  background: linear-gradient(360deg, #ecdd0c, #008dff);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 15px;
}

button:hover {
  background: linear-gradient(360deg, #ecdd0c, #008dff);
  transform: translateY(-2px);
}

.result-section {
  margin-top: 20px;
  text-align: center;

  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#result-box {
  margin: 20px 0;
  font-size: 8rem;
  padding: 20px;
  background-image: url('../img/foto.png');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  color: #333;
  transition: background-image 0.7s ease;
}

.background-winner {
  background-image: url('../img/rb_25485.png') !important;
  background-size: cover;
  background-position: center
}

fade-out {
  opacity: 0;
  /* Исчезновение */
  transition: opacity 0.5s ease;
  /* Плавный переход */
}

#previous-results {
  margin-top: 20px;
}

#previous-results h3 {
  color: #007bff;
}

#history {
  list-style-type: none;
  padding: 0;
}

#history li {
  background-color: #e0e0e0;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
}


.result-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#result {
text-shadow: 2px 2px 0 #064f06, -2px -2px 0 #064f06, 2px -2px 0 #064f06, -2px 2px 0 #064f06;
}

#result-box {
  background-color: #1262eb;
  color: rgb(14, 179, 14);
  text-shadow: 3px 3px 0 black;
  font-size: 8.5rem;
  width: 670px;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.785);
  margin-bottom: 20px;
}

#result-boxaq {
  background-color: #1262eb;
  color: rgb(14, 179, 14);
  text-shadow: 3px 3px 0 black;
  font-size: 8.5rem;
  width: 360px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.785);
  margin-bottom: 20px;
}

#result-boxaq {
  margin: 20px 0;
  font-size: 8rem;
  padding: 20px;
  background-image: url('../img/foto.png');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  color: #333;
  transition: background-image 0.7s ease;
}

#result-boxas {
  margin: 20px 0;
  font-size: 8rem;
  padding: 20px;
  background-image: url('../box.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  color: #333;
}

#result-boxaser {
  background-color: #1262eb;
  color: rgb(14, 179, 14);
  text-shadow: 3px 3px 0 black;
  font-size: 8.5rem;
  width: 360px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.785);
  margin-bottom: 20px;
}

#result-boxaser {
  margin: 20px 0;
  font-size: 8rem;
  padding: 20px;
  background-image: url('../box.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  color: #333;
}


#result-boxas {
  background-color: #ffffff;
  color: rgb(14, 179, 14);
  text-shadow: 3px 3px 0 black;
  font-size: 7rem;
  width: 670px;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
  margin-bottom: 20px;
}

#previous-results {
  width: 300px;
  margin-top: 0;
  color: #007bff;
  height: 100px;
  overflow-y: auto;

}

ul {
  list-style: none;
}


footer {
  background-color: #ffffff;
  color: #323232;
  padding: 30px 20px;
  margin-top: 20px;

}

.burger-menu {
  display: none;
}

.nav-container {
  display: flex;
}

.aside-container {
  display: none;
}

.footer-content {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-logo {
  width: 55px;
  height: auto;
  margin-right: 10px;
  margin-top: -20px;
}

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

.modal-content {
  margin-left: 33%;
  margin-top: 15%;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 420px;
  max-width: 90%;
  position: relative;
  text-align: center;
}

.close {
  cursor: pointer;
  font-size: 24px;
  position: absolute;
  top: 10px;
  right: 10px;
}

h2 {
  margin-top: 0;
}

.burger-menu {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.footer-text {
  flex-grow: 1;
  text-align: center;
}

.footer-nav {
  margin-top: 12px;
}

.footer-nav a {
  color: #262626;
  margin: 0 10px;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}


.randomizer-description {
  background-image: url('../img/2768698.jpg');
  background-color: hsl(210, 36%, 96%);
  color: black;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 400px;

  font-family: 'Poppins', sans-serif;
  font-size: 16px;
}

.para {
  font-size: 19px;
  width: 60%;
  margin: 0 auto;
  margin-top: 75px;
  font-weight: bold;
}

.para1 {
  font-size: 16px;
  width: 55%;
  margin: 0 auto;
  margin-top: 25px;
}

.image-section {
  text-align: center;
  margin-top: 20px;
}

.responsive-image {
  max-width: 100%;
  height: 200px;
  border-radius: 8px;
}


.layoutsda-container {
  padding: 20px;
  background-color: white;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h2 {
  color: #1042da;
  font-size: 2em;
  margin-bottom: 10px;
}

h3 {
  color: #333;
  font-size: 1.5em;
  margin-top: 20px;
}

p,
ul {
  font-size: 1.1em;
  line-height: 1.6;
}

.layoutawq-container {
  padding: 20px;
  background-color: white;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.blog-post {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
  text-align: left;
}

.blog-post ul {
  margin-left: 20px;
}

.la-container {
  padding: 20px;
  background-color: white;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}


.lawas-container {
  padding: 20px;
  background-color: white;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h2 {
  color: #0d53df;
  font-size: 2em;
  margin-bottom: 10px;
}

h3 {
  color: #333;
  font-size: 1.5em;
  margin-top: 20px;
}

p {
  font-size: 1.1em;
  line-height: 1.6;
}

#review-form {
  margin-top: 20px;
}

textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  resize: none;
}

.vtefaj {
  margin-top: 10px;
  background-color: #4b0082;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.vtefaj:hover {
  background-color: #ffa500;
}

#review-list {
  list-style-type: none;
  padding: 0;
}

#review-list li {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
}

.delete-button {
  background-color: transparent;
  border: none;
  color: rgb(255, 255, 255);
  cursor: pointer;
  margin-left: 10px;
  font-size: 1.2em;
}



table {
  width: 80%;
  border-collapse: collapse;
  margin: 20px auto;
}

th,
td {
  border: 1px solid #787777;
  padding: 10px;
  text-align: center;
}

th {
  background-color: #f2f2f2;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f1f1f1;
}


.text-fghb {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 50px 20px;
}



.firework-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}