body, html {height: 100%}
body,h1,h2,h3,h4,h5,h6 {
    font-family: "Helvetica", sans-serif;
    color: #404040;
}

h1 {
    font-size: 34px;
    font-weight: bold;
}

p {
    font-size: 1.2em;
}

.w3-bar {
    font-size: 1.5em;
}

.my-opacity-mobile {
  opacity: 0.6;
}

h2
.menu {display: none}

/* -------------------- colors ----------------------------------------*/
.nearlyblack { color: #202020; }

.darkdarkgrey { color: #404040; }

.darkgrey { color: #757575; }

.lightgrey { color: #808080; }

.nearlywhite { color: #EEEEEE; }


/* -------------------- colors ----------------------------------------*/


/* ----------------- parallax definitions ---------------------------- */
/* Create a Parallax Effect */
.bgimg-1, .bgimg-1-theorien, .bgimg-1-bildhaftesberaten, .bgimg-2, .bgimg-3, .bgimg-4, .bgimg-5 {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* First image (Logo. Full height) */
.bgimg-1 {
  background-image: url("images/tobiashochstrasser_supervision.jpg");
  min-height: 90%;
}

/* First image (Logo. Full height) */
.bgimg-1-theorien {
  background-image: url("images/theorien_qf_aufgehellt_skaliert.jpg");
  min-height: 90%;
}

/* First image (Logo. Full height) */
.bgimg-1-bildhaftesberaten {
  background-image: url("images/photolanguage.jpg");
  min-height: 90%;
}

/* image arbeitsweise */
.bgimg-2 {
  background-image: url("images/arbeitsweise_.jpg");
  min-height: 400px;
}

/* image hintergrund */
.bgimg-3 {
  background-image: url("images/hintergrund_2.jpg");
  min-height: 400px;
}

/* image angebot */
.bgimg-4 {
  background-image: url("images/angebot_panorama.jpg");
  min-height: 400px;
}

/* image kontakt */
.bgimg-5 {
  background-image: url("images/kontakt_panorama.jpg");
  min-height: 400px;
}

/* -----------------end of parallax definitions -------------------- */

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 600px) {
  .bgimg-1, .bgimg-1-theorien, .bgimg-1-bildhaftesberaten, .bgimg-2, .bgimg-3, .bgimg-4, .bgimg-5  {
    background-attachment: scroll;
    min-height: 400px;
  }
}

/* Form Styling */
.form-container {
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    padding: 0 15px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
}

@media screen and (max-width: 600px) {
    .form-container {
        width: 95%;
        margin: 10px auto;
    }
    
    input[type="text"], 
    input[type="email"], 
    input[type="number"],
    select, 
    textarea {
        font-size: 16px; /* Prevents auto-zoom on iOS */
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
}

label {
    font-weight: bold;
}
input[type="text"], input[type="email"], select, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
}
button[type="submit"] {
    padding: 10px 15px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease; /* Smooth transition for opacity changes */
}

button[type="submit"]:disabled {
    opacity: 0.5; /* Make the button appear lighter when disabled */
    cursor: not-allowed; /* Change cursor to indicate button is not clickable */
}
.message {
    margin-top: 20px;
    padding: 10px;
}
.error {
    background: #f8d7da;
    color: #842029;
}
.success {
    background: #d1e7dd;
    color: #0f5132;
}

.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/photolanguage.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: -1;
}

.main-container {
    position: relative;
    min-height: 100vh;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px 0;
    z-index: 1;
}