@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600');

/* VARS */



body {
  font-family: 'Barlow Condensed', sans-serif;
  background: linear-gradient(75deg, #05253a 25%, rgba(5, 122, 106, 1) 100%);
  background-attachment: fixed;
  margin: 0px;
  font-size: 20px;
  color:#FFFFFF;
  padding: 0;
  overflow-x: hidden;
  
}

/* Navbar container */
.navbar {
  position: sticky;
  top: 0; /* Sticks the navbar at the top of the page when scrolling */
  width: 100%; /* Ensure the navbar takes up the full screen width */
  height: 4em;
  
  margin: 0;
  padding: 0 20px; /* Adds padding to the left and right sides */
  
  background-color: #042439;
  z-index: 1000; /* Ensures the navbar stays on top of other content */
  backdrop-filter: blur(5px);
  
  display: flex;
  justify-content: space-between; /* Space between left (logo + text) and right (buttons) */
  align-items: center; /* Vertically centers elements */
  box-sizing: border-box; /* Ensures padding is included in the width calculation */
  overflow: hidden; /* Prevents elements from overflowing the navbar */
}

/* Left section (logo and text) */
.nav_left {
  display: flex;
  align-items: center; /* Vertically aligns logo and text */
  flex-wrap: nowrap; /* Ensures the logo and text stay on the same line */
}

/* Logo styling */
.logo {
  height: 100%; /* Ensures the logo fits within the navbar height */
  width: auto; /* Maintains the aspect ratio of the logo */
  max-width: 150px; /* Limits the width so the logo doesn't get too large */
  margin-right: 10px; /* Adds space between the logo and the h1 text */
}

/* Centered text styling next to logo */
h1.text-center {
  font-size: 150%;
  text-transform: uppercase;
  margin: 0;
  color: white; /* White text for visibility */
  font-weight: bold;
  white-space: nowrap; /* Prevents the text from wrapping onto multiple lines */
}

/* Buttons on the right */
.nav_section {
  display: flex;
  gap: 10px; /* Adds space between the buttons */
  flex-shrink: 0; /* Prevents the buttons from shrinking when resizing the screen */
}

/* Button styling */
button.nav_btn {
  width: 200px;
  height: 40px;
  background: #0AFFB1;
  border: 5px solid #0AFFB1;
  border-radius: 10px;
  color: #042439;
  font-size: 90%;
  font-weight: bold;
  text-align: center; /* Centers the text horizontally */
  display: flex; /* Allows for vertical centering using flex */
  justify-content: center; /* Horizontally centers the text */
  align-items: center; /* Vertically centers the text */
  text-transform: uppercase;
}


.container {
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  width: 100%;
  line-height: 130%;
  font-size: 100%;

}

form {
  color: #FFFFFF;
  display: grid;
  padding-top: 1%;
  grid-auto-flow: row;
  width: 50%;
  text-align: center;
  padding-bottom: 2rem;
}

.tc {
  padding: 0 0 1rem 0;
  display: grid;
  align-items: center;

  margin: 0 0 2rem 0;
  border: 2px solid #0AFFB1;
  border-radius: 15px;
  background: #042439;
}


.section {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  grid-auto-flow: column;
  padding-bottom: 2rem;	
}

.section_text {
  width: 100%;
  padding: 0%;
}

h4 {
  
  
  justify-items: center;
  flex-direction: row;
  justify-content: start;
  font-size:150%;
  color: #FFFFFF;
  
  letter-spacing: 0px;
  width: 100%;
  text-align: center;
  grid-auto-flow: row;
  
  padding-bottom: -5rem;
  line-height: 1;

  
}

p.popisek {
  font-size: 100%;
  display:flex;
  justify-content: center;
  text-align: center;
  font-style:italic;
  width:100%;

}

input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.custom-radio {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background-color: transparent;
  color: white;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  border: 2px solid #0AFFB1;
  border-radius: 5px;
  width: 10rem; /* Fixed width for consistency */
  height: 7rem; /* Fixed height for consistency */
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}


/* Highlight when the radio button is checked */
input[type="radio"]:checked + .custom-radio {
  background-color: #729330;
  color: #05253a;
  border-color: #0AFFB1;
  padding:1rem;
  border-radius: 5px;
  
}


.radio-options {
  display: flex; /* Flexbox to align items in a row */
  justify-content: center; /* Centers the radio buttons horizontally */
  gap: 20px; /* Adds spacing between the buttons */
}

/* Style the label when the user hovers */
.radio-label:hover .custom-radio {
  background-color: #ccc;
  border-radius: 5px;
}










.formular_div {
  padding: 0 0 1rem 0;
  margin: 0 0 2rem 0;
  border: 2px solid #0AFFB1;
  border-radius: 15px;
  background: #042439;
}

.h2.section-header {
  display: flex;
  letter-spacing: 0px;
  line-height: 20px;
  font-weight: 700;
  text-align: center;
  padding-left: 10px;
}




button.btn.btn-primary {
  width: 200px;
  height: 80px;
  background: #0AFFB1;
  border: 5px solid #0AFFB1;
  border-radius: 10px;
  color: #042439;
  /* Correct property to change the text color */
  font-size: 18px;
  /* Adjust the font size */
  font-weight: bold;
  /* Optional: makes the text bold */
  text-align: center;
  /* Center the text inside the button */
  padding: 10px;
  text-transform: uppercase;
}

a.btn.btn-primary {
  width: 200px;
  height: 80px;
  background: #0AFFB1;
  border: 5px solid #0AFFB1;
  border-radius: 10px;
  color: #042439;
  /* Correct property to change the text color */
  font-size: 100%;
  /* Adjust the font size */
  font-weight: bold;
  /* Optional: makes the text bold */
  text-align: center;
  /* Center the text inside the button */
  padding: 10px;
  text-transform: uppercase;
}

button.btn.btn-form{
  width: 10rem;
  height: 4rem;
  background: #0AFFB1;
  border: 5px solid #0AFFB1;
  border-radius: 10px;
  color: #042439;
  /* Correct property to change the text color */
  font-size: 100%;
  /* Adjust the font size */
  font-weight: bold;
  /* Optional: makes the text bold */
  text-align: center;
  /* Center the text inside the button */
  padding: 10px;
  text-transform: uppercase;
}


button.btn.btn-secondary {
  width: 200px;
  height: 80px;
  background: #0AFFB1;
  border: 5px solid #0AFFB1;
  border-radius: 10px;
  color: #042439;
  /* Correct property to change the text color */
  font-size: 100%;
  /* Adjust the font size */
  font-weight: bold;
  /* Optional: makes the text bold */
  text-align: center;
  /* Center the text inside the button */
  padding: 10px;
  text-transform: uppercase;
}

.download {
  height: 30%;
  font-size: 1rem;
}



.success {
  flex-direction: row;
  
  align-items: center;
  width: 50%;
  display: grid;
  
  justify-items: center;
  color : #FFFFFF;
  font-size: 150%;
}

.formular_div {
  width: 100%;
  display: grid;
  justify-items: center;
  font-size: 100%;
}

p.form_text {
  width:80%;
}


.gdpr {
  font-size: 75%;
  width: 100%;
  padding-top: 1%;
  padding: 0%;
  justify-content: center;
  display: flex;
  font-style: italic;


  
}

.form_field {
  width: 100%;
  padding-top: 1%;
  padding: 0%;
  padding-bottom: 4%;
}

.form_fields {
  width: 90%;
}

.input_2 {
  width: 89%;
  height: 3rem;
  border-radius: 12px;
  background: #042439;
  color: #FFFFFF;
  font-size: 100%;
  padding-left: 2%;
  padding: 0%;
  border: 1px solid #0AFFB1;
}



.form_field_message {
  height: 17rem;
  padding-top: 2%;
  padding: 0%;
  border-radius: 0px;
}

textarea#message {
  padding-top: 9%;
  height: 52%;
  color: #FFFFFF;
  font-size: 75%;
  padding: 0%;
  border-radius: 5px;
  height: 254px;
  background: #042439;
  width: 88%;
  border: 2px solid #0AFFB1;
}

