html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
html {
  position: relative;
  min-height: 100%;
}
body {
  color: var(--brandSecColor);
  line-height: 1.4em;
  font-size: var(--fontSize);
  font-family: var(--fontFamily);
  font-weight: 300;
  margin-bottom: 60px;
  background-color: var(--backgroundColor);
}
/* Meta branding */

:root {
  --fontFamily: 'Fira', sans-serif;
  --brandColor: #000064;
  --brandSecColor: #000064;
  --blackColor: #2f312f;
  --backgroundColor: #000064;
  --greyColor: #5e6064;
  --lightGrey: #cecece;
  --btnColor: #FF005A;
  --footColor: #050A36;
  --transition: 0.5s;
  --fontSize: 18px;
}

p, label {
  font-weight: 400;
}
.container {
  max-width: 1200px;
  position: relative;
  margin: 0 auto;
}
main {}
.max-900 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.max-600 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.card {}
.card-body {
  border-radius: 10px;
  padding: 60px;
  background: #fff;
}
.card-body form {
  padding-top: 20px;
}
.card-body h2 {
  padding-bottom: 20px;
}
.card-body div {
  margin-bottom: 15px;
}
.card-body label {
  margin-right: 20px;
  min-width: 80px;
  text-align: left;
}
.card-body input {
  border-radius: 5px;
  border: none;
  background-color: #efefef;
  padding: 10px;
  min-width: 50%;
}
@media (max-width: 820px) {
  .card-body {
    padding: 30px;
  }
  .card-body form {
    padding: 20px 0;
  }
  .card-body label {
    margin: 20px 0;
    text-align: left;
  }
  .card-body input {
    border-radius: 5px;
    border: none;
    background-color: #efefef;
    padding: 10px;
    min-width: 100%;
  }
  .card-body .next-button {
    margin: 20px 0 0;
    width: 100%;
    float: none;
  }
  .card-body h2 {
    padding-bottom: 0px;
  }

}

.login-button {
  margin-top: 40px;
}

/* --- image grid --- */

.image-question {
  margin: 30px 0!important;
  height: 100%;
  position: relative;
  background: #fff;
  padding: 10px;
  border-radius: 30px;
  margin: auto 0;
}
form .image-question {
  margin: auto 0;
}

.image-question h3 {
  padding: 20px 0 20px;
  text-align: center;
}
@media (max-width: 1200px) {
  .grid-item {
    min-width: 25%;
  }
}

/* new image select */

.image-question img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  -moz-border-radius: 16px;
  -webkit-border-radius: 16px;
  margin-bottom: 20px;
}
.image-question input[type="radio"] {
  display: none;
}
.image-select {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  cursor: pointer;
  padding: 0 2rem;
  font-size: 1.2rem;
  border-radius: 0.5rem;
  min-height: 450px;
  margin-bottom: 20px;
}
label.radio-label {
  max-width: 330px;
  margin: auto 20px;
  cursor: pointer;
  padding: 15px;
  font-size: 1.2rem;
  border-radius: 20px;
  text-align: center;
  min-height: 450px;
}


label.radio-label span {
  margin-top: 30px;
}
input[type=radio]:hover+label {
  background-color: #e5e5e5;
  color: black;
}
input[type=radio]:checked+label {
  /* background-color: #96c1d5; */
  color: black;
}
/* --- buttons --- */

button {
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 1px;
  background-color: transparent;
  border: 2px solid var(--blackColor);
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 5px;
}
button:hover {
  color: #fff;
  background-color: var(--blackColor);
  border: 2px solid var(--blackColor);
}
.page-button {
  width: auto;
  max-width: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 1px;
  color: #fff;
  background-color: var(--btnColor);
  border: 2px solid var(--btnColor)!important;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 5px;
}
.page-button:hover {
  border: 2px solid var(--blackColor)!important;
}
.page-button:disabled {
  opacity: 0.5;
}
.next-button {
  visibility: hidden;
}
.float-right {
  float: right;
}
.btn-center {
  text-align: center;
  margin-bottom: 50px;
}
.back-button {
  width: auto;
  max-width: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 1px;
  color: var(--btnColor);
  background: transparent;
  border: 2px solid var(--btnColor)!important;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 5px;
}
.back-button:hover {
  border: 2px solid var(--backgroundColor)!important;
  background-color: var(--backgroundColor);
}

/* -- timer -- */

.timer-wrap {
  position: relative;
  text-align: center;
  margin: auto 0;
  margin-top: -60px;
}
.timer-wrap .timer {
  display: flex;
  width: 80px;
  height: 80px;
  background: #6c757d;
  color: white;
  margin: 0 auto -15px;
  padding: 10px 0px;
  font-size: 13px;
  border-radius: 50% 50%;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
}
.timer-wrap .timer span {
  position: absolute;
  font-size: 24px;
  line-height: 40px;
  font-weight: 500;
  margin: 0;
  top: 25%;
  justify-content: center;
}
.timer-wrap h4.title {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0px;
  margin-top: 30px;
}
@media (max-width: 767px) {
  .timer-wrap {
    margin-top: 0px; 
  }
}
/* --- header --- */

.navbar-dark {
  background-color: var(--blackColor)!important;
  min-height: 60px;
}
.navbar-light {
  background: #fff;
}
.navbar-expand-sm .navbar-nav {
  flex-direction: row-reverse;
  align-items: end;
}
.navbar-dark .navbar-nav .nav-link {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-right: 30px;
}
.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
  color: #9ba5ae!important;
}
.navbar-brand {
  font-size: 24px;
  font-weight: 400;
  margin-right: 40px;
}
/* --- footer --- */

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: var(--footColor);
}
footer .container {
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
}
footer .container a {
  color: #fff;
}


@media screen and (min-width: 767px) {
  
  form .btn-right {
    margin-top: 30px;
    padding-right: 0%;
  }
  
  form .btn-left {
    margin-top: 30px;
    padding-left: 0%;
  }

  .card.p-5, .like_question.p-5 {
    padding: 5px !important;
  }
}