* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1
}

.container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 900px;
  padding: 20px;
}

.column {
  flex: 1;
  padding: 15px;
  min-width: 300px;
  width: 100%;
  padding-left: 2%;
  padding-right: 2%;
  vertical-align: top;
  margin-left: 2%;
  margin-right: 2%;
}

.watch-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 86%;
  margin-bottom: 1rem;
}

.watch-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 100%;
    transform: translate(-50%, -50%);
}

form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

label {
  display: block;
  font-weight: bold;
  text-align: left;
  width: 100%;
}

.form-input, .form-textarea, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  color: #333;
  text-align: left;
  height: 3rem;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
}

.form-textarea {
  height: 100px;
  resize: vertical;
}

input[type="submit"] {
  background-color: #333;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 3.2rem;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #555;
}

.options-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.column-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 32px 0;
  margin-bottom: 0rem;
  width: 100%;
  height: 100%;
}


.main-header {
  background-color: #3a3a3a;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr auto 1fr; 
  grid-gap: 20px;
  align-items: center; 
}

.main-header h3 {
  color: #fff;
  font-size: 24px;
  text-align: left; 
}

.column h3, .column-2 h3, .under {
  grid-column: span 2;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.column-2 label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.column-2 select, .column-2 input[type="file"]{
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 1rem;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 8px;
  color: black;
}

.center-group {
  display: flex;
  flex-direction: column;
}

#monogram-group {
  border-radius: 4px;
  padding: 10px;
  background-color: #f4f4f4;
  margin-bottom: 16px;
  margin-top: 45px;
}

.grid-container {
  display: grid;
  align-items: center;
}

.monogram-group {
  display: grid;
  grid-template-columns: 1fr;
}

.monogram-group .form-textarea {
  width: 100%;
}

.file-upload-wrapper {
  position: relative;
  width: 100%;
  border-radius: 3px;
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.file-name {
  margin-left: 5px;
}

.file-input:valid + .file-name {
  content: attr(data-content);
}
.file-upload-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 50px;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  background-color: #fff;
  color: black;
  transition: background-color 0.3s ease;
}

.submit-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

#monogram-group .form-group img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
::-webkit-scrollbar-thumb {
  background: #888; 
  border-radius: 10px; 
}

::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

.center-label {
  display: flex;
  justify-content: center;
}

.center a {
  padding-left: 3px;
}

.center p{
  padding-left: 5px;
}

.terms-conditions-page {
  width: 80%;
  margin: auto;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-top: 32px;
}

.terms-header {
  text-align: center;
  padding: 10px;
  font-size: 1.5em; 
  color: #333;
  border-bottom: 1px solid #eeeeee;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 20px;
}

.terms-text {
  margin-top: 30px;
  text-align: justify;
  line-height: 1.8;
  color: #333;
  font-size: 1.1em;
  padding: 16px;
}

.terms-button {
  margin-top: 30px;
  text-align: center;
}
.page-button {
  margin-top: 30px;
  text-align: center;
}

.back-button {
  display: inline-block;
  text-decoration: none;
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #555;
}

.title {
  margin: 0;
  font-size: 24px;
  color: #333;
}

.right-button-container {
  text-align: right; /* Zarovnání celého pravého kontejneru doprava */
}

.right-button {
  padding: 10px 50px;
  background-color: #84888b;
  color: white;
  border: none;
  cursor: pointer;
  text-align: center; /* Text zůstane zarovnán doprostřed v rámci pravého kontejneru */
  border-radius: 5px;
  font-size: 18px;
  max-width: 250px;
}

.right-button:hover {
  background-color: #5a5f62;
}
.right-button i {
  margin-right: 10px;
}

@media (max-width: 650px) {
  .options-container {
    grid-template-columns: 1fr;
  }
  .watch-container {
    margin-top: 200px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 93;
    background-color: white;
    padding-bottom: 17rem;
  }
  #watch-container{
    margin-top: 30rem;
  }
  .main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 94;
    padding-bottom: 10px;
  }  
  .main-header h3{
    font-size: 20px;
    margin-right: 0;
  }
  .watch-layer {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 150px;
      height: 245px;
      transform: translate(-50%, -50%);
  }
  .column-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 32px 0;
    width: 100%;
    margin-bottom: 1rem;
  }
  .main-header {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .title, .right-button {
    text-align: center;
    margin: 0 60px;
    margin-top: 10px;
  }
}
@media (max-width: 481px) {
  .container{
    margin-top: 200px;
  }
}

@media (max-width: 1024px) {
  .watch-container {
    margin-bottom: 1rem;
  }
}

@media (min-width: 1025px) {
  .column-2 {
    margin-bottom: 0rem;
  }
}

.form-group1 {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
#monogram-group .form-group1 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto auto;
  padding: 0;
}

.toggle-icon {
  cursor: pointer;
  text-align: center;
}

.rozbalovac {
  display: none;
  margin-top: 10px;
}

.rozbalovac img {
  display: block;
  margin-top: 10px;
}

.under {
  margin-bottom: 20px;
}

button {
  background-color: #333;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition: background-color 0.3s;
  cursor: pointer;
}

button:hover {
  background-color: #555;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 5px;
  width: 80%;
  max-width: 600px;
  padding: 20px;
  box-shadow: 0px 10px 30px -5px rgba(0, 0, 0, 0.3);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
  z-index: 9999;
}

