/* .bg-container {
	background-image:url("../img/HG.png");
} */

#main-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  background-image: url("../img/MG-p-1600.png");
  background-position: center;
  background-size: contain;
}

#questions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 30px;
}

#header h1 {
  text-align: center;
  font-weight: 500;
  font-family: "Montserrat", san-serif;
  color: #3d5161;
  margin: 50px 0px;
  line-height: 3rem;
}
h1{
    font-size: 3rem;
    line-height: 1;
}

@media screen and (max-width: 768px) {
  #header h1 {
    font-size: 1.9rem;
    line-height: 1.9rem;
  }
  h1{
    font-size: 1.9rem;
    line-height: .8;
}
#questions {
margin-top: 10px;
}
}

#resultFail {
  color: #3d5161;
  display: flex;
  flex-direction: column;
  margin: 0 50px;
}

.logo{
  margin-top: 2em;
}

@media screen and (max-width: 425px) {
  #resultFail {
    margin: 0 20px;
  }
  .logo{
    margin-top: .5em;
  }
}

#resultFail h3 {
  text-align: center;
  font-weight: 500;
  font-family: "Montserrat", san-serif;
  font-size: 1.8rem;
  line-height: 1.8rem;
  margin-bottom: 30px;
  color: #3d5161;
}

#resultFail p {
  /* font-family: "Montserrat", san-serif; */
  font-size: 1rem;
  line-height: 1.4rem;
}
.row {
  --bs-gutter-x: -3.5rem!important;
}

#resultFail a {
  color: #eaad4b;
  font-weight: 600;
}

#header .logo {
  display: flex;
  align-self: center;
  width: 100px;
  min-width: 100px;
}

#header .heading-text {
  display: flex;
  align-self: center;
  flex-shrink: 3;
  padding: 0 15px;
  font-size: 3.5rem;
}

@media screen and (max-width: 768px) {
  #header .heading-text {
    font-size: 1.9rem;
    line-height: 1.9rem;
    padding-top: 0.5rem;
  }
  #header .logo {
	width: 80px;
	min-width: 80px;
	margin-bottom:20px;
  }
}

#header .socials {
  display: flex;
  align-self: center;
  align-items: center;
  background-color: #e74768;
  height: 32px;
  color: white;
  font-size: 1.3rem;
  position: relative;
}

@media screen and (max-width: 490px) {
  #header .socials {
    display: none;
  }
}

#header .socials::before {
  position: absolute;
  content: "";
  left: -10px;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;

  border-right: 10px solid #e74768;
}
#header .socials i {
  margin: 5px 10px;
}

#header .socials a {
  color: #ffffff;
}

#header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-left: 30px;
}
@media screen and (max-width: 490px) {
  #header {
    margin-top: 5px;
  }
}

#footer {
  background-color: #3d5161;
  min-height: 134px;
  color: white;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 15px;
}

#questions input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

#questions label {
  display: inline-block;
  background-color: transparent;

  font-family: sans-serif, Arial;
  font-size: 16px;
  cursor: pointer !important;
  margin: 30px;
}

#questions label img {
  cursor: pointer;
  max-height: 550px;
  transition: transform 0.3s ease-out;
}

#questions label img:hover {
  transform: scale(1.03);
}

#question1Container,
#question2Container,
#question3Container,
#question4Container {
  display: block;
  justify-content: center;
  position: relative;
  flex-direction: row;
}

@media screen and (max-width: 768px) {
  #question1Container,
  #question2Container,
  #question3Container,
  #question4Container {
    flex-direction: column;
  }
  #questions label {

    margin: 10px;
  }
}

#question1Container {
  display: block;
}
#question2Container,
#question3Container,
#question4Container,
#resultPass,
#resultFail {
  display: none;
}

.hide {
  display: none !important;
}
.show {
  display: block !important;
}

.question-overlay {
  z-index: 10;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
}
@media screen and (max-width: 768px) {
  .question-overlay {
    transform: translate(-50%, -50%) scale(0.6);
  }
}

@media screen and (max-width: 425px) {
  .question-overlay {
    transform: translate(-50%, -50%) scale(0.8);
  }
}

.footer-nav {
  display: flex;
  flex-direction: row;
  justify-content: start;
}

.footer-nav div {
	margin: 10px;
	color: #ffffff;
  }

.footer-nav a {
	text-decoration: none;
}

.footer-copyright {
  color: white;
  margin: 10px;
}

.footer-inner {
  display: flex;
  flex-direction: row;
  font-size: 0.8rem;
  justify-content: space-between;
  width: 100%;
  max-width: calc(100vw - 200px);
}

.socials-mob {
  display: none;
}

.socials-pass {
  display: flex;
  justify-content: center;
  font-size: 1.3rem;
  color: #4e1c48;
  margin-top: 10px;
}

.socials-pass i {
  margin: 0px 10px;
}

.socials-pass a {
  color: #4e1c48;
}

@media screen and (max-width: 768px) {
  #footer {
    justify-content: start;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: start;
    max-width: calc(100% - 20px);
  }
}

@media screen and (max-width: 490px) {
  .socials-mob {
    display: flex;
    justify-content: center;
    font-size: 1.3rem;
    color: #4e1c48;
    margin-top: 10px;
  }

  .socials-mob i {
    margin: 0px 5px;
  }

  .socials-mob a {
    color: #4e1c48;
  }
}
