


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

.bgimg-1 {
  background-position: center;
  background-size: cover;
  background-image: url("pexels-www-erzetich-com-2628105.jpg");
  min-height: 150%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0; 
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}
.container {
  position: relative;
  width: 48%; /* Adjust width to fit two images side by side */
  margin: 5px 0;
  box-sizing: border-box;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: 80%;
  transition: .5s ease;
  backface-visibility: hidden;
}
/* Container for grid items */
.grid-container {
    display: flex;
    justify-content: space-around;
    padding: 0 16px;
}

/* Individual grid items */
.grid-item {
    flex: 1;
    margin: 0 8px;
    position: relative;
}

/* Style for images and text overlay */


.middle {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    overflow: hidden;
    height: 100%;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
}

.grid-item:hover .middle {
    opacity: 1;
}

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

 @media (max-width: 768px) {
            .container {
                max-width: 100%;
            }

            .text {
                font-size: 14px; /* Smaller font size on smaller screens */
            }
        }

        @media (max-width: 480px) {
            .text {
                font-size: 12px; /* Further adjust font size on very small screens */
                padding: 8px;
            }
        }
 @media (max-width: 768px) {
            .image-container .container {
                flex: 1 1 100%; /* Stack images vertically on small screens */
            }
          }
.image-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  flex-wrap: wrap;
  margin: 5px 0;
  box-sizing: border-box;
}
.image-container img {
    width: 100%;
    max-width: 600px; /* Adjust as needed */
}

.image-container .text {
    margin-top: 8px;
}
.container img {
  width: 100%;
  height: 700px;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%)
}
.container:hover .image {
  opacity: 0.3;
}
.container:hover .middle {
  opacity: 1;
}
@media (max-width: 768px) {
            .container {
                width: 100%; /* Make the containers full width on small screens */
            }
        }


.text {
  background-color: #4b696f;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}
.w3-bar .w3-button {
  padding: 16px;
}
header {
  background-color: #333;
  color: white;
  padding: 1rem;
  text-align: center;
}

header nav ul {
  list-style-type: none;
  padding: 0;
}

header nav ul li {
  display: inline;
  margin: 0 1rem;
}

header nav ul li a {
  color: white;
  text-decoration: none;
}

main {
  padding: 2rem;
}

section {
  margin-bottom: 2rem;
}

footer {
  background-color: #000000;
  color: white;
  text-align: center;
  padding: 1rem;
  width: 100%;
}

.footer-fixed {
  position: fixed;
  bottom: 0;
}

.footer-sticky {
  position: relative;
  bottom: 0;
  left: 0;
}


form {
  display: flex;
  flex-direction: column;
}

form label {
  margin: 0.5rem 0 0.2rem;
}

form input, form textarea {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  /* Remove default button styles */
  background: rgb(98, 114, 128);
  color: black;
  border: none;
  padding: 10px 20px;
  font-size: inherit;
  cursor: pointer;
  /* Add rounded corners */
  border-radius: 5px;
  /* Add a light border on hover */
  transition: border 0.3s ease;
}

button:hover {
  border: 1px solid #3b4c5c;
}


.timeline-container {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-item:after {
  content: "";
  display: block;
  width: 10px;
  height: 100%;
  background-color: #ddd;
  position: absolute;
  left: 5px;
  top: 0;
}

.timeline-item:before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #222;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.timeline-item-content {
  padding: 10px 20px;
  background-color: #eee;
  border-radius: 5px;
  position: relative;
  display: inline-block;
  left: 25px;
  top: 5px;
}
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0; 
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.centered-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.left-image-container{
  float: left;
  width: 50%;
  height: 300px;
}
.left-image-container img{
  width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.right-image-container{
  float: right;
  width: 50%;
  height: grid-auto-flow;
}
.text_container {
  text-align: center;
}
second_button {
  /* Remove default button styles */
  background: black;
  color: rgb(48, 64, 75);
  border: none;
  padding: 10px 20px;
  font-size: large;
  font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
  cursor pointer;
  /* Add rounded corners */
  border-radius: 5px;
  /* Add a light border on hover */
  transition: border 0.3s ease; }

  @font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidh18Smxg.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

body {
    font-family: 'Roboto', sans-serif;
}

.text-container p {
    font-size: 1.5rem;
    color: #333;
    
}
.logo-container{
  display: flex;
    align-items: center;
    margin: 1rem; 
    transform: scale(0.8);
}
.logo-container img{
  width: 50px;
  height: auto;
  margin-right: 10px;
}
.container {
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.contact-form, .contact-info {
    width: 48%;
    padding: 20px;
}

.contact-form h2, .contact-info h2 {
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
}

.contact-form input, .contact-form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    padding: 10px;
    border: none;
    background-color: #28a745;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}

.contact-form button:hover {
    background-color: #218838;
}

.contact-info p {
    margin: 10px 0;
}

.left-align {
    text-align: left;
}

.right-align {
    text-align: right;
}
.wrapper {
  height: 30vh;
  /*This part is important for centering*/
  display: grid;
  place-items: center;
}

.typing-demo {
  width: 34ch;
  animation: typing 2s steps(34), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  font-family: monospace;
  font-size: 2em;
}

@keyframes typing {
  from {
    width: 0
  }
}
    
@keyframes blink {
  50% {
    border-color: transparent
  }
}