.popup.show {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
  text-align: left;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
}
.popup p{
  font-size: 16px;
}

.dropdown {
  position: relative;
  display: inline-block;
  font-family: 'Arial', sans-serif;
  width: 65%;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  margin: auto;
  background-color: #ffffff;
  transition: box-shadow 0.2s;
}

.dropdown:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dropdown-content {
  margin-top: 5px;
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  min-width: 180px;
  width: 90%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 9999;
  overflow: hidden;
}

.dropdown-content a {
  padding: 10px 14px;
  text-decoration: none;
  display: block;
  transition: color 0.2s, padding-left 0.2s;
  border-bottom: 1px solid #e1e1e1;
  color: #555;
}

.dropdown-content a:hover {
  background-color: transparent;
  padding-left: 20px;
  color: #111;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .dropdown {
      width: auto;
      text-align: left;
  }

  .dropdown-content {
      left: 0;
      transform: none;
      width: 100%;
      min-width: 180px;
  }
  
}

.button-1 {
  background-color: transparent;
  font-size: 24px;
  cursor: pointer;
  border: none;
  outline: none;
  color: #555;
  padding: 10px 20px;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
}

.button-1:hover {
  background-color: rgba(0,0,0,0.03);
  color: #333;
}

.highlight-label {
  margin-bottom: 10px;
  color: #000000; 
  border-radius: 8px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 5px;
}

.highlight-label i {
  margin-right: 5px;
  color: #000000;
}

.custom-title {
  font-size: 28px; 
  font-weight: 600; 
  color: #333; 
  text-transform: uppercase; 
  text-align: center;
  margin: 20px 0 40px; 
  padding-bottom: 10px;
  position: relative;
}

.custom-title:after {
  content: ''; 
  width: 50px;
  height: 2px; 
  background-color: #333; 
  position: absolute; 
  bottom: 0; 
  left: 50%;
  transform: translateX(-50%);
}

.custom-label {
  font-family: Arial, sans-serif;
  background-color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custom-label input[type="checkbox"] {
  display: none;
}

.custom-label .custom-checkbox {
  position: relative;
  width: 20px;
  height: 20px;
  background-color: #f0f0f0;
  border: 2px solid #333;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
}

.custom-label input[type="checkbox"]:checked + .custom-checkbox::after {
  content: '✔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #333;
  font-size: 16px;
}

.custom-label a {
  color: #007BFF;
  text-decoration: none;
  margin-left: 5px;
}

.custom-label a:hover {
  text-decoration: underline;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.styled-table th, .styled-table td {
  padding: 8px 12px;
  border: 1px solid #ddd;
}

.styled-table thead {
  background-color: #f2f2f2;
}

.styled-table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

.styled-table tbody tr:hover {
  background-color: #e9e9e9;
}

.supported-formats {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 5px;
  z-index: 1;
}

.file-upload-wrapper:hover .supported-formats {
  display: block;
}

.fa-circle-info:before, .fa-info-circle:before{
  cursor: pointer;
}



.text-form{
  padding-left: 20px;
}

footer {
  background-color: #333; 
  color: #fff; 
  padding: 20px;
  text-align: center; 
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; 
  align-items: center; 
  margin-top: 32px;
}

/* Styly pro odkazy ve footeru */
footer a {
  color: #fff; 
  text-decoration: none; 
  margin: 0 10px; 
}

/* Styly pro copyright text */
.copyright {
  font-size: 14px; 
  text-align: left; 
  order: 1; 
}

/* Styly pro logo v patičce */
.footer-logo {
  max-height: 50px; 
  display: inline-block; 
  margin: 0 auto; 
  order: 2; 
}

/* Styly pro menu v patičce */
.footer-menu {
  text-align: right; 
  order: 3; 
}

/* Responzivní styl */
@media screen and (max-width: 768px) {
  .styled-table {
    overflow-x: auto;
    display: block;
  }

  .styled-table th, .styled-table td {
    padding: 8px 4px; /* Menší padding na malých obrazovkách */
  }

  .styled-table {
    font-size: 14px;  /* Menší písmo na malých obrazovkách */
  }
  .main-header h3{
    font-size: 20px;
    margin-right: 0;
  }
  .main-header {
    flex-direction: column;
    grid-template-columns: 1fr;
  }
  .right-button {
    padding: 10px 50px;
    background-color: #84888b;
    color: white;
    border: none;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    font-size: 18px;
    max-width: 250px;

    margin: 0 auto;
    display: block;
  }
  .main-header h3 {
    font-size: 20px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
}


@media (max-width: 480px) {
  .terms-text{
    padding: 0px;
  }
  .terms-conditions-page{
    width: 100%;
  }
  .custom-label{
    padding: 10px 0px;
  }
  .main-header {
    grid-template-columns: 1fr; /* Pouze jeden sloupec pro mobilní zařízení */
  }
  .main-header h3 {
    text-align: center; 
    margin-bottom: 0;
  }
}


@media (max-width: 768px) {
  footer {
      grid-template-columns: 1fr; 
  }

  
  .copyright {
      text-align: center; 
  }

  
  .footer-logo {
      order: 1;
      margin-top: 16px;
      margin-bottom: 16px;
  }

  
  .footer-menu {
      text-align: center; 
      order: 2; 
  }
}





