/* red: c8292f */

/* dark red #B4292F */

body {
    margin: 0;
    padding: 0;
    color: #333;
    background: hsla(0, 0%, 98%, 0) url('../images/bg.jpg') center top repeat;
    font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #333;
}

h2 {
    letter-spacing: 0.8px;
}

p {
    font-family: 'Hind Madurai', sans-serif;
    font-weight: 400;
    line-height: 24px;
    font-size: 1.2em;
    color: #444;
}

.about-p {
    text-align: left;
}

.about-p:first-of-type {
    margin-top: 2rem !important;
}

.logo-mobile img {
    height: 100px;
}

.navbar {
    background-color: transparent;
    top: 9vh;
    color: #FFF;
}

.logo-mobile {
    display: none;
}

#home-header {
    width: 100%;
    height: 28vh;

}

.nav-link {
    color: #333 !important;
    font-weight: 600;
    letter-spacing: 0.8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    text-decoration: none;
}

.nav-item {
    margin-right: 12px;
    position: relative;
}

.active {
    color: #c8292f !important;
}

.carousel-caption-o-nama {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width:90%;
}


.nav-link:after {

    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #c8292f;
    transition: width .3s ease-in;
    -webkit-transition: width .3s ease-in;
    color: #c8292f;
    border-top-right-radius: 40px;
}

.nav-link:hover:after {
    width: 100%;
    left: 0;
    background: #c8292f;
    color: #c8292f;
    border-top-right-radius: 40px;
}

.logo-holder {
    position: absolute;
    width: 12vw;
    height: 24vh;
    top: -9vh;
    left: 15%;
    z-index: 1040;
    background-image: url("../images/logo.png");
    background-size: cover;
}

.carousel-holder {
    height: 450px;
    position:relative;
}

.carousel-caption {
    bottom: 32%;
}

.view img,
.view-header-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}


.rot-img {
    width:100%;
}


.o-nama__hero-image {
    background-image: linear-gradient(to right bottom, rgba(0,0,0,.7), rgba(0,0,0,.7)), url('../images/carousel-1.jpg');
    width:100%;
    height:400px;
}


.h2-line,
.h2-line-o-nama {
    position: relative;
    color: #333;
    font-family: 'Lora', serif;
    /*font-family: 'Open Sans', sans-serif;*/
    font-style: italic;
    font-size: 2.8em;
    font-weight: 700;
}

.card-dark {
    position: relative;
    background: transparent;
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.2);
    width: 20%;
    height: 200px;
    -webkit-transition: all .2s;
    transition: all .2s;
    perspective: 1500px;
    -webkit-perspective: 1500px;
    -moz-perspective: 1500px;
    cursor:pointer;
}

.card__side {
    font-size: 2rem;
    color: white;
    transition: all .8s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
     backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -o-backface-visibility: hidden;
    border-radius: 3px;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
    height: 200px;
    cursor:pointer;

}

.card__side--front {
    background-image: url('../images/bg.jpg');
}

.card__side--back {
    transform: rotateY(180deg);
}

.card__side--back-1 {
    background-image: url('../images/bg.jpg');
}

.card:hover .card__side--front {
    transform: rotateY(-180deg);
}

.card:hover .card__side--back {
    transform: rotateY(0);
}

.newsletter-card-flip {
    font-size: 26px;
    position: relative;
    top: 50%;
    transform: translateY(-80%);

}

.align-left {
    text-align: left;
}


@media only screen and (max-width: 600px) {
    .card-dark {
        column-count: 2;
        width: 100%;
        margin-bottom: 5px;
        margin: 10px auto !important;
    }
    
    .product-single-img{
        height:auto !important;
    }

}

.btn-a:link,
.btn-a:visited {
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all .3s;
    position: relative;
}

.btn-a:hover {
    transform: translateY(-0.3rem);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.btn-a:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}

.btn-a:active {
    transform: translateY(-0.1rem);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

a.card-link:link,
a.card-link:visited {
    color: #c8292f;
    display: inline-block;
}


span a.card-link:hover {
    color: #B4292F;

}

.haccp-image {
    width:100%;
}

.continer-hccp {
    margin-top:48px;
}


.btn-a::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 10rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .4s;
}

.btn--animated {
    animation: moveInBottom .5s ease-out .75s;
    animation-fill-mode: backwards;
}



.card-dark:first-child {
    margin-right: 0%;
}

.card-title-contact {
    color: #333 !important;
}

.card-text-contact,
.card-title-contact {
    margin-left: 5%;


}

.card-text-contact {
    font-size: 18px !important;
    position: relative;
    top: 20%;

}

.card-text-contact:not(:last-child) {
    margin-bottom: 2px !important;
}

.carousel-caption h3, .carousel-caption-o-nama h3 {
    font-family: 'Montserrat', sans-serif;
    /*font-family: 'Open Sans', sans-serif;*/
    font-weight: 700;
    color: #FFF;
    text-shadow: 1px 1px 1px #444;
}

.carousel-caption p, .carousel-caption-o-nama p {
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 500;
    color: #FFF;
    text-shadow: 1px 1px 1px #999;
}

.p-line {
    margin-top: 60px;
}

.card {
    padding-bottom: 12px;
    background-color: transparent;
    border: 0px;
}

.card-images {
    width: 100%;
    height: 34vh;
    object-fit: cover;
    position: relative;
    display: block;
}

.card-title {
    text-align: left;
    margin-top: 2vh;
    font-family: 'Lora', serif;
    /*font-family: 'Open Sans', sans-serif;*/
    font-style: italic;
    font-weight: 700;
}

