html,
body {
  height: 100%;
  background-color: #ccd0d6;
  margin: 0;
}

.all-content-wrapper {
  min-height: 100%;
  position: relative;
  min-width: 300px;
}

.footer-wrapper {
  background-color: rgb(240, 235, 235);
}

@media all and (min-width: 650px) {
  .main-content-wrapper {
    padding-bottom: 140px;
    /* height of footer */
  }
}

@media all and (min-width: 480px) and (max-width: 650px) {
  .main-content-wrapper {
    padding-bottom: 130px;
    /* height of footer */
  }
}

@media all and (max-width: 480px) {
  .main-content-wrapper {
    padding-bottom: 150px;
    /* height of footer */
  }
}

/*  General text and elements styling ... */
.navbar,
p,
h1,
h2,
h3,
h4,
h5 {
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  color: black;
}

p,
h4,
h5 {
  font-weight: normal;
}

* {
  box-sizing: border-box;
}

@media all and (max-width: 700px) {
  h2 {
    font-size: 1.6em;
  }

  h3 {
    font-size: 1em;
  }

  h4 {
    font-size: 1em;
  }

  p {
    font-size: 0.8em;
  }
}

/* Navbar styling */
nav.navbar {
  width: 100%;
  min-height: 80px;
  z-index: 500;
  background-color: black;
}

.navbar-brand {
  width: 20%;
  min-width: 200px;
  height: 80px;
  line-height: 80px;
  padding-left: 20px;
  box-sizing: border-box;
  float: left;
}

.navbar-brand a {
  font-family: "Satisfy", cursive;
  font-size: 16px;
  text-decoration: none;
}

.navbar i {
  font-size: 20px;
}

.navbar-toggler {
  display: none;
}

.navbar-collapse {
  overflow: hidden;
}

@media all and (min-width: 1280px) {
  .navbar-collapse {
    overflow: hidden;
    width: 60%;
    height: 80px;
  }

  .navbar-collapse ul {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .navbar-collapse li {
    position: relative;
    display: block;
    float: left;
    margin-top: -20px;
  }

  .navbar-collapse li a {
    position: relative;
    display: block;
    padding: 30px 20px;
    line-height: 30px;
  }
}

@media screen and (max-width: 1280px) {
  nav.navbar {
    width: 100%;
    min-height: 80px;
  }

  .navbar-brand {
    width: 50%;
    height: 80px;
    line-height: 80px;
  }

  .navbar-collapse {
    width: 100%;
    display: none;
  }

  .navbar-toggler {
    float: right;
    cursor: pointer;
    margin-right: 20px;
    margin-top: 25px;
    padding-left: 10px;
    padding-right: 10px;
    height: 30px;
    font-size: 20px;
    border-radius: 5px;
    background-color: #353535;
    border: 1px solid rgb(110, 107, 107);
    color: rgb(110, 107, 107);
    display: block;
    outline: none;
  }

  .navbar-toggler:hover {
    color: white;
    background-color: #434343;
    transition: background-color 0.5s, color 1s;
  }

  .navbar-collapse li {
    display: none;
  }

  .navbar-collapse.responsive {
    position: relative;
    display: block;
  }

  .navbar-collapse.responsive li {
    float: none;
    position: relative;
    display: block;
    text-align: left;
    margin-right: 40px;
  }

  .navbar-collapse.responsive li a {
    position: relative;
    display: block;
    padding: 10px 10px;
  }
}

/* Footer styling */
.footer-wrapper {
  width: 100%;
  text-align: center;
  position: absolute;
  left: 0;
  bottom: 0;
}

.footer-links {
  width: 100%;
  min-width: 300px;
  display: block;
}

.footer-copyright {
  width: 100%;
  text-align: center;
  display: block;
}

@media all and (min-width: 650px) {
  .footer-wrapper {
    height: 130px;
  }

  .footer-links {
    height: 90px;
  }

  .footer-copyright {
    height: 40px;
    line-height: 40px;
  }

  .footer-links .footer-icon-box {
    display: inline-block;
    width: 100px;
    height: 100px;
    text-align: center;
  }

  .tooltiptext {
    width: 100px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    margin-top: 0;
  }

  .footer-links i.fa {
    font-size: 40px;
    margin-top: 5px;
    color: black;
  }
}

@media all and (max-width: 650px) {
  .footer-wrapper {
    height: 100px;
    width: 100%;
  }

  .footer-links {
    height: 70px;
    width: 250px;
    min-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-copyright {
    height: 30px;
    line-height: 30px;
  }

  .footer-links .footer-icon-box {
    width: 80px;
    height: 70px;
    text-align: center;
    float: left;
  }

  .footer-links .tooltiptext {
    width: 80px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    margin-top: 0;
  }

  .footer-links i.fa {
    font-size: 30px;
    margin-top: 5px;
    color: #4f4f4f;
  }
}

.footer-links .tooltiptext {
  visibility: hidden;
  background-color: black;
  color: white;
  text-align: center;
  border-radius: 6px;
  display: inline-block;
  position: relative;
  z-index: 1;
}

a:hover .tooltiptext {
  visibility: visible;
}

.footer-links a:hover {
  opacity: 0.7;
}

a,
a:hover,
a:active,
a:visited,
a:focus {
  text-decoration: none;
  color: black
}

.footer-links a:focus {
  border: none;
  outline: none;
}

.alert-warning,
.alert-success,
.alert-info {
  color: #525151;
  background-color: #c3d9e6;
  border-color: #c3d9e6;
}

.alert-dismissible {
  padding-right: 4rem;
}

.alert {
  position: relative;
}

@media all and (max-width: 400px) {
  .alert {
    margin: 0;
    padding: 3rem 1rem;
  }
}

@media all and (min-width: 400px) {
  .alert {
    margin: 0;
    padding: 3rem;
  }
}

.alert button {
  float: right;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  margin-top: -15px;
}

.alert button:hover {
  cursor: pointer;
  float: right;
}


.navbar-collapse li a {
  color: grey;
  font-size: normal;
}

.navbar-collapse li a:hover {
  color: white;
}

.navbar-brand,
.navbar-collapse li.active {
  background-color: black;
}


.navbar-brand a,
.navbar-collapse li.active a {
  color: white;
}
