@font-face {
    font-family: 'Lonie';
    src: url('Par Défaut - Lonie Regular.otf') format('opentype');
}

:root {
    --primary-font: 'Lonie', Arial, sans-serif;
    --primary-color: #1dcf9f;
    --secondary-color: #e7faf6;
    --tertiary-color: #210F60;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: white;
    --dark-color: #343a40;
}



body {
    font-family: var(--primary-font);
    margin: 0;
    padding: 0;
    background-color: var(--light-color);
    color: var(--dark-color);
    background-image: url("lagos-bridge.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px 8%;
    background-color: rgba(255, 255, 255, 0.667);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

#logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

#logo img{
    height: 100px;
}


h1 {
    text-align: center;
    color: var(--primary-color);
    font-size: x-large;
}

.subtitle {
    text-align: center;
    margin-bottom: 50px;
    
}

form {
    display: flex;
    flex-direction: column;
}

.question {
    margin-bottom: 2rem;
}

label {
    padding-bottom: 20px;
}


select,
input,
textarea {
    padding: 10px;
    margin-top:20px;
    border: 1px solid var(--success-color);
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

textarea::placeholder {
    resize: vertical;
    font-family: var(--primary-font);
    font-weight: 200;
    font-style: italic;
}

li::marker {
    content: counter(list-item) ". ";
    margin-right: 20px;
    display: inline-block;
    width: 20px;
}

ol {
    list-style: none;
    counter-reset: list-item;
}

li {
    counter-increment: list-item;
    padding-left: 20px;
}

.question select,
.question input,
.question textarea {
    margin-left: 20px;
}

.option-group {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 20px;
    margin-left: 20px;
    column-gap: 20px;
    width: fit-content;
    padding: 2px 20px 2px 10px;
    border-radius: 5px;
    justify-content: flex-end;
    align-items: center;
    background-color: var(--light-color);
}

.option-group label {
    padding-bottom: unset;
}

.checkbox-group {
    padding: 10px 20px 10px 10px;
}

input[type="radio" i] {
    width: unset;
    margin-top: unset;
}

input[type="checkbox" i] {
    height: 20px;
    width: 20px;
    border-radius: 12px;
    margin: 0;
}

.email-box {
    padding: 30px;
    background-color: var(--secondary-color);
    margin-bottom: 30px;
    width: 100%;
}

.submit-btn-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

button {
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 90%;
    transition: .5s ease;
}

button:hover {
    background-color: var(--tertiary-color);
    border-radius: 20px;
}

#contact-us {
    display:flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

#contact-us a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 1lvw;
    margin-right: 1lvw;
    border-radius: 8px;
    background-color: var(--light-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    font-weight: bold;
    transition: .3s ease;
}

#contact-us a:hover {
    background-color: var(--primary-color);
    color: white;
}


#progress-box-container {
    position: fixed;
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    bottom: 20px;
    right: 20px;
    min-height: 6rem;
    min-width: 20%;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: .3s ease;
}

#progress-box-container span {
    font-weight: bold;
}

#progress-box-container:hover {
    opacity: 0.1;
    cursor:not-allowed;
}

#progress-box {
    padding: 0 2rem;
}

.response-count-container {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    min-height: 3rem;
}

.radio-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
}