/*del1*/

#flex-container1 {
    display: flex;
    height: 300px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: lightgreen;
}

#flex-container1 .ruta {
    background-color: white;
    width: 100px;
}

img {
    width: 100px;
}


/*del2*/

.flex-container2 {
    display: flex;
    height: 300px;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    background-color: yellow;
}

.flex-container2 .ruta {
    background-color: red;
    width: 100px;
}

.flex-container2 .ruta:nth-child(odd) {
    background-color: blue;
    align-self: flex-end;
}


/*del3*/

.flex-container3 {
    display: flex;
    height: 500px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: lightgreen;
}

.flex-container3 .ruta {
    text-align: center;
    background-color: blue;
    width: 300px;
    border: solid 1px;
}


/*del4*/

.flex-container4 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    height: 300px;
    width: 800px;
    margin: auto;
    background-color: white;
    border: solid 5px green;
}

.flex-container4 .ruta {
    width: 98px;
    height: 98px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: red;
    border: solid 1px black;
}

.flex-container4 .blå {
    width: 298px;
    background-color: blue;
}

.flex-container4 img {
    width: 50px;
}