
@import url("https://fonts.googleapis.com/css2?family=Oswald&family=Roboto&family=Shantell+Sans:wght@300&display=swap");
:root {
    --primary: #f7f43c;
}

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

html {
font-family: "Shantell Sans", cursive;
}
.background {
    background-image: url(background.png);
    height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    display: grid;
    place-items: center;
}

.box {
      background: rgba(14, 8, 8, 0.68);
      border-width: 0px 2px 1px 0px;
      border-style: solid;
      border-color: #dad9e4;
      box-shadow: 0px 19px 41px rgba(0, 0, 0, 0.36);
      border-radius: 20px;
      height: 320px;
      width: 600px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      color: white;
      gap: 20px;
      padding: 100px;
}
.box h2 {
    font-weight: 700px;
    font-size: 32px;
    line-height: 48px;
    color: var(--primary);
}
.box h3 {
    font-weight: 600px;
    font-size: 30px;
    line-height: 54px;
}

#questionForm{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

#answerInput {
    border: 1px solid var(--primary);
    background: transparent;
    height: 46px;
    border-radius: 5px;
    font-size: 20px;
    padding: 10 20px;
    color: white;
}
#answerInput:focus-visible {
 outline: 1px solid var(--primary);
 border: 1px solid var(--primary);
}
.primary-btn {
    height: 46px;
    background: var(--primary);
    border-radius: 10px;
    border: none;
    color:black;
    font-size: 32px;
}
 
@media (max-width:786px) {
    .box {
        width : 80%;
        height: 360px;
        padding: 20px;
    }
    .box h2 {
        font-size: 28px;
        line-height: 40px;
        color: var(--primary);
    }
    .box h3 {
        font-size: 24px;
        line-height: 32px;
    }
    #answerInput {
      
        padding: 5px 20px;
        color: white;
        height: 36px;
    }
    .primary-btn {
        font-size: 24px;
        height: 36px;
    }
}