/*

Theme Name: AKAU
Theme URI: https://somosakau.com.br
Author: AKAU
Author URI: http://www.somosakau.com.br
Version: 1.0
Text Domain: AKAU

*/

body,
html,
* {
  font-family: "Aeonik", sans-serif;
}

:root {
  --h1: 3.9rem;
  --h2: 3.3rem;
  --h3: 2.3rem;
  --h4: 1.8rem;
  --h5: 1.4rem;
  --p: 1.27rem;
  --p-big: 1.5rem;
  --btn: 1.25rem;
  --light-black: #080808;
  --highlight: #da251d;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li {
  font-family: inherit;
  line-height: 0.95;
  color: inherit;
}

h1 {
  font-size: var(--h1);
  font-weight: 600;
}

h2 {
  font-size: var(--h2);
  font-weight: 600;
}

h3 {
  font-weight: 600;
  font-size: var(--h3);
}

h4 {
  font-size: var(--h4);
  font-weight: 600;
}

h5 {
  font-size: var(--h5);
  font-weight: 600;
}

p {
  font-size: var(--p);
  font-weight: 400;
  line-height: 1.1;
}

p.big {
  font-size: var(--p-big);
}

p b {
  font-weight: 700;
}

/* BOTOES */

.btn {
  font-weight: 600;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.75em 1.75em;
  border-radius: 25em;
  font-size: var(--h5);
  background-color: var(--light-black);
  color: white;
  transition: all 0.3s ease-out;

  &:hover {
    color: white;
    background-color: var(--light-black);
    transform: scale(1.03);
    transform-origin: center;
  }
}

.magnetico {
  margin: -100px;
  padding: 100px;
  display: inline-block;
  border-radius: 50%;
  /*border: 1px solid #000; //use this for debugging*/
}

video {
  width: 100%;
  height: auto;
  display: block;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

/* NAVBAR */

header {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  z-index: 9999;
  top: 0;
  left: 0;
}

nav {
  display: flex;
  width: 100%;
  height: auto;
  padding: 2em 4em;
  position: relative;
  top: 0;
  align-items: center;
  justify-content: space-between;
}

nav .logo-principal {
  width: 16em;
  height: fit-content;
  display: inline-block;
}

nav .logo-principal svg {
  width: 100%;
  height: auto;
}

nav .menu {
  display: flex;
  gap: 3em;
}

nav .menu li a {
  font-weight: 600;
  font-size: var(--p);
  transition: all 0.3s ease-out;

  &:hover {
    color: var(--highlight);
    padding: 0 0.25em;
  }
}

nav .el-feito-com-amor {
  width: 16em;
  transition: all 0.3s ease-out;

  &:hover {
    transform: scale(1.03);
  }
}

.el-feito-com-amor img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

nav .nav-toggle {
  width: 4rem;
  height: 2.5rem;
  display: inline-block;
  cursor: pointer;
  background: none;
  border: 0;
  display: none;
  cursor: pointer;
}

nav .icon-hamburguer {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  fill: var(--light-black);
}

nav .icon-hamburguer svg {
  width: 100%;
  height: 100%;
}

.nav-bg {
  background: black;
  opacity: 0.4;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 998;
  display: none;
}

/* SEÇÃO DO BANNER */

.banner-section {
  position: relative;
}

.banner-section h1 {
  font-size: calc(var(--h1) * 1.35);
}

.banner-section h2 {
  font-size: var(--h5);
  margin-bottom: 1em;
}

.download-container {
  display: flex;
  gap: 0.5em;
  width: 100%;
  justify-content: center;
}

.download-container .btn-download {
  width: 50%;
  transition: all 0.3s ease-out;
  &:hover {
    transform: scale(1.03);
    transform-origin: center;
  }
}

.video-container {
  border-radius: 2em;
  overflow: hidden;
  width: 100%;
  display: block;
  height: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 2em #00000033;
}

.video-container #frame::before {
  content: none;
}

