#credits {
    display: none;
}

.background {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
}

.modal h2 {
    margin-bottom: 35px;
    font-size: 25px;
}

.modal p {
    text-align: center;
}

.close-modal {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-image: url("/img/close-icon-s.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

#confirm-btn {
    margin-top: 35px;
}

.section-box {
    padding-left: 20px;
    padding-right: 20px;
}

.section-box p {
    line-height: 22px;
    font-size: 18px;
    text-align: center;
    /* color: #363; */
    /* font-weight: bold; */
}

.section-box > p:first-of-type {
    margin: 0 0 40px 0;
}

#delivery p {
    color: #363;
    font-weight: bold;
}

.options {
    display: flex;
    flex-direction: column;
}

.box {
    border: 1px solid #efefef;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0px 0px 11px 4px rgba(120,119,120,1);
    text-align: center;
}

.box:last-of-type {
    margin-bottom: 0;
}

.box:hover h3, .box:hover a {
    color: #336633;
}

.box img {
    display: block;
    width: 30%;
    max-width: 70px;
    margin: 0 auto;
}

.box h3 {
    padding-top: 30px;
    padding-bottom: 20px;
    text-transform: uppercase;
    transition: all 0.3s ease-out;
    /* color: #336633; */
}

.box p {
    color: #555555;
}

.box a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease-out;
}

.box .add-info {
    font-size: 14px;
}

.box button, input[type=submit], .modal button {
    background-color: #336633;
    color: #fff;
    padding: 12px 19px;
    font-size: 18px;
    border-radius: 20px;
    margin-top: 20px;
}

.box button:hover, input[type=submit]:hover {
    background-color: #fff;
    border-color: #336633;
    color: #336633;
    transition: all 0.3s ease-out;
}

.box-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.box {
    display: flex;
    flex-direction: column;
}

.btn {
    display: block;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    margin: 0 auto;
}

#contactForm label {
    display: inline-block;
    position: relative;
}

#contactForm label:not(:first-of-type) {
    margin-top: 10px;
}

label.required::after {
    content: "\002A";
    color: red;
    font-weight: bold;
    position: absolute;
    right: -10px;
}

::placeholder {
    font-family: 'Lato', 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 13px;
}

input[type=text], input[type=email], input[type=tel], textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555555; 
    border-radius: 4px;
    margin: 10px 0;
}

input.error {
    border: 1px solid red;
}

input:focus, textarea:focus {
    outline: 1px solid orange;
    border-color: transparent;
}

div.error {
    margin-bottom: 10px;
    color: red;
    font-size: 14px;
}

/* input:valid {
    border: 2px solid black;
  }

input:invalid {
    border: 2px dashed red;
  } */

/* input:required:after {
    content:" *";
    color: red;
} */

/* input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: yellow;
} */

/* input:invalid:not(:placeholder-shown) {
    border-color: purple;
} */
  
/* input:invalid:not(:focus):not(:placeholder-shown) {
    border: 2px dashed red;
} */

/* input:focus:invalid */

textarea {
    resize: none;
    height: 150px;
}

#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#gallery a {
    margin-bottom: 10px;
}

#gallery a:nth-last-child(-n+2) {
    margin-bottom: 0;
}

#gallery img {
    display: block;
}

@media (min-width: 768px) {

    /* .modal {
        width: 50%;
    } */

    #delivery p {
        font-size: 24px;
    }
    
    .options {
        flex-direction: row;
    }

    .box {
        margin: 0 15px;
        padding: 20px;
        width: 33.3%;
    }

    #contactForm {
        width: 70%;
        max-width: 600px;
        margin: 0 auto;
    }

    #gallery {
        justify-content: space-around;
    }

}