* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

select,
button,
input,
textarea {
    outline: none;
    border: none;
    font-family: 'Josefin Sans', sans-serif;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    margin: 0;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    position: relative;
    background-color: #f3f3f3;
}





/*SideBar*/
#sideBar {
    width: 350px;
    position: fixed;
    left: 0;
    top: 0;
    background-color: white;
    height: 100%;
    padding: 30px 25px;
    z-index: 2;
    overflow-y: auto;
}

#sideBarLogo {
    width: 80%;
    display: block;
    margin: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

#sideBarText {
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

#sideBarText span {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 5px;
    margin-bottom: 40px;
    text-align: center;
}

nav {
    margin-bottom: 40px;
}

.navItem {
    display: block;
    color: #777;
    transition: 1s;
    font-size: 16px;
    padding-top: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ececec;
}

.navItem.active,
.navItem:hover {
    color: black;
    border-bottom: 1px solid black;

}

#sideBarSocial {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

#sideBarSocial svg {
    margin: 5px
}

#sideBarCopyright {
    font-size: 14px;
    color: #777;
    text-align: center;
}

#openSideBar {
    display: none;
}

#closeSideBar {
    display: none;
}

/*mobile sibar stuff*/
@media(max-width:750px) {
    #sideBar {
        left: -100%;
        width: 70%;
        transition: 0.4s;
    }

    #sideBar.open {
        left: 0;
    }

    #openSideBar {
        position: fixed;
        z-index: 2;
        top: 20px;
        left: 20px;
        display: flex;
        height: 50px;
        width: 50px;
        color: white;
        justify-content: center;
        align-items: center;
        background-color: black;
        border-radius: 100%;
        cursor: pointer;
    }

    #sideBarLogo {
        margin-top: 20px;
    }

    #closeSideBar {
        position: absolute;
        top: 0;
        right: 0;
        height: 50px;
        width: 50px;
        border-bottom-left-radius: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }
}






#mainContent {
    height: 100%;
    margin-left: 350px;
}

#mainContent>.header {
    font-size: 40px;
    padding: 100px 0 60px;
    text-align: center;
    font-weight: bold;
    text-decoration: underline;
}


#mainContent>.container {
    padding: 0 20px 100px;
    max-width: 1250px;
    margin: auto;
}

#mainContent>.container>.button {
    background-color: black;
    color: white;
    font-weight: bold;
    width: 300px;
    padding: 20px 0;
    border-radius: 4px;
    font-size: 20px;
    display: block;
    margin: auto;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.5s;
    border: 2px solid transparent;
}

#mainContent>.container>.button:hover {
    background-color: white;
    color: black;
    border: 2px solid black;
}

@media(max-width: 750px) {
    #mainContent {
        margin-left: 0;
    }
}







#home {
    width: 100%;
    height: 100%;
    background-image: url("../img/home/home3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#home::after {
    background-color: black;
    opacity: 0.5;
    height: 100%;
    width: 100%;
    content: "";
    position: absolute;
}

#home>* {
    z-index: 1;
    position: relative;
}

#homeText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 35px;
    width: 300px;
    height: 100px;

    /*https://stackoverflow.com/a/47832651*/
    background: linear-gradient(to right, white 6px, transparent 6px) 0 0,
        linear-gradient(to right, white 6px, transparent 6px) 0 100%,
        linear-gradient(to left, white 6px, transparent 6px) 100% 0,
        linear-gradient(to left, white 6px, transparent 6px) 100% 100%,
        linear-gradient(to bottom, white 6px, transparent 6px) 0 0,
        linear-gradient(to bottom, white 6px, transparent 6px) 100% 0,
        linear-gradient(to top, white 6px, transparent 6px) 0 100%,
        linear-gradient(to top, white 6px, transparent 6px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}

#homeText span {
    font-weight: normal;
    font-size: 20px;
}

#homeDownArrow {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    color: white;
    cursor: pointer;
}










#aboutContent {
    color: #777;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    margin-bottom: 50px;
}

#aboutPics {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

#aboutPics img {
    width: 32%;
    border-radius: 5px;
}

#aboutSignature {
    width: 90%;
    max-width: 500px;
    display: block;
    margin: auto;
}






#gallery {
    margin-bottom: 50px;
}







#products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 10px;
    grid-gap: 50px;
    align-items: flex-end;
    margin-bottom: 30px;
}

#productsLoading {
    display: flex;
    justify-content: center;
    grid-column: 1/5;
}

@media(max-width: 1000px) {
    #products {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }
}

/*.product {}*/

.productImage {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
}

.productTitle {
    text-align: center;
    margin-bottom: 5px;
    font-size: 20px;
}

.productInfo {
    background-color: black;
    padding: 10px 0;
    font-size: 15px;
    color: white;
    width: 100%;
    border-radius: 5px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid black;
    transition: 0.5s;
}

.productInfo:hover {
    background-color: white;
    color: black;
}

#paginateContainer {
    display: flex;
    margin: auto;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

#paginateContainer>span {
    border-bottom: 2px solid lightgray;
    transition: 0.3s;
    padding: 5px 15px;
    font-size: 25px;
    cursor: pointer;
    color: lightgray;
}

#paginateContainer>span:hover,
#paginateContainer>span.current {
    color: #231f20;
    border-bottom: 2px solid #231f20;
}

#shopModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 2;
}

#shopModalContent {
    width: 100%;
    max-width: 500px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #231f20;
    position: relative;
    background-color: white;
}

#shopModalExit {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #807c7c;
    transition: 0.5s;
    cursor: pointer;
}

#shopModalProduct {
    text-align: center;
}

#shopModalImg {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 0 auto 10px;
}

#shopModalTitle {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

#shopModalPrice {
    font-size: 17px;
    margin-bottom: 10px;
}

#shopModalDesc {
    font-size: 15px;
    margin-bottom: 10px;
}

#shopModalCheckout {
    background-color: black;
    padding: 20px 0;
    font-size: 20px;
    font-weight: bold;
    color: white;
    width: 100%;
    border-radius: 5px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid black;
    transition: 0.5s;
    display: block;
}

#shopModalCheckout:hover {
    background-color: white;
    color: black;
}



#contactForm {
    text-align: center;
    font-size: 24px;
    display: block;
    text-decoration: underline;
}