p.text-center {
  display: flex;
  justify-content: center;
  color: #FFFFFF;


}

p {
  width: 50%;
  display: flex;
  justify-content: space-between;
  text-align: justify;

}

p.success {
  font-size: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 1.5;
  width:100%;
  
}


.highlight {
  font-weight: bold;
  color: #0AFFB1; 
  font-size: 125%;/* Change color as needed */
}


p.failed_install {
  font-size: 100%;
  text-align: center;
  line-height: 1.5;
  width:60%;
  text-align: justify;
  color: red;
}


a.download {
  width: 200px;
  height: 30%;
  background: #0AFFB1;
  border: 5px solid #0AFFB1;
  border-radius: 10px;
  color: #042439;
  /* Correct property to change the text color */
  font-size: 1rem;
  /* Adjust the font size */
  font-weight: bold;
  /* Optional: makes the text bold */
  text-align: center;
  /* Center the text inside the button */
  padding: 1rem;
  text-transform: uppercase;
}

p.success {
  font-size: 100%;
  text-align: center;
  line-height: 1.5;
}




.results_section {
  padding-bottom: 5%;
  padding-top: 5%;
  margin: 0 0 2rem 0;
  border: 2px solid #0AFFB1;
  border-radius: 15px;
  background: #042439;
  display: grid;
  grid-auto-flow: row;
  justify-items: center;
  align-items: center;


}



