/* Imported Fonts */

@font-face {
    font-family: "Crayond";
    src: url("/content/fonts/Crayond-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Crayond";
    src: url("/content/fonts/Crayond-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: bold;
}

@font-face {
    font-family: "Crayond";
    src: url("/content/fonts/Crayond-RegularItalic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Favela";
    src: url("/content/fonts/Favela.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

/* Element Styles */

body {
    font-family: "Crayond", sans-serif;
    padding: 2rem;
    background-color: #EBE4DC;
    font-size: 2vh;
    color: #281603;
    overflow-x: hidden;
}

button {
    height: 6vh;
    width: 25vw;
    background-color: #7D5833;
    color: #EBE4DC;
    border: none;
    border-radius: 5px;
    font-size: 2vh;
    font-family: "Crayond", sans-serif;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2)
}
button:hover {
    background-color: #cc9761;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
button:disabled {
    background-color: gray;
    box-shadow: 0 0 0 0;
    cursor: not-allowed;
}

ul {
    list-style: none;
}

footer {
    padding-top: 5rem;
    font-size: 1.7vh;
}

hr {
    color: #7D5833;
    background-color: #7D5833;
    height: 0.2px;
}

a:link,
a:visited {
    text-decoration: none;
    color: #281603;
}
a:hover {
    color: #7D5833;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Classes and ID Styles */
/* These are listed in the same order as they appear in the HTML */

.button-width {
    width: 25vw;
}

.buy-now-button {}

.buy-now-message{    
    font-size: 1rem;      
}

.navbar {
    display: flex;
    justify-content: space-between;
}

.nav-img {
    width: 15vh;
    margin-top: -1rem;
}

.nav-items {
    display: flex;
    gap: 5vw;
}

.age-popup {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(40, 22, 3, 0.60);
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-box {
    background-color: #EBE4DC;
    padding: 3rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2)
}

.age-subheading {
    margin-top: -1rem;
}

.age-dob {
    width: 100%;
    display: flex;
    gap: 1rem;
}

.age-dob-input {
    border: none;
    padding: 0.5rem;
    width: 30%;
    font-family: "Crayond", sans-serif;
}

.age-error {
    color: darkred;
}

#Hero {
    padding-top: 1rem;
}

.hero-img {
    background-image: url("/content/knife-product-image-3.jpeg");
    min-height: 50vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    margin-left: -3rem;
    margin-top: -4rem;    
}

.hero-title {
    font-family: "Favela", serif;
    font-size: 10vh;
    color: black;
}

#hero-title-bottom {
    text-align: right;    
}

.hero-text {
    text-align: right;
    margin-top: -4rem;
    font-weight: 700;
}

.hero-button {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.product-img {
    background-image: url("/content/knife-product-image-1.jpeg");
    width: 100vw;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 80rem;
    margin-left: -3rem;
}

.product-div {
    padding: 2rem;
}

.product-top {
    display: flex;
    flex-direction: column;
    align-items: end;
    padding-top: 6rem;
}

.product-line {
    width: 50vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-intro {
    text-align: right;
}

.product-title {
    font-size: 7vh;
    font-style: italic;
}

.product-subtitle {
    font-size: 3vh;
    font-weight: 700;
    margin-top: -3rem;
}

.product-price {
    margin-top: -1.5rem;
}

.product-desc {
    display: flex;
    justify-content: space-evenly;
}

.product-desc-name {
    font-weight: 700;
}

.product-bottom {
    width: 50vw;
    display: flex;
    padding-top: 14rem;
}

.product-comment {
    width: 50vw;
    margin-left: 2rem;
}

.product-sale {
    background-color: #DE9562;    
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 5px;
}

#About {
    padding-top: 6rem;
    height: 130vh;
}

.about-bg {
    position: absolute;
    z-index: -1;
    width: 100vw;
}

.about-bg-img-one {
    margin-left: -4rem;
    width: 65vw;
}

.about-bg-img-two {    
    display: flex;
    justify-content: flex-end;
    width: 100vw;
    margin-top: -4rem;
}

.about-bg-img-two img {    
    display: block;    
    width: 40vw;
}

.about-intro {
    text-align: center;    
    padding-top: 6rem;
}

.about-title-one {
    font-size: 10vh;
}

.about-title-two {
    font-size: 8vh;
    font-style: italic;
    margin-top: -4.5rem;
    padding-left: 8rem;
}

.about-intro-h4 {
    font-size: 1.8vh;
    margin-top: -3.5rem;
    padding-left: 4rem;
}

.about-content {
    padding-top: 3rem;
    padding-left: 8rem;
    padding-right: 12rem;
}

.contact-banner {
    background-image: url("/content/knife-product-image-2.jpeg");
    min-height: 40vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    margin-left: -3rem;
    margin-top: -4rem;    
}

#Contact {
    padding: 2rem;
}

.contact-title {
    font-family: "Favela", serif;
    font-size: 8vh;
    margin-bottom: -0.5rem;
}

.contact-subtitle {
    font-size: 3vh;
}

.contact-form-top {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
}

.contact-form-layout {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 2.5vh;
    padding-bottom: 2rem;
}

.contact-form-input {
    border: none;
    width: 35vw;
    height: 2vh;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 1rem;
    font-size: 2vh;
    font-family: "Crayond", sans-serif;
}

.contact-form-textarea {
    border: none;
    width: 83vw;
    height: 20vh;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 1rem;
    font-size: 2vh;
    font-family: "Crayond", sans-serif;
}

.contact-form-button {
    display: flex;
    justify-content: end;
    padding-top: 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-list {
    width: 60vw;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
}