:root {
  --clr-primary-400: 36% 87% 40%;
  --clr-secondary-400: 128 94% 70%;
  --clr-secondary-500: 82% 94% 62%;
  --clr-neutral-100: 0 0% 100%;
  --clr-neutral-200: 255 100% 100%;
  --clr-neutral-300: 34% 97% 26%;

  --ff-primary: Source Sans Pro, sans-serif;


  --fw-400: 500;
  --fw-700: 600;

  --fs-300: 0.6875rem;
  --fs-400: 0.8125rem;
  --fs-500: 1.25rem;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: Source Sans Pro, sans-serif;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  place-content: top;
  min-height: 100vh;

  font-family: var(--ff-primary);
  font-weight: var(--fw-400);

  background-color: #23282a;
}

h1,
h2,
h3 {
  font-weight: var(--fw-700);
}

/* utilities */

.bg-primary-400 {
  background: hsl(var(--clr-primary-400));
}
.bg-secondary-400 {
  background: hsl(var(--clr-secondary-400));
}
.bg-secondary-500 {
  background: hsl(var(--clr-secondary-500));
}

.bg-neutral-100 {
  background: hsl(var(--clr-neutral-100));
}

.text-neutral-100 {
  color: hsl(var(--clr-neutral-100));
}
.text-secondary-400 {
  color: hsl(var(--clr-secondary-400));
}
.border-primary-400 {
  border: 2px solid #a775f1;
}

.TMOD_image {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-block: 10px;
}
.TMOD_logo {
  display: block;
  height: 50px;
  width: 258px;
  margin-left: 10px;
}
.Cookmate_logo {
  display: block;
  height: 70px;
  width: 77px;
  margin-right: 10px;
}
.primary-header {
  background-color: #FFF;
}
.primary-header__content {
  width: auto;
  height: 100px;
}
.primary-body {
  background: #aaa;
}
.primary-body-image {
  display: flex;
  width: auto;
}
.primary-body-title {
  display: flex;
}

.wrapper_text {
  display: block;
  height: 300px;
  background-color: #23282a;
}
.pre_order {
  text-align: center;
  font-size: 38px;
  background-color: #23282a;
  color: #009a3b;
  padding-top: 20px;
  cursor: pointer;
}
.pre_order_text {
  font-size: 18px;
  background-color: #23282a;
  color: #009a3b;
  cursor: pointer;
}
.pre_text {
  text-align: center;
  font-size: 18px;
  background-color: #23282a;
  color: white;
  padding-top: 20px;
}
.container_button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100px;
}
.pre_button {
  background-color: #009a3b;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  cursor: pointer;
  border-radius: 10px;
}

.product-video-inner {
  display:block;
  display: flex;
  align-items: center;
}
.video-frame {
  display: block;
  margin: 0 auto;
  width: 720px;
  height: 405px;
  box-shadow: 2px 15px 28px #0000003b;
}

.grid-container {
  display: grid;
  grid-template-columns: 50% 50%;
  color: white;
  grid-row-gap: 20px;
  grid-column-gap: 20px;
  padding: 30px;
}
.grid-item {
  padding: 20px;
  text-align: center;
  justify-content: center;
  height: 100%;
}
.wrapper_form {
  display: block;
  height: 800px;
  background-color: #23282a;
}
.layout_side {
  width: 200px;
}
.layout_body {
  width: 100%;
}
.thanks_text {
  text-align: center;
  font-size: 3rem;
  background-color: #23282a;
  color: #009a3b;
  padding-top: 20px;
  cursor: pointer;
}
.footer {
  background-color: #23282a;  
  height: 30px;
}
.footer_text {
  padding-left: 20px;
  font-size: 12px;
  background-color: #23282a;
  color: #c0c0c0;
  cursor: pointer;
}
.footer_text_m {
  padding-left: 20px;
  padding-top: 15px;
  font-size: 12px;
  background-color: #23282a;
  color: #c0c0c0;
  cursor: pointer;
}

@media screen and (width < 700px) {
 .grid-container {
    display: grid;
    grid-template-columns: 100%;
    color: white;
    grid-row-gap: 20px;
    grid-column-gap: 20px;
    padding: 30px;
  } 
  .video-frame {
    display: block;
    margin: 0 auto;
    width: 468px;
    height: 264px;
    box-shadow: 2px 15px 28px #0000003b;
  }
  .thanks_text {
    text-align: center;
    font-size: 1.5rem;
    background-color: #23282a;
    color: #009a3b;
    padding-top: 20px;
    cursor: pointer;
  }
}