.size {
  font-size: 20px;
}
/* fix */
.content {
    text-align: center;
    /* margin-top: %; */
    /* margin-bottom: -1%; */
    font-size: 27px;
}

.blocks-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: white;
    height: 100%;
}

.block {
    background-color: white; /* Белый фон блока */
    border: 10px solid var(--main-color); /* Зеленая окантовка */
    border-radius: 80px 0px;
    height: 25rem;
    width: 21rem;
    margin: 10px 5% 3%;
}

.footer-block {
    /* margin-top: 10px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    word-wrap: break-word;
    font-size: 10px;
}

.icon-square {
    background-color: white;
    border: 3px solid var(--main-color);
    border-radius: 10px;
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-square img {
    width: 25px;
    height: 30px;
    margin-top: 4px;
}

.container2 {
    display: inline;
    width: 100%;
}

.inline_block {
    display: inline-block;
    margin-left: 25px;
    margin-top: 20px;
}

.button {
    border: medium none;
    background-image: none;
    background: transparent;
    background-color: transparent;
    cursor: pointer;
}


.modal {
    display: none; /* По умолчанию скрыто */
    position: absolute;

	border-radius: 10px;
	font-size: 20px;
	border: 2px solid var(--main-color);
	transition: opacity 2s ease;
	overflow: auto;
	
	height: 60%;
	
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.modal-content {
    background-color: #ffffff;
    border-radius: 10px;
    text-align: left;
	padding: 10px;
}


@keyframes ani {
  0% {opacity: 0;}
  100% {opacity: 1;}
}


.main_container {
    height: auto;
    min-width: 10%;
    align-items: center;
    /* padding: 6%; */
    flex-grow: 1;
    flex-direction: column;
}


.card {
    display: flex;
    flex-direction: column;
    height: 96%;
    justify-content: space-between;
    align-items: center;
    padding: 4% 0px;
}


.card_header {
    /* margin-top: 15px; */
    height: 20%;
}


.card_header h3 {
    width: 70%;
    padding: 0px;
    margin-top: 5%;
    margin-bottom: 0px;
    /* height: 100%; */
    vertical-align: middle;
    text-align: center;
    font-size: 13px;
}


.row {
    display: flex;
    justify-content: center;
}


.card-image {
    text-align: center;
    height: 40%;
}


.card-image img {
    height: 100%;
    object-fit: cover;
}


.card_name {
    height: 30%;
    text-align: center;
    font-size: 16px;
}


.card_header .icon-square {
    /* margin: auto 0px; */
}


.underline {
    text-decoration: underline;
    font-size: 16px;
}


.card_footer {
    /* margin-top: 15px; */
    height: 10%;
}


.modal-content h3 {
    margin: auto;
}


.modal-content p {
	margin: 0px;
}