/* Base styles */
* {
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
  font-size: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
  background-color: #f4f4f4;
}

h1 {
  font-weight: 700;
  margin-bottom: 20px;
}

h3 {
  font-weight: 700;
  margin-bottom: 20px;
}

p {
  margin-bottom: 0;
}

/* Layout styles */
main {
  margin-top: 4.5rem;
}

/* Media queries */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 14px;
  }
}

.container-fluid {
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.intro-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .intro-container {
    width: 60%;
  }
}

.card {
  width: 80%;
  background-color: #d4cfcf;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .card {
    width: 100%;
  }
}

.card-body {
  padding: 20px;
  flex-direction: column;
}

.button,
.button-link {
  display: inline-block;
  background-color: #1d6355;
  border-radius: 10px;
  border: 4px double #cccccc;
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  padding: 8px 8px;
  width: 110px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px 0px;
}

.button-inline {
  display: inline-block;
}

.button:hover,
.button-link:hover {
  background-color: #555;
}

/* Navbar styling */
.navbar {
  display: block;
  margin: 0 auto;
  align-self: stretch;
  padding: 10px 20px;
  background-color: #333;
  text-decoration: none;
}

.navbar a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  float: left;
  text-align: left;
}

.navbar-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.navbar-text {
  text-align: center;
  color: #fff;
}

/* Navbar media query */
@media (max-width: 958px) {
  .navbar {
    margin: 0;
  }

  .navbar a svg {
    font-size: 16px;
  }

  .navbar-container {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .navbar-text {
    display: none;
  }
}

/* Error images */
.img-error {
  display: block;
  margin: 0 auto;
  margin-top: 20px;
  width: 100%;
  height: auto;
  max-width: 500px;
}

p.lost {
  color: #000;
  font-size: 18px;
  margin-top: 10px;
  text-align: center;
}

.alert {
  z-index: 10;
  margin-bottom: -4em;
}

.messages {
  font-size: 14px;
  margin-bottom: 10px;
}

.error {
  font-size: 14px;
  margin-bottom: 10px;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.column {
  padding: 10px;
}

form {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

span.bold {
  font-weight: bold;
}

form .right {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 5px;
}

form .right p {
  align-items: center;
  margin-top: 5px;
}

form .right input {
  margin-top: 4px;
  margin-right: 10px;
  align-items: center;
}

.form-group label {
  font-weight: bold;
}

pre {
  background-color: #2d2d2d;
  color: #f8f8f2;
  padding: 20px;
  margin-top: 20px;
  overflow-x: auto;
  border-radius: 5px;
  font-family: 'Courier New', Courier, monospace;
}
