@import url("https://fonts.googleapis.com/css2?family=Calligraffitti&family=Open+Sans+Condensed:wght@300;700&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.page-content, .footer-content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

html * {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
}

h1 {
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 700;
  font-size: 2em;
  margin-bottom: 1em;
}

h2 {
  font-weight: 500;
  margin-bottom: 0.5em;
}
h2:not(:first-of-type) {
  margin-top: 1.5em;
}

h2.handwritten {
  font-family: "Calligraffitti", cursive;
  font-weight: 400;
  font-size: 1.8em;
}

h3 {
  font-weight: 500;
  margin-bottom: 0.8em;
}
h3:not(:first-of-type) {
  margin-top: 1.5em;
}

a {
  text-decoration: none;
  font-weight: 600;
  color: #afca0b;
}

p {
  line-height: 1.5em;
  margin-bottom: 0.5em;
}

ul {
  margin-bottom: 0.5em;
}
ul li {
  margin-left: 1.5em;
}

strong, .bold {
  font-weight: 700;
}

button.cta, a.cta {
  padding: 0.5em 1.5em;
  background-color: #afca0b;
  color: white;
  border-radius: 1em;
  border: 0;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 400;
}
button.cta:hover, a.cta:hover {
  filter: brightness(1.1);
}
button.cta i, a.cta i {
  margin-right: 0.5em;
  transform: scale(1.3);
}

section {
  background-color: white;
  padding: 0.5em;
}
section.content {
  padding: 2em 1em;
}

@media screen and (min-width: 600px) {
  section.content {
    padding: 4em;
  }
  section:last-child {
    padding-bottom: 4em;
  }
}
.dual-grid {
  display: grid;
  grid-gap: 2em 4em;
  grid-template-rows: auto;
  grid-template-areas: "text" "image";
}
.dual-grid .dg-text {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: text;
  text-align: justify;
}
.dual-grid .dg-image {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
  grid-area: image;
}
.dual-grid .dg-image img {
  width: 100%;
  border-radius: 1em;
}

@media screen and (min-width: 600px) {
  .dual-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dual-grid.a-b {
    grid-template-areas: "text image";
  }
  .dual-grid.b-a {
    grid-template-areas: "image text";
  }
  .dual-grid.a-b > .dg-text {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .dual-grid.b-a > .dg-text {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  .dual-grid.a-b > .dg-image {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  .dual-grid.b-a > .dg-image {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  margin: 0;
  z-index: 999;
  padding: 1em 0.5em;
  box-shadow: 0 0 15px 0px rgba(0, 0, 0, 0.4);
  margin-bottom: 3em;
}
header div a {
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 700;
  font-size: 2em;
}

main {
  padding-top: 8em;
}

main.without-header {
  padding-top: 0;
}

footer {
  background-color: #27282c;
  background-image: url("/images/svg/Footer-BG.svg");
  background-position: center;
  background-size: cover;
  color: white;
  padding: 5em 1em;
  font-size: 0.8em;
}
footer .footer-content {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1em;
}
footer a {
  color: white;
  font-weight: 500;
}

@media screen and (min-width: 600px) {
  footer {
    padding: 5em 0;
  }
  footer .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}
.socialmedia-title {
  text-transform: uppercase;
  font-size: 0.6em;
  margin-top: 1.5em;
  letter-spacing: 0.1em;
  word-spacing: 0.5em;
}

.socialmedia {
  display: flex;
  gap: 0.8em;
  width: fit-content;
}
.socialmedia.center {
  margin: 0 auto;
}
.socialmedia a {
  font-size: 1.5em;
  color: white;
  background-color: #afca0b;
  border-radius: 50%;
  aspect-ratio: 1/1;
  width: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all ease 0.2s;
}
.socialmedia a:hover {
  scale: 1.1;
}

.header-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}
.header-video .bg-video {
  min-width: 100%;
  min-height: 100%;
}

.header {
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(0px);
          backdrop-filter: blur(0px);
  display: grid;
  place-items: center;
}
.header__images {
  height: 80%;
  width: 100%;
  padding: 2em 0;
  border-radius: 1em;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  position: relative;
}
.header__images img {
  width: 80%;
  max-width: 350px;
}
.header__images img.img-torre-cogolla {
  width: 90%;
  max-width: 250px;
}
.header__images img.img-spanish-oil {
  width: 90%;
  max-width: 500px;
}
.header__images .maxfry {
  position: absolute;
  top: 120px;
  right: -20px;
  width: 200px;
  transform: rotate(15deg);
}
@media screen and (max-width: 600px) {
  .header__images .maxfry {
    width: 35vw;
    right: 10px;
    top: 160px;
  }
}