<style type="text/css">

* {
margin: 0;
padding: 0;
}

/* render html5 elements as block */
principal, quadTopo, menuTopo, logo, quadCorpo, nav, quadMobil, quadBorda, section, footer {
display: block;
}

body, html{
line-height: 38px;
background-color: #4682b4;
font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* Codigo responsivo */
* 
img, picture, video, embed {
 max-width:100% !important;
 height:auto !important;
}

/* header */
header {
 height: auto;
 margin: 0px;
}

/* Envolve tudo */
.principal{
  max-width: 900px;
  min-width: auto;
  background: #086a87;
  margin: 0 auto;
  padding: 5px;
  border-radius: 6px;
  clear: both;
}

/* Card container - Estilos do Jogo de Dados */
#rola-dados { 
  max-width: 900px; 
  margin: 2px auto; 
  font-size: 23px; 
  text-align: left; 
  padding: 0 1.3em; }

.card-container { 
  width: 90%; max-width: 900px; 
  background-color: #ddd; padding: 15px; 
  border-radius: 12px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
  display: flex; 
  margin: 12px auto;}

/* Classe base para otimizar os botões do jogo */
.button-jogar, .button-zerar { 
    padding: 18px; 
    border-radius: 8px; 
    font-size: 25px; 
    font-weight: bold; 
    color: white; 
    cursor: pointer; 
    transition: 0.3s; 
    border: none; 
}
.button-jogar { background-color: blue; }
.button-zerar { background-color: #808080; }
.button-jogar:hover { background-color: purple; }
.button-jogar:disabled { background-color: #999; cursor: not-allowed; }
.resultado { font-size: 50px; font-weight: bold; padding: 15px; background-color: #90ee90; border-radius: 10px; margin: 15px; display: inline-block; min-width: 60px; transition: transform 0.1s; }
.vencedor { padding: 10px; font-size: 28px; font-weight: bold; color: #555; height: 1.3em; }
.card-section { flex: 1; padding: 0.5em; border-radius: 10px; display: flex; flex-direction: column; align-items: center; transition: background-color 0.3s; }
.left-section { background-color: #e3f2fd; font-size: 25px; font-weight: bold; color: #555;}
.right-section { background-color: #fff; font-size: 25px; font-weight: bold; color: #555;}

/* Responsividade: para telas menores, o card fica vertical */
.agitando { transform: scale(1.1) rotate(5deg); color: #2980b9; }

@media (max-width: 768px) {
  .card-container { flex-direction: column; }
  .left-section { border-right: none; border-bottom: 1px solid #ccc; }
}

/* Título restrito para não afetar o site todo de forma descontrolada */
.card-container h4, .card-container-duplo h4 {
    font-weight: bold;
    font-size: 28px;
    margin-top: 2px;
    margin-bottom: 4px;
}

/* Card container duplo */
.card-container-duplo {
  display: flex; 
  width: 98%;
  height: auto;
  background-color: #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden; 
  padding: 5px;
  text-align: left;
  font-size: 25px;
  color: #555;
}
.card-section-duplo {
  flex: 1; 
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.left-section-duplo {
  background-color: #e3f2fd; 
  border-right: 1px solid #ddd;
}
.right-section-duplo {
  background-color: #fff; 
}
.card-section-duplo h2 {
  margin-top: 0;
  color: #333;
}
.card-section-duplo p {
  color: #666;
}

/* Responsividade: para telas menores, o card fica vertical */
@media (max-width: 768px) {
  .card-container-duplo {
    flex-direction: column;
    height: auto;
  }
  .left-section-duplo {
    border-right: none;
    border-bottom: 2px solid #ddd;
  }
}

/* Ferramentas para qualquer lugar do site */
.center-block {
    margin-left: auto;
    margin-right: auto;
    display: block; 
}

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

.flex-center {
    display: flex;
    justify-content: center; 
    align-items: center;     
    text-align: center;
}

/* ***** Colunas ***** */
.container-prima {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px;       
}
.coluna {
    flex: 1 1 300px;    
    background-color: #ddd;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: left;
}

/* Protegendo os seletores das colunas para não afetar o site todo */
.coluna h2 { color: #333; }
.coluna p { color: #666; }

/* Destaque em Botão e Título */
.container-btn {
    text-align: center; 
    margin: 30px 0; 
}

.btn-ebook {
    display: inline-flex;
    align-items: center;
    gap: 15px; 
    background-color: #1E90FF; 
    color: #ffffff; 
    font-size: 24px; 
    font-weight: bold;
    padding: 15px 30px; 
    border-radius: 50px; 
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    transition: transform 0.2s, background-color 0.2s;
}

/* Efeito Hover único e corrigido (Escolha a cor de preferência, mantive a do "Instagram" aqui) */
.btn-ebook:hover {
    color: yellow; 
    transform: scale(1.05); 
}

</style>

