:root {
  --color-primary: #ff0000;
  --color-secondary: #00d9ff;
  --color-accent: #ff3400;
  --color-headings: #232323;
  --color-body: #918ca4;
  --color-body-darker: #5c5577;
  --color-border: #ff0000;
  --color-text: #232323;
  --border-radius: 30px;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

/* Typography */
::selection {
  background: var(--color-primary);
  color: #fff;
}

html {
  font-size: 62.5%; 
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.4rem;
  line-height: 1.5;
  color: var(--color-body);
  text-decoration: none;
}

h1,
h2,
h3 {
  color: var(--color-headings);
  margin-bottom: 1rem;
  line-height: 1.1;
}

h1 {
  font-size: 3.6rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 3rem;
  font-weight: 500;
}

p {
  margin-top: 0;
}

@media screen and (min-width: 1024px) {
  body {
    font-size: 1.8rem;
  }

  h1 {
    font-size: 8rem;
  }

  h2 {
    font-size: 4rem;
  }

  h3 {
    font-size: 2.4rem;
  }
}

/* Links */
a {
  text-decoration: none;
}

.link-arrow {
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: bold;
}

.link-arrow::after {
  content: "-->";
  margin-left: 5px;
  transition: margin 0.15s;
}

.link-arrow:hover::after {
  margin-left: 10px;
}

@media screen and (min-width: 1024px) {
  .link-arrow {
    font-size: 1.5rem;
  }
}
/* Badges */

.badge {
  border-radius: 20px;
  font-size: 2rem;
  font-weight: 600;
  padding: 0.5rem 2rem;
  white-space: nowrap;
}

.badge--primary {
  background: var(--color-primary);
  color: #fff;
}

.badge--secondary {
  background: var(--color-secondary);
  color: #fff;
}

.badge--small {
  font-size: 1.6rem;
  padding: 0.5rem 1.5rem;
}

@media screen and (min-width: 1024px) {
  .badge {
    font-size: 1.5rem;
  }

  .badge--small {
    font-size: 1.2rem;
  }
}
/* Lists */
.list {
  list-style: none;
  padding-left: 0;
}

.list--inline .list__item {
  display: inline-block;
  margin-right: 2rem;
}

.list--tick {
  list-style-image: url(../images/tick.svg);
  padding-left: 3rem;
  color: var(--color-text);
}

.list--tick .list__item {
  padding-left: 0.5rem;
  margin-bottom: 1rem;
}

@media screen and (min-width: 1024px) {
  .list--tick .list__item {
    padding-left: 0;
  }
}
/* Icons */
.icon {
  width: 40px;
  height: 40px;
}

.icon--small {
  width: 30px;
  height: 30px;
}

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

.icon--white {
  fill: #fff;
}

.icon-container {
  background: #f3f9fa;
  width: 64px;
  height: 64px;
  border-radius: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.icon-container--accent {
  background: var(--color-accent);
}

/* Buttons */
.btn {
  border: 0;
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 1rem 0;
  outline: 0;
  padding: 2rem 3rem;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn .icon {
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  vertical-align: middle;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--soon {
  background: var(--color-text);
  color: #fff;
}

.btn--primary:hover {
  background: #3a8ffd;
}

.btn--secondary {
  background: #fff;
  color: #232323;
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--tertiary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
}

.btn--tertiary:hover {
  background: #fff;
  color: var(--color-text);
}

.btn--accent {
  background: var(--color-accent);
  color: #fff;
}

.btn--accent:hover {
  background: #ec3000;
}

.btn--outline {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--stretched {
  padding-left: 6rem;
  padding-right: 6rem;
}

.btn--block {
  width: 100%;
  display: inline-block;
}


@media screen and (min-width: 1024px) {
  .btn {
    font-size: 1.5rem;
  }

  .btn--outline {
    background: #fff;
    color: #232323;
    border: 2px solid var(--color-primary);
  }
}

/* Inputs */
.input {
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  color: var(--color-headings);
  font-size: 2rem;
  outline: 0;
  padding: 1.5rem 3.5rem;
}

::placeholder {
  color: #cdcbd7;
}

.input-group {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  display: flex;
}

.input-group .input {
  border: 0;
  flex-grow: 1;
  padding: 1.5rem 2rem;
}

.input-group .btn {
  margin: 4px;
}

@media screen and (min-width: 1024px) {
  .input {
    font-size: 1.5rem;
  }
}
/* Cards */
.card {
  box-shadow: 0 0 20px 10px #f3f3f3;
  overflow: hidden;
}

.card__body {
  height: 40rem;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.card__header {
  height: 7rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card__header2 {
  height: 7rem;
  display: flex;
  justify-content: center;
  align-items: center;
}


.card__header,
.card__body {
  padding: 1.5rem 3rem;
  text-align: left;
  justify-content: center;
 }

.card__header--misc {
  height: 10rem;
}
  
  
.card__header--misc,
.card__body--misc {
  padding: 1.5rem 3rem;
  text-align: center;
}

.card__body--primary {
  background: url(../images/Grünlandpflege.webp);
  background-size: cover;
}

 
 
.card__body--secondary {
  background: url(../images/Güllefass.webp);
  background-size: cover;
}

.card__body--tertiary {
  background: url(../images/Futterhandel.webp.webp);
  background-size: cover;
}

.card--primary .card__header {
  background: var(--color-primary);
  color: #fff;
}

.card--primary .card__header2 {
  background: var(--color-text);
  color: #fff;
}


.card--primary .card__header--misc {
  background: var(--color-primary);
  color: #fff;
}

.card--secondary .card__header {
  background: var(--color-secondary);
  color: #fff;
}


@media screen and (min-width: 1024px) {
  .input {
    font-size: 1.5rem;
  }

  .card__body--primary {
    background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), url(../images/Grünlandpflege.webp);
    background-size: cover;
   }
   
   
  .card__body--secondary {
    background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), url(../images/Güllefass.webp);
    background-size: cover;
  }
  
  .card__body--tertiary {
    background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), url(../images/Futterhandel.webp.webp);
    background-size: cover;
  }

  .card__body--primary:hover {
    background: url(../images/Grünlandpflege.webp);
    background-size: cover;
  }
  
  .card__body--secondary:hover {
    background: url(../images/Güllefass.webp);
    background-size: cover;
  }
  
  .card__body--tertiary:hover {
    background: url(../images/Futterhandel.webp.webp);
    background-size: cover;
  }
}

/* Plans */
.plan {
  transition: transform 0.2s ease-out;
}


.plan__name {
  color: #ffff;
  margin: 0;
  font-weight: 500;
  font-size: 2.4rem;
  text-align: center;
}

.plan__price {
  font-size: 6rem;
}

.plan__billing-cycle {
  font-size: 2.4rem;
  font-weight: 300;
  opacity: 0.8;
  margin-right: 1rem;
}

.plan__description {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 1px;
  display: block;
}

.plan .list__item {
  margin-bottom: 2rem;
}

.plan--popular {
  transform: scale(1.1);
}

.plan--small {
  transform: scale(0.8);
}



@media screen and (min-width: 1024px) {
  .plan__name {
    font-size: 2rem;
  }

  .plan__price {
    font-size: 5rem;
  }

  .plan__billing-cycle {
    font-size: 1.6rem;
  }

  .plan__description {
    font-size: 1.7rem;
  }
}

/* Media */
.media {
  display: flex;
  margin-bottom: 4rem;
}

.media__title {
  margin-top: 0;
}

.media__body {
  margin: 0 2rem;
}

.media__image {
  margin-top: 1rem;
}
/* Quotes */
.quote {
  font-size: 3rem;
  font-style: italic;
  color: var(--color-body-darker);
  line-height: 1.3;
}

.quote__text::before {
  content: open-quote;
}

.quote__text::after {
  content: close-quote;
}

.quote__author {
  font-size: 3rem;
  font-weight: 500;
  font-style: normal;
  margin-bottom: 0;
}

.quote__organization {
  color: var(--color-headings);
  opacity: 0.4;
  font-size: 2rem;
  font-style: normal;
}

.quote__line {
  position: relative;
  bottom: 10px;
}

@media screen and (min-width: 1024px) {
  .quote {
    font-size: 2rem;
  }

  .quote__author {
    font-size: 2.4rem;
  }

  .quote__organization {
    font-size: 1.6rem;
  }
}

/* Grids */
.grid {
  display: grid;  
}

@media screen and (min-width: 768px) {
  .grid--1x2 {
    grid-template-columns: repeat(2, 1fr);
    display: flex;
    justify-content: center;
  }
}

@media screen and (min-width: 1024px) {
  .grid--1x3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Testimonials */
.testimonial {
  padding: 3rem;
}

.testimonial__image {
  position: relative;
  margin: 0 3rem;
}

.testimonial__image > img {
  width: 100%;
}

.testimonial__image > .icon-container {
  position: absolute;
  top: 3rem;
  right: -32px;
}

@media screen and (min-width: 768px) {
  .testimonial__image {
    margin: 0;
  }

  .testimonial .quote,
  .testimonial .quote__author {
    font-size: 2.4rem;
  }

  .testimonial .quote {
    margin-left: 6rem;
    margin-right: 0;
  }
}

/* Callouts */
.callout {
  padding: 4rem;
  box-shadow: 0 0 30px 20px #e6ebee;
}

.callout--primary {
  background: #232323;
  color: #fff;
}

.callout--secondary {
  background: #fff;
  color: var(--color-text);

}

.callout__heading {
  color: #fff;
  margin-top: 0;
  font-size: 3rem;
}

.callout__heading--secondary {
  color: var(--color-text);
  margin-top: 0;
  font-size: 3rem;
}

.callout .btn {
  justify-self: center;
  align-self: center;
}

.callout__content {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .callout .grid--1x2 {
    grid-template-columns: 1fr auto;
  }

  .callout--primary {
    margin: 0% 21.3% 2.5% 21.3%;
  }

  .callout__content {
    text-align: left;
    padding-right: 8rem;
  }

  .callout .btn {
    justify-self: start;
    margin: 0 2rem;
  }
}

@media screen and (min-width: 1925px) {
  .callout--primary {
    margin: 0% 23% 2.5% 23%;
  }
}

/* Collapsibles */
.collapsible__header {
  display: flex;
  justify-content: space-between;
}

.collapsible__heading {
  margin-top: 0;
  font-size: 3rem;
}

.collapsible__chevron {
  transform: rotate(-90deg);
  transition: transform 0.3s;
}

.collapsible__content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s;
}

.collapsible--expanded .collapsible__chevron {
  transform: rotate(0);
}

.collapsible--expanded .collapsible__content {
  max-height: 100vh;
  opacity: 1;
}
/* Blocks */
.block {
  --padding-vertical: 4rem;
  padding: var(--padding-vertical) 2rem;
}

.block__header {
  text-align: center;
  margin-top: 8rem;
  margin-bottom: 8rem;
}

.block__heading {
  margin-top: 0;
}

.block--dark {
  background: var(--color-text);
  color: #7b858b;
  margin-bottom: 10rem;
}

.block--dark h1,
.block--dark h2,
.block--dark h3 {
  color: #fff;
}

.block--skewed-right {
  padding-bottom: calc(var(--padding-vertical) + 4rem);
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 90%);
}

.block--skewed-left {
  padding-bottom: calc(var(--padding-vertical) + 4rem);
  clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 0% 100%);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}


/* Navigation Bar */
.nav {
  background: #fff;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 1rem;
  align-items: center;
}

.nav__list {
  width: 100%;
  margin: 0;
}

.nav__item {
  padding: 0.5rem 2rem;
  border-bottom: 2px solid var(--color-primary);
}


.nav__item > a {
  color: var(--color-text);
  transition: color 0.3s;
}

.nav__item > a:hover {
  color: var(--color-primary);
}

.nav__toggler {
  opacity: 0.5;
  transition: box-shadow 0.15s;
  cursor: pointer;
}

.nav.collapsible--expanded .nav__toggler {
  opacity: 1;
  box-shadow: 0 0 0 3px #666;
  border-radius: 5px;
}

.nav__brand {
  transform: translateY(5px);
}

@media screen and (min-width: 768px) {
  .nav__toggler {
    display: none;
  }

  .nav__list {
    width: auto;
    display: flex;
    font-size: 1.6rem;
    max-height: 100%;
    opacity: 1;
  }

}

/* Hero */
.hero__tagline {
  font-size: 2rem;
  color: #b9c3cf;
  letter-spacing: 1px;
  margin: 2rem 0 5rem;
}

.hero__image {
  width: 100%;
}


@media screen and (min-width: 768px) {
  .hero {
    padding-top: 0;
  }

  .hero__content {
    text-align: left;
    align-self: center;
  }
}

/* Domain Block */
.block-domain .input-group {
  box-shadow: 0 0 30px 20px #e6ebee;
  border: 0;
  margin: 4rem auto;
  max-width: 670px;
}

.block-domain__prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 6rem);
  font-size: 2rem;
  font-weight: 600;
  justify-items: center;
  max-width: 700px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .block-domain__prices {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }
}
/* Plans Block */
.block-plans .grid {
  gap: 8rem 4rem;
}

