html {
    position: relative;
    min-height: 100%;
    box-sizing: border-box;
    /* margin-left: calc(100vw - 100%); */
    /* margin-right: 0; */
}

body {
    margin: auto;
    text-align: center;
    color: white;
    font-size: 12px;
    font-family: got;
    margin-bottom: 50px; /* Margin bottom for sticky footer */
    margin-right: 0px;
    margin-left: 0px;
    word-spacing: 4px;
}

html ::-webkit-scrollbar {
  display: none;
}

#navbarContainer {
    margin: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.navbar{
    background:rgba(0,0,0,0.3) !important;
}

.navbar-toggler {
    background:white !important;
    color: black;
}

#modalTranslation {
  margin: 20px;
  font-size: 16px;
}

#searchInput {
    background:rgba(0,0,0,0.3) !important;
    color: white;
}

#translateInput {
    width: 100%;
    font-size: 16px;
    background-color: rgb(236, 239, 244);
    word-spacing: 4px;
}

.form-inline {
    margin: 10px;
    border-radius: 10px;
    justify-content: center;

}

.modal-content {
    background: rgba(0, 0, 0, 0.8);
    border: none;
}

.jumbotron {
    background: none;
    color: yellow;
    padding: 10px;
}

.modal {
    position: absolute;
    top: 35%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10040;
    overflow: auto;
    overflow-y: auto;
}

#mainContainer {
    margin: 0px;
    padding: 0px;
}

#navbarTitle {
  font-size: 20px;
  color: yellow;
}

.characterImage {
	height: 150px;
	width: 150px;
	border-radius: 10px;
}

#houseResponse {
  font-size: 32px;
  background-image: url("https://www.hbo.com/content/dam/hbodata/series/game-of-thrones/episodes/6/game-of-thrones-6-3000x1688.jpg/_jcr_content/renditions/cq5dam.web.1200.675.jpeg");
  background-size: cover;
  border-radius: 10px;
  padding: 4px;
}

.houseModalImage {
  height: 350px;
	width: 225px;
}

.housesImage {
	height: 250px;
	width: 175px;
  border-radius: 10px;
  margin: 10px;
}

.character {
    display: inline-block;
    color: white;
    margin: 10px;
    position: relative;
    font-size: 12px;
}

.house {
  display: inline-block;
  margin: 3px;
  position: relative;
}

.characterName {

}

#quote {
    margin: 20px;
    padding: 10px;
    border-radius: 10px;
}

#quoteTable {
  display: none;
  height: 500px;
  width: 1000px;
  overflow-y: auto;
}

#quoteTable ::-webkit-scrollbar {
  display: block;
}

#qTable{
    font-size: 12px;
    background:  rgba(53, 50, 44, 0.7);
    margin: 0;
}

#housesDiv :hover {
  opacity: 0.7;
}

#charactersDiv :hover {
  opacity: 0.7;
}

.columnHead {
    color: yellow;
    padding-left: 8px;
    margin-top: 5px;
}
.columnHeadHouse {
    color: yellow;
    margin-top: 10px;
    font-size: 16px;
}

.columnData {
    padding-left: 8px;
}

.columnDataHouse {
  font-size: 20px;
  margin-top: 10px;
}

.columnHeadHouse {
  font-size: 20px;
  margin-top: 25px;
}


.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px; /* Fixed height of the sticky footer */
    line-height: 50px; /* Vertically center footer text */
    background:rgba(0,0,0,0.5);
    color: rgb(197, 191, 178);
}

/* css rules for the quote table */
.tableContent {
  background: rgba(73, 106, 145, 0.8);
  margin: 5px 0 5px 0;
  padding: 10px;
  border-radius: 10px;
}

/* css rules for main character modal */
#characterModalGrid {
    text-align: left;
}

#characterModalImage {
  border-radius: 10px;
}

#characterName {
  font-size: 16px;
  justify-content: center;
  background-color: grey;
  width: 250px;
  border-radius: 10px;
  padding: 4px;
}

#modal-container {
    position: fixed;
    display: table;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: scale(0);
    z-index: 1;
}

  #modal-container.one {
    transform: scaleY(0.01) scaleX(0);
    animation: unfoldIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  }
  #modal-container.one .modal-background .modal2 {
    transform: scale(0);
    animation: zoomIn 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  }
  #modal-container.one.out {
    transform: scale(1);
    animation: unfoldOut 1s 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  }
  #modal-container.one.out .modal-background .modal2 {
    animation: zoomOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  }

  #modal-container .modal-background {
    display: table-cell;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    vertical-align: middle;
  }
  #modal-container .modal-background .modal2 {
    background: rgba(73, 106, 145, 0.8);
    width: 60%;
    padding: 50px;
    display: inline-block;
    border-radius: 10px;
    font-weight: 300;
    position: relative;
  }
  #modal-container .modal-background .modal2 h2 {
    font-size: 25px;
    line-height: 25px;
    margin-bottom: 15px;
  }
  #modal-container .modal-background .modal2 p {
    font-size: 18px;
    line-height: 22px;
  }
  #modal-container .modal-background .modal2 .modal-svg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 5px;
  }
  #modal-container .modal-background .modal2 .modal-svg rect {
    stroke: #fff;
    stroke-width: 2px;
    stroke-dasharray: 778;
    stroke-dashoffset: 778;
  }

  @keyframes unfoldIn {
    0% {
      transform: scaleY(0.005) scaleX(0);
    }
    50% {
      transform: scaleY(0.005) scaleX(1);
    }
    100% {
      transform: scaleY(1) scaleX(1);
    }
  }
  @keyframes unfoldOut {
    0% {
      transform: scaleY(1) scaleX(1);
    }
    50% {
      transform: scaleY(0.005) scaleX(1);
    }
    100% {
      transform: scaleY(0.005) scaleX(0);
    }
  }
  @keyframes zoomIn {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes zoomOut {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }


/* Game of Thrones font file */
@font-face {
    font-family: "got";
    src: url(fonts/got.ttf);
}