* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'bebas neue';
    src: url('/fonts/BebasNeue-Regular.ttf') format('woff');
}

body{
    background-image: url('/img/baggrund-medstreger.webp');
}

h2{
    font-family: 'bebas neue';
    color: #C62D26;
    font-size: 8rem;
    padding-bottom: 2rem;
    text-align: center;
    padding-top: 6rem;
}

.quiz-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;
    text-align: center;
}

.svarmuligheder{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    width: 100%;
}

.svarmulighed{
    padding: 2rem;
    color: white;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    border-radius: 4px;
    font-family: 'bebas neue';
    
}

.svarmulighed:hover{
    transform: scale(1.05);
}

.knappe-a{
    background-color: #DA5552;
    
}

.knappe-b{
    background-color: #DE85A3;
}

.knappe-c{
    background-color: #E46087;
}

.knappe-d{
    background-color: #DF7373;
}
  
.svar {
    display: flex;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: #f4b18c;
    color: white;
    font-family: 'bebas neue', sans-serif;
    font-size: 1.4rem;
    text-align: center;
    padding: 2rem;
    border: none;
    line-height: 1.4;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 5;
  }

.svar-tekst{
  font-family: 'bebas neue', sans-serif;
  font-size: 2rem;
  color: white;
  text-align: center;
  z-index: 2; /* sørger for at tekst er øverst */
  padding: 2rem;
}

.svar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  background-color: #de8e86; /* areola */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.svar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  background-color: #c86c6c; /* nipple */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4); /* fade baggrund */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 100;
  }
  
.overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

a{
    color: white;
    text-decoration: none;
}

.afslutknap {
    position: absolute;
    width: 142px;
    height: 135px;
    bottom: 0;
    right: 0;
}

#resultat-overlay {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#resultat {
    margin: 0 !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
}
