/*
Theme Name: CC Foodpack
Author: MRZ Design
Author URI: www.mrz.design
Description: Theme designed and developed by MRZ Design, using core wordpress functionality and custom blocks.
Requires at least: 5.9
Tested up to: 7.4
Requires PHP: 7.4
Version: 1.2.0
*/

@font-face {
  font-family: "Poppins-Regular";
  src: url("/wp-content/themes/ccfood/assets/fonts/Poppins-Regular.woff2")
      format("woff2"),
    url("/wp-content/themes/ccfood/assets/fonts/Poppins-Regular.woff")
      format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   General Styles
   ========================================================================== */

/* Color Palette */

:root {
  --color-primary: #005bbf;
  --color-secondary: #fd0000;
  --color-white: #ffffff;
  --color-black: #141654;
  --color-light: #24d7e0;
  --color-light-green: #3edb58;
  --color-dark: #e4e4e4;

  --color-messageError: #ffc4c4;
  --color-messageSuccess: #00829e;
  --color-fieldError: #fd0000;

  --font-title: "Poppins-Regular", sans-serif;
  --font-text: "Poppins-Regular", sans-serif;
}

* {
  font-family: "Poppins-Regular", serif;
}

*,
html {
  scroll-behavior: smooth !important;
}

/* Body */

html,
body {
  padding: 0;
  margin: 0;
  font-family: var(--font-text);
  color: var(--color-black);
  background: var(--color-white);
  scroll-behavior: smooth;
}

/* Typography styles */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  margin: 10px 0;
  font-weight: 400;
  word-wrap: break-word;
  overflow: hidden;
}

h1 {
  font-size: 64px;
  line-height: 110%;
}

h2 {
  font-size: 48px;
  line-height: 110%;
}

h3 {
  font-size: 36px;
  line-height: 110%;
}

h4 {
  font-size: 28px;
  line-height: 110%;
}

h5 {
  font-size: 28px;
  line-height: 110%;
}

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
  font-family: var(--font-title);
  font-size: inherit !important;
  font-weight: inherit !important;
  color: var(--color-primary);
}

p,
a {
  font-size: 15px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
  font-family: var(--font-text);
}

.paragraph--large {
  font-size: 20px;
  line-height: 24px;
}

blockquote {
  font-size: 32px;
  line-height: 44px;
  margin: 20px 0;
}

strong {
  font-weight: bold;
}

.subtitle {
  font-size: 24px;
  color: var(--color-primary);
}

a {
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  color: var(--color-secondary);
}

ul {
  padding: 0;
  margin: 0;
}

.main-font {
  font-family: var(--font-title);
}

.text-font {
  font-family: var(--font-text);
}

.text-large {
  font-size: 24px;
  line-height: 34px;
}

.text-big {
  font-size: 20px;
  line-height: 24px;
}

.text-small {
  font-size: 16px;
  line-height: 20px;
}

.text-upper {
  text-transform: uppercase;
}

.text-font-normal {
  font-weight: 400;
}

.text-font-italic {
  font-style: italic;
}

.text-font-bold {
  font-weight: 700;
}

.text-white {
  color: var(--color-white);
}

/* Effects */

.glow {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Color Codes */

.color-red {
  color: var(--color-red);
}

.color-white {
  color: var(--color-white);
}

.color-primary {
  color: var(--color-primary);
}

.bg-color-primary {
  background-color: var(--color-primary);
}

.bg-color-secondary {
  background-color: var(--color-secondary);
}

.bg-color-complimentary {
  background-color: var(--color-complimentary);
}

.bg-color-grey {
  background-color: var(--color-gray);
}

.bg-color-light {
  background-color: var(--color-white);
}

/***********************
        HOME PAGE
***********************/

.hero {
  padding: 0px;
}

.home-formular {
  background: var(--color-black);
  max-width: 1000px !important;
  color: var(--color-white);
  border-radius: 20px;
}

.home-products {
  background: var(--color-dark);
  border-radius: 20px;
  margin: 5vh auto !important;
}

.home-articles h3 {
  font-size: 24px;
}

.product-samples {
  padding: 0px;
  margin: 0px;
}

.product-samples .gallery-block {
  display: grid;
  grid-auto-flow: column;
  justify-items: center;
}

.product-features {
  flex-direction: column;
  border: 1px solid var(--color-dark);
}

.product-features p {
  margin: 5px 0px;
}

.product-video {
  padding: 0px;
}

.product-hero {
  padding-top: 40px !important;
}

.product-hero .banner-block {
  border-radius: 40px;
}

.product-info img {
  border-radius: 40px;
}
