body {
    font-weight: bold;
    }
form p {
  margin: 0;
  padding: 0;
}

form label {
  margin-bottom: 0;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.radio-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.radio-group input[type="radio"], .radio-group label {
  margin: 0;
}

.dropdown-check-list {
    display: inline-block;
    position: relative;
    }

.dropdown-check-list .anchor {
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 5px 50px 5px 10px;
    border: 1px solid #ccc;
    user-select: none;
    }

.dropdown-check-list .anchor:after {
    position: absolute;
    content: "";
    border-left: 2px solid black;
    border-top: 2px solid black;
    padding: 5px;
    right: 10px;
    top: 20%;
    transform: rotate(-135deg);
    }

.dropdown-check-list ul.items {
    padding: 2px;
    display: none;
    margin: 0;
    border: 1px solid #ccc;
    border-top: none;
    position: absolute;
    background: white;
    z-index: 10;
    }

    .dropdown-check-list ul.items li {
    list-style: none;
    }

.dropdown-check-list.visible .items {
      display: block;
    }
.text_gallery a {
    color:#333;
    font-weight: bold;
    }

.modal_gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    }
.modal_content img {
    width: 100%;
    height: 90%;
    object-fit: contain;
    display: block;
    }

.modal_text {
    margin-top: 10px;
    font-size: 20px;
    color: #fff;
    text-align: center;
    -webkit-text-stroke-width:.1px;
    -webkit-text-stroke-color:black;
    }

/* Mobile */

@media screen and (max-width:679px) {
    
.table_spoiler{
    width: 100%;
    }

.table_gallery{
    display:grid;
    grid-template-columns: 50% 50%;
    width: 100%;
    margin: 0 auto;
    }
.modal_content {
    text-align: center;
    background: #999;
    padding: 20px;
    border-radius: 8px;
    width: 70%;
    height: 50%;
    }
.image_gallery{
    width: 100%;
    text-align:center;
    }
.card_gallery{
    max-width:212px;
    max-height: 297px;
    width:90%;
    }
.text_gallery{
    font-size: 80%;
    }
}

/* Tablet */

@media screen and (min-width:680px) and (max-width:1199px) {
    
.table_spoiler{
    width: 100%;
    }

.table_gallery{
    display:grid;
    grid-template-columns: 33% 33% 33%;
    width: 100%;
    margin: 0 auto;
    }
.modal_content {
    text-align: center;
    background: #333;
    padding: 20px;
    border-radius: 20px;
    width: 30%;
    height: 50%;}
    }
.image_gallery{
    width: 100%;
    text-align:center;
    }
.card_gallery{
    max-width:212px;
    max-height: 297px;
    }
.text_gallery{
    font-size: 80%;
    }

/*DESKTOP*/


@media screen and (min-width:1200px) {

.table_spoiler{
    width: 100%;
    }

.table_gallery{
    display:grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    width: 80%;
    margin: 0 auto;
    }
.card_gallery{
    max-width: 265;
    max-height: 371;
    width: 80%;
    height: 90%;
    }
.image_gallery{
    text-align:center;
    width: 100%;
    }
.text_gallery{
    font-size: 100%;
    }
.modal_content {
    text-align: center;
    background: #666;
    padding: 20px;
    border-radius: 8px;
    width: 20%;
    height: 60%;
    }

}

/* Ultra-Wide */


@media screen and (min-width:1921px) {
.text_gallery{
    font-size: 150%;
    }
    
}