/* padding sett: top right bottom left */

@font-face {
    font-family: 'Abc Rounded Light';
    src: url('../fonts/ABCDiatypeRounded-Light.woff2');
  }

@font-face {
    font-family: 'Abc Rounded Regular';
    src: url('../fonts/ABCDiatypeRounded-Regular.woff2');
  }
  
  @font-face {
    font-family: 'Abc Rounded Bold';
    src: url('../fonts/ABCDiatypeRounded-Bold.woff2');
  }
  
  @font-face {
    font-family: 'EB Garamond Medium';
    src: url('../fonts/EBGaramondMedium.woff2');
  }
  
  @font-face {
    font-family: 'EB Garamond Medium Italic';
    src: url('../fonts/EBGaramondMediumItalic.woff2');
  }
  
  @font-face {
    font-family: 'EB Garamond Semibold';
    src: url('../fonts/EBGaramondSemibold.woff2');
  }

  @font-face {
    font-family: 'EB Garamond Semibold Italic';
    src: url('../fonts/EBGaramondSemiboldItalic.woff2');
  }

  body {
    margin: 0;
    font-family: 'Abc Rounded Regular', sans-serif;
    color: black;
    box-sizing: border-box;
}

header {
    width: 100%;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0;
}

.header-content {
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
}

.header-row {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr 3fr 2fr;
    column-gap: 16px;
    align-items: center; /* Alinha todos os itens ao centro verticalmente */
}

.header-section p,
.header-section a {
    font-family: 'Abc Rounded Light', sans-serif;
    font-size: 13px;
    line-height: 1.2;
    word-spacing: -0.3px;
    -webkit-text-stroke-color: black;
    -webkit-text-stroke-width: 0.3px;
    margin: 0;
    text-align: left;
    color: black;
    text-decoration: none;
}

.header-section.back {
    text-decoration: underline;
    justify-self: end; /* Alinha à direita */
    display: flex;     /* Define o display para flex */
    align-items: center; /* Garante que o conteúdo da seção 'back' esteja alinhado verticalmente */
}

.header-section.back a:hover {
    color: #00FF00;
    text-decoration: underline;
    -webkit-text-stroke-color: #00FF00;
    -webkit-text-stroke-width: 0.1px;
}

/* Main content */
.container {
  display: flex;
  justify-content: center; /* centraliza horizontalmente */
  align-items: center;     /* centraliza verticalmente */
  height: 100vh;           /* ocupa a altura da tela */
}

h1 {
  font-family: 'EB Garamond Medium', serif;
  font-size: 30px;
  line-height: 0.8;
  text-align: center;
  -webkit-text-stroke-width: 0px;
}

a {
    font-family: 'Abc Rounded Light', sans-serif;
    font-size: 15px;
    word-spacing: -0.3px;
    color: black;
    -webkit-text-stroke-width: 0px;
    text-decoration: none;
}

a:hover {
    color: #00FF00;
    text-decoration: underline;
    -webkit-text-stroke-color: #00FF00;
    -webkit-text-stroke-width: 0.1px;
}

footer {
    width: 100%;
    position: relative;
    padding: 0px 5px 5px 5px;
    box-sizing: border-box;
}

footer p {
    display: flex;
    justify-content: space-between; /* Alinha os itens nos extremos (esquerda e direita) */
    align-items: center; /* Alinha verticalmente */
    margin: 0;
    font-family: 'Abc Rounded Light';
    font-size: 10px;
    -webkit-text-stroke-color: black;
    -webkit-text-stroke-width: 0.3px;
}

footer .right {
    margin-left: auto; /* Este "auto" empurra o conteúdo para a direita */
}

/* === MEDIA QUERIES === */

