/* GLOBAL CSS */
* {
    margin: 0;
    box-sizing: border-box;
}
body,html {
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    color: black;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
header {
    background-color: #646fde;
    height: 68px;
    font-family: "Times New Roman", serif;
    border-bottom: 2px solid black;
}
footer {
    background-color: #646fde;
    color: white;
    border-top: 2px solid black;
    padding: 8px 15px;
    font-size: .9em;
    margin-top: 50px;
}
footer a {
    color: white;
}
.dropdown-link {
    font-size: 1.25rem;
}
.item {
    color: black;
    margin: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.item h3 {
    color: blue;
}
.desc {
    display: block;
}
.item img {
    margin: 30px;
}
.responsive {
    max-width: 300px;
    height: auto;
}
.sale h1 {
    padding: 30px 0 0 50px;
    font-size: 4em;
    letter-spacing: .3em;
    font-family: 'Amatic SC', cursive;
    background: -webkit-linear-gradient(red, #000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sale p {
    font-size: 1.2rem;
    padding: 20px 0 10px 80px;
}
.sale span {
    font-weight: bolder;
    letter-spacing: 2px;
    color: #000;
    background-color: rgba(255, 0, 0, 0.8);
    padding: 2px 8px;
}
.splash {
    background-image: url("../images/painting-2407262_1920.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 2px solid black;
}
.topnav {
    background-color: #646fde;
    overflow: hidden;
    float: right;
}
.topnav a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 20px 30px;
    text-decoration: none;
    font-weight: bold;
}
.topnav a:hover {
    background-image: url("../images/splat.png");
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    font-weight: bold;
}
.topnav .icon {
    display: none;
}
.warning {
    color: red;
    text-align: center;
    margin-top: 10px;
    padding: 5px;
}



/* INDEX CSS */
address {
    font-size: .8em;
}
aside {
    width: 35%;
    background-color: rgba(255, 254, 199, 0.75);
    padding: 5px 10px;
    font-size: 1rem;
    display: flex;
}
aside h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}
aside p {
    padding: .25rem;
}
form {
    align-self: center;
    text-align: center;
}
hr:nth-child(odd) {
    margin: 0 0 20px 0;
}
hr:nth-child(even) {
    margin: 20px 0 0 0;
}
input {
    margin-top: 15px;
}
.category {
    margin-bottom: 20px;
}
#button {
    margin: 10px 60px;
}
#categories {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#categories img {
    border: 1px solid black;
    margin: 0 100px;
}
#history {
    padding: 50px 90px;
    width: 80%;
    margin: auto;
}
#history h2 {
    text-align: center;
    padding-bottom: 10px;
}
#history p {
    padding: 10px 0;
}
#history p:last-of-type {
    text-align: center;
}
.introsplash {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 300px;
    font-weight: bolder;
}
.prodsplash {
    height: 150px;
    text-align: center;
    font-weight: bolder;
}





/*    MEDIA QUERIES    */
@media screen and (max-width: 767px) {
    aside {
        display: block;
        width: 100%;
        border: none;
        background-color: rgba(255, 254, 199, 1)
    }
    aside p {
        padding: 5px;
    }
    .splash {
        height: 100%;
    }
    .sale {
        width: 100%;
        text-align: center;
        padding-top: 15px;
        border-bottom: 2px solid black;
    }
    .sale h1 {
        font-size: 3em;
    }
    .sale p {
        padding: 0;
        margin: 5px;
    }
    .sale p:last-child {
        padding: 15px 0 50px;
    }
    form {
        font-size: 1.1em;
        width: 90%;
        margin: auto;
        padding: 10px 5px 20px;
    }
}
@media screen and (max-width: 680px) {
    .dropdown-link:first-child {
        margin-top: 68px;

    }
    .topnav.responsive {
        position: absolute;
        z-index: auto;
        right: 0;
        top: 0;
    }
    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .topnav a {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
    }
    .topnav a.icon:hover {
        background-color: #646fde;
        color: #333;
    }
    .responsive {
        max-width: 240px;
    }
    #history {
        padding: 20px 0;
        width: 90%;
        margin: auto;
    }
    .splash h1 {
        text-align: center;
        padding: 10px 0;
    }
}