* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: rgb(252, 252, 255);
    background-image: url(../Images/index_background.webp);
    background-size: cover;
    background-position: center;
}



.main_page_content, .row {
    padding: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.section {
    flex: 1 1 25%;
    padding: 15px;
    background-color: #d7872b;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: large;
    margin-bottom: 20px; 
    transition: transform 0.3s;
}
.section:hover{
    transform: scale(1.02);
}

h1, h2, h3 {
    text-align: center;
}

img {
    width: 100%;
    border-radius: 8px;
    height: auto; 
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px; 
    text-align: center;
    
}
th{
    background-color: #ab4b0e;
}


th, td {
    padding: 10px;
    border-bottom: 1px solid #555;
    border-top: 1px solid #555
}

ol, ul {
    padding-left: 20px;
}

li {
    margin-bottom: 25px;
}

.center-text {
    text-align: center;
}


.rating:not(:checked) > input {
    position: absolute;
    appearance: none;
  }
  
  .rating:not(:checked) > label {
    float: right;
    cursor: pointer;
    font-size: 30px;
    color: #666;
  }
  
  .rating:not(:checked) > label:before {
    content: '★';
  }
  
  .rating > input:checked + label:hover,
  .rating > input:checked + label:hover ~ label,
  .rating > input:checked ~ label:hover,
  .rating > input:checked ~ label:hover ~ label,
  .rating > label:hover ~ input:checked ~ label {
    color: #e58e09;
  }
  
  .rating:not(:checked) > label:hover,
  .rating:not(:checked) > label:hover ~ label {
    color: #ff9e0b;
  }
  
  .rating > input:checked ~ label {
    color: #ffa723;
  }

  .button-container {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.btn {
    width: 192px;
    height: 56px;
    background-color: white;
    border: none;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 600;
    color: black;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn .icon-wrapper {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 25%;
    height: 48px;
    background-color: #ab4b0e;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.5s ease-in-out;
    z-index: 10;
}

.btn:hover .icon-wrapper {
    width: 184px;
}

.btn p {
    position: relative;
    z-index: 5;
    margin-left: 8px;
}

.btn svg {
    width: 25px;
    height: 25px;
    fill: black;
}


.head_of_sections{
    color: #441f07;
}

footer {
  background-color: #040713;
  margin-top: 50px;
  padding: 30px 0;
  color: white;
  border-top: 3px solid #506df0;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #506df0;
}
 
.main__socials {
  display: flex;
  flex-direction: row;
  gap: 1em;
  justify-content: center;
}

.Link__instagram {
  padding: 0.8em;
  outline: none;
  border: none;
  background: white;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: 0.2s ease-in-out;
}

.instagram {
  fill: #cc39a4;
}

.Link__twitter {
  padding: 0.8em;
  outline: none;
  border: none;
  background: white;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: 0.2s ease-in-out;
}

.twitter {
  fill: #03a9f4;
}

.Link__github {
  padding: 0.8em;
  outline: none;
  border: none;
  background: white;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: 0.2s ease-in-out;
}

.Link__discord {
  padding: 0.8em;
  outline: none;
  border: none;
  background: white;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: 0.2s ease-in-out;
}

.discord {
  fill: #8c9eff;
}

.Link__instagram:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #cc39a4;
}

.Link__instagram:hover .instagram {
  fill: white;
}

.Link__twitter:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #03a9f4;
}

.Link__twitter:hover .twitter {
  fill: white;
}

.Link__github:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: black;
}

.Link__github:hover .github {
  fill: white;
}

.Link__discord:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #8c9eff;
}

.Link__discord:hover .discord {
  fill: white;
}


.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #444;
  transition: all 0.3s ease;
}

.social-icon svg {
  fill: white;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon.instagram:hover {
  background-color: #cc39a4;
}

.social-icon.twitter:hover {
  background-color: #03a9f4;
}

.social-icon.github:hover {
  background-color: #333;
}

.social-icon.discord:hover {
  background-color: #8c9eff;
}

.copyright {
  margin-top: 20px;
  font-size: 14px;
  color: #aaa;
}

@media (max-width: 1300px) {
  .section {
      flex: 1 1 45%;
  }
}

@media (max-width: 1100px) {
  .section {
      flex: 1 1 100%;
  }
}