.card-text {
    text-align: left;
    line-height: 24px;
    font-family: 'Hind Madurai', sans-serif;
    /*font-family: 'Open Sans', sans-serif;*/
    font-weight: 400;
    font-size: 1.2em;
    color: #444;

}





.card-body {
    padding: 0.25rem;
}

.find-out-more-bt-a {
    margin-left: auto;
    margin-right: auto;
}


.find-out-more-btn {
    padding: 10px 16px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 3px;
    background-color: #c8292f;
    border: 1px solid #c8292f;
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.8px;
}



footer {
    width: 100%;
    height: auto;
    /*background: -webkit-linear-gradient(bottom, rgba(222, 222, 222, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: -moz-linear-gradient(bottom, rgba(222, 222, 222, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(bottom, rgba(222, 222, 222, 1) 0%, rgba(255, 255, 255, 0) 100%);*/
    background-color:#FFF;
    /*margin-top: 48px;*/
}

.footer-copyright{
    border-top:1px solid #eee;
}

.footer-row {
    margin-top: 24px;
}


.page-footer h5 {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    font-weight: 600;
    letter-spacing: 0.8px;
    font-size: 1.2em;
}

.page-footer p {
    margin: 0px;
}

.page-footer span {
    font-weight: 700;
}

.social-span {
    font-weight: 400 !important;
}

.page-footer a {
    font-family: 'Hind Madurai', sans-serif;
    line-height: 24px;
    font-size: 1.2em;
    color: #444;
}

.page-footer a:hover {
    text-decoration: none;
    color: #c8292f;
}

.social-icons {
    width: 20px;
}

nav .container {
    position: relative;
}

.o-nama-header-photo {

    width: 100%;
    height: 100%;
}

.pagination-holder {

    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.pagination-nav {
    margin: 0;
}

.page-link {
    cursor: pointer;
}

#filter {
    width: 98%;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: transparent;
    margin-left: 1%;
    margin-right: 1%;
    color: #444;
    font-family: 'Hind Madurai', sans-serif;
}

.filter-products {
    opacity: 0;
    display:none;
}

.btn-filter {
    font-size: 1em;
    font-weight: 400;
    padding: 5px 8px;
    margin: 0;
    height: auto;
    border-radius: 3px;
    cursor: pointer;
    background-color: #FFF;
    border: 1px solid #999;
    color: #444;
    font-family: 'Hind Madurai', sans-serif;
    transition: all .3s;

}

.btn-filter:hover {
    color: #FFF;
    background-color: #c8292f;
    border: 1px solid #c8292f;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0, .4);
}

.btn-filte:active{
    transform:translateY(10px);
}

.active-filter {
    color: #FFF;
    background-color: #c8292f;
    border: 1px solid #c8292f;
    box-shadow: 0 5px 15px rgba(0,0,0, .4);
    transform: translateY(-3px);    
}






#newsletter {
    background: url('../images/bg-dark.jpg');
    height: auto;
    margin-top: 48px;

}

#newsletter h5 {
    color: #FFF;
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 700;
}

.newsletter-line {
    position: relative;
    color: #FFF;
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 2.8em;
    font-weight: 700;
}


.p-newsletter-line {
    margin-top: 60px;
    color: #FFF;
}


.newsletter-form-holder {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: center;
    display: flex;
    flex-flow: row wrap;

}

.newsletter-button {

    padding: 0.49rem 0.75rem;
    border-radius: 0.25rem;
    background-color: #c8292f;
    border: 1px solid #c8292f;
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.8px;
    margin-left: 12px;

}

.contact-button {

    padding: 0.49rem 0.75rem;
    border-radius: 0.25rem;
    background-color: #c8292f;
    border: 1px solid #c8292f;
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.8px;
    margin-top: 12px;

}

.contact-h2 {

    font-family: 'Hind Madurai', sans-serif;
    font-weight: 400;
    line-height: 24px;
    font-size: 2em;
    color: #444;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}


.product-single-img {
    width: 100%;
    height: 380px;
}

.continer-product {
    margin-top: 24px;
    margin-bottom: 48px;
}

.product-h1 {
    position: relative;
    color: #333;
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 2.8em;
    font-weight: 700;
    margin-top: 18px;
}

.product-p {
    font-family: 'Hind Madurai', sans-serif;
    font-weight: 400;
    line-height: 24px;
    font-size: 1.2em;
    color: #444;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.product-p span {
    font-weight: 700;
}

.align-h2-center {
    margin-left: auto;
    margin-right: auto;
}

#newsletterMessages {
    color: #FFF;
    font-family: 'Hind Madurai', sans-serif;
    font-weight: 400;
    line-height: 24px;
    font-size: 1.2em;
}


@media only screen and (max-width: 600px) {


    .cat-span {
        width:100%;
        display:block;
        margin-bottom:12px;
    }

    .btn-filter {
        margin-bottom: 12px;
    }

    .logo-holder {
        display: none;
    }

    .navbar {
        top: 0;
        background: #FFF;
    }

    .logo-mobile {
        display: block;
    }

    .navbar-nav {
        text-align: center;
    }

    .container-mobile {
        padding-left: 0px;
        padding-right: 0px;
        height: 35vh;
    }
    
    .container-mobile-nama {
        height:auto !important;
    }

    #home-header {
        height: auto;
    }

    .view img,
    .view-header-img {
        height: 35vh;
    }

    .p-5 {
        padding: 2rem 0.5rem !important;
    }

    .p-line {
        margin-top: 2em;
    }

   
    .email-input {
        width: 90vw;
        margin-bottom: 12px;
    }

    .nav-item {
        margin-right: 0px;
    }

    .newsletter-button {
        width: 90vw;
        margin: 0;
    }

    footer {
        margin-top: 24px;
    }
}
