.results{
    background-image: url('../images/green-background-v5.webp');
    display: flex;
    justify-content: space-between;
    padding-inline: 50px;
    padding-top: 100px;
    gap: 100px;
}

.results-section{
    padding-bottom: 50px;
    max-width: 1863px;
    margin-inline: auto;
}

/*Lewa strona*/

.results-text{width: 50%;}

.results .results-text > h2{
    font-size: 64px;
    font-weight: 700;
    margin: 0;
}

.results .results-text > p{
    font-size: 25px;
    font-weight: 600;
    line-height: normal;
    /* width: 650px; */
}

.results .results-text > div {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.results .results-text > div > img{width: 101px; height: auto;}

/*Prawa strona*/

.results .results-images{
    position: relative;
    width: 50%;
    /* margin-left: 50px;  */
}

.results .results-images > img{
    width: 55%;
    height: auto;
    box-shadow: 15px 15px 20px 0px rgba(0, 0, 0, 0.25);
}

.results .results-images > img:nth-child(1){
    position: absolute;
    left: 0;
    top: 0;
}

.results .results-images > img:nth-child(2){
    position: absolute;
    right: 0;
    bottom: 0;
}

/*Materiały w rezultatach*/
.results-materials{
    padding-inline: 50px;
}

.results-materials > p{
    margin-top: 30px;
    font-size: 25px;
    font-weight: 400;
}

.results-materials .flags{
    display: flex;
    justify-content: space-around;
}

.results-materials .flags > div{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.results-materials .flag{
    border-radius: 5px;
    background: #A7D3B9;
    height: 50px;
    width: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.results-posts{
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.results-posts h3{font-size: 18px; text-align: center;}

.results-posts form{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

.results-posts form input:not([type="checkbox"]){width: 300px; border: 2px solid #1A211C; padding: 8px;}

.results-posts form a{color: #1A211C;}

.results-posts form button{
    cursor: pointer;
    background-color: #1A211C;
    color: #fff;
    padding-inline: 50px;
    padding-block: 15px;
    border: none;
    transition-duration: 700ms;
}

.results-posts form button:hover{background-color: #A7D3B9;}

#response-message{font-size: 18px; color: #8C1500;}

.results-posts .download-item button:focus-visible{outline: none; box-shadow: 0 0 0 4px #A7D3B9}

@media only screen and (max-width: 1800px){
    .results .results-images > img{
        width: 60%;
    }

    .results .results-text > h2{font-size: 50px;}
    .results .results-text > p{font-size: 20px;}
    .results-materials > p{font-size: 20px; margin-top: 50px;}
}


@media only screen and (max-width: 1500px){
    .results .results-images > img{
        width: 70%;
    }
}

@media only screen and (max-width: 1400px){
    .results-text{width: 60%;}
    .results .results-text > div > img{width: 50px;}
    .results-materials .flags{flex-wrap: wrap; gap: 32px;}
}

@media only screen and (max-width: 1250px){
    .results .results-text > h2{font-size: 40px;}
    .results{flex-direction: column; gap: 50px;}
    .results .results-text{width: 100%;}
    .results .results-images{width: 60%; height: 300px; margin-inline: auto;}
    .results .results-images > img{width: 70%;}
}

@media only screen and (max-width: 950px){
    .results .results-images{width: 60%; height: 350px;}
    .results .results-images > img{width: 80%;}

    .results .results-text > h2{text-align: center;}
    .results .results-text > p{text-align: center;}
    .results-materials > p{text-align: center; font-size: 15px;}
    .results-materials #response-message{text-align: center;}
}

@media only screen and (max-width: 785px){
 .results .results-images{width: 80%;}   
 .results-materials{padding-inline: 10px;}
}

@media only screen and (max-width: 650px){
    .results .results-text > h2{font-size: 30px;}
    .results .results-text > p{font-size: 17px;}
    .results-posts{gap: 50px; flex-direction: column;}
    .results-posts li{margin-bottom: 10px;}
    .results .results-images{width: 100%;}
    .results{padding-inline: 10px;}
}

@media only screen and (max-width: 500px){
    .results .results-images{height: 250px;}
}
