@font-face {
  font-family: "Harry Potter";
  src: url("../assets/fonts/HARRYP__.TTF");
}
h2, h3, h4 {
  color: #F2CD1E;
}

/** Header **/

.banner {
  height: 850px;
  text-align: right;
  background: url('../assets/images/banner-home.png') #121315 no-repeat;
  background-size: cover;
  position: relative;
}

.banner-gradient-mask {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 1.54%, rgba(0, 0, 0, 0) 1.55%, rgba(0, 0, 0, .8) 98.85%);
  position: absolute;
}

.banner h1 {
  font-family: "Harry Potter", fantasy;
  font-size: 6rem;
  font-weight: normal;
  color: #F2CD1E;
}

.banner .container {
  padding: 250px 0;
  position: relative;
}

.banner p {
  margin: 40px 0;
  color: white;
  line-height: 1.5rem;
  max-width: 40%;
  position: relative;
  left: calc(100% - 40%);
}

/** Section **/

.section {
  margin: 80px auto;
}

section .infos {
  vertical-align: top;
}

section h2 {
  margin: 0;
}

section .infos, section .section-image {
  width: 49%;
  display: inline-block;
}

section .title-divider {
  width: 130px;
  border-top: 6px solid #B4710C;
  margin: 40px 0;
}

section .infos p {
  line-height: 2rem;
}

section .section-image {
  text-align: right;
  position: relative;
}

section .section-image img {
  width: 500px;
  height: 600px;
  object-fit: cover;
}

section .image-frame {
  width: 500px;
  height: 600px;
  border: 3px solid #B4710C;
  position: absolute;
  right: 15px;
  bottom: 15px;
}

section .section-image .frame-detail {
  position: absolute;
  bottom: -5px;
  right: -55px;

  width: 150px;
  height: auto;
}

section#section-books {
  text-align: center;
}

section#section-books p {
  line-height: 2rem;
  margin: 40px auto;
  max-width: 60%;
}

section#section-houses p {
  line-height: 2rem;
  margin: 40px auto;
  max-width: 60%;
  text-align: center;
}

section#section-houses .infos {
  writing-mode: vertical-lr;
  width: 100%;
}

section#section-houses .title-divider-vertical {
  background-color: #B4710C;
  width: 8px;
  height: 150px;
  margin: 0 40px;
}

section#section-houses .houses {
  writing-mode: horizontal-tb;
  padding-top: 80px;
  width: 100%;

  overflow-x: auto;
  white-space: nowrap;
}

section#section-houses .houses .card {
  background-color: #1D1F21;
  border-radius: 15px;
  width: 460px;
  height: 460px;
  text-align: center;
  padding: 40px;
  position: relative;
  display: inline-block;
  margin-right: 40px;
  margin-bottom: 40px;
}

section#section-houses .houses .card p {
  margin: 35px 0;
  max-width: 100%;
  font-size: .875rem;

  white-space: normal;
}

section#section-houses .houses .card h3 {
  margin-top: 35px;
}

section#section-houses .houses .card img {
  width: 150px;
  position: absolute;
  top: -80px;
  display: block;
  left: calc(50% - 70px);
}

section#section-houses .houses .card button span {
  padding: 10px 100px;
  font-size: 1rem;
}

/** Card **/

.card .card-info {
  margin-top: 100px;
}

.card#grifinoria button {
  background-color: #901212;
}

.card#sonserina button {
  background-color: #066D22;
}

.card#corvinal button {
  background-color: #00A3FF;
}

.card#lufa-lufa button {
  background-color: #c79b00;
}

/** Table **/

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


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

table {
  background-color: #1D1F21;
  border-radius: 15px;
  box-shadow: 6px 8px 20px rgba(0, 0, 0, .25);
  padding: 50px;

  width: 100%;
}

td, th {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

th {
  font-family: Cinzel, serif;
  font-weight: normal;
  font-size: 1.125rem;
  color: #F2CD1E;
}

tr {
  font-size: .875rem;
}