main ul{
    margin-block: 5px;
}
main ul li{
    margin-block: 10px;
}
#vremenno{
    margin: 0;
}
.material_text{
    margin: auto;
    text-align: center;
    font-size: larger;
    border-radius:15px;
    margin-inline: 15%;
}

#title{
    
    text-align: center;
}
#title_mini{
    text-align: center;
}

main h3{
    font-size: 20px;
    margin-left: 2%;
    margin-top: 30px;
}
main h4{
    font-size: 18px;
    margin-left: 4%;
}
.material_card {
    border: 1px solid rgb(39, 95, 51);
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.559);
    border-radius: 15px;
    background-color: #7ca5a1;
    transition: all 0.2s ease-in-out;
 
}

.material_card:hover{
    border: 1px solid rgb(74, 78, 157);
    background-color: rgb(102, 159, 177);
}


.wrapping{
    display: flex;
    align-items: center;
    
}

.materials_grid{
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit,minmax(500px, 1fr));
    gap: 15px;
    margin-right: 5%;
    margin-left: 5%;
}

@media(max-width:1260px){
    .materials_grid{
        justify-content: left;
        margin-left: 5%;
    }
}

@media(max-width:550px){
    .materials_grid{
        display: block;
    }

    .material_card{
        margin-bottom: 20px;
    }

    .wrapping{
        display: block;
    }

    .wrapping img{
        margin: 0 30%;
    }
}

#furnace{
    grid-template-columns: repeat(auto-fit,minmax(200px, 1fr));
}
#furnace img{
    width: 80%;
}

#bak{
    display: inline-block;
    margin-left:  15%;
    width: 20%;
    
}

img{
    width: 30%;
    object-fit: cover;
}

.material_buttons{
    display: flex; 
    justify-content: center;
    gap: 5%;
    flex-wrap: wrap;
    margin-inline: 15px;
}

.material_buttons button {
    background-color: rgba(224, 154, 25);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;

    border: 0px;
    border-radius: 13px;

    width: 300px;
    height: 50px;

    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.material_buttons button:hover{
    background-color: rgba(201, 142, 33, 1);
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.5);
}



@media(max-width:676px){
    .material_buttons button:nth-child(2n - 1){
        margin-bottom: 20px;
    }
}
.style-1 {  
    font-family: 'Montserrat', sans-serif;  
    font-size: 36px;  
    font-weight: 500;  
    color: #222;  
    text-align: center;  
    line-height: 1.3;  
    text-transform: uppercase;  
    letter-spacing: 2px;  
    margin: 25px;  
} 


.emphasis {  
    font-size: 25px;
    font-weight: 700;  
    color: #000;  
} 

@media(max-width:950px){
    .style-1{
        font-size: 26px;
    }

    .emphasis{
        font-size: 18px;
    }
}

@media(max-width:470px){
    .style-1{
        font-size: 20px;
    }

    .emphasis{
        font-size: 16px;
    }
}
.foundation-types {
  font-family: 'Montserrat', sans-serif;
  max-width: 1200px;
  
  color: #333;
}