/* iPhones pequenos — iPhone SE, iPhone 5 (~ 380px) */
@media screen and (max-width: 375px) {
    .header-content {
        width: 100%;
        box-sizing: border-box;
        padding: 5px !important;
    }

    header .header-row {
        grid-template-columns: 3fr 3.5fr 2fr 4fr 2fr !important;
    }

    header .header-section p,
    header .header-section a {
      font-size: 10px !important;
    }

    .header-section.back {
        justify-self: end;
        align-self: center;
    }

    .container {
    display: flex;
    justify-content: center; /* centraliza horizontalmente */
    align-items: center;     /* centraliza verticalmente */
    height: 100vh;           /* ocupa a altura da tela */
}

    h1 {
    font-family: 'EB Garamond Medium', serif;
    font-size: 18px;
    text-align: center;
    -webkit-text-stroke-width: 0px;
    }

    a {
    font-family: 'Abc Rounded Light', sans-serif;
    font-size: 11px;
    word-spacing: -0.3px;
    color: black;
    text-decoration: none;
    }

    footer {
        padding: 0px 5px 5px 5px !important;
    }
    
    footer p {
        font-size: 10px !important;
    }
}

  /* iPhones médios — iPhone 12 Pro, iPhone 13, 14, 15 (~415px) */
  @media screen and (min-width: 376px) and (max-width: 414px) {
    .header-content {
        width: 100%;
        box-sizing: border-box;
        padding: 5px !important;
    }

    header .header-row {
        grid-template-columns: 3fr 3.5fr 2fr 4fr 2fr !important;
    }

    .header-section p,
    .header-section a {
        font-size: 13px !important;
        line-height: 1.15 !important;
        word-spacing: -0.3px !important;
    }

    .header-section.back {
        justify-self: end;
        align-self: center;
    }

    .container {
    display: flex;
    justify-content: center; /* centraliza horizontalmente */
    align-items: center;     /* centraliza verticalmente */
    height: 100vh;           /* ocupa a altura da tela */
}

    h1 {
    font-family: 'EB Garamond Medium', serif;
    font-size: 19px;
    text-align: center;
    -webkit-text-stroke-width: 0px;
    }

    a {
    font-family: 'Abc Rounded Light', sans-serif;
    font-size: 11px;
    word-spacing: -0.3px;
    color: black;
    text-decoration: none;
    }

    footer {
        padding: 0px 5px 5px 5px !important;
    }

    footer p {
        font-size: 11px !important;
    }
}

  /* iPhones grandes — iPhone XR, 11, 14 Plus (~460px) */
  @media screen and (min-width: 415px) and (max-width: 459px) {
    .header-content {
        width: 100%;
        box-sizing: border-box;
        padding: 5px !important;
    }

    header .header-row {
        grid-template-columns: 3.5fr 3.5fr 2.2fr 4fr 2fr !important;
    }

    .header-section p,
    .header-section a {
        font-size: 13px !important;
        line-height: 1.2 !important;
        word-spacing: -0.3px !important;
    }

    .header-section.back {
        justify-self: end;
        align-self: center;
    }

    .container {
    display: flex;
    justify-content: center; /* centraliza horizontalmente */
    align-items: center;     /* centraliza verticalmente */
    height: 100vh;           /* ocupa a altura da tela */
    }

    h1 {
    font-family: 'EB Garamond Medium', serif;
    font-size: 19px;
    text-align: center;
    -webkit-text-stroke-width: 0px;
    }

    a {
    font-family: 'Abc Rounded Light', sans-serif;
    font-size: 12px;
    word-spacing: -0.3px;
    color: black;
    text-decoration: none;
    }

    footer {
        padding: 0px 5px 5px 5px !important;
    }

    footer p {
        font-size: 11px !important;
    }
}

/* TABLET ADJUSTMENTS FOR IPAD AIR & IPAD MINI (Vertical) */
@media screen and (min-width: 460px) {
    .header-content {
        width: 100%;
        box-sizing: border-box;
        padding: 5px !important;
    }

    header .header-row {
        grid-template-columns: 4fr 5fr 2fr 4fr 2fr !important;
    }

    .header-section p,
    .header-section a {
        font-size: 13.5px !important;
        line-height: 1.2 !important;
        word-spacing: -0.3px !important;
    }

    .header-section.back {
        justify-self: end;
        align-self: center;
    }

    .container {
        display: flex;
        justify-content: center; /* centraliza horizontalmente */
        align-items: center;     /* centraliza verticalmente */
        height: 100vh;           /* ocupa a altura da tela */
    }

    h1 {
        font-family: 'EB Garamond Medium', serif;
        font-size: 25px;
        text-align: center;
        -webkit-text-stroke-width: 0px;
    }

    a {
        font-family: 'Abc Rounded Light', sans-serif;
        font-size: 15px;
        word-spacing: -0.3px;
        color: black;
        text-decoration: none;
    }

    footer {
        padding: 0px 5px 5px 5px !important;
    }

    footer p {
        font-size: 12px !important;
    }
}