@media screen and (max-width: 1025px) {
  .container {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }
  
  form {
    width: 90%;
    box-sizing: border-box;
    max-width: 90%;
  }
  h1.failed {
    font-size: 150%;
    text-align: center;
  }
  p {
    width: 80%;
  }
  .tc {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }
  p.text-center {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .results_section {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    grid-auto-flow: row;
  }

  .navbar {
    padding: 0 15px;
  }

  .logo {
    max-width: 120px; /* Adjust logo size for medium screens */
  }

  h1.text-center {
    font-size: 100%; /* Slightly reduce the font size */
  }

  button.nav_btn {
    width: 150px; /* Adjust button size for medium screens */
    font-size: 65%; /* Reduce the font size on buttons */
  }


}

@media screen and (max-width: 425px) {
  body {
    font-size: 12px;
  }
  
  .container {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }
  
  form {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }
  
  p {
    width: 80%;
  }
  .tc {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }
  p.text-center {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .results_section {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    grid-auto-flow: row;
  }


  input[type="radio"] {
    position: absolute;
    opacity: 0;
  }
  
  .custom-radio {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7px;
    background-color: transparent;
    color: white;
    font-weight: bold;
    text-align: center;
    border: 2px solid #0AFFB1;
    border-radius: 5px;
    width: 5rem; /* Fixed width for consistency */
    height: 4rem; /* Fixed height for consistency */
    font-size: 14px;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  
  /* Highlight when the radio button is checked */
  input[type="radio"]:checked + .custom-radio {
    background-color: #729330;
    color: #05253a;
    border-color: #0AFFB1;
    padding:1rem;
    border-radius: 5px;
    
  }
  
  
  .radio-options {
    display: flex; /* Flexbox to align items in a row */
    justify-content: center; /* Centers the radio buttons horizontally */
    gap: 10px; /* Adds spacing between the buttons */
  }
  
  /* Style the label when the user hovers */
  .radio-label:hover .custom-radio {
    background-color: #ccc;
    border-radius: 5px;
  }

  .navbar {
    flex-direction: column; /* Stack elements vertically */
    height: auto;
    padding: 10px;
  }

  .nav_left {
    flex-direction: column; /* Stack the logo and text */
    align-items: center; /* Center the logo and text */
  }

  .logo {
    max-width: 200px; /* Smaller logo for mobile */
    margin-right: 0; /* No margin needed when stacked */
    margin-bottom: 10px; /* Space between logo and text */
  }

  h1.text-center {
    font-size: 150%; /* Further reduce font size for mobile */
    text-align: center; /* Ensure text is centered */
  }

  .nav_section {
    flex-direction: row;
    align-items: center;     /* Stack the buttons vertically */
    width: 100%; /* Full width for buttons */
    gap: 10px;
  }

  button.nav_btn {
    width: 45%; /* Full-width buttons */
    font-size: 90%;
  }
}