@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

.roboto-regular {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
  }

.roboto-bold {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
  }

body {
    /* font-family: sans-serif; */
}


/* Mobile */
#text_mobile {
    margin-top: 60px;
}

#text_mobile img {
    width: 100%;
}

#card_mobile {
    /* position: absolute;
    bottom: 0;
    max-width: 100%; */
}

#card_mobile img {
    width: 100%;
}

#form {
    position: relative;
    width: 90%;
    display: block;
    margin: 0 auto;
    padding-top: 60px;
}
.formField {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.formField input {
    border: 5px solid transparent;     /* adjust to the thickness of your border */
    border-image-source: url('../assets/input_bg.webp');
    border-image-slice: 30 fill;        /* 30px inset: adjust depending on your corner size */
    border-image-width: 3px;           /* must match border size */
    border-image-repeat: stretch;       /* corners stay, horizontal/vertical parts stretch */
    
    width: 200px;
    height: 30px;
    padding: 10px 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #0D4799;
    background: none;
    
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
}


label {
    /* width: 120px; */
}

input[type="checkbox"] {
    width: 30px;
    height: 30px;
    border: none;
    accent-color: #0D4799;
    outline: 3px solid #0D4799;
    outline-offset: -3px;
}

.removeAttendee {
    background: #0D4799;
    color: white;
    padding: 3px 8px;
    cursor: pointer;
    border-radius: 4px;
}

.removeAttendee.hidden {
    display: none;
}

#addAttendee {
    text-decoration: none;
    display: flex;
    justify-content: end;
    margin-bottom: 24px;
}

#addAttendee img {
    height: 50px;
}

#submitBtn {
    text-align: center;
    padding: 50px 0;
}

#submitBtn input[type="submit"].verzenden-btn {
    width: 200px;
    height: 100px;
    padding: 0;
    border: none;
    background: url('../assets/verzenden.png') no-repeat center center / contain;
    background-size: contain;
    cursor: pointer;
    font-size: 0;
}

label img {
    width: 50px;
    height: 25px;
}

label .presentImg {
    /* padding-top: 30px; */
    width: 150px;
    height: 25px;
}

.presentFormField {
    margin-top: 50px;
}

#formSuccess {
    width: 80%;
    display: none;
    margin: 0 auto;
    margin-top: 50px;
    max-width: 400px;
}

#tooltip {
    height: 15px;
    display: block;
    margin-left: auto;
}

@media (min-width: 500px) {
    #form {
        max-width: 500px;
    }

    #text_mobile {
        width: 80%;
        display: block;
        margin: 0 auto;
        margin-top: 80px;
        max-width: 400px;
    }

    .formField input {
        width: 300px;
        height: 45px;
        max-width: 400px;
    }

    #isPresent {
        width: 30px;
        height: 30px;
        max-width: unset;
    }

    #addAttendee img {
        height: 70px;
    }

    #card_mobile {
        max-width: 600px;
        display: block;
        margin: 0 auto;
        margin-top: 40px;
    }

    #formSuccess {
        margin-top: 80px;
        margin-bottom: 80px;
    }

    #tooltip {
        height: 20px;
        display: block;
        margin-left: auto;
    }
}