.video {
    position: relative;
    width: 95%;
    display: none;
}

.video video {
    width: 100%;
}

video::-webkit-media-controls-fullscreen-button {
    display: none;
}

select[name="romanian_videos"]{
  width:100%;
  padding:9px 5px;
  border-radius: .25rem;
  background-color: white;
  border-color: rgba(0,0,0,.1);
  color: black !important;
  text-align-last:center;
  outline:none !important;
  -moz-appearance:none; /* Firefox */
  -webkit-appearance:none; /* Safari and Chrome */
  appearance:none;
  padding: .375rem .75rem;
  line-height: 2rem;;
}

#romanian-videos-holder{
  position: relative;
  margin-bottom:1rem;
}

#romanian-videos-holder::after{
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  position: absolute;
  top:50%;
  right:20px;
  border: 0;
  font-weight: 600;
  line-height: 1;
  vertical-align: 0;
  display: block;
  color: black;
  transform: translateY(-50%);
}

@media screen and (max-width:1000px){
  #romanian-videos-holder{
    margin-top:1rem;
  }
}


/*
video::-webkit-media-controls-play-button {}
video::-webkit-media-controls-play-button {}
video::-webkit-media-controls-timeline {}
video::-webkit-media-controls-current-time-display{}
video::-webkit-media-controls-time-remaining-display {}
video::-webkit-media-controls-time-remaining-display {}
video::-webkit-media-controls-mute-button {}
video::-webkit-media-controls-toggle-closed-captions-button {}
video::-webkit-media-controls-volume-slider {}
*/
.content {
    line-height: 1;
}

.active {
    display: block;
}

.video .questions,
.video .popup-text-container {
    display: flex;
    justify-content: center;
}

.question-title {
    padding: 0 1rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

.question {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media only screen and (min-width: 1000px) {
    .question {
        position: absolute;
        top: 20px;
    }
}

.question.active {
    display: flex;
}

.answers {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
}

.answer {
    border-radius: 10px;
    background-color: white;
    margin-block-end: 1.5rem;
    font-size: 16px;
    text-align: center;
    color: black;
    padding: 10px 20px;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.1);
}

.answer img {
    height: 1.5rem;
}

.answer.right-answer {
    background-color: var(--good-answer-color);
    color: white;
}

.answer.right-answer-border {
    border: 5px solid var(--good-answer-color);
    padding: 5px 15px;
}

.answer.wrong-answer {
    background-color: var(--wrong-answer-color);
    color: white;
}

.showing-right-answers .answer {
    cursor: default;
}

.hidden {
    display: none !important;
}

.card {
    border: none;
    -webkit-box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

.clickable {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.card-title {
    font-size: 1.6rem;
    border-bottom: none;
    margin: 0;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.card-title.card-subtitle {
    font-size: 1.3rem;
}

.card-item-title {
    /*font-size: 1.25rem;*/
    font-size: 14px;
    font-weight: 600;
}

.card > hr {
    display: none;
    margin: 0;
}

.card-items {
    margin-top: 10px;
    display: none;
    padding: 0.5rem 1rem;
}

a.video-change {
    color: #000;
    text-decoration: none;
}

a.video-change:hover {
    text-decoration: none;
}

/*
.card.opened > .card-title {
    border-bottom: 1px black solid;
}
*/
.card.opened > hr {
    display: block;
}

.card.opened > .card-items {
    display: block;
}

.card-item {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    line-height: 2rem;
}

.toc {
    margin-top: -79px;
    color: #000;
}

.your-points-container {
    display: flex;
}

.info {
    display: flex;
    justify-content: space-between;
}

.your-points-container > h5 {
    color: #5fc8c5;
    font-weight: bold;
}

.btn-new-game {
    width: 100%;
    line-height: 2rem;
}

.video-change.active {
    color: #36b39f;
}

.popup {
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 50%;
}

.video .popup-text-container {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: calc(100% - 31px);
    background: rgba(0, 0, 0, 0.65);
    align-items: center;
}

.popup-text {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

@media only screen and (min-width: 1000px) {
    .your-points-container {
        width: 50%;
        justify-content: flex-end;
    }

    .video .questions {
        position: absolute;
        top: 25px;
        left: 0;
        width: 100%;
        height: calc(100% - 31px);
        background: rgba(0, 0, 0, 0.65);
    }
}

@media only screen and (min-width: 1300px) {
    .your-points-container {
        width: 25%;
    }
}

@media only screen and (max-width: 1000px) {
    .video {
        width: 100%;
    }

    .toc {
        margin-top: 0;
    }

    .info {
        display: block;
    }

    .question-title {
        color: #000;
    }

    .video .questions {
        box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
        margin-bottom: 15px;
        border-radius: 0.25rem;
    }

    .video .popup-text-container {
        top: 55px;
        height: calc(100% - 60px);
    }

    .popup-text {
        font-size: 14px;
    }

    .popup {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        max-width: 80%;
    }
}
