/* Browser Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Site Styles */
body {
    background-color: #000;
    color: #ddd;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
}
footer {
    text-align: center !important;
    width: 100%;
    font-size 14px;
    color: #555;
}
div.h-center {
    display: flex;
    justify-content: center;
}
.m-top {
    margin-top: 20px;
}
.page-not-found-title {
    font-size: 80px;
}
.home-link {
    font-size: 26px;
    font-weight: bold;
    color: #b09039;
    margin: 47px 0 0;
}
.cake-icon {
    width: 75px;
    height: 75px;
    background-image: url('/images/cake-icon.png');
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 50px;
    margin: 33px 5px 0; 
}
.notes {
    font-size: 36px;
    font-family: "Carson";
    text-align: center;
    margin: 10px 0;
    color: #ccc;
}
.failed {
    font-size: 20px;
    color: yellow;
}
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 60px 0 20px;
    justify-content: center;
    align-items: center;
}
.column {
    flex: 1;
    min-width: 300px;
}
.lookbook-container {
    margin: 40px 0 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.image-wrapper {
    position: relative;
    width: 20%;
    margin: 0 px;
}
.image-wrapper img {
    flex-wrap: nowrap; 
    display: block;
    width: 100%;
    height: auto;
    flex: 1;
    object-fit: cover;
}
.overlay-text {
    flex-shrink: 0;
    white-space: nowrap;
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ccc;
    font-size: 20px;
    font-family: "Carson";
    text-align: center;
}
#title-image {
    width: 50%;
    margin-bottom: 10px;
}
#about {
    width: 90%;
    margin: 55px auto 40px;
    font-size: 30px;
    text-align: justify;
}
#about img {
    width: 20%;
    float: left;
    margin: 0 15px 10px 0;
}
#order-form, #contact-form, #review-form {
    width: 100%;
    height: 1590px;
    border: none;
    clip-path: inset(0 0 87px 0);
    overflow: hidden;
    margin: -40px 0 0;
}
#order-form {
    height: 1628px;
}
#contact-form {
    height: 1170px;
}
#review-form {
    height: 2070px;
}
#cakefail {
    display: block;
    width: 20%;
    margin: 10px auto;
}
.nav-container {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 10px;
    height: 375px;
    margin: 80px 0 0;
}
.nav-item {
    width: 225px;
    height: 300px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
    background-image: url('/images/link.png');
    text-decoration: none;
    font-size: 36px;
    color: #eee;
    text-align: center !important;
}
.nav-item:hover {
    background-image: url('/images/link-hover.png');
    color: #b09039;
}
.nav-text-top {
    margin-top: -50px;
}
.nav-text-bottom {
    margin-top: 285px;
}
img.socialmedia {
    width: 12%;
    height: auto;
}
video.cake-videos {
    max-width: 20%;
}

/* mobile device style overrides */
@media (max-width: 768px) {
    #title-image {
        width: 90%;
        margin: 0 0 10px;
    }
    img.socialmedia {
        width: 48%;
        height: auto;
    }
    #about {
        font-size: 13px;
        margin: 30px 15px 20px 0;
    }
    #about img {
        width: 52%;
    }
    .nav-container {
        height: 145px;
        justify-content: left;
        gap: 10px;
        margin: 50px 0 0 -10px;
    }
    .nav-item {
        width: 75px;
        height: 100px;
        font-size: 18px;
    }
    .nav-text-top {
        margin-top: -36px;
    }
    .nav-text-bottom {
        margin-top: 113px;
    }
    .container {
        align-items: center;
        margin: 40px 0 20px;
    }
    .lookbook-container {
        margin: 30px 0 0;
    }
    .image-wrapper {
        position: relative;
        width: 45%;
        margin: 0;
    }
    .image-wrapper img {
        width: 100%;
        margin: 0 5px
    }
    .overlay-text {
        font-size: 12px;
    }
    .notes {
        font-size: 24px;
    }
    .column {
        min-width: 150px;
    }
    .return-home {
        margin-left: 20px;
    }
    .home-link {
        font-size: 15px;
        margin: 40px 0 0;
    }
    .cake-icon {
        margin: 20px 0 0; 
    }    
    #order-form, #contact-form, #review-form {
        margin: -20px 0 0 20px;
    }
    #order-form {
        height: 1650px;
    }
    #contact-form {
        height: 1200px;
    }
    #review-form {
        height: 3570px;
    }
    #cakefail {
        display: block;
        width: 50%;
        margin: 10px auto;
    }
    .page-not-found-title {
        font-size: 35px;
    }
    .failed {
        font-size: 16px;
        color: yellow;
    }
}
