/*
 Theme Name: GSG Digital Theme
 Theme URI: https://gsg.digital
 Author: Gemini & GSG Digital
 Description: Theme of GSG Digital website.
 Version: 1.0
 Text Domain: gsgdigital-theme
 Domain Path: /languages
*/


/*
 * =================================================================================
 * FONTE OPEN SANS
 * =================================================================================
 */

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


/*
* =================================================================================
* ÍCONES
* =================================================================================
*/

[class^="gsgdigital-theme-icon-"], [class*=" gsgdigital-theme-icon-"] {
  font-family: 'gsgdigital-theme-icon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gsgdigital-theme-icon-moon:before {
  content: "\e916";
}
.gsgdigital-theme-icon-sun:before {
  content: "\e917";
}
.gsgdigital-theme-icon-link:before {
  content: "\e90c";
}
.gsgdigital-theme-icon-arroba:before {
  content: "\e915";
}
.gsgdigital-theme-icon-email:before {
  content: "\e908";
}
.gsgdigital-theme-icon-policies:before {
  content: "\e909";
}
.gsgdigital-theme-icon-contract:before {
  content: "\e90a";
}
.gsgdigital-theme-icon-shield:before {
  content: "\e90b";
}
.gsgdigital-theme-icon-linktree:before {
  content: "\e90d";
}
.gsgdigital-theme-icon-googlenews:before {
  content: "\e900";
}
.gsgdigital-theme-icon-dailymotion:before {
  content: "\e904";
}
.gsgdigital-theme-icon-odysee:before {
  content: "\e905";
}
.gsgdigital-theme-icon-rumble:before {
  content: "\e906";
}
.gsgdigital-theme-icon-youtube:before {
  content: "\e907";
}
.gsgdigital-theme-icon-facebook:before {
  content: "\e90e";
}
.gsgdigital-theme-icon-instagram:before {
  content: "\e90f";
}
.gsgdigital-theme-icon-x:before {
  content: "\e910";
}
.gsgdigital-theme-icon-bluesky:before {
  content: "\e901";
}
.gsgdigital-theme-icon-mastodon:before {
  content: "\e903";
}
.gsgdigital-theme-icon-tiktok:before {
  content: "\e929";
}
.gsgdigital-theme-icon-kwai:before {
  content: "\e911";
}
.gsgdigital-theme-icon-twitch:before {
  content: "\e912";
}
.gsgdigital-theme-icon-kick:before {
  content: "\e92a";
}
.gsgdigital-theme-icon-whatsapp:before {
  content: "\e913";
}
.gsgdigital-theme-icon-telegram:before {
  content: "\e914";
}
.gsgdigital-theme-icon-discord:before {
  content: "\e902";
}


/*
 * =================================================================================
 * PRINCIPAL
 * =================================================================================
 */

  body {
    font-family: 'Open Sans', sans-serif;
    background: whitesmoke;
  }

  .theme-column {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 20px;
    border-radius: 5px;
    border: 2px black solid;
    width: 100%;
    max-width: 1500px;
    box-sizing: border-box;
    gap: 15px;
  }

  .theme-columns-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .button {
    text-transform: uppercase;
    text-decoration: none;
    background: #000;
    color: whitesmoke;
    border-radius: 4px;
    padding: 8px;
    text-align: center;
    font-weight: bold;
  }

  .button:hover {
    background: red;  
  }

/*
 * =================================================================================
 * CABEÇALHOS
 * =================================================================================
 */

  h1 {
    text-transform: uppercase;
    margin: 0;
    text-align: center;
  }

  h2, h3 {
    margin: 0;
  }

  .entry-content h2 {
    background: #d3d3d3;
    padding: 10px;
    border-radius: 4px;
}

