/**
 * index.scss
 * - Add any styles you want here!
 */

body {
  background-image: url("bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}

.lesson-container {
  margin-top: 50px;
  margin-bottom: 50px;
  background: rgba(0, 41, 66, 0.6);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 5px;
  padding: 20px 50px 40px 50px;
}

h1 {
  font-family: "Montserrat";
  font-weight: bold;
}

.principle-btn {
  border-radius: 5px;
  background: #cccccc;
  padding: 10px 20px;
  margin: 10px 10px 10px 0px;
  font-size: 14pt;
  text-align: center;
  color: #003263;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
  width: 100%;
}

a {
  text-decoration: none !important;
  color: white;
}

.principle-btn:hover {
  background: #fdb641;
  color: white;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
  margin-top: 10px;
}

.image:hover {
  cursor: pointer;
  box-shadow: -2px 0px 5px #fdb641, 0px 2px 5px #fdb641, 2px 0px 5px #fdb641, 0px -2px 5px #fdb641;
}

.middle {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.img-container:hover .image {
  opacity: 0.3;
}

.img-container:hover .middle {
  opacity: 1;
}

.img-text {
  background-color: #fdb641;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

#description>div {
  font-size: 20px;
  border-radius: 5px;
  text-align: center;
  background-color: #0064a0;
  padding: 10px;
  margin: 20px 0px 0px 0px;
}

#result>span {
  font-weight: bold;
  position: absolute;
  margin-top: 15px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding-top: 5px;
  background-color: #003263;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 30px;
}

footer img {
  max-width: 350px;
}