* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

#wrapper-white, #wrapper-shop {
    width: 100%;
}

#header-content, #main-content, #shop-content {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 40px 0;
}

header {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin-left: 2.0833%; /* 20px / 960px */
}

nav ul li a {
    text-decoration: none;
    color: #16325a;
    font-weight: bold;
    text-transform: uppercase;
}

section {
    width: 68.75%; /* 660px / 960px */
    float: left;
}

aside {
    width: 23.9583%; /* 230px / 960px */
    float: right;
    background-color: #f4f4f4;
    padding: 20px 2.0833%; /* 20px / 960px */
    border: 2px solid #16325a;
    text-align: center;
}

aside h2 {
    color: #a6266e;
    font-size: 1.125em; /* 18px / 16px */
    margin-bottom: 10px;
}

aside p {
    font-size: 0.9375em; /* 15px / 16px */
    margin-bottom: 8px;
}

aside hr {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #ccc;
}

aside a {
    color: #a6266e;
}

.team {
    width: 25%;
    text-align: center;
    float: left;
    padding: 10px 1.0417%; /* 10px / 960px */
}

.team img {
    width: 80%;
    height: auto;
    border-radius: 50%;
}

.team h3 {
    color: #a6266e;
    text-transform: uppercase;
    font-size: 1.25em;
    margin: 10px 0 5px;
    font-weight: bold;
}

.team p {
    font-size: 0.875em;
    color: #555;
}

#slideshow-wrapper {
    width: 100%;
    height: 441px;
    position: relative;
    overflow: hidden;
}

#slideshow {
    width: 100%;
    height: 441px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0;
}

#slideshow img {
    width: 100%;
    height: 100%;
    display: inline-block;
    vertical-align: top;
    object-fit: cover;
}

#circle-nav {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.circle {
    display: inline-block;
    background-color: lightgrey;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 1.5625%; /* 15px / 960px */
    transition: background-color 0.3s;
    cursor: pointer;
}

#color-bar {
    background-color: #a6266e;
    color: white;
    text-align: center;
    padding: 15px 0;
    clear: both;
}

#color-bar h3 {
    font-size: 1em;
}

h1 {
    font-family: 'Goudy Bookletter 1911', serif;
    color: #a6266e;
    font-size: 2em; /* 32px / 16px */
    text-transform: uppercase;
    margin-bottom: 15px;
}

section p {
    font-size: 0.9375em; /* 15px / 16px */
    line-height: 1.6;
    margin-bottom: 12px;
}

#shop-content h1 {
    text-align: center;
    width: 100%;
    float: none;
    clear: both;
    margin-bottom: 20px;
}

#wrapper-shop {
    background-color: #f4f1ea;
    padding: 40px 0;
    clear: both;
}

footer {
    background-color: #16325a;
    color: white;
    text-align: center;
    padding: 20px 0;
    clear: both;
}

#footer-content {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

#footer-left {
    float: left;
    width: 48%;
    text-align: left;
}

#footer-right {
    float: right;
    width: 48%;
    text-align: right;
}

footer h3 {
    font-size: 0.875em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

footer p {
    font-size: 0.875em;
    opacity: 0.75;
    line-height: 1.5;
}

.uppercase {
    text-transform: uppercase;
}

/*Media Query 1: Tablets */

@media only screen and (max-width: 1024px) {

header {
    flex-direction: column;
    text-align: center;
    max-width: 100%;
    padding: 15px 0;
}

#header-content {
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
}
header img {
    display: block;
    margin: 0 auto 15px auto;
}

nav ul {
    text-align: center;
}
nav ul li {
    margin: 0 2%;
}

#slideshow-wrapper, #slideshow {
    height: 300px;
}

.circle {
    width: 9px;
    height: 9px;
}

#color-bar h3 {
    font-size: 1em;
    padding: 0 20px;
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.125em;
}

section, aside {
    width: 100%;
    float: none;
    margin-bottom: 20px;
    padding: 0 2%;
}

aside {
    padding: 20px 4%;
}

#main-content {
    padding: 20px 2%;
}

#shop-content {
    padding: 20px 2%;
}

.team {
    width: 100%;
    float: none;
    margin-bottom: 20px;
}

.team img {
    width: 50%;
}

#footer-left, #footer-right {
    width: 48%;
}
}

/* Media Query 2: Smartphones */

@media only screen and (max-width: 480px) {

header {
    max-width: 100%;
}

#header-content {
    padding: 10px 0;
}

header img {
    width: 55%;
    display: block;
    margin: 0 auto 8px auto;
}

nav ul li {
    display: block;
    margin: 0;
}

nav ul li a {
    display: block;
    background-color: #a6266e;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

#slideshow-wrapper, #slideshow {
    height: 200px;
}

.circle {
    width: 9px;
    height: 9px;
    margin-right: 8px;
}

#color-bar h3 {
    font-size: 0.875em;
    padding: 0 12px;
}

h1 {
    font-size: 1.375em;
}

section {
    width: 100%;
    float: none;
    padding: 0 5%;
}

aside {
    width: 90%;
    float: none;
    margin: 10px auto 20px auto;
    padding: 20px 5%;
}

#main-content {
    padding: 15px 0;
}

.team {
    width: 100%;
    float: none;
    margin-bottom: 20px;
    padding: 10px 5%;
}

.team img {
    width: 60%;
}

#shop-content {
    padding: 15px 2%;
}

#footer-left, #footer-right {
    width: 100%;
    float: none;
    text-align: left;
    margin-bottom: 15px;
    padding: 0 5%;
}

#footer-content {
    padding: 10px 0;
}
}