/* TABLET ADJUSTMENTS FOR IPAD PRO (Vertical) */
@media screen and (min-width: 1024px) {
    .header-content {
        width: 100%;
        box-sizing: border-box;
        padding: 5px !important;
    }

    header .header-row {
        grid-template-columns: 3.5fr 5.8fr 2fr 3.5fr 2fr !important;
    }

    .header-section p,
    .header-section a {
        font-size: 13.5px !important;
        line-height: 1.2 !important;
        word-spacing: -0.3px !important;
    }

    .header-section.back {
        justify-self: end;
        align-self: center;
    }

     .container {
        display: flex;
        justify-content: center; /* centraliza horizontalmente */
        align-items: center;     /* centraliza verticalmente */
        height: 100vh;           /* ocupa a altura da tela */
    }

    h1 {
        font-family: 'EB Garamond Medium', serif;
        font-size: 30px;
        text-align: center;
        -webkit-text-stroke-width: 0px;
    }

    a {
        font-family: 'Abc Rounded Light', sans-serif;
        font-size: 20px;
        word-spacing: -0.3px;
        color: black;
        text-decoration: none;
    }

    footer {
        padding: 0px 5px 5px 5px !important;
    }

    footer p {
        font-size: 12px !important;
    }
}

/* TABLET ADJUSTMENTS FOR IPAD PRO (Landscape) */
@media screen and (min-width: 1360px) {
    .header-content {
        width: 100%;
        box-sizing: border-box;
        padding: 5px !important;
    }

    header .header-row {
        grid-template-columns: 3.5fr 5fr 2fr 4fr 2fr !important;
    }

    .header-section p,
    .header-section a {
        font-size: 14px !important;
        line-height: 1.2 !important;
        word-spacing: -0.3px !important;
    }

    .header-section.back {
        justify-self: end;
        align-self: center;
    }

        .container {
        display: flex;
        justify-content: center; /* centraliza horizontalmente */
        align-items: center;     /* centraliza verticalmente */
        height: 100vh;           /* ocupa a altura da tela */
    }

    h1 {
        font-family: 'EB Garamond Medium', serif;
        font-size: 30px;
        text-align: center;
        -webkit-text-stroke-width: 0px;
    }

    a {
        font-family: 'Abc Rounded Light', sans-serif;
        font-size: 20px;
        word-spacing: -0.3px;
        color: black;
        text-decoration: none;
    }

    footer {
        padding: 0px 5px 5px 5px !important;
    }

    footer p {
        font-size: 12px !important;
    }
}

/* LAPTOP ADJUSTMENTS (Landscape) */
@media screen and (min-width: 1370px) {
    .header-content {
        width: 100%;
        box-sizing: border-box;
        padding: 5px !important;
    }

    header .header-row {
        grid-template-columns: 3.5fr 5fr 2fr 4fr 2fr !important;
    }

    .header-section p,
    .header-section a {
        font-size: 14px !important;
        line-height: 1.2 !important;
        word-spacing: -0.3px !important;
    }

    .header-section.back {
        justify-self: end;
        align-self: center;
    }

        .container {
        display: flex;
        justify-content: center; /* centraliza horizontalmente */
        align-items: center;     /* centraliza verticalmente */
        height: 100vh;           /* ocupa a altura da tela */
    }

    h1 {
        font-family: 'EB Garamond Medium', serif;
        font-size: 30px;
        text-align: center;
        -webkit-text-stroke-width: 0px;
    }

    a {
        font-family: 'Abc Rounded Light', sans-serif;
        font-size: 20px;
        word-spacing: -0.3px;
        color: black;
        text-decoration: none;
    }

    footer {
        padding: 0px 5px 5px 5px !important;
    }

    footer p {
        font-size: 12px !important;
    }
}

/* LAPTOP ADJUSTMENTS (4K Landscape) */
@media screen and (min-width: 2000px) and (orientation: landscape) {
    .header-content {
        width: 100%;
        box-sizing: border-box;
        padding: 5px !important;
    }

    header .header-row {
        grid-template-columns: 2fr 2fr 2fr 2fr 1fr !important
    }

    .header-section p,
    .header-section a {
        font-size: 15.5px !important;
        line-height: 1.2 !important;
        word-spacing: -0.3px !important;
    }

    .header-section.back {
        justify-self: end;
        align-self: center;
    }

       .container {
        display: flex;
        justify-content: center; /* centraliza horizontalmente */
        align-items: center;     /* centraliza verticalmente */
        height: 100vh;           /* ocupa a altura da tela */
    }

    h1 {
        font-family: 'EB Garamond Medium', serif;
        font-size: 40px;
        text-align: center;
        -webkit-text-stroke-width: 0px;
    }

    a {
        font-family: 'Abc Rounded Light', sans-serif;
        font-size: 20px;
        word-spacing: -0.3px;
        color: black;
        text-decoration: none;
    }
    
    footer {
        padding: 0px 5px 5px 5px !important;
    }

    footer p {
        font-size: 15.5px !important;
    }
}