.banner-container {
  position: absolute;
  top: 60%;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.banner-bg {
  width: 100%;
  height: auto;
  position: sticky;
  top: 50%;
  margin-bottom: 40%;
  left: 0;
  z-index: 0;
}

.banner-bg .el-gaucho {
  width: 8em;
  position: absolute;
  bottom: 6em;
  right: 10%;
}

.banner-bg .el-onda {
  width: 100%;
  height: 9em;
  background: url(assets/img/elements/onda.png);
  background-repeat: repeat-x;
  animation: animate-x 200s linear infinite;
  position: relative;
  z-index: 1;
  background-size: contain;
}

@keyframes animate-x {
  to {
    background-position: -200% 0;
  }
}

/* SEÇÃO DE SOBRE */

.about-section h2 {
  font-size: calc(var(--h1) * 1.35);
  margin-bottom: 1em;
}

.about-section h3 {
  font-size: var(--h5);
  margin-bottom: 1em;
}

.about-section .btn-download {
  width: 13em;
  display: inline-block;
  height: auto;
  transition: all 0.3s ease-out;

  &:first-of-type {
    margin-bottom: 0.5em;
  }

  &:hover {
    transform: scale(1.03);
    transform-origin: center;
  }
}

.about-section p {
  font-size: calc(var(--p) * 1.3);
}

.about-section h4 {
  font-size: var(--h1);
}

.el-coracao-container {
  position: relative;
}

.about-section .el-coracao {
  margin: 0 auto;
  display: block;
  width: 100%;
  height: auto;
  padding: 4.5em;
  position: relative;
  z-index: 1;
}

.el-coracao-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  z-index: 0;
  background: url(assets/img/elements/el-coracao.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  transform-origin: center;
  animation: scale 3s ease-in-out infinite;
}

.el-coracao-bg:first-of-type {
  animation-delay: 0.75s;
}

.el-coracao-bg:last-of-type {
  animation-delay: 1.5s;
}

@keyframes scale {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

.badges-content p {
  font-size: var(--p-big);
}

/* SEÇÃO DE DOWNLOAD */

.download-section {
  position: relative;
}

.download-section h2 {
  font-size: calc(var(--h1) * 1.35);
}

.download-section h3 {
  font-size: calc(var(--h3) * 1.35);
}

.download-section h4 {
  font-size: var(--h5);
  margin-bottom: 1em;
  text-align: center;
}

.download-container {
  gap: 1em;
}

.download-section p {
  font-size: var(--p-big);
}

.download-section .img-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2em 0;
}

.download-section .img-container img {
  width: 15.5em;
  height: 100%;
  position: relative;
}

.download-section .img-left,
.download-section .img-right {
  display: flex;
  position: relative;
  z-index: 0;
  width: 50%;
  height: 15.5em;
}

.download-section .img-center {
  position: relative;
  z-index: 1;
  transform: scale(1.25);
}

.download-section .img-left img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  object-fit: contain;
}

.download-section .img-left img:nth-child(1) {
  left: 0;
}

.download-section .img-left img:nth-child(2) {
  left: calc(50% - 7.75em);
}

.download-section .img-left img:nth-child(3) {
  right: 0;
}

.download-section .img-right img {
  z-index: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  object-fit: contain;
}

.download-section .img-right img:nth-child(1) {
  right: 0;
  z-index: 0;
}

.download-section .img-right img:nth-child(2) {
  right: calc(50% - 7.75em);
}

.download-section .img-right img:nth-child(3) {
  left: 0;
  z-index: 2;
}

/* FOOTER */

footer h2 {
  font-size: var(--h3);
}

.logos-container {
  display: flex;
  gap: 1em;
  justify-content: space-between;
  align-items: center;
  margin-top: 2em;
}

.logos-container a {
  display: block;
  max-width: 16em;
  height: 6em;
  transition: all 0.3s ease-out;

  &:hover {
    transform: scale(1.03);
  }
}

.logos-container a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.projects-container {
  display: flex;
  gap: 1em;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-top: 2em;
}

.projects-container a {
  border: 0.15em solid black;
  border-radius: 1.25em;
  padding: 2em;
  width: 100%;
  transition: all 0.3s ease-out;

  &:hover {
    background-color: rgba(255, 255, 255, 0.75);
  }
}

.projects-container a img {
  width: 15em;
  height: 10em;
  object-fit: contain;
}
