body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}



.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

header {
    padding: 25px 0;
    border-bottom: 1px solid #D8D8D8;
}

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

.left-header {
    display: flex;
    gap: 35px;
    align-items: end;
}

.links-types {
    display: flex;
    gap: 15px;
    align-items: center;
}

.link-type {
    padding: 8px 15px;
    font-size: 20px;
    color: #9F938B;
    font-weight: 600;
    border: 1px solid transparent;
    text-decoration: none;
    transition: .3s;
}

.link-type.active,
.link-type:hover {
    color: #45403B;
    border: 1px solid #FFB200;
    border-radius: 7px;
}

.right-nav nav {
    display: flex;
    gap: 50px;
    align-items: center;
}

.nav-link {
    color: #9F938B;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding: 8px 2px;
    transition: .3s;
}

.nav-link:hover,
.nav-link.active {
    border-bottom: 1px solid #FFB200;
    color: #45403B;
}

main {
    margin-top: 35px;
}

.steps-diff,
.difficulty-cont {
    display: flex;
    gap: 10px;
    align-items: center;
}

.steps-diff {
    gap: 5px;
}

.steps-diff select{
    border: 1px solid #ffb300;
    outline: none;
    padding: 5px 10px;
    border-radius: 5px;
    background: white;
}

.difficulty-cont {
    margin-bottom: 20px;
}

.name-diff {
    color: #45403B;
    font-size: 17px;
    font-weight: 600;
}

.step-diff {
    padding: 3px;
    border-bottom: 1px solid transparent;
    font-size: 17px;
    line-height: 17px;
    text-transform: capitalize;
    color: #45403B;
    font-weight: 300;
    text-decoration: none;
    cursor: pointer;
}

.step-diff.active {
    font-weight: 600;
    border-bottom: 1px solid #f59e0b;
}

.content {
    width: 69%;
}

.aside {
    width: 29%;
}

.adv-content-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.hint {
    color: #40280D;
    font-size: 12px;
    font-weight: 300;
    max-width: 400px;
    margin-top: 10px;
}

.sudoku-main-cont {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 15px;
    position: relative;
}

.sudoku {
    display: grid;
    grid-template-columns: repeat(9, 3.5rem);
    grid-template-rows: repeat(9, 3.5rem);
    border: 2px solid #424ef6;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    width: fit-content;
    font-family: "Poppins", sans-serif;
}

.cell {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    border: 1px solid #e5e5f0;
    box-sizing: border-box;
}

.tips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.tip {
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(150, 150, 150);
}

.sudoku .cell:nth-child(3n) {
    border-right: 2px solid #424ef6;
}

.sudoku .cell:nth-child(n+19):nth-child(-n+27),
.sudoku .cell:nth-child(n+46):nth-child(-n+54),
.sudoku .cell:nth-child(n+73):nth-child(-n+81) {
    border-bottom: 2px solid #424ef6;
}

.highlight {
    background-color: #fdf6ed;
}

.preset {
    color: #333;
}

.selected {
    border: 2px solid #f59e0b;
    box-sizing: border-box;
    margin: 2px;
    background-color: white;
    border-radius: 5px;
}

.top-bar-control {
    display: flex;
    justify-content: space-between;
    align-items: top;
    gap: 20px;
    margin: 5px 0 20px;

}

.name-control,
.value-control {
    color: #9F938B;
    font-size: 14px;
    font-weight: 400;
}

.control-score .name-control,
.control-score .value-control {
    color: #40280D;
}