/*
 * =================================================================================
 * TOPO
 * =================================================================================
 */

  .topo {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    padding: 20px;
  }

  #topo-flutuante {
    display: flex;
    flex-direction: row;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  #logo-light {
    display: block;
  }

  #logo-dark {
    display: none;
  }

  .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .menu a {
    color: whitesmoke;
    text-decoration: none;
    padding: 6px;
    border-radius: 5px;
    background: black;
    display: flex;
    align-items: center;
    font-size:  18px;
  }

  .menu a:hover {
    background: red;
  }

  .menu a i:not(.gsgdigital-theme-icon-moon):not(.gsgdigital-theme-icon-sun):not(.gsgdigital-theme-icon-money) {
    margin-right: 4px;
  }

  .dynamic-menu, .top-menu-list {
    display: contents;
    list-style: none;
  }

  .footer-menu-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #button-admin {
    background: #0000ff;
  }

  #button-admin:hover {
    background: #252585;
  }


/*
 * =================================================================================
 * RODAPÉ
 * =================================================================================
 */

  .rodape {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
  }


/*
 * =================================================================================
 * PAGINA INICIAL
 * =================================================================================
 */

  .theme-column-item {
    flex: 20%;
    max-width: 350px;
    background: #eee;
  }

  .theme-column-item p {
    margin: 0;
  }

  .theme-column-item:hover {
    background: #e3e3e3;
  }

/*
 * =================================================================================
 * RESPONSIVO
 * =================================================================================
 */

 @media (max-width: 1210px) {
  #topo-flutuante {
    justify-content: center;
  }
}


/*
 * =================================================================================
 * OUTROS
 * =================================================================================
 */

/* POSTS */
.site-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}



.post-info {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.post-info span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 4px;
}

img.post-thumbnail {
  width: 100%;
  height: 100%;
}

.post-content {
  text-align: center;
}

.post-content p:first-child {
  margin: 0;
}


/* PÁGINA DO AUTOR */
#profile-area {
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#profile-image img {
  border-radius: 50% !important;
}

#profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#profile-title {
  font-size: 25px;
}

.profile-socials {
  display: flex;
  gap: 5px;
}

.profile-socials a {
    text-decoration: none;
}

.profile-socials-buttons {
  color: white;
  border-radius: 4px;
  width: 30px;
  height: 30px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

#instagram-button {
  background: #d716a2;
}

#youtube-button {
  background: red;
}

#profile-stats {
  font-size: 14px;
}

/* LOOP DE CONTEÚDO */
.loop {
  display: flex;
  max-width: 1078px;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
}

#loop-item {
  flex: 25%;
  justify-content: center;
  align-items: center;
  max-width: 32.5%;
  gap: 4px;
  min-width: 344px;
}

#loop-item-thumbnail {
  width: 100%;
}

#loop-item-info {
  text-align: center;
  font-size: 14px;
}

#loop-item-info a {
  color: green;
}

#loop-item-info i {
  margin-right: -3px;
  position: relative;
  bottom: -1px;
}

#loop-item-url {
  text-decoration: none;
}

#loop-item-title {
  font-size: 18px;
}



/*
 * =================================================================================
 * TEMA ESCURO
 * =================================================================================
 */

  /* automático */
  @media (prefers-color-scheme: dark) {
    body {
      background: #232d38;
      color: whitesmoke;
    }

    #logo-light {
      display: none;
    }

    #logo-dark {
      display: block;
    }

    .theme-column {
      background: #3f5266;
    }

    .theme-column-item, .entry-content h2 {
      background: #303E4C;
    }

    .theme-column-item:hover {
      background: #27323d;
    }

    .site-main a, .rodape a {
      color: #2e98fd;
    }

  }

  /* manual */
  body.dark-mode {
      background: #232d38;
      color: whitesmoke;
  }

  .dark-mode #logo-light {
    display: none;
  }

  .dark-mode #logo-dark {
    display: block;
  }

  .dark-mode .theme-column {
    background: #3f5266;
  }

  .dark-mode .theme-column-item, .dark-mode .entry-content h2 {
    background: #303E4C;
  }

  .dark-mode .theme-column-item:hover {
    background: #27323d;
  }

  .dark-mode .site-main a, .dark-mode .rodape a {
    color: #2e98fd;
  }