
/* General */

body {
  background-image: url(../assets/images/projects-background.jpg);
}

/* Heading */

#heading .lock {
  margin: 60px auto;
}

#heading .lock > div {
  display: flex;
  align-items: center;
  justify-content: center;
}

#heading h2 {
  flex: 1;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  line-height: 1em;
  font-family: 'Cinzel', sans-serif;
  font-weight: 400;
  font-size: 48px;
  color: #777;
}

#heading h2 :first-child {
  line-height: 0.9em;
  font-size: 50px;
}

@media (min-width: 555px) {

  #heading h2 :first-child {
    font-size: 9vw;
  }

}

@media (min-width: 860px) {

  #heading h2 :first-child {
    font-size: 78px;
  }

}

#heading p {
  text-align: center;
}

/* Main */

.lock {
  overflow: initial;
}

/* Matches */

.match:last-child {
  margin-bottom: 60px;
}

.match .number {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 60px;
}

.match .number::before,
.match .number::after {
  position: absolute;
  top: 50%;
  width: calc(50% - 50px);
  height: 1px;
  content: '';
  background-color: #999;
  transform: translateY(-50%);
}

.match .number::before {
  left: 0;
}

.match .number::after {
  right: 0;
}

.match .number div {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 27px;
  color: #fff;
  background-color: #0020a6;
  border-radius: 50%;
}

.match form {
  display: flex;
  flex-direction: column;
}

@media (min-width: 700px) {

  .match form {
    flex-direction: row;
  }

}

.match h3 {
  flex: 1;
  font-size: 48px;
  color: #555;
}

@media (min-width: 700px) {

  .match h3 {
    padding-right: 30px;
  }

}

.match h3 .small {
  font-size: 18px;
}

.match form > div:not([hidden]) {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 700px) {

  .match form > div:not([hidden]) {
    padding-left: 30px;
  }

}

.match select {
  flex: 1;
  padding: 15px 20px;
  color: #fff;
  background-color: #188500;
  border: 2px solid #aaa;
}

.match form .incorrect select {
  background-color: #a00;
}

.match select:focus,
.match select:hover {
  background-color: #6565ee;
  border-color: #6565ee;
}

.match form .answer {
  flex-direction: column;
  font-size: 22px;
  font-weight: 600;
  color: #188500;
}

.match form .answer::before,
.match form .incorrect::after {
  width: 50px;
  height: 50px;
  content: '';
  background-size: cover;
}

.match form .answer::before {
  margin-bottom: 10px;
  background-image: url(../../../shared/assets/icons/circle-check-green.svg);
}

.match form .incorrect::after {
  margin-left: 10px;
  background-image: url(../../../shared/assets/icons/circle-x-red.svg);
}

