﻿h1 {
    font-family: 'bilo', sans-serif;
    font-weight: 700;
    font-size: min(5vw, 36pt);
    color: var(--theme-blue);
    text-align: center;
    margin-top: 5%;
}

input[type=checkbox].square {
    appearance: none;
    width: min(5vw, 20px)!important;
    height: min(5vw, 20px)!important;
    border-radius: 0rem;
    border: 2px solid var(--theme-black);
    cursor: pointer;
}

input[type=checkbox].square:checked {
    background-color: var(--theme-blue);
}

input[type=text], select, textarea {
    border: 1px solid var(--theme-blue);
    border-radius: 5rem;
    padding: 1.5% 5% 1%;
}

input[type=text]::placeholder, textarea::placeholder, .placeholder-style{
    color: #9f9f9f;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("/images/icons/chevron-down-blue.svg");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
}

select option {
    color: var(--theme-black);
}

.blue-button {
    background-color: var(--theme-blue);
    color: white;
    border-radius: 5rem;
    border: none;
}

.blue-button:hover {
    opacity: 0.5;
    color: white;
}

.form-column {
    display: flex;
    flex-direction: column;
    width: 85%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    padding-bottom: 10%;
}

.form-column input, .form-column select {
    margin-bottom: 5%
}

.form-column input[type=submit] {
    padding: 7px 15px;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 8%;
}

.form-column input[type=text], .form-column select, .form-column textarea {
    font-size: min(3.5vw, 11pt);
}

.form-column label {
    margin-bottom: 1%;
    font-size: min(3.2vw, 11pt);
}

.form-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #f8f5f5;
    width: 57%;
    padding-top: 1%;
    padding-bottom: 1%;
    margin-left: auto;
    margin-right: auto;
}

.form-header img {
    width: 4%;
}

.form-header img.details {
    width: 5.5%;
}

.form-header p {
    color: var(--theme-light-blue);
    width: max-content;
    margin-bottom: 0px;
    font-size: min(1vw, 11pt);
    margin-left: 1.5%;
}

.form-header p.selected {
    color: var(--theme-black);
}

.form-header .line  {
    width: 10%;
    margin-left: 2%;
    margin-right: 2%;
    border-bottom: 2px solid var(--theme-light-blue);
}

.form-header .line.selected {
    border-bottom: 2px solid var(--theme-black);
}

.light-blue-button {
    background-color: var(--theme-light-blue);
    color: var(--theme-blue);
    border-radius: 5rem;
    border: none;
}

.light-blue-button:hover {
    opacity: 0.5;
}

@media(max-width: 768px) {
    h1 {
        font-size: min(7vw, 24pt);
        margin-top: min(50px, 10%);
    }

    .form-header{
        width: 100%;
        background-color: white;
        column-gap: 2.5%;
    }

    .form-header p {
        font-size: min(3vw, 11pt);
        border-top: 3px solid var(--theme-light-blue);
        margin-left: 0px;
        padding-left: 0.5%;
        padding-right: 0.5%;
    }

    .form-header p.selected {
        color: var(--theme-blue);
        border-top: 3px solid var(--theme-blue);
    }
}