/*
Theme Name: Linktree
Text Domain: gplp
Version: 2024.06.11
Description: Links para redes sociais da Galinha Pintadinha
Author: Bromelia Produções
*/

@font-face {
  font-display: swap;
  font-family: 'Mohr Rounded';
  font-weight: 400;
  src: url('assets/fonts/Latinotype\ -\ Mohr\ Rounded\ Regular.otf') format('opentype');
}

@font-face {
  font-display: swap;
  font-family: 'Mohr Rounded';
  font-weight: 700;
  src: url('assets/fonts/Latinotype\ -\ Mohr\ Rounded\ Bold.otf') format('opentype');
}

@font-face {
  font-display: swap;
  font-family: 'Mohr Rounded';
  font-weight: 900;
  src: url('assets/fonts/Latinotype\ -\ Mohr\ Rounded\ Black.otf') format('opentype');
}

/* =====/ Settings /===== */

:root {
  --gutter: 16px;
  --font-special: 'Mohr Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --font-base: 'Mohr Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --color-site-background: #00d4ff;
  --color-site-foreground: #184059;
  --color-link-background: #1591c5;
  --color-link-foreground: #fff;
  --color-link-hover-background: #fff;
  --color-link-hover-foreground: #1591c5;
  --link-group-link-background-color: var(--color-link-background);
  --link-group-link-foreground-color: var(--color-link-foreground);
  --link-group-link-hover-background-color: var(--color-link-hover-background);
  --link-border-radius: 12px;
  --font-size-base: 1rem;
  --font-size-link: 1rem;
  --font-size-heading: 1.5rem;
  --font-size-sm: 13px;
  --line-height-base: calc(1.625 * var(--font-size-base));
  --line-height-link: calc(1.375 * var(--font-size-link));
  --line-height-heading: calc(1.125 * var(--font-size-heading));
  --line-height-sm: calc(1.125 * var(--font-size-sm));
}

@media screen and (min-width: 600px) {
  :root {
    --font-size-base: 1rem;
    --font-size-heading: 2rem;
    --font-size-sm: 13px;
  }
}

@media screen and (min-width: 1200px) {
  :root {}
}

/* =====/ Base/===== */

* {
  box-sizing: border-box;
  list-style: none;
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-site-background);
  background-repeat: no-repeat;
  color: var(--color-site-foreground);
  font-family: var(--font-special);
  font-weight: normal;
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

img {
  height: auto;
  max-width: 100%;
}

:focus-visible {
  border-radius: var(--link-border-radius);
  outline: 2px solid var(--color-link-foreground);
  outline-offset: 0;
}

/* =====/ Content width /===== */

body {
  --content-width: 100%;

  margin: 0 auto;
  padding: calc(4 * var(--gutter)) calc(1 * var(--gutter));
  width: var(--content-width);
}

@media (min-width: 600px) {
  body {
    --content-width: 480px;

    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 720px) {
  body {
    --content-width: 640px;
  }
}

@media (min-width: 900px) {
  body {
    --content-width: 720px;
  }
}

/* =====//===== */

.site-header {
  margin-bottom: calc(4 * var(--gutter));
  position: relative;
}

.site-header a {
  display: inline-block;
}

.site-header__profile img,
.site-header__logo img {
  display: block;
  margin: 0 auto;
}

.site-header__profile img {
  max-width: 128px;
}

.site-header__logo img {
  max-width: 200px;
}

.site-header__profile {
  margin-bottom: var(--gutter);
}

.site-header__back {
  cursor: pointer;
  left: 0;
  outline: 0;
  position: absolute;
  top: 0;
}

.site-header__back,
.site-header__back svg {
  height: 32px;
  width: 32px;
}

.site-header__back:focus,
.site-header__back:active {
  border: 0;
  outline: 0;
}

.site-header__back svg.close {
  display: none !important;
}

.site-header__back--close svg.close {
  display: block !important;
}

.site-header__back--close svg.back {
  display: none !important;
}

.site-header__back--hide {
  display: none !important;
}

/* =====//===== */

.links {
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}

a.link {
  background-color: var(--link-group-link-background-color,
      var(--color-link-background));
  border-radius: var(--link-border-radius);
  color: var(--link-group-link-foreground-color, var(--color-link-foreground));
  display: block;
  font-size: var(--font-size-link);
  font-weight: normal;
  line-height: var(--line-height-link);
  overflow: hidden;
  padding: calc(0.875 * var(--gutter)) calc(1.5 * var(--gutter));
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease-out;
}

a.link:active,
a.link:hover,
a.link:focus,
a.link:focus-visible {
  background-color: var(--link-group-link-hover-background-color);
  color: var(--link-group-link-foreground-color);
  outline: 2px solid var(--link-group-link-foreground-color);
  outline-offset: 0;
}

a.link--special {
  font-weight: 900;
}

.link.link--image .link__text {
  display: none;
}

.link.link--image.link--show-border-around-image {
  padding: calc(0.25 * var(--gutter));
}

.link.link--image.link--show-border-around-image img {
  background-color: var(--color-link-background);
}

.link--image {
  width: 100%;
}

.link--image img {
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.link-group--1-1 .link--image img {
  aspect-ratio: 1 / 1;
}

.link-group--4-3 .link--image img {
  aspect-ratio: 4 / 3;
}

.link-group--16-9 .link--image img {
  aspect-ratio: 16 / 9;
}

.link--image:not(.link--show-border-around-image) {
  padding: 0;
}

.link--image:not(.link--show-border-around-image) img {}

.link-group__title {
  font-size: var(--font-size-heading);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: var(--line-height-heading);
  margin-bottom: var(--gutter);
}

.link-group__title--has-background {
  background-color: var(--link-group-heading-background-color);
  border-radius: var(--link-border-radius);
  color: var(--link-group-heading-foreground-color);
  padding: calc(0.875 * var(--gutter)) calc(1.5 * var(--gutter));
}

.link-group a.link {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.link-group__featured-image {
  margin-bottom: var(--gutter);
}

.link-group__featured-image a {
  border-radius: var(--link-border-radius);
  overflow: hidden;
}

.link-group__featured-image a,
.link-group__featured-image img {
  display: block;
  width: 100%;
}

/* =====/ Sections / Columns /===== */

.link-groups {
  display: grid;
  gap: calc(6 * var(--gutter));
  grid-template-columns: 1fr;
}

.link-group .links {
  display: grid;
  gap: var(--gutter);
  grid-template-columns: 1fr;
}

.link-group--columns-1 .links {
  grid-template-columns: 1fr;
}

.link-group--columns-2 .links {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .link-group--columns-2 .links {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====//===== */

.site-footer {
  padding-top: calc(2 * var(--gutter));
}

.disclaimer {
  font-family: var(--font-base);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  margin: 0 auto;
  max-width: 24em;
  padding: 0;
  text-align: center;
}

.disclaimer p {
  margin: 0;
}

/* =====/ SVGs /===== */

svg.back path,
svg.close path {
  fill: var(--color-site-foreground);
}

/* =====/ Animation /===== */

@-webkit-keyframes link-highlight {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@-moz-keyframes link-highlight {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes link-highlight {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* =====/ Scrollbar/===== */

* {
  scrollbar-width: none;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 0;
}