.control-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.control-time .values-cont {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.table-cont,
.difficulty-cont {
    width: 56%;
}



.btn-time {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background-color: #9F938B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s;
}

.btn-time:hover {
    background-color: #6c625b;
}

.control-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.control-time .values-cont{
    text-align: end;
}

.value-control{
    width: 40px;
}

.btn-control {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border: 1px solid #D7D9F4;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    cursor: pointer;
    transition: .3s;
    position: relative;
}

.label-pencil {
    padding: 7px 6px;
    background-color: #9F938B;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    position: absolute;
    top: -15px;
    right: -10px;
    cursor: pointer;
    transition: .3s;
}

.label-pencil:hover {
    background-color: #6c625b;
}

.btn-control:hover {
    border: 1px solid #b4b8ee;
}

.btn-control-cont {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.label-hint {
    background-color: #f59e0b;
    color: #fff;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    position: absolute;
    top: -15px;
    right: -10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: auto;
}

.number-cont {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 10px;
}

.number-cl {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D7D9F4;
    border-radius: 5px;
    color: #40280D;
    font-weight: 500;
    font-size: 36px;
    background-color: #fff;
    cursor: pointer;
    transition: .3s;
    padding: 30px 46px;
    line-height: 54px;
}

.number-cl:hover {
    border: 1px solid #777ff6;
    background-color: #fdf6ed;
}

.sudoku-main-cont.classic-16 .number-cl{
    padding: 15px 25px;
    line-height: 54px;
}

.sudoku-main-cont.classic-16 .number-cont{
    grid-template-columns: repeat(4, 1fr);
}

.main-btn, .generate-btn {
    padding: 18px;
    background-color: #F19A37;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    border-radius: 100px;
    border: none;
    transition: .3s;
    cursor: pointer;
    width: 100%;
}

.generate-btn{
    width: fit-content;
    text-transform: none;
    padding: 15px 25px;
}

.main-btn:hover, .generate-btn:hover {
    background-color: #ce7816;
}

.top-steps-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1,
h2,
h3,
h4,
h5,
p {
    margin: 0;
    padding: 0;
}

.txt-content-cont {
    margin: 80px 0 110px;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.descr {
    margin-top: 15px;
    font-size: 15px;
    line-height: 26px;
    font-weight: 300;
    color: #45403B;
}

.title, .form-label {
    font-size: 27px;
    line-height: 37px;
    color: #40280D;
    font-weight: 700;
}

.main-faq-title {
    font-size: 20px;
    line-height: 27px;
    color: #40280D;
    font-weight: 500;
}

.txt-link {
    color: #F19A37;
    font-weight: 600;
    transition: .3s;
}

.txt-link:hover {
    color: #ce7816;
}

.item-list li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 26px;
    color: #45403B;
    font-weight: 600;
}

.item-list li:last-child {
    margin: 0;
}

.faq-cont {
    padding-top: 40px;
}

.faq-cont .title {
    margin-bottom: 20px;
}

.faq-title-cont {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.arrow-faq,
.arrow-faq.open-faq {
    width: 44px;
    height: 44px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    cursor: pointer;
}


.faq-answer {
    display: none;
}

.faq-item {
    margin-bottom: 25px;
}

.faq-item:last-child {
    margin: 0;
}

table.descr-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    height: auto;
    border-radius: 15px;
}

table.descr-table,
table.descr-table td,
table.descr-table th {
    border: 1px solid #a4a4a4;
}

table.descr-table td,
table.descr-table th {
    padding: 10px;
    text-align: center;
}

.table-cont-descr {
    width: 100%;
}

.table {
    margin-top: 20px;
}

table.descr-table tr th:first-child {
    border-radius: 15px 0 0 0;
}

.img-descr {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    margin-top: 20px;
}

.advertising-cont {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

main .container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.difficulty-menu-select {
    border: none;
    outline: none;
    border-bottom: 2px solid #f59e0b;
    font-weight: 600;
    display: none;
}

footer{
    background-color: #f5f5f5;
    padding: 35px 0;
}

footer .container{
    display: flex;
    justify-content: space-between;
}

.footer-part-content{
    width: 60%;
    display: flex;
    justify-content: space-between;
}

.footer-column, .logo-footer{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-column{
    gap: 8px;
}

.name-footer-column{
    font-weight: 600;
}

.name-footer-column, .link-footer{
    font-size: 14px;
    color: #40280D;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
}

.link-footer:hover{
    transition: .3s;
    color: #867460;
}

.cont-privacy-links{
    display: flex;
    gap: 25px;
    margin-top: 25px;
}

.first-column-footer{
    justify-content: space-between;
}

.privacy-link{
    font-size: 13px;
    color: #948e86;
    text-decoration: none;
}

.menu, .links-types-burger {
    display: none;
}

.burger-checkbox {
  position: absolute;
  visibility: hidden;
}
.burger {
  position: relative;
  z-index: 2;
  cursor: pointer;
  display: block;
  position: relative;
  border: none;
  background: transparent;
  width: 40px;
  height: 26px;
}
.burger::before,
.burger::after {
  content: '';
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: #000;
}
.burger::before {
  top: 0;
  box-shadow: 0 11px 0 #000;
  transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}
.burger::after {
  bottom: 0;
  transition: bottom .3s .15s, transform .3s;
}
.burger-checkbox:checked + .burger::before {
  top: 11px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 rgba(0,0,0,0);
  transition: box-shadow .15s, top .3s, transform .3s .15s;
}
.burger-checkbox:checked + .burger::after {
  bottom: 11px;
  transform: rotate(-45deg);
  transition: bottom .3s, transform .3s .15s;
}
.menu-list {
  top: 0;
  right: 0;
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 72px 0 72px 20px;
  margin: 0;
  background: #FFB300;
  list-style-type: none;
  transform: translateX(100%);
  transition: .3s;
  width: 300px;
  z-index: 1;
  height: 100vh;
}

.menu-list .nav-link{
    color: white;
}

.menu-item {
  display: block;
  padding: 8px;
  color: white;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
}
.menu-item:hover {
  background: rgba(255,255,255,.2)
}
.burger-checkbox:checked ~ .menu-list {
  transform: translateX(0);
}

#pdfForm{
    margin-top: 40px;
}

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

.radio-group, .form-group{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.radio-group label, .checkbox-label{
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-label{
    font-weight: 700;
}

.radio-group input, .form-group input{
    width: 20px;
    height: 20px;
    margin: 0;
}

input[type="radio"],
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #a75c01;
  background-color:white;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  position: relative;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"] {
  border-radius: 4px;
}

input[type="radio"]::before,
input[type="checkbox"]::before {
  content: '';
  display: none;
  position: absolute;
  background-color: white;
}

input[type="radio"]:checked::before {
  display: block;
  width: 13px;
  height: 12.5px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background-color: #F19A37;
}

input[type="checkbox"]:checked::before {
  display: block;
  width: 13px;
  height: 13px;
  left: 3px;
  top: 3px;
  background-color: transparent;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 20%, 80% 0%, 43% 62%);
  background-color: #F19A37;
}

#difficultySelect{
    border: 1px solid #ffb200;
    border-radius: 3px;
    outline-color: #ffb200;
    padding: 5px 10px;
    font-size: 16px;
}

.print-cont-form{
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.cont-img-print{
    width: 50%;
}

.cont-img-print img{
    width: 100%;
}

.main-btn-cont{
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.solve-btn{
    background: white;
    color: #41280d;
    border: 2px solid #F19A37;
}

.solve-btn:hover{
    background-color: #fef8e8;
    border: 2px solid #cf822b;
}

.sudoku-main-cont.solver .all-btn-cont{
    width: 40%;
}

.number-cl.used-up {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(1);
    transition: opacity 0.3s;
  }
  

.language-select {
  position: relative;
  display: inline-block;
  font-family: sans-serif;
}
.language-select .current {
  background: #fff;
  border: 1px solid #FFB300;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.language-select .current img {
  width: 20px;
  height: 14px;
}
.language-select .dropdown {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #FFB300;
  margin-top: 4px;
  border-radius: 4px;
  list-style: none;
  padding: 5px 0;
  z-index: 10;
}
.language-select .dropdown li a {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  text-decoration: none;
  color: #333;
  gap: 6px;
}
.language-select .dropdown li a:hover {
  background: #f0f0f0;
}
.language-select.open .dropdown {
  display: block;
}
.language-select svg, .dropdown svg{
    width: 35px;
    height: 20px;
}

.dropdown, .language-select{
    width: auto;
}

.language-select.open .dropdown, .current {
    width: 200px;
    max-height: 130px;
    overflow-y: scroll;
}

.current{
   overflow-y: auto; 
}

body::-webkit-scrollbar, .language-select.open .dropdown::-webkit-scrollbar{
  width: 10px; 
}

body::-webkit-scrollbar-track, .language-select.open .dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
}

body::-webkit-scrollbar-thumb, .language-select.open .dropdown::-webkit-scrollbar-thumb {
  background-color: #ffb300; 
  border-radius: 20px; 
  border: 2px solid #ffb300;
}

.blockquote-descr{
    display: block;
    padding: 10px 25px;
    font-style: italic;
    border-radius: 10px;
    background-color: #e6d4a696;
    font-size: 14px;
    color: #45403B;
    margin-top: 15px;
}

.open-faq .icon-close{
    display:none;
}

.close-faq .icon-open{
    display:none;
}

.faq-answer{
    font-style: italic;
    font-weight: 200;
}

.daily-controller{
     display:flex;
     margin-bottom: 30px;
     height: 44px;
}

#sudokuMonth{
    background: #fff;
    border: 1px solid #FFB300;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 15px;
    font-size: 14px;
}

.table-cont{
    overflow: hidden;
}

.sudoku-dates{
     display:flex;
     gap: 10px;
     overflow-x: auto;
     overflow-y: hidden;
     scrollbar-gutter: stable;
     height: 44px;
     margin-bottom: -17px;
     padding-bottom: 17px;
}

.sudoku-dates::-webkit-scrollbar {
  height: 0; /* Chrome/Safari */
}

.sudoku-dates:hover::-webkit-scrollbar {
  height: 4px; /* Chrome/Safari */
}

.sudoku-dates::-webkit-scrollbar-track {
  background: transparent;
}

.sudoku-dates:hover::-webkit-scrollbar-track {
  background: transparent;
}

.sudoku-dates::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.sudoku-dates:hover::-webkit-scrollbar-thumb {
  background-color: #ffb300;
}

.sudoku-dates:hover {
  scrollbar-color: #ffb300 transparent;
}

.day {
    padding:10px 18px 10px;
    border: 2px solid #b4b8ee;
    border-radius: 5px;
    cursor: pointer;
    height: 44px;
    box-sizing: border-box;
}

.day.today{
    border: 2px solid #f59e0b;
    cursor: default;
}
.day.closed{
    border: 2px solid #f0f0f0;
    cursor: default;
}
.day.solved{
    border: 2px solid #ffb200;
    background: #ffb200;
    color: white;
    font-weight: 700;
    background-image: url('/assets/icons/str.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.cookie-bg{
    z-index: 9999;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color:#00000087;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cookie-banner, .cookie-modal {
    background: #fff;
    color: #000;
    font-size: 20px;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
    padding: 36px;
    width: 40%;
    border-radius: 15px;
  }

  .cookie-banner {
    bottom: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
  }

  .cookie-banner.hidden, .cookie-modal.hidden,.cookie-bg.hidden {
    display: none;
  }

  .cookie-banner a {
    color: #0073e6;
    text-decoration: underline;
  }
  
  .cookie-btns-cont{
      display: flex;
      gap: 15px;
      margin: 0 auto;
  }

  .cookie-btn {
    padding: 10px 32px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
        border-radius: 100px;
  }

  .cookie-btn.accept { background: #F19A37; color: #fff; font-weight: 600; }
  .cookie-btn.reject { background: #ccc; color: #000; }
  .cookie-btn.settings { background: #eee; color: #333; }

  .cookie-modal {
    max-width: 400px;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
  }

  .cookie-modal label {
    display: block;
    margin-bottom: 8px;
  }

  .cookie-modal-buttons {
    margin-top: 16px;
    text-align: right;
  }
  
  .faq-cont a {
      color: #F19A37;
    font-weight: 400;
    transition: .3s;
  }
  
  .faq-cont a:hover {
      color: #ce7816;
  }
  .hidden {
    display: none;
}
  
.cookie-modal input[type="checkbox"]:checked::before{
    left: -8px;
    top: -7px;
}

.sudoku-main-cont.samurai .btn-control.pencil-btn, .sudoku-main-cont.classic-16 .btn-control.pencil-btn, .sudoku-main-cont.classic-12 .btn-control.pencil-btn{
    display: none;
}

.sudoku-main-cont.samurai .table-cont{
    width: 80%;
}

.sudoku-main-cont.samurai{
    gap: 20px;
}

.sudoku-main-cont.samurai .number-cl{
    padding: 10px 26px;
}

.sudoku-main-cont.classic-12 .number-cont{
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
}

.sudoku-main-cont.classic-12 .number-cl{
    padding: 15px 40px;
}

.sudoku-main-cont.classic-6 .number-cont{
    grid-template-columns: repeat(2, 1fr);
}

.sudoku-main-cont.classic-4 .number-cont{
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.sudoku-main-cont.classic-4 .number-cl{
   padding: 60px 46px;
}

@media (max-width: 1380px) {
    .container {
        width: 95%;
    }

    .name-diff,
    .step-diff {
        font-size: 14px;
        line-height: 14px;
    }

    .top-bar-control,
    .difficulty-cont {
        margin-bottom: 10px;
    }

    .descr {
        font-size: 14px;
        line-height: 23px;
    }

    .title, .form-label {
        font-size: 24px;
        line-height: 34px;
    }

    .main-faq-title {
        font-size: 20px;
        line-height: 23px;
    }

    .txt-content-cont {
        margin: 60px 0 80px;
    }

    .number-cont {
        width: 100%;
    }

    .number-cl {
        padding: 25% 26%;
    }
    
    .sudoku-main-cont.classic-12 .number-cl{
       padding: 44px 46px;
    }
    
    .sudoku-main-cont.classic-16 .number-cl, .sudoku-main-cont.classic-12 .number-cl  {
        padding: 15px 20px;
        line-height: 40px;
        font-size: 30px;
    }
    
    .sudoku-main-cont.classic-12 .number-cl{
        padding: 10px 30px;
    }
    
    .sudoku-main-cont.classic-6 .number-cl{
        padding: 22px 36px;
    }
}

@media (max-width: 1260px){
    .cookie-banner, .cookie-modal{
        width: 60%;
    }
}

@media (max-width: 1150px) {

    .difficulty-menu-select {
        display: block;
    }

    .content {
        width: 79%;
    }

    .aside {
        width: 20%;
    }

    .advertising-cont {
        gap: 15px;
    }

    main .container {
        gap: 20px;
    }

    .txt-content-cont {
        gap: 30px;
    }
    
    .footer-part-content{
        width: 70%;
    }
}

@media (max-width: 940px) {

    .sudoku-main-cont,
    .top-steps-cont {
        flex-direction: column;
    }
    
    .sudoku-main-cont{
        margin-top: 0;
    }

    .difficulty-cont {
        justify-content: left;
        width: 100%;
    }

    .top-bar-control,
    .table-cont {
        width: 70%;
    }
    
    .top-bar-control{
        margin: 0;
        position: absolute;
        top: -10px;
        right: 15%;
        width: 39%;
    }

    .table-cont {
        margin: 0 auto;
    }

    .all-btn-cont {
        margin: 13px auto 0;
        width: 50%;
    }
    
     .sudoku-main-cont.classic-16 .all-btn-cont, .sudoku-main-cont.classic-12 .all-btn-cont{
         width: 90%;
     }
     

    main .container {
        flex-direction: column-reverse;
    }

    .advertising-cont {
        flex-direction: row;
    }

    .adv-content-img {
        width: auto;
        height: 100px;
    }

    main {
        margin-top: 15px;
    }

    .steps-diff {
        display: flex;
    }

    .difficulty-menu-select {
        display: none;
    }

    .content {
        width: 100%;
    }

    .hint {
        max-width: none;
    }

    .number-cont {
        display: flex;
        gap: 20px;
        align-items: center;
        justify-content: space-between;
    }
    
     .sudoku-main-cont.classic-16 .number-cont, .sudoku-main-cont.classic-12 .number-cont{
         gap:10px;
     }

    .number-cl {
        padding: 0;
        border: none;
    }
    
    .number-cl:hover{
        border: none;
        background: transparent;
    }
    
    .sudoku-main-cont.classic-16 .number-cl, .sudoku-main-cont.classic-12 .number-cl{
         padding: 0 5px;
     }
    
    .right-nav nav{
        display: none;
    }
    
    .menu{
        display: block;
    }
    
    .sudoku-main-cont.solver .all-btn-cont{
        width: 60%;
    }
    
    .sudoku-main-cont.solver .btn-control-cont{
        justify-content: flex-start;
    }
    
    .sudoku-main-cont.solver .main-btn{
        position: static;
    }
    
    .sudoku-main-cont.solver .main-btn-cont{
        margin-top: 0;
        position: absolute;
        bottom: 75px;
        right: 15%;
        width: auto;
    }
    
    .daily-controller{
        margin-bottom: 80px;
    }
    
    .daily .top-bar-control{
        top: 65px;
        width: 70%;
    }
    
    .sudoku-main-cont.samurai .number-cont{
        gap: 10px;
    }
    
    .sudoku-main-cont.samurai .number-cl{
        padding: 10px 6px;
    }
    
   .sudoku-main-cont.samurai .all-btn-cont{
       width: 70%;
   }
   
   .sudoku-main-cont.samurai .table-cont{
        width: 100%;
    }
    
    .sudoku-main-cont.samurai .top-bar-control{
        right: 0;
    }
    
    .sudoku-main-cont.classic-6 .number-cl {
        padding: 0;
    }

}

@media (max-width: 830px){
    .cookie-banner, .cookie-modal{
        width: 85%;
        font-size: 17px;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-btn{
        font-size: 14px;
    }
    
    .cookie-btns-cont{
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 785px){
    footer .container{
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-part-content{
        width: 100%;
    }
    
    .logo-footer{
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 685px) {

    .difficulty-cont,
    .table-cont,
    .all-btn-cont {
        width: 100%;
    }

    .container {
        width: 90%;
    }

    .difficulty-cont {
        justify-content: flex-start;
    }

    .steps-diff {
        gap: 15px;
    }

    .number-cl {
        font-size: 56px;
    }

    .number-cont {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .btn-control-cont {
        margin-bottom: 30px;
        justify-content: left;
    }

    .all-btn-cont .main-btn {
        margin-top: 0;
        position: absolute;
        bottom: 110px;
        right: 0;
        width: auto;
        font-size: 14px;
    }
    
    .sudoku-main-cont.classic-16 .all-btn-cont .main-btn {
        bottom: 140px;
    }
    
    .sudoku-main-cont.classic-12 .all-btn-cont .main-btn{
        bottom: 95px;
    }
    
    .footer .container{
        flex-direction: column;
    }
    
    .top-bar-control{
        right: 0;
        width: auto;
    }
    
    .daily .top-bar-control{
        width: 100%;
    }
    
    .sudoku-main-cont.solver .main-btn-cont{
        bottom: 175px;
    }
    
    .print-cont-form{
        flex-direction: column;
    }
    
    .cont-img-print{
        display: none;
    }
    
    .sudoku-main-cont.samurai .all-btn-cont {
        width: 100%;
    }
    
    .sudoku-main-cont.samurai .all-btn-cont .main-btn{
        bottom: 130px;
    }
    
    #pdfForm {
        margin-top: 0;
    }
    
}

@media (max-width: 585px){
    .sudoku-main-cont.classic-12 .all-btn-cont .main-btn {
        bottom: 145px;
    }
}

@media (max-width: 540px) {
    .txt-content-cont{
        margin: 40px 0 40px;
    }
    
    .number-cont {
        gap: 10px;
        justify-content: space-between;
    }
    
    .sudoku-main-cont.classic-12 .number-cont{
        justify-content: center;
    }
    
    .number-cl, .sudoku-main-cont.samurai .number-cl {
        font-size: 46px;
    }

    .difficulty-menu-select {
        display: block;
    }
    
    .footer-part-content{
        display: grid;
        grid-template-columns: 2fr 2fr;
        grid-template-rows: 2fr 2fr;
    }
    
    .links-types-burger{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px;
        background-color: white;
        width: 35%;
        border-radius: 20px;
    }
    
    .links-types{
        display: none;
    }
    
    .menu-list .nav-link:hover, .menu-list .nav-link.active{
        border-bottom: 1px solid #ffffff;
    }
    
    .main-faq-title {
        font-size: 16px;
        line-height: 19px;
    }
    
    .faq-answer{
        font-size: 14px;
        line-height: 19px;
    }
    
    .difficulty-cont{
        flex-direction: column;
        align-items: flex-start;
    }
    
    .steps-diff select{
        border: none;
        border-bottom: 1px solid #ffb300;
        padding: 0 0 5px;
        border-radius: 0;
    }
    
    .top-bar-control{
        top: 0;
    }
    
    .difficulty-cont{
        gap: 5px;
    }
    
    header .container{
        align-items: end;
    }
    
    .burger{
        bottom: 8px;
    }
    
    .sudoku-main-cont.solver .all-btn-cont {
        width: 100%;
    }
    
    .sudoku-main-cont.solver .main-btn-cont{
        bottom: 97px;
        right: 0;
    }
}

@media (max-width: 480px){
    .btn-control{
        border: none;
        width: 40px;
        height: 40px;
    }
    
    .btn-control:hover{
         border: none;
    }
    
    .label-pencil{
        font-size: 10px;
    }
    
    .all-btn-cont{
        margin: 15px auto 0;
    }
    
    .all-btn-cont .main-btn{
        padding: 10px 15px;
    }
    
    .day{
        padding: 12px 15px 5px;
        line-height: 16px;
        font-size: 14px;
    }
    
    .arrow-faq, .arrow-faq.open-faq{
        width: 40px;
        height: 40px;
    }
    
    .sudoku-main-cont.samurai .number-cl {
        font-size: 36px;
        line-height: 36px;
    }
    
    .sudoku-main-cont.samurai .all-btn-cont .main-btn {
        bottom: 110px;
    }
    
    .sudoku-main-cont.samurai .number-cont {
        gap: 0;
    }
}

@media (max-width: 440px){
    .footer-part-content {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        text-align: center;
    }
    
    .cont-privacy-links{
        justify-content: center;
    }
    
    .logo-footer{
        flex-direction: column;
    }
    
    .menu-list{
        width: 100%;
    }
    
    .number-cl, .sudoku-main-cont.samurai .number-cl {
        font-size: 36px;
        line-height: 36px;
    }
    
    .btn-control-cont {
        margin-bottom: 25px;
        gap: 10px;
    }
    
    .all-btn-cont .main-btn {
        bottom: 85px;
    }
    
    .sudoku-main-cont.classic-16 .all-btn-cont {
        width: 100%;
    }
    
    .sudoku-main-cont.classic-16 .all-btn-cont .main-btn{
        bottom: 135px;
    }
    
    .sudoku-main-cont.classic-16 .number-cl {
        padding: 0 2px;
    }
    
    .sudoku-main-cont.solver .main-btn-cont{
        bottom: 70px;
    }
    
    #difficultySelect{
        font-size: 14px;
    }
}