.theory_1, .theory_2 {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    background-color: rgb(253, 233, 209);
}


.row_1, .row_2 {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: 40px;
    margin-right: 40px;
    /* background-color: rgb(253, 233, 209); */
}

.row_2 {
    margin-right: 160px;
}



.theory_1 .column_1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1;
    padding: 20px; 
    margin-right: 100px;
    max-width: 600px;
}

.theory_2 .column_2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1;
    padding: 20px; 
    margin-left: 80px;
    max-width: 600px;
}

.theory_h1 {
    font-size: 40px;
    text-transform: uppercase;
    color: #4D4D4D;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-align: center;
    margin-bottom: 30px;

}

ol {
    font-size: 30px;
    color: #4D4D4D;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

ol li {
    margin-bottom: 20px;
    text-align: start;
    padding-left: 10px;
    list-style-type: none;
    border: 2px solid #4D4D4D;
    border-radius: 15px;
    width: 600px;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

ol li:hover {
    transform: scale(1.1);
    background-color: rgba(0, 0, 0, 0.2);
}



.theory_1 img {
    width: 700px;
    height: 700px;
    border-radius: 20px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
    margin-right: 70px;
}

.theory_2 img {
    width: 700px;
    height: 700px;
    border-radius: 20px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
    /* margin-left: 30px; */
}

.theory_2 h1 {
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 40px;
    text-align: center; 
}

.block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* background-color: rgb(253, 233, 209); */
}

.theory_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1;
    padding: 20px;
    margin-left: 100px;
    margin-right: 100px;
    margin-bottom: 100px;
    background-color: rgb(253, 233, 209);
    border: 2px solid #4D4D4D;
    border-radius: 15px;
    padding: 20px;
    padding: 30px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}

.theory_block p {
    text-align: start;
    color: #000000;
    padding: 10px;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 22px;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.2);

}

.sozdik {
    width: 40%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}

a {
    text-decoration: none;
}



