body {
  font-size: calc(15px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
  background: #eee;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
header {
  height: 150px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

header::before {
  content: " ";
  background: url("../img/joanna-kosinska-footer-min.jpg") top no-repeat;
  width: 100%;
  height: 150px;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
}
.title {
  /* margin-left: 5px; */
  position: relative;
  -webkit-perspective: 400;
  perspective: 400;
  padding-left: 15px;
  font-family: "Special Elite", cursive;
  font-size: 110%;
  text-transform: uppercase;
  color: black;
}

a {
  text-decoration: none;
}
a:visited {
  color: blue;
}

.title:before {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 6px;
  background: #ff1212;
  top: 0;
  left: 0;
  opacity: 0;
  -webkit-transform: translateX(-150px);
  -ms-transform: translateX(-150px);
  transform: translateX(-150px);
  -webkit-animation: title-border-slide-in 0.35s ease-out forwards;
  animation: title-border-slide-in 0.35s ease-out forwards;
}
.title .title-word {
  opacity: 0;
  -webkit-transform-origin: bottom center;
  -ms-transform-origin: bottom center;
  transform-origin: bottom center;
  -webkit-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
}
.title .title-word:nth-child(1) {
  -webkit-animation: roll-in 0.15s 0.575s ease-out forwards;
  animation: roll-in 0.15s 0.575s ease-out forwards;
}
.title .title-word:nth-child(2) {
  -webkit-animation: roll-in 0.15s 0.775s ease-out forwards;
  animation: roll-in 0.15s 0.775s ease-out forwards;
}
.title .title-word:nth-child(3) {
  -webkit-animation: roll-in 0.15s 1s ease-out forwards;
  animation: roll-in 0.15s 1s ease-out forwards;
}
.title .title-word:nth-child(4) {
  -webkit-animation: roll-in 0.15s 1.125s ease-out forwards;
  animation: roll-in 0.15s 1.125s ease-out forwards;
}
@-webkit-keyframes title-border-slide-in {
  0% {
    -webkit-transform: translateX(-150px);
    transform: translateX(-150px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes title-border-slide-in {
  0% {
    -webkit-transform: translateX(-150px);
    transform: translateX(-150px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
@-webkit-keyframes roll-in {
  0% {
    -webkit-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    opacity: 1;
  }
}
@keyframes roll-in {
  0% {
    -webkit-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    opacity: 1;
  }
}

/* table section */
section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: justify;
}

.list-container h1,
.list-container h2,
.list-container p,
.list-container table {
  width: 75%;
}
table a {
  text-decoration: underline;
  color: #fff;
}
table a:visited {
  color: #fff;
}
@import "https://fonts.googleapis.com/css?family=Montserrat:300, 400, 700";
.rwd-table {
  margin: 1em 0;
  /* min-width: 300px; */
}
.rwd-table tr {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.rwd-table th {
  display: none;
}
.rwd-table td {
  display: block;
}
.rwd-table td:first-child {
  padding-top: 0.5em;
}
.rwd-table td:last-child {
  white-space:nowrap;
}
.rwd-table td:before {
  content: attr(data-th) ": ";
  font-weight: bold;
  /* width: 7em; */
  display: inline-block;
}
.table {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-size: 90%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: Montserrat, sans-serif;
  color: #444;
}

h1 {
  margin: 0;

  /* margin-left: 3%; */
  /* align-self: flex-start; */
  text-align: left;
  padding-top: 20px;
  font-weight: normal;
  letter-spacing: -1px;
  color: #34495e;
}

h2 {
  margin: 0;

  /* margin-left: 3%; */
  /* align-self: flex-start; */
  text-align: left;
  padding-top: 20px;
  font-weight: normal;
  font-size: 130%;
  letter-spacing: -1px;
  color: #444;
}

.rwd-table {
  /* width: 75%; */

  background: #34495e;
  color: #fff;
  border-radius: 0.4em;
  overflow: hidden;
}
.rwd-table tr {
  border-color: #46637f;
}
.rwd-table th,
.rwd-table td {
  margin: 0.5em 1em;
}

.rwd-table th,
.rwd-table td:before {
  color: #dd5;
}

@media (min-width: 650px) {
  .rwd-table {
    padding: 10px 0;
    font-size: 80%;
	padding-right: 1em;
  }
  .rwd-table td:before {
    display: none;
  }
  .rwd-table td {
    /* font-size: 80%; */
  }

  .rwd-table th,
  .rwd-table td {
    text-align: left;
    display: table-cell;
    padding-top: 0.5em;
    padding-left: 1em;
  }

  .rwd-table th:first-child,
  .rwd-table td:first-child {
    width: 8%;
    white-space: nowrap;
  }
  .rwd-table th:nth-child(5)
  {
    width:10px; 
  }
}
/* list */
ul {
  /* margin: 2em 0 1em 0.5em; */
  /* position: relative; */
}
li {
  list-style: none;

  position: relative;
}
li:before {
  content: "\25CF";
  position: absolute;
  left: -1em;
  /* color: #ff1212; */
  font-size: 100%;
}

.list-container {
  font-size: 80%;

  font-family: Montserrat, sans-serif;
  color: #444;
  background: #eee;
}

.list-bullet-point {
  width: 75%;
}
@media (max-width: 450px) {
  .list-container h1,
  .list-container h2,
  .list-container p,
  .list-container table {
    width: 92%;
  }
  .list-bullet-point {
    width: 92%;
  }
}

/* scroll bottom to top */

.scroll-to-top {
  width: 50px;
  height: 50px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  position: fixed;
  bottom: 150px;
  right: 20px;
  display: none;
  z-index: 2000;
  background-color: #44b2fe;
  transition: -webkit-transform 0.3s;
  -webkit-transition: -webkit-transform 0.3s;
  -o-transition: transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  overflow: hidden;
}
.scroll-to-top:before,
.scroll-to-top:after {
  content: "";
  position: absolute;
  display: block;
  top: 15px;
  background-color: #fff;
  height: 20px;
  width: 5px;
}
.scroll-to-top:before {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  left: 28px;
  -webkit-box-shadow: -8px 14px 0px 8px #1ba1fe;
  box-shadow: -8px 14px 0px 8px #1ba1fe;
}
.scroll-to-top:after {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  right: 28px;
}
.scroll-to-top:focus {
  outline: none;
}

.fa-chevron-circle-up {
  position: fixed;
  bottom: 150px;
  right: 20px;
  cursor: pointer;
  font-size: 230%;
  z-index: 999;
  color: #f06060;
  opacity: 0.6;
  -webkit-transition: opacity 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out;
}

/* Footer */
footer {
  font-family: "Special Elite", cursive;
  font-size: 60%;
  background-image: url("../img/joanna-kosinska-footer-min.jpg");
  background-size: cover;
  padding: 1% 1%;
  height: 120%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.address-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.address-title i {
  margin: 0;
  color: black;
  font-size: 120%;
}
.fa-map-marked:before {
  content: "\f59f";
  margin-right: 11px;
}
.fa-envelope:before {
  content: "\f0e0";
  margin-right: 11px;
}
.fa-globe:before {
  content: "\f0ac";
  margin-right: 11px;
}
.address-title a {
  color: black;
}

@media (hover: hover) {
  .fa-chevron-circle-up:hover {
    opacity: 1;
  }
}
