body, h1, h2, h3, h4, h5, h6, table, tr, td {
  font-family: "Roboto", sans-serif;
}

h2 {
  font-weight: 300;
  font-size: 50px;
}

h3 {
  font-weight: 100;
  font-size: 35px;
}

body {
  min-width: 500px;
  max-width: 2000px;
}

body, html {
  height: 100%;
  margin: 0;
}

a {
  text-decoration: none;
}

textarea {
  resize: none;
}

@font-face {
    font-family: "AvenirNextCn";
    src: url("../fonts/AvenirNextCn.ttf") format("truetype"),
         url("../fonts/AvenirNextCn.woff") format("woff");
}

#pricing table {
  width: 75%;
  font-weight: 100;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
}

#pricing th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  color: white;
}

#pricing tr {
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: center;
  font-size: 30px;
  color: white;
  border-bottom: 1pt solid #ffd700;
}

.portrait-name {
  font-family: "AvenirNextCn", sans-serif!important;
  font-size: 20px;
  margin: 0px;
}

.portrait-position {
  font-family: "AvenirNextCn", sans-serif!important;
  font-size: 16px;
  margin: 0px;
}

.my_slides {
  display: block
}

.w3-content {
    max-width: 100%;
}

.section {
  min-height: 600px;
  padding-left: 10%;
  padding-right: 10%;
}

/* Container holding the image and the text */
.container {
  position: relative;
  text-align: center;
  color: white;
}

/* Bottom left text */
.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

/* Top left text */
.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

.top-left h1 {
  font-family: "AvenirNextCn", sans-serif!important;
  font-size: 40px;
}

.navbar {
  font-family: "AvenirNextCn", sans-serif!important;
  font-size: 25px;
}

.navbar_item {
  padding-left: 15px;
  padding-right: 15px;
}

.navbar_item:hover {
  text-decoration: underline;
  color: #ffd700;
}

.navbar_item_icon {
  padding-left: 15px;
  padding-right: 15px;
}

.navbar_item_icon:hover {
  color: #ffd700;
}

/* Top right text */
.top-right {
  position: absolute;
  top: 32px;
  right: 16px;
}

/* Bottom right text */
.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section_title_1 {
  text-align: right!important;
  margin-bottom: 5px;
}

.section_subtitle {
  text-align: right!important;
  margin-bottom: 10px;
  font-size: 35px;
}

.section_text {
  text-align: right!important;
  margin-top: 10px;
  margin-bottom: 20px;
}


.section_title_2 {
  text-align: left!important;
  margin-bottom: 10px;
}

.section_subtitle_2 {
  text-align: left!important;
  margin-bottom: 10px;
  font-size: 35px;
}

.section_text_2 {
  text-align: left!important;
  margin-bottom: 10px;
}

.input-field {
  margin: 0px 0px 8px 0px;
}

.reference {
  display: table;
  width: 100%;
  margin: 0px auto;
  padding-left: 100px;
  padding-right: 100px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.center_img_container {
  text-align:center;
}

.inline_figure {
  display: inline-block;
}

.center_img {
  display:inline-block;
}

.inline_video {
  display: inline-block;
}

.center_video {
  display:inline-block;
}

.reference_image {
    width: 50%;
    display: block;
    margin: auto;
}

.reference_paragraph {
  width: 50%;
  display: table-cell;
  text-align: right!important;
  vertical-align: middle;
}

.reference_icon_wrapper {
  width: 100%;
  margin-top: 50px;
  text-align: right;
}

.reference_icon_wrapper_2 {
  width: 100%;
  margin-top: 50px;
  text-align: left;
}

.reference_icon {
  display: inline-block;
  width: 100px;
  height: 100px;
  padding: 20px;
  padding-right: 0px;
  padding-left: 0px;
}

#download_btn {
  margin-top: 50px;
  width: 40%
}

#intro-text {
  margin-bottom: 50px;
}

#intro {
  background-image: url(../images/top_image_new.jpg);
  height: 100%;
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.content_paragraph {
  /* background-image: url(../images/idea_section.png); */
  /* background-repeat: no-repeat;
  background-position: center; */
  /* background-position-y: 300px; */
  min-height: 100px;
  padding: 10%;
}

.bg_black {
  color: white;
  background-color: #1A1A1A;
  min-height: auto;
}

#perfection {
  color: white;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#experience {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-position-y: 100px;
}

#contact {
  max-width: 800px;
  min-height: auto;
  padding-left: 90px;
  padding-right: 90px;
}

#lightbox img{ border: none; }

.inline_video {
  text-align: center;
}

.video_grid figure.inline_video {
  display: flex;
  flex-direction: column;
  align-items: center; /* zarovná video i figcaption na střed */
  width: 100%; /* aby zabíral celý prostor buňky gridu */
}

.video_grid figure.inline_video video {
  width: 320px; /* pevná šířka videa */
  height: 240px;
}

.inline_video figcaption {
  display: block;
  width: 320px; /* stejná šířka jako video */
  text-align: center;
  margin-top: 10px;
  font-size: 1.5em;
  color: #333;
}

.download-btn {
  background-color: black; /* bright orange */
  padding: 16px 24px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, background-color 0.3s ease;
  cursor: pointer;
}

.download-btn:hover {
  background-color: black;
  transform: scale(1.05);
}

.download-btn img {
  width: 200px;  /* make the image larger if needed */
  height: auto;
}

@media screen and (max-width: 1000px) {
  .navbar a {
    float: none;
    display: block;
  }
  .top-left h1 {
    font-family: "AvenirNextCn", sans-serif!important;
    font-size: 35px;
  }
  h2 {
    font-weight: 300;
    font-size: 35px;
  }

  h3 {
    font-weight: 100;
    font-size: 25px;
  }

  #download_btn {
    margin-top: 50px;
    width: 80%
  }
}