.block-plans .card {
  max-width: 500px;
  margin: 0 auto;
}

/* Features */
.feature {
  gap: 4rem 2rem;
  margin: 12rem 0;
}

.feature__image {
  max-width: 500px;
}

.feature:first-of-type {
  margin-top: 6rem;
}

.feature__heading {
  margin: 1rem 0;
}

.feature__image {
  width: 100%;
}

.feature__content {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .feature:nth-of-type(even) .feature__content {
    order: 2;
  }

  .feature__content {
    text-align: left;
    margin-left: 1vh;
    margin-right: 1vh;
  }
}


/* Showcase Block */
.block-showcase__image > img {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .block-showcase .grid {
    grid-template-columns: 50% 50%;
  }

  .block-showcase__image {
    justify-self: end;
  }

  .block-showcase__image > img {
    width: auto;
    max-width: 700px;
  }
}
/* Footer */
.footer {
  background: #232323;
  justify-content: space-between;
  position: absolute;
  width: 100%;
}

.footer a {
  color: #777;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--color-primary);
}

.footer__section {
  padding: 2rem;
  border-bottom: 1px solid #393939;
}

.footer__section .list {
  margin: 0;
}

.footer__heading {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.5;
}

.footer__brand {
  margin-top: 5rem;
  text-align: center;
}

