@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');

body {
    font-family: 'Roboto Slab', serif;
    width: 1440px;
    margin: auto;
    margin-bottom: 1rem;
    color: #303030;
}

header {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

form {
    display: flex;
}

form input, form label {
    margin-right: 1rem;
}

h2 {
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: bold
}

#tyres .by_size:nth-child(even) {
    background-color: #dedede;
}

.front:nth-child(4n+1) {
    background-color: #dedede;
}

.front:nth-child(4n+3) {
    background-color: #ffcccc;
}

.rear:nth-child(4n+2) {
    background-color: #c2c2c2;
}

.rear:nth-child(4n+4) {
    background-color: #ff9494;
}

table  {
    border-collapse: collapse;
    margin-bottom: 0.5rem;
}

th {
    text-align: left;
}

#other_search td {
    padding-right: 20px;
}

#tyres {
    width: 100%;
}

#tyres, #tyres th, #tyres td {
    border: 1px solid black;
    padding: 4px;
}

#req-and-res {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

#req-and-res > div {
    margin-right: 1rem;
}

#req-and-res textarea {
    min-width: 500px;
    min-height: 250px;
    overflow: auto;
}
