/*Motivace*/
.image-container {
  position: relative;
  width: 130vw;
  left: -23%;
  height: 300px;
  background-image: url('/sites/default/files/inline-images/O%20nas.jpeg');
  background-size: cover;
  background-position: 50% 20%;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.text-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.text-line {
  font-size: 6em;
  line-height: 1;
  opacity: 0.9;
  font-weight: 500;
  letter-spacing: 6px;
  margin-bottom: auto;
  margin-top: auto;
}

.text-line:nth-child(2) {
  opacity: 0.7;
  font-size: 1em;
}

/* Media queries for tablet and phone */
@media (max-width: 768px) {
  .text-line {
    font-size: 4em;
    line-height: 1.2;
  }

  .text-line:nth-child(2) {
    font-size: 0.9em;
  }
  @media (max-width: 768px) {
  	.image-container {
  		height: 230px;
  	}
  }
}

/*END Motivace*/

/*Ukazka vyroby*/
.vyroba {
	/*box-shadow: 0 4px 8px rgba(0,0,0,0.1);*/
  border-radius: 8px;
  padding: 20px;
}

.ukazka-vyroby-header {
  font-size: 1.5em;
  font-weight: bold;
  color: black;
  text-align: left;
  padding-top: 5px;
  padding-bottom: 20px;
  line-height: 150%;
}

.ukazka-vyroby {
  display: flex;
  justify-content: space-between;
}

.text-column, .image-column {
  flex: 1;
  padding: 15px;
}

.text-column {
	max-width: 800px;
}

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

@media (max-width: 767px) {
    .image-column {
        display: none;
    }
}

/*END Ukazka vyroby*/

/*Bloky nahore technologie, nakup, dily*/
.content-block {
  color: white;
  margin: 7px;
  background-color: #002443;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.featured-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}

.header-text {
  font-weight: bold;
  font-size: 2em;
  text-align: left;
  margin: 0;
  padding: 10px 15px;
  border-left: 10px #ffbe01 solid;
  background-color: rgb(255 190 1 / 4%); /* Soft highlight for the title */
}

.content-block .description {
  line-height: 1.6;
  padding: 20px;
  margin: 0;
  text-align: justify;
}

@media only screen and (max-width: 768px) {
  .header-text {
    font-size: 1.5em; /* Smaller font size on smaller screens */
  }
  .content-block .description {
    font-size: 14px; /* Smaller font size on smaller screens */
  }
}

/*END Bloky*/


.section {
  margin-bottom: 40px;
}
.section img{
  margin: 5px;
  padding: 5px;
  border-radius: 7px;
}

.title {
  font-size: 24px;
  color: #6C757D;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 40px;
}
.subtitle {
  font-size: 20px;
  color: #007BFF;
  font-weight: bold;
}
.images, .video {
  font-size: 18px;
  color: #dc3545;
  text-align: center;
}
p {
  margin-bottom: 20px;
  text-align: justify;
  line-height: 1.6;
}


/* START timeline */
.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline .event {
  display: flex;
  width: 60%;
  align-items: center;
  margin: 20px 0;
}

.timeline .event .year {
  flex: 0 0 200px;
  font-size: 1.5em;
  font-weight: bold;
  color: #333;
}

.timeline .event .event-content {
  padding-left: 2vh;
  padding-right: 2vh;
}

.timeline .event:nth-child(even) {
	flex-direction: row-reverse;
}


.timeline .event .event-description {
  margin-left: 20px;
}

/* Media query for tablet and smaller devices */
@media (max-width: 768px) {
  .timeline .event {
    width: 100%;
    padding: 0 10px;
    flex-direction: column;
  }

  .timeline .event .year {
    font-size: 32px;
    flex: 0 0 150px;
  }

}

@media (max-width: 1024px){
	.timeline .event {
    width: 100%;
	}
	.timeline .event:nth-child(even) {
    flex-direction: column;
	}
}
/* END timeline */
