/*
 Theme Name:   Studiemotivatie2023
 Theme URI:    https://www.studiemotivatie.nl/
 Description:  Another Astra Child Theme
 Author:       Ton van der Valk
 Author URI:   https://www.studiemotivatie.nl/
 Template:     astra
 Version:      1.0.0
 Tags:         plaats, hier, jouw, tags, gescheiden, door, kommas
 Text Domain:  studiemotivatie2023
*/


/* links */
a {
    color: unset;
}

/* navigatiebalk */
.ast-primary-header-bar {
    background-color: #d4edf4;
}

h1.entry-title {
    margin-top: 1rem;
    margin-bottom: 0;
}

/* h2 marge onder plaatje */
.entry-content h2 {
    font-size: 25px;
    padding-top: 1rem;
}

/* Titel midden op pagina */
header.entry-header .entry-title {
    text-align: center;
    font-size: 3em;
}

.ast-footer-copyright {
    margin-bottom: 3em;
}

/* Padding op mobiel */
.entry-content > .wp-block-group, 
.entry-content > .wp-block-cover, 
.entry-content > .wp-block-columns {
    padding: 1.8em;
}

/* geen links onder plaatje */
.ast-single-post .entry-content h2 a {
    text-decoration: auto;
}

@media (max-width: 921px) {
    /* geen extra padding aan zijkanten op mobiel */
    .ast-container, .ast-container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    :where(body .is-layout-flex) {
        gap: 5px;
    }

    /* Padding op mobiel */
    .entry-content > .wp-block-group, 
    .entry-content > .wp-block-cover, 
    .entry-content > .wp-block-columns {
        padding: 0 0 1.8em 0;
    }

}

@media (min-width: 1200px) {
    /* titel naar boven op groot scherm */
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 30px;
        margin-bottom: 30px;
    }

}

/* Math-game */


.our-form {
    display: flex;
    justify-content: center;
  }
  
  .status {
    text-align: center;
    font-size: .85rem;
  }
  
  .progress {
    border: 1px solid #c7c7c7;
    border-right: none;
    position: relative;
  }
  
  .progress-inner {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background-color: #7ecc00; 
    opacity: .57;
    transform: scaleX(0);
    transform-origin: center left;
    transition: transform .4s ease-out;
  }

  .boxes {
    display: flex;
    width: 100%;
  }
  
  .box {
    height: 40px;
    border-right: 1px solid #c7c7c7;
    flex: 1;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, .82);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all .33s ease-out;
    transform: scale(1.2);
  }
  
  .overlay-inner {
    text-align: center;
    max-width: 700px;
  }
  
  body.overlay-is-open .overlay,
  .overlay--visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }
  
  body.overlay-is-open .main-ui,
  .blurred {
    filter: blur(4px);
  }
  
  @keyframes showError {
    50% {
      color: red;
      transform: scale(1.2);
    }
  
    100% {
      color: #333;
      transform: scale(1);
    }
  }
  
  .animate-wrong {
    animation: .45s showError;
  }
  
  .problem {
    font-size: 5rem;
    margin: 0;
    text-align: center;
  }
  
  .end-message {
    font-size: 1.5rem;
    margin-top: 0;
  }
  
  .reset-button {
    font-size: 1.2rem;
    background-color: #004094;
    border: none;
    color: #FFF;
    border-radius: 7px;
    padding: 12px 20px;
    display: inline-block;
    outline: none;
    cursor: pointer;
  }
  
  .reset-button:hover {
    background-color: #00367e;
  }
  
  .reset-button:focus {
    background-color: #00275a;
  }
