* {
    margin: 0;
    padding: 0;
    border: none;
    font-family: 'Gibson_Regular', sans-serif;
}

body {
    width: 100%;
    height: 100%;
    background-image: url('../img/form/background.jpg');

    color: #fff;
    font-family: 'Gibson_Regular', sans-serif;
}

#gameForm {
    display: none;
    margin: auto;
    width: 100%;
    background-image: url('../img/form/backgroundform.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 1000px) {
    #gameForm {
        background-image: url('../img/form/backgroundformbig.jpg');
    }
}

#gameForm #headerImage {
    width: 100%;
    height: auto;

    margin-bottom: 20px;
}

#gameForm #main {
    width: 95%;
    margin: auto;
}

#gameForm #main #headerText {
    margin-bottom: 25px;
}

#gameForm #main #headerText .headline-small {
    font-size: 20pt;
    text-align: center;
    font-family: 'Gibson_SemiBold', sans-serif;

    margin-bottom: 10px;
}

#gameForm #main #headerText .headline {
    font-size: 25pt;
    text-align: center;
    font-family: 'Gibson_Bold', sans-serif;
}

#gameForm #main #containerTextfields {
    display: grid; 
    grid-auto-rows: 1fr; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr; 
    gap: 0 15px;
}

#gameForm #main #containerTextfields .textfield {
    border: none;
    border-radius: 25px;
    padding: 15px;
    margin: 5px 0;
    font-size: 16pt;
}

@media (min-width: 470px) {
    #gameForm #main #containerTextfields #inputAnswer {
        grid-area: auto / span 2;
    }
}

#gameForm #main #containerTextfields .textfield[notvalid=true] {
    background-color: #ffe4e4;
}

@media (max-width: 575px) {
    #gameForm #main #containerTextfields .textfield {
        width: calc( 100% - 30px )
    }
}

@media (max-width: 470px) {
    #gameForm #main #containerTextfields {
        grid-template-columns: 1fr; 
        grid-template-rows: 1fr 1fr 1fr 1fr; 
    }
    #gameForm #main #containerTextfields .textfield {
        width: auto;
    }
}

#gameForm #main #linkSection {
    margin: 15px 0;
    display: grid; 
    grid-auto-rows: 1fr; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr; 
    gap: 15px 15px; 
}

#gameForm #main #linkSection .linkButton {
    cursor: pointer;
    background: #F08700;
    color: #fff;
    border-radius: 50px;
    padding: 15px;
    box-shadow: 1px 9px 20px -10px rgba( 0, 0, 0, 0.4 );
    display: block;

    font-size: 17pt;
    font-family: 'Gibson_Regular', sans-serif;
    white-space: normal;
    text-decoration: none;
    text-align: center;
}

@media (max-width: 620px) {
    #gameForm #main #linkSection .linkButton {
        font-size: 13pt;
    }
}

#gameForm #main #linkSection .linkButton:hover {
    background: #f08e0e;
}

#gameForm #main #linkSection .linkButton:focus {
    background: #ae6404;
}

#gameForm #main #checkboxSection div {
    margin-bottom: -23px;
}

#gameForm #main #checkboxSection input[type=checkbox] {
    cursor: pointer;
    display: none;
}

#gameForm #main #checkboxSection .label {
    cursor: pointer;
    width: 38px;
    height: 39px;
    content:url('../img/form/checkboxempty.png');
}

#gameForm #main #checkboxSection input[type=checkbox]:checked +.label {
    content:url('../img/form/checkboxfilled.png');
}

#gameForm #main #checkboxSection .textLabel {
    position: relative;
    bottom: 32px;
    left: 45px;
    max-width: 90%;
    display: inline-block;
}

#gameForm #main #checkboxSection .inlineLink {
    color: #fff;
}

#gameForm #buttonSend {
    cursor: pointer;
    background: #ec6500;
    color: #fff;
    border-radius: 50px;
    padding: 15px;
    box-shadow: 1px 9px 20px -10px rgba( 0, 0, 0, 0.4 );
    display: block;

    font-size: 20pt;
    font-family: 'Gibson_SemiBold', sans-serif;
    white-space: normal;

    margin: 10px auto 25px auto;
    max-width: 275px;
    width: 100%;
}

#gameForm #buttonSend:disabled,
#gameForm #buttonSend[disabled] {
    cursor: default;
    opacity: 0.3;
}

#gameForm #buttonSend:hover {
    background: #f08e0e;
}

#gameForm #buttonSend:focus {
    background: #ae6404;
}

#gameForm #buttonSend img {
    margin: 5px 0 5px 15px;
    width: 15%;
    height: auto;
    float: left;
}

#gameForm #buttonBack {
    cursor: pointer;
    background: #f08700;
    color: #fff;
    border-radius: 50px;
    padding: 15px;
    box-shadow: 1px 9px 20px -10px rgba( 0, 0, 0, 0.4 );
    display: block;

    font-size: 17pt;
    font-family: 'Gibson_SemiBold', sans-serif;
    white-space: normal;

    margin: 10px auto 25px auto;
    max-width: 135px;
    width: 100%;
}

#gameForm #buttonBack img {
    margin: 2px 0;
    width: 10%;
    height: auto;
    float: left;
}

#gameForm #buttonBack:hover {
    background: #f08e0e;
}

#gameForm #buttonBack:focus {
    background: #ae6404;
}