@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Add font-face declarations for the custom fonts */
@font-face {
    font-family: 'GTSuperBold';
    src: url('{{ url_for('static', filename='fonts/GTSuperBold.otf') }}') format('opentype');
    font-weight: bold;
    font-style: normal;
}
/* Background image for pages */
.image-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

@font-face {
    font-family: 'ActiefGrotesque';
    src: url('{{ url_for('static', filename='fonts/ActiefGrotesque.otf') }}') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Add to the body class to set the background */
body {
    background-color: #5c82d5; /* Dark background */
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

/* General form styles */
.form-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 400px;
    margin: auto;
}

.form-section legend {
    font-size: 1.5em;
    font-weight: 500;
    margin-bottom: 10px;
}

.form-group label {
    font-family: 'ActiefGrotesque', sans-serif;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.2em;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.form-group input:focus, .form-group select:focus {
    border-color: #5c82d5; /* Accent color */
    outline: none;
}

.btn {
    background-color: #000000; /* Button background color */
    color: #ffffff; /* Button text color */
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.btn:hover {
    background-color: #002244; /* Darker button background on hover */
    transform: scale(1.05); /* Slightly increase size on hover */
}

.btn:active {
    transform: scale(0.95); /* Slightly decrease size on active */
}

.result-content h2 {
    font-family: 'GTSuperBold', sans-serif;
    position: absolute;
    top:10vw;
    font-size: 2em;
    color: #000000; /* Use a color that contrasts well with the background */
}

.info-text {
    text-align: center;
    font-family: 'ActiefGrotesque', sans-serif;
    font-size: 1.2em;
    color: #fff;
    margin-top: 20px;
}
