* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url('../img/background_main.png');
    background-repeat: repeat;
    background-attachment: fixed;
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    background-color: rgb(40, 40, 40);
    background-repeat: repeat;
    color: white;
    position: relative;
    border: 2px solid goldenrod;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.main-image {
    position: absolute;
    top: 80px;
    width: 100px;
    max-width: 10%;
    user-select: none;
}

.main-image.left {
    left: 0;
}

.main-image.right {
    right: 0;
}

.header_segment {
    display: flex;
    align-items: center;
    border: 2px solid goldenrod;
    height: 80px;
    width: 80px;
    justify-content: center;
    background-image: url('../img/background_sculpted_panel.png');
    background-repeat: repeat;
}

.header_segment img {
    user-select: none;
}

.logo img {
    height: 80px;
    width: 80px;
}

.title {
    font-size: 50px;
    border: 2px solid goldenrod;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    white-space: nowrap;
    overflow: auto;
}

.burger {
    cursor: pointer;
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger span {
    background-color: goldenrod;
    height: 3px;
    width: 100%;
    transition: 0.3s;
}

.burger.toggled span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.burger.toggled span:nth-child(2) {
    opacity: 0;
}

.burger.toggled span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

.nav-menu {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200px;
    height: 100vh;
    background-color: rgba(40, 40, 40, 0.8);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
}

.nav-menu ul {
    list-style: none;
}

.nav-menu ul li {
    margin-bottom: 20px;
}

.nav-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.nav-menu ul li a:hover {
    text-decoration: underline;
}

.nav-menu.show {
    left: 0;
}

.nav-menu .active a {
    color: goldenrod;
    font-weight: bold;
}

.custom-div-with-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-bottom: 4px solid goldenrod;
    width: 90%;
    background-color: rgba(20, 20, 20, 0.5);
    margin: 20px 0;
}

.custom-div-with-divider::before {
    content: "";
    display: flex;
    width: 100%;
    height: 30px;
    background: url('../img/gramados_header_texture.png') no-repeat center center;
    background-size: contain;
    top: 0;
    left: 0;
    margin-bottom: 10px;
}

.custom-div-with-divider h1 {
    font-size: 40px;
    color: goldenrod;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.custom-div-with-divider h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 30px;
    background: url('../img/gramados_header_texture_1.png') no-repeat center center;
    background-size: contain;
    bottom: 0;
    left: 0;
    margin-top: 5px;
}

.custom-div-with-divider h2 {
    font-size: 30px;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.custom-div-with-divider h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 30px;
    background: url('../img/gramados_header_texture_2.png') no-repeat center center;
    background-size: contain;
    bottom: 0;
    left: 0;
    margin-top: 5px;
}

.custom-div-with-divider h3 {
    font-size: 25px;
    color: goldenrod;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.custom-div-with-divider p {
    font-size: 20px;
    color: white;
    margin-bottom: 20px;
    width: 100%;
}

.custom-div-with-divider ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}

.custom-div-with-divider ul li {
    margin: 10px;
}

.custom-div-with-divider a {
    color: goldenrod;
    text-decoration: underline;
    font-size: 20px;
}

.custom-div-with-divider b {
    color: goldenrod;
    font-weight: bold;
}

.category p {
    margin-bottom: 1rem;
}

.custom_button_div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1rem;
    min-width: 50%;
}

.custom_button_div::before {
    content: "";
    display: block;
    height: 30px;
    background: url('../img/gramados_header_texture_2_u.png') no-repeat center center;
    background-size: contain;
    top: 0;
    left: 0;
}

.custom_button_div::after {
    content: "";
    display: block;
    height: 30px;
    background: url('../img/gramados_header_texture_2_b.png') no-repeat center center;
    background-size: contain;
    top: 0;
    left: 0;
}

.custom_button_div button{
    background-color: goldenrod;
    font-size: 2rem;
    border: 2px solid goldenrod;
    margin: 5px 0;
    text-align: center;
    cursor: pointer;
    border-radius: 3px;
    transition-duration: 0.4s;
}

.custom_button_div button:hover {
    background-color: gold;
    border: 2px solid white;
    box-shadow: 0 0 20px 5px goldenrod;
}

.stock-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stock-list p {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.stock-list::before {
    content: "";
    display: flex;
    width: 100%;
    min-height: 100px;
    background: url('../img/gramados_header_introduction.png') no-repeat center center;
    background-size: contain;
    top: 0;
    left: 0;
    margin-bottom: 10px;
}

.stock-list::after {
    content: "";
    display: flex;
    width: 100%;
    min-height: 80px;
    background: url('../img/gramados_header_conclusion.png') no-repeat center center;
    background-size: contain;
    bottom: 0;
    left: 0;
    margin-top: 10px;
}

.stock-item {
    display: flex;
    flex-direction: column;
    flex-direction: column;
    padding: 10px;
    margin: 10px;
}

.stock-item h3 {
    font-size: 20px;
    color: goldenrod;
    text-align: center;
    margin-bottom: 10px;
}

.stock-item img {
    width: 100%;
    min-width: 200px;
    height: auto;
    margin-bottom: 10px;
    border: 10px double #255ADF;
    /* replace the white pixel with black */
    filter: invert(100%);
}

.stock-item button {
    background-color: goldenrod;
    font-size: 1.5rem;
    border: 2px solid goldenrod;
    margin: 5px 0;
    text-align: center;
    cursor: pointer;
    border-radius: 3px;
    transition-duration: 0.4s;
}

.stock-item button:hover {
    background-color: goldenrod;
    border: 2px solid white;
    box-shadow: 0 0 5px 2px goldenrod;
}

.stock-item::before {
    content: "";
    display: flex;
    width: 100%;
    height: 30px;
    background: url('../img/gramados_header_diviser.png') no-repeat center center;
    background-size: contain;
    top: 0;
    left: 0;
    margin-bottom: 20px;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption { 
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
