$background-color-list: #A6206A, #EC1C4B, #F16A43, #f1c939, #299e7b, #1a7e80, #1a6e8f, #085297;

.container {
    border: 2px solid #a0a0a0;
    width: 100%;
    height: 100%;
    min-height: 25vh;
    @each $bg-color in $background-color-list {
        $i: index($background-color-list , $bg-color);
        .caja-#{$i} {
            background-color: $bg-color;
            color: #fff;
            width: auto;
            font: 600 1rem 'montserrat';
            text-transform: uppercase;
            margin: .5rem;
            padding: .5rem;
            text-align: center;
        }
    }
}

