body {
  font: 14px "Times New Roman";
}

.background {
  border: solid 1px black;
  border-radius: 2px;
  background: white;
  margin: 10px;
  box-shadow: 3px 1px 20px 4px black;
  padding: 20px;
  text-align: left;
}

.style {
  text-align: center;
  font-weight: bold;
}

.contentos {
  padding: 50px;
}

.u-top {
  margin-top: 20px;
}

.btn {
  margin-right: 1rem;
}

input.form-control {
  margin-right: 1rem;
}

.facts {
  width: 70%;
  margin-top: 1rem;
}

.sub-title {
  margin-top: 2.5rem;
}

.list-group-item {
  color: black;
}

@media only screen and (max-width: 500px) {
  .list-group-item .row {
    display: flex;
    flex-direction: column;
  }

  .col-8, .col-4 {
    max-width: 100%!important;
  }
}


.facts a {
  margin-bottom: 0.8rem;
}

.facts a:hover {
  color: rgb(10, 0, 0);
  text-decoration: none;
}

li:hover {
  box-shadow: 3px 6px 20px grey;
}

span {
  color: lightskyblue;
  font-weight: bold;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.title {
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.title1 {
  margin: 0;
  padding: 0;
}

.text {
  margin-bottom: 2rem;
}

.jumbotron-fluid {
  display: flex;
  flex-direction: column;
  background: lightskyblue;
  position: relative;
  justify-content: center;
  min-height: 100vh;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.jumbotron-fluid h1 {
  color: white;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.distance {
  margin-bottom: 50px;
  text-decoration: underline;
}

.style {
  color: lightskyblue;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
.color {
  color: rgb(235, 63, 5);
}

.title1 {
  text-transform: uppercase;
}

.title1:last-child {
  margin-bottom: 30px;
}

.row {
  padding: none;
  margin-right: 30px;
}

.center {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

#photo button {
  border-radius: 50%;
}

.alert {
  padding: 1rem 1.25rem;
  height: 60px;
}

.wordbreak {
  word-break: break-word;
}

.login {
  position: relative;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inputform {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media only screen and (max-width: 500px) {
  .inputform {
   width: 90%;
  }
}

.submit {
  width: 100%;
}

.login__link {
  position: absolute;
  float: right;
  right: 20px;
  top: 20px;
  cursor: pointer;
  z-index: 20000;
  background: transparent;
  border: none;
}

.login__link:focus {
  border: none;
  outline: none;
}

.date {
  color: grey
}

.right-col {
  text-align: right
}

.form-data {
  display: flex;
}

input, .btn-danger, .form-control, .button  {
  margin-bottom: 10px
}

.picture-link  {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.picture-link a  {
  margin-top: 20px;
  font-weight: bold;
}

.pagination {
  margin-top: 20px;
  margin-bottom: 50px;
  width: 100%;
}

.pagination a {
  border: 1px solid black;
  padding: 10px;
  background: white;
  color: black;
  margin-right: 5px;
  transition: transform 400ms ease-in-out 20ms;
}

.pagination a:hover, .pagination .active {
  border: 1px solid black;
  background: red;
  color: white;
  font-weight: bold;
  padding: 10px;
  box-shadow: 3px 4px 4px 0px black;
  transform: rotate(-25deg);
}

.u-max-width {
  width: 50%;
}

i.fa {
  color: black;
}

i.fa:focus {
  border: none;
  outline: none;
}

i.fa:hover {
  color: grey;
  transform: scale(1.2) rotate(10deg);
}

.selection .fa {
  padding-right: 10px;
}

.selection {
  margin-top: 20px;
}

.form-add {
  border: 1px solid grey;
  padding: 10px;
  display: flex;
  flex-direction: column;
  max-width: 500px;
  border-radius: 5px;
}

.form-add textarea {
  height: 200px;
}

.form-add button {
  margin-top: 20px;
  align-self: center;
}

.form-add input:focus, .form-add textarea:focus {
  box-shadow: 0px 5px 6px;
  border: none;
}

.form-add label {
  font-weight: 700;
}

.fact-link {
  position: absolute;
  right: 20px;
  top: 20px;
}

.container {
  position: relative;
}

.subtitle {
  font-size: 20px;
}


input[type=checkbox] {
  display: none;
}

input[type=checkbox]:checked~.remove-check {
  display: none;
}

input[type=checkbox]:checked~#add-fact {
  display: block;
  transform: scale(1);
  opacity: 1;
  transition: display 1s ease;
  animation: anim .3s ease-in-out;

}

#add-fact {
  display: none;
  transform: scale(0);
  opacity: 0;
  transition: transform .3s ease-in-out, opacity .3s ease-in-out;
}

@keyframes anim {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


.btn-font {
  margin-top: 20px;
  margin-left: 10px;
  cursor: pointer;
}

.alert {
  text-align: center;
}

.alert-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  font-size: 20px;
  font-weight: 700;
}

.alert-btn:focus {
  outline: none;
}

.reset {
  align-self: center;
  margin-top: 20px;
  display: none;
}

.no-result {
  border: 2px solid red;
  background: lightcoral;
  color: black;
  text-shadow: none;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

.js-search-form {
  margin-top: 20px;
}

.radio__container label {
  text-transform: uppercase;
  margin-left: 5px;
  margin-right: 15px;
}

.radio__container p {
  font-weight: 700;
}

.external-link__container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;

  h3 {
    width: 100%;
  }
}

.external_link {
  margin-right: 20px;
  text-decoration: none;
  color: black;

  i.fa {
    margin-left: 10px;
  }
}

.external_link:hover {
  margin-right: 20px;
  font-weight: 700;
  text-decoration: underline;
  color: goldenrod;

  i.fa {
    color: goldenrod;
  }
}

.u-bottom {
  margin-bottom: 30px;
}

.tags {
  padding: 10px 20px;
  background-color: red;
  color: white;
  border-radius: 25px;
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0px 2px 8px black;
  text-transform: uppercase;
}

.tags:hover {
  background-color: black;
  text-decoration: none;
  color: white;
}

.tag-container ul {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 0;
  padding-top: 20px;
  padding-bottom: 20px;
}

.tag-container li {
  list-style: none;
  margin-right: 10px;
}