@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wdth,wght@0,75..100,300..800;1,75..100,300..800&display=swap');

@font-face {
  font-family: 'Authora Handwriting';
  src: url('AuthoraHandwriting.woff2') format('woff2'), url('AuthoraHandwriting.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html { 
  display: block;
  height: 100%; 
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: light;
  font-size: 25px;
  letter-spacing: 5px;
  align-items: stretch;
}

.siteBorder {
  width: 10%;
}

.content {
  width: 90%;
  padding-bottom: 100px;
}

.darkbg {
  background-color: #D0D0BB;
}

.lightbg {
  background-color: #F0F0E1;
}

.authora {
  font-family: 'Authora Handwriting', cursive;
  font-weight: normal;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 10%;
}
  header h1 {
    font-size: 140px;
    margin: 0;
    text-align: center;
    line-height: 0.5;
  }
  .headercat {
    margin-left: -10px;
  }
  .headerchess {
    position: relative;
    top: 10px;
  }

.maincontent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10% 0 5%;
}
  .maincontent article {
    text-align: center;
  }
    .maincontent article time {
      font-size: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 40px;
    }
      .maincontent article time .authora {
        border-left: 3px solid black;
        border-right: 3px solid black;
        padding: 0 40px;
        font-size: 120px;
        height: 100px;
        line-height: 0.9;
      }
    .maincontent article .place {
      font-size: 90px;
      line-height: 1;
      padding: 0;
      margin: 40px 0 0 0;
    }
    .googlemaps {
      display: flex;
      border-radius: 50%;
      width: 220px;
      height: 220px;
      justify-content: center;
      align-items: center;
      flex-shrink: 0;
    }
    .googleforms {
      display: flex;
      padding: 15px;
      justify-content: center;
      align-items: center;
      gap: 20px;
      text-decoration: none;
      color: black;
      font-size: 30px;
      text-align: center;
    }
      .googleforms img {
        transform: rotate(2deg);
      }
      .googleforms .paw {
        transform: rotate(88deg);
      }

  article h2 {
    font-size: 120px;
    margin: 15px 10px 0 10px;
    text-align: center;
  }

  #lista {
    list-style-type: none;
    display: grid;
    grid-template-columns: auto auto auto auto;
    padding: 10px 5%;
    justify-content: space-between;
    gap: 20px;
  }
    #lista li > button {
      appearance: none;
      border: none;
      width: 100%;
      height: 100%;
      padding: 15px;
      cursor: pointer;
      text-align: left;
      font-size: 40px;
      line-height: 0.6;
      background-position: right 10px bottom 0;
      background-image: url('../img/gato2.png');
      background-repeat: no-repeat;
      background-size: 20%;
    }
    #lista li:nth-child(even) > button {
      background-image: url('../img/dados.png');
      background-size: 15%;
      background-position: right 15px bottom 10px;
    }
      #lista li > button > img {
        width: 100%;
      }
      #lista li > button > h3 {
        padding: 20px 0 0 0;
        margin: 0;
        font-weight: normal;
      }

dialog {
  width: 700px;
  max-width: 90%;
  border: none;
  box-shadow: 0px 0px 10px black;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
}
dialog[open] { display: flex; }
  .close-dialog {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
  }
  dialog h4 {
    line-height: 0.5;
    font-size: 60px;
    margin: 10px 0 0 0;
  }
  dialog .pix {
    word-break: break-all;
    font-size: 20px;
  }
  dialog .qrcode {
    position: relative;
    width: 350px;
    height: 350px;
    overflow: hidden;
    flex-shrink: 0;
  }
    dialog .qrcode img {
      position: absolute;
      top: -242px;
      left: -194px;
    }
  dialog .copypix {
    appearance: none;
    border: none;
    font-size: 25px;
    font-family: 'Open Sans', serif;
    padding: 15px 25px;
    text-transform: uppercase;
    cursor: pointer;
  }

@media (max-width: 576px) {
  body {
    font-size: 20px;
  }
  header {
    padding: 15px 0;
  }
    .headercat {
      width: 100px;
    }
    .headerchess {
      display: none;
    }
    header h1 {
      font-size: 80px !important;
      line-height: 0.3;
    }
      .maincontent article time {
        font-size: 30px;
        flex-direction: column;
      }
        .maincontent article time .authora {
          border-left: none;
          border-right: none;
          border-top: 3px solid black;
          border-bottom: 3px solid black;
        }
      .maincontent article .place {
        font-size: 70px;
        line-height: 0.7;
      }
        .googleforms img {
          width: 40px;
        }
        .googleforms .paw {
          display: none;
        }
    ul#lista {
      grid-template-columns: auto !important;
    }
}

@media (max-width: 992px) {
  header h1 {
    font-size: 90px;
  }
  .maincontent {
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 30px;
  }
    .maincontent > img {
      display: none;
    }
  article h2 {
    font-size: 70px;
    line-height: 0.7;
  }
  ul#lista {
    grid-template-columns: auto auto;
  }
}

@media (max-width: 1200px) {
  .maincontent {
    padding-left: 10px;
    padding-right: 10px;
  }
  #lista {
    grid-template-columns: auto auto auto;
  }
  .googlemaps {
    width: 200px;
    height: 200px;
  }
}