/*
    Theme Name: Berufsschule Pinneberg
    Version: 1.0
    Tags: Berufsschule Pinneberg
*/


:root {

    /* fonts */

    --source-font-size: clamp(0.6rem, 0.4rem + 0.4vi, 0.8rem);
    --step--2: clamp(0.76rem, 0.7886rem + -0.037vi, 0.7813rem);
    --step--1: clamp(0.9375rem, 0.9332rem + 0.0217vi, 0.95rem);
    --step-0: clamp(1.125rem, 1.1033rem + 0.1087vi, 1.1875rem);
    --step-1: clamp(1.35rem, 1.3033rem + 0.2337vi, 1.4844rem);
    --step-2: clamp(1.62rem, 1.5381rem + 0.4095vi, 1.8555rem);
    --step-3: clamp(1.944rem, 1.8134rem + 0.6528vi, 2.3193rem);
    --step-4: clamp(2.3328rem, 2.1358rem + 0.985vi, 2.8992rem);
    --step-5: clamp(2.7994rem, 2.5125rem + 1.4341vi, 3.624rem);

    /* color */
    --col-background-grey: #f6f6f7;
    --col-dark-green: #27533C;
    --col-beach: #f2f3f5;
    --col-dark-grey: #7c7c7c;
    --col-white: #fff;
    --col-black: #000000;
    --col-yellow: #f8f6e2;
    --col-lightgrey: #e0e0e0;
    --col-grey: #d0d0d0;
    --col-green: #b2d47e;

}

h1, h2, h3, h4, h5, p, a {
    text-align: left;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: var(--step-5);
}

h2 {
    font-size: var(--step-4);
}

h3 {
    font-size: var(--step-3);
}

h4 {
    font-size: var(--step-2);
}

h5 {
    
    font-size: var(--step-1);
}

h6 {  
    font-size: var(--step-0);
}

p {
    font-size: var(--step-0);
    margin: 20px 0;
}

#text{
    margin-bottom: 40px;
}

a {
    text-decoration: none;
    color: inherit;
}

*, *::before, *::after {
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

body {
    font-family: "Source Sans Pro", sans-serif;
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}


/* Formular-Container */
#survey-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

/* Überschrift */
#survey-form h4 {
    text-align: center;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Labels */
#survey-form label {
    display: block;
    font-size: 16px;
    color: #333;
    margin: 10px 0 5px;
}

/* Select-Boxen */
#survey-form select, 
#survey-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Textarea-Spezifisches Styling */
#survey-form textarea {
    height: 100px;
    resize: vertical;
}

/* Button */
#survey-form button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #114232;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

#survey-form button:hover {
    background-color: #AB273C;
}

.logo-container {
    max-width: 50px;
    width: 50%;
    margin: 0 auto;
    margin-top: 50px;

}
.logo-container ul {
    list-style: none;
}
label {
    padding: 10px 0;
}

.survey-response-content {
    padding:  2em;
}

/* Responsives Design */
@media screen and (max-width: 600px) {
    #survey-form {
        padding: 15px;
    }

    #survey-form h4 {
        font-size: 20px;
    }

    #survey-form label {
        font-size: 14px;
    }

    #survey-form select, 
    #survey-form textarea, 
    #survey-form button {
        font-size: 14px;
    }
}

select {
    font-size: 16px; /* Schriftgröße für Desktop und mobile Geräte */
}

/* Optional: spezifisch für kleinere Bildschirme (z.B. Smartphones) */
@media (max-width: 767px) {
    select {
        font-size: 18px; /* Größere Schriftgröße auf mobilen Geräten */
    }
}