﻿body {
    display: flex;
    flex-direction: column;
}


.flex-break {
    flex-basis: 100%;
    height: 0;
}

#header {
    display: flex;
    background-color: #a9a9a9;
}

#header #sitename {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 30px;
    width: 30%;
}

#menu {
    width: 70%;
}

#header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#header li {
    display: flex;
}

#header a {
    dislpay: flex;
    color: #000;
    padding: 10px;
    text-decoration: none;
    text-align: center;
    line-height: 40px;
    width: 100px;
}

    #header a:hover {
        background-color: #555;
    }

#header span.position-in-cart {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    margin-left: -30px;
    margin-right: 40px;
    margin-top: 10px;
    background-color: #e37171;
    border-radius: 12px;
}
#header span.position-in-cart.hidden {
    display: none;
}
#content {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

#content-left {
    display: flex;
    width: 10%;
    min-width: 300px;
}

#content-right {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 80%;
}

.tags {
    align-items: flex-start;
    justify-content: flex-start;
    display: flex;
    height: 100px;
}

span.tag {
    margin: 10px;
    padding: 5px;
    border: 1px solid #486304;
    color: #486304;
}

a.tag {
    text-decoration: none;
    margin: 10px;
    padding: 5px;
    border: 1px solid #486304;
    color: #486304;
}

    a.tag.active {
        border: 1px solid #486304;
        background-color: #486304;
        color: #fff;
        font-size: 20px;
    }

.jersey img {
    width: 250px;
    height: 253px;
}

.jersey div {
    margin: 5px;
}

.jersey {
    width: 250px;
    margin: 10px;
    padding: 10px;
}

    .jersey.template {
        display: none;
    }

    .jersey .name {
        width: 100%;
        text-align: center;
        font-size: 20px;
    }
    .jersey .price {
        width: 100%;
        text-align: center;
        font-size: 20px;
    }

    .jersey a {
        display: block;
        width: 100%;
        line-height: 40px;
        text-decoration: none;
        background-color: #013f9c;
        border-radius: 10px;
        color: #ffffff;
        text-align: center;
        margin: 5px;
    }
        .jersey a.button.addToCart-button {
            background-color: darkgreen;
        }
        .jersey a.button.addedToCart-button {
            background-color:ghostwhite;
            color: black;
        }
        .jersey a.red {
            background-color: #8a1e1e;
        }

.jersey-detail {
    display: flex;
    margin: 30px;
}

    .jersey-detail div {
        margin: 30px;
    }

    .jersey-detail .jersey-detail-img img {
        width: 400px;
    }

    .jersey-detail .jersey-detail-info {
        display: flex;
        flex-direction: column;
    }

        .jersey-detail .jersey-detail-info div {
            margin: 10px;
            font-size: 20px;
        }
        .jersey-detail a {
            display: block;
            width: 200px;
            line-height: 40px;
            text-decoration: none;
            background-color: #013f9c;
            border-radius: 10px;
            color: #ffffff;
            text-align: center;
            margin: 5px;
        }
        .jersey-detail a.button.addToCart-button {
            background-color: darkgreen;
        }

        .jersey-detail a.button.addedToCart-button {
            background-color: ghostwhite;
            color: black;
        }

#content form {
    margin: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

    #content form input {
        font-size: 30px;
    }

    #content form button {
    }

    #content form input, #content form button {
        margin: 20px;
        display: flex;
        width: 400px;
        height: 50px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

.avatar {
    margin-top: 15px;
    max-width: 50px;
    max-height: 30px;
    border-radius: 10px;
}
