body {
    width: 100%;
    overflow-x: hidden;
    max-width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(185, 70, 70);
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
}

html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    background-color: #333;
    padding: 1rem;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .navbar a {
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    position: relative;
  }

  .dropdown {
    position: relative;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #504f4f;
    min-width: 160px;
    top: 100%;
    left: 0;
    z-index: 9999;
    margin-top: 5px;
    border-radius: 10px;
  }

  .dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
    
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown-content a:hover {
    background-color: #555;
  }

  .popup-18 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
  }
  
  .popup-18-box {
    background-color: rgb(0, 0, 0);
    padding: 30px;
    border-radius: 10px;
    max-width: 420px;
    width: 90%;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
  
  .popup-18-box h2 {
    margin-bottom: 15px;
  }
  
  .popup-18-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
  }
  
  .popup-18-buttons button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
  }
  
  .popup-yes {
    background-color: #fcfcfc;
    color: black;
  }
  
  .popup-no {
    background-color: #fcfcfc;
    color: black;
  }
  
  .popup-yes:hover {
    background-color: #45a049;
  }
  
  .popup-no:hover {
    background-color: #d32f2f;
  }

#cookie-banner {
    position: fixed;
    bottom: 0;
    
    right: 0;
    width: 50%;
    background-color: #00000096;
    border-top-left-radius: 50px;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    align-items: end;
    z-index: 1000;
    font-family: sans-serif;
  }

  #cookie-banner p {
    margin: 0;
    max-width: 90%;
  }

  .cookie-buttons {
    display: flex;
    gap: 10px;
  }

  .cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
  }

  .accept-btn {
    background-color: #4caf50;
    color: white;
  }

  .decline-btn {
    background-color: #f44336;
    color: white;
  }

  .header {
    width: 100%;
    overflow-y: visible;
    display: flex;
    height: 200px;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    overflow-y: visible;
    gap: 20px;
    margin: 0;
  }

  .logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0px 2px 4px #000000;
  }

  .header-container {
    width: 90%;
    display: flex;
    gap: 50px;
    height: 100%;
    background-color: #333;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    padding: 5px;
    color: white;
  }

  .body {
    margin-top: 50px;
    width: 90%;
    background-color: #333;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

  }

  .body-text {
    display: flex;
    height: 50px;
    justify-content: center;
    align-items: center;
    gap: 40px; 
    color: white;
  }

  .body-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .body-text-container-img {
    width: 20px;
  }

  .body-links {
    width: 95%;
    background-color: #ffffff;
    border-radius: 30px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    gap: 30px;
  }

  .body-links-header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-transform: uppercase;
    color: #020202;
    border-bottom: 1px solid #020202;
    width: 95%;
    padding-bottom: 10px;
  }

  .body-links-header h1 {
    margin: 0;
  }
  
  .body-link {
    width: 90%;
    display: flex;
    box-shadow: 0px 2px 4px #000000;
    border-radius: 30px;
    padding: 20px;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-top {
    width: 30%;
    display: flex;

    align-items: center;
    justify-content: space-between;
  }

  .body-link-num {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .brand-img {
    width: 200px;
    border-radius: 20px;
  }

  .number {
    border: 2px solid #45a049;
    padding: 2px 10px;
    border-radius: 50%;
  }

  .mark {
    padding: 5px 10px;
    background-color: #45a049;
    border-radius: 10px 5px;
    text-transform: uppercase;
    color: white;
  }

  .body-link-license img {
    width: 100px;
  }

  .body-link-license {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
  }

  .mobile-bot {
    display: flex;
    width: 70%;
    align-items: center;
    justify-content: space-around;
  }

  .body-link-reg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .body-link-reg a {
    text-decoration: none;
  }

  .body-link-reg p {
    margin: 0;
    font-size: 10px;
    font-weight: 600;
  }

  .reg {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #45a049;
    padding: 20px 10px; 
    border-radius: 30px;
    color: #FFFFFF;
    transition: box-shadow 0.5s ease;
  }

  .reg-text {
    color: #000000;
    text-transform: uppercase;
    transition: text-shadow 0.5s ease;
    width: 200px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
  }

  .reg-text-more {
   font-weight: 600;
   color: #000000;
   font-size: 10px;
   width: 250px;
   text-align: center;
  }

  .reg-text:hover {
    text-shadow: 0px 1px 2px #333;
  }

  .reg:hover {
    box-shadow: 0px 2px 4px #000000;
  }

  .body-link-visit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .visitar {
    padding: 20px 20px;
    border-radius: 30px;
    color: #FFFFFF;
    transition: box-shadow 0.5s ease;
    background-color: #f44336;
    text-decoration: none;
  }

  .visitar:hover {
    box-shadow: 0px 2px 4px #000000;
  }

  .star-rating {
    color: gold;
    font-size: 1.5rem;
    margin-top: 10px;
  }

  .body-text-block {
    width: 90%;
    margin: 30px 0px;
    display: flex;
    align-items: start;
    flex-direction: column;
  }

  .body-text-block h1 {
    color: #d32f2f;
    text-shadow: 0px 1px 2px #000000;
    text-align: center;
  }

  .body-text-block p {
    margin: 0;
  }

  .footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000000;
  }

  .footer-top {
    width: 80%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #FFFFFF;
    padding-top: 20px;
    border-bottom: 1px solid #FFFFFF;
    padding-bottom: 10px;
  }

  .footer-top p {
    text-transform: uppercase;
    text-shadow: 0px 1px 2px #333;
  }

  .footer-top-links {
    display: flex;
    gap: 20px;
  }

  .footer-top-links a{
    text-decoration: none;
    color: #FFFFFF;
    transition: transform 0.5s ease;
  }

  .footer-top-links a:hover {
    transform: scale(1.1);
  }

  .footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    width: 80%;
    gap: 30px;
    align-items: center;
    justify-content: center;

  }

  .footer-bottom a {
    text-decoration: none;
  }

  .footer-bottom img {
    height: auto;
    width: auto;
  }

  .ref-body-text {
    width: 90%;
    padding: 40px 0px;
  }

  .ref-body-text h1 {
    color: #d32f2f;
    text-shadow: 0px 1px 2px #000000;
    text-align: center;
  }

  .ref-body-text p{
    color: #ffffff;
    letter-spacing: 1px;
    
  }

  .ref-body-text-block h1 {
    color: #d32f2f;
    text-shadow: 0px 1px 2px #000000;
    text-align: center;
  }

  .ref-body-text-block p{
    color: #ffffff;
    letter-spacing: 1px;
    
  }

  .body-text-block-ref p{
    color: #ffffff;
    letter-spacing: 1px;
  }

  .ref-body-text-block {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .ref-body-text-block-img {
    width: 40%;
  }

  .body-text-block-ref {
    width: 90%;
    margin: 30px 0px;
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .ref-body-text-block-side {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .body-text-block-ref h1 {
    color: #d32f2f;
    text-shadow: 0px 1px 2px #000000;
    text-align: center;
  }

  h2 {
    color: #d32f2f;
    text-shadow: 0px 1px 2px #000000;
  }

  .body-text-block-ref p {
    margin: 0;
  }

  .modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); /* затемнение */
  }

  .modal a {
    color: #d32f2f;
    font-weight: 600;
  }
  
  .modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 90%;
    border-radius: 10px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
  }
  
  .close-button {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
  }
  
  .close-button:hover {
    color: black;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
  

  body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
  }
  
  .formulario-contacto {
    width: 100%;
    max-width: none;
    padding: 40px 20px;
    box-sizing: border-box;
    background: #f2f2f2;
  }
  
  .formulario-contacto h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    color: #333;
  }
  
  .formulario-contacto label {
    display: block;
    margin-top: 20px;
    font-weight: bold;
    font-size: 1rem;
  }
  
  .formulario-contacto input,
  .formulario-contacto textarea {
    width: 100%;
    padding: 15px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
  }
  
  .formulario-contacto textarea {
    height: 150px;
    resize: vertical;
  }
  
  .formulario-contacto button {
    width: 100%;
    padding: 15px;
    margin-top: 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
  }
  
  .formulario-contacto button:hover {
    background-color: #0056b3;
  }
  
  .estado-formulario {
    text-align: center;
    margin-top: 20px;
    color: green;
    font-weight: bold;
  }

  .body-privacy {
    background-color: #333;
    margin-top: 50px;
    padding: 50px;
  }

  @media (max-width: 1200px) {
    .header {
      gap: 10px !important;
    }

    .logo {
      width: 80px !important;
      height: 80px !important;
    }

    .header-container {
      gap: 25px !important;
    }

    .header-container-text h1 {
      font-size: 14px;
    }

    .header-container-text p {
      font-size: 12px;
    }

    .navbar a {
      font-size: 10px !important;
    }

    .body-links {
      gap: 10px !important;
    }

    .body-text {
      gap: 20px !important;

    }

    .body-text-container-el {
      text-transform: lowercase;
      font-size: 10px !important;
    }

    .body-text-container-img {
      width: 10px;
    }

    .body-text-container {
      display: none;
    }

    .body-links-header {
      display: none;
    }

    .body-link {
      flex-direction: row;
    }

    .mobile-top {
      width: 50%;
      justify-content: center;
    }

    .mobile-bot {
      width: 50%;
      flex-direction: column;
      gap: 10px;
    }

    .brand-title {
      text-align: center;
    }

    .mark {
      display: none;
    }
    .number {
      display: none;
    }

    .body-link-reg {
      text-align: center;
    }

    .body-link-reg p {
      display: none;
    }

    .reg {
      width: 100%;
    }

    .reg-text {
      font-size: 12px;
      width: 100%;
    }

    .reg-text-more {
      width: 100%;
    }

    .visitar {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    p {
      font-size: 12px !important;
      padding-bottom: 25px !important;
      padding-top: 10px !important;

    }

    .ref-body-text-block {
      flex-direction: column;
    }

    .ref-body-text-block-img {
      width: 90%;
    
    }

    .body-link-license {
      flex-direction: row;
    }

    .body-link-license img {
      width: 100px;
    }

    .brand-img {
      width: 150px !important;
    }

    .star-rating {
      margin-top: 5px;
      font-size: 1rem;
    }

    .footer-top p {
      font-size: 10px;
    }

    .footer-top-links a {
      font-size: 12px;
    }

    .footer {
      flex-direction: row;
    }

    .footer-top {
      width: 100% !important;
      flex-direction: column;
      border-bottom: none
    }

    .footer-top-links {
      flex-direction: column;
      
    }

    .footer-bottom {
      flex-direction: column;
      align-items: start;
    }
  }