.footer__brand img {
  max-width: 230px;
}

.footer__copyright {
  font-size: 2.1rem;
  color: #fff;
  opacity: 0.3;
}

@media screen and (min-width: 768px) {
  .footer {
    font-size: 1.5rem;
  }
  .footer__sections {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }

  .footer .collapsible__chevron {
    display: none;
  }

  .footer .collapsible__content {
    opacity: 1;
    max-height: 100%;
  }

  .footer__brand {
    order: 1;
    margin-top: 1rem;
    margin-left: -2.5rem;
  }

  .footer__copyright {
    font-size: 1.5rem;
    margin-left: -2.5rem;
  }

  .footer__section {
    border: 0;
  }

  .footer__heading {
    font-size: 1.6rem;
  }
}

/* Landing */

.landing__header {
  display: flex;
  justify-content: center;
  align-items: center;
  scale: 1.2;
}

@media screen and (min-width: 768px) {
  .landing__header {
    scale: 1.45;
    padding-top: 2rem;
    padding-left: 36.1%;
    max-width: 100vh;
  }
}

/* Video */

.video__container {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 315px;
  padding-bottom: 56.25%;
  height: 0;
}

.video__container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 560px;
  max-height: 315px;
}

@media screen and (min-width: 768px) {
  .video__container {
  padding-bottom: 20%;
  }
}

/* Header */

.header__brand {
  margin-top: 1rem;
  text-align: center;
}

.header__brand img {
  max-width: 230px;
}

.header__brand {
  order: -1;
}

/*Landing Header */

.landing__header--grid1x3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
 }
 
.landing__header--items {
  padding: 20px;
  padding-bottom: 0;
  margin-bottom: -8px;
  display: flex;
}
 
.landing__header--item1 {
  cursor: pointer;
 }
 
.landing__header--item2 {
  padding-right: 150px;
  padding-left: 150px;
  margin-right: 11.5rem;
 }

.landing__header--item2 img {
  max-width: 335px;
  height: auto;
 }
 
.landing__header--item3 {
  cursor: pointer;

 }


 @media screen and (max-width: 768px) {
  .landing__header--item2 {
    margin-right: auto;
  }
 }
