
/* carrega a fonte 'Open Sans' do Google */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Roboto:wght@300;400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1rem;
  vertical-align: baseline;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background-color: #ffffff; 
  font-family: 'Roboto', 'Open Sans', sans-serif;
  line-height: 1.5rem; 
}

a {
  text-decoration: none;
  color: inherit;
}


/**
* Mensagens (alerta, aviso e informação)
*/

.msg-area {
  width: 98%;
  margin: auto;
  padding: 0.5rem;
  margin-top: 0;
}

.msg-box {
  padding: 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 4px;
  overflow: hidden;
}

.msg-box:hover .msg-box-btn {
  color: black;
}

.msg-box-pointer {
  cursor: pointer;
}

.msg-box-alerta {
  background-color: #ffebeb;
  border: 1px solid #ff8386;
  color: #260100;
}

.msg-box-aviso {
  background-color: #fff8e7;
  border: 1px solid #ffca4b;
  color: #3e2b00;
}

.msg-box-info {
  background-color: #f1f7ff;
  border: 1px solid #96bffe;
  color: #00122e;
}

.msg-box img {
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
}

.msg-box p {
  margin: 0;
  width: 100%;
  font-size: 1rem;
  word-break: break-word;
}

.msg-box strong {
  margin: 0;
  width: 100%;
  font-size: 1rem;
}

.msg-box-btn {
  margin: 0.5rem;
  color: gray;
  font-weight: bold;
  float: right;
  font-size: 1.75rem;
  line-height: 2rem;
  cursor: pointer;
  transition: 0.3s;
}

.msg-box-btn:hover {
  color: black;
}


/* 48em = 768px - dispositivos móveis */

@media (min-width: 48em) {

  .msg-area {
    max-width: 75rem;
  }

  .msg-box img {
    width: 3rem;
    height: 3rem;
  }

  .msg-box p {
    font-size: 1.2rem;
  }
  
  .msg-box strong {
    font-size: 1.2rem;
  }

}
