.awards-section {
    padding-block: var(--spacing-large);
    margin-block: var(--spacing-large);
    margin-inline: var(--spacing-small);
    background-image: none;
    background-repeat: repeat;
    -webkit-transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    transition: all ease-in-out 0.5s;
}

.awards-section.in-viewport {
    color: var(--color-white);
    background-color: var(--color-black);
    background-image: url('../../../images/BG.png');
}

.awards-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.awards-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

img.award-icon {
    width: 130px;
}

.awards-section.in-viewport .awards-title {
    color: var(--color-white);
}

h2.awards-title.h1 {
    width: 50%;
}

.awards-block {
    display: flex;
    justify-content: center;
    gap: var(--spacing-med);
}

.award-item {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

.awards-section.in-viewport .award-item {
    color: var(--color-white);
}

.award-reviews {
    font-size: 16px;
    font-weight: 300;
    line-height: 140%;
}

.award-logo {
    display: flex;
    align-items: center;
    height: 50px;
    margin-top: 10px;
}

img.award-company-logo {
    width: 100px;
    max-height: 50px;
}

.awards-section.in-viewport .awards-after-text {
    color: var(--color-white);
}


/* Large devices (desktops, less than 1200px) */
@media (max-width: 1200px) {

    .awards-wrapper {
        padding-inline: var(--spacing-small);
    }

}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 768px) {

    .awards-block {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0;
        row-gap: 20px;
    }

    .award-item {
        flex: 1 0 50%;
    }

}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 576px) { 

    h2.awards-title.h1 {
        width: auto;
        text-align: center;